|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axis2.description.AxisDescription
org.apache.axis2.engine.AxisConfiguration
public class AxisConfiguration
Class AxisConfiguration
Field Summary | |
---|---|
protected PhasesInfo |
phasesinfo
|
Fields inherited from interface org.apache.axis2.description.DescriptionConstants |
---|
CLASSLOADER_KEY, CONTEXTPATH_KEY, EXECUTION_CHAIN_KEY, EXECUTION_FAULT_CHAIN_KEY, EXECUTION_OUT_CHAIN_KEY, IN_FAULTFLOW_KEY, INFLOW_KEY, MESSAGE_RECEIVER_KEY, MODULEREF_KEY, OPERATION_KEY, OUT_FAULTFLOW_KEY, OUTFLOW_KEY, PARAMETER_KEY, PHASES_KEY, SERVICE_CLASS_NAME, STYLE_KEY |
Constructor Summary | |
---|---|
AxisConfiguration()
Constructor AxisConfigurationImpl. |
Method Summary | |
---|---|
void |
addDefaultModuleVersion(String moduleName,
String moduleVersion)
Adds a dafault module version , which can be done either programatically or by using axis2.xml . |
void |
addLocalPolicyAssertion(QName name)
|
void |
addMessageReceiver(String mepURL,
MessageReceiver messageReceiver)
|
void |
addModule(AxisModule module)
Method addModule. |
void |
addModuleConfig(ModuleConfiguration moduleConfiguration)
Adds module configuration, if there is moduleConfig tag in service. |
void |
addObservers(AxisObserver axisObserver)
|
void |
addService(AxisService service)
Method addService. |
void |
addServiceGroup(AxisServiceGroup axisServiceGroup)
|
void |
addTargetResolver(TargetResolver tr)
|
void |
addTransportIn(TransportInDescription transport)
Method addTransportIn. |
void |
addTransportOut(TransportOutDescription transport)
Method addTransportOut. |
void |
disengageModule(AxisModule module)
To dis-engage module from the system, this will remove all the handlers belongs to this module from all the handler chains |
void |
engageModule(AxisModule axisModule,
AxisConfiguration axisConfig)
Engaging a module to different level |
void |
engageModule(QName moduleref)
Engages the default module version corresponding to given module name , or if the module name contains version number in it then it will engage the correct module. |
void |
engageModule(String moduleName,
String versionID)
Engages a module using give name and its version ID. |
AxisModule |
getDefaultModule(String moduleName)
|
String |
getDefaultModuleVersion(String moduleName)
|
Collection |
getEngagedModules()
Method getEngagedModules. |
Hashtable |
getFaultyModules()
|
Hashtable |
getFaultyServices()
|
ArrayList |
getGlobalInFlow()
|
List |
getGlobalModules()
|
ArrayList |
getGlobalOutPhases()
|
ArrayList |
getInFaultFlow()
|
Object |
getKey()
|
List |
getLocalPolicyAssertions()
|
MessageReceiver |
getMessageReceiver(String mepURL)
|
AxisModule |
getModule(QName name)
Method getModule. first it will check whether the given module is there in the hashMap , if so just return that and the name can be either with version string or without vresion string if it not found and , the nane does not have version string in it then try to check whether default vresion of module available in the sytem for the give name , if so return that |
ClassLoader |
getModuleClassLoader()
|
ModuleConfiguration |
getModuleConfig(QName moduleName)
|
HashMap |
getModules()
|
List |
getModulesForPolicyNamesapce(String namesapce)
|
ArrayList |
getObserversList()
|
ArrayList |
getOutFaultFlow()
|
PhasesInfo |
getPhasesInfo()
|
URL |
getRepository()
|
AxisService |
getService(String name)
Method getService. |
ClassLoader |
getServiceClassLoader()
|
AxisService |
getServiceForActivation(String serviceName)
Service can start and stop , if once stop we can not acess that , so we need a way to get the service even if service is not active |
AxisServiceGroup |
getServiceGroup(String serviceNameAndGroupString)
|
Iterator |
getServiceGroups()
|
HashMap |
getServices()
|
ClassLoader |
getSystemClassLoader()
|
TargetResolver |
getTargetResolverChain()
getTargetResolverChain returns and instance of TargetResolver which iterates over the registered TargetResolvers, calling each one in turn when resolveTarget is called |
TransportInDescription |
getTransportIn(QName name)
|
TransportOutDescription |
getTransportOut(QName name)
|
HashMap |
getTransportsIn()
|
HashMap |
getTransportsOut()
|
boolean |
isAssertionLocal(QName name)
|
boolean |
isEngaged(QName moduleName)
|
boolean |
isManageTransportSession()
|
boolean |
isStart()
|
void |
notifyObservers(int event_type,
AxisModule moule)
|
void |
notifyObservers(int event_type,
AxisService service)
|
void |
notifyObservers(int event_type,
AxisServiceGroup serviceGroup)
|
void |
registerLocalPolicyAssertions(AxisModule axisModule)
|
void |
registerModulePolicySupport(AxisModule axisModule)
|
void |
removeFaultyService(String key)
|
void |
removeLocalPolicyAssertion(QName name)
|
void |
removeModule(QName module)
To remove a given module from the system |
void |
removeService(String name)
Method removeService. |
void |
removeServiceGroup(String serviceGroupName)
|
void |
setGlobalOutPhase(ArrayList outPhases)
|
void |
setInFaultPhases(ArrayList list)
|
void |
setInPhasesUptoAndIncludingPostDispatch(ArrayList inPhasesUptoAndIncludingPostDispatch)
|
void |
setManageTransportSession(boolean manageTransportSession)
|
void |
setModuleClassLoader(ClassLoader classLoader)
|
void |
setOutFaultPhases(ArrayList list)
|
void |
setPhasesInfo(PhasesInfo phasesInfo)
|
void |
setRepository(URL axis2Repository)
|
void |
setServiceClassLoader(ClassLoader classLoader)
|
void |
setStart(boolean start)
|
void |
setSystemClassLoader(ClassLoader classLoader)
|
void |
startService(String serviceName)
|
void |
stopService(String serviceName)
|
Methods inherited from class org.apache.axis2.description.AxisDescription |
---|
addChild, addChild, addParameter, applyPolicy, applyPolicy, deserializeParameters, getAxisConfiguration, getChild, getChildren, getParameter, getParameters, getParameterValue, getParent, getPolicyInclude, isParameterLocked, removeChild, removeParameter, setParent, setPolicyInclude |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected PhasesInfo phasesinfo
Constructor Detail |
---|
public AxisConfiguration()
Method Detail |
---|
public void addMessageReceiver(String mepURL, MessageReceiver messageReceiver)
public void addModule(AxisModule module) throws AxisFault
module
-
AxisFault
public void removeModule(QName module)
module
- public void addModuleConfig(ModuleConfiguration moduleConfiguration)
moduleConfiguration
- public void addObservers(AxisObserver axisObserver)
public void addService(AxisService service) throws AxisFault
service
-
AxisFault
public void addServiceGroup(AxisServiceGroup axisServiceGroup) throws AxisFault
AxisFault
public void removeServiceGroup(String serviceGroupName) throws AxisFault
AxisFault
public void addTransportIn(TransportInDescription transport) throws AxisFault
transport
-
AxisFault
public void addTransportOut(TransportOutDescription transport) throws AxisFault
transport
-
AxisFault
public void engageModule(QName moduleref) throws AxisFault
moduleref
-
AxisFault
public void engageModule(String moduleName, String versionID) throws AxisFault
moduleName
- versionID
-
AxisFault
public void engageModule(AxisModule axisModule, AxisConfiguration axisConfig) throws AxisFault
AxisDescription
engageModule
in class AxisDescription
AxisFault
public void disengageModule(AxisModule module)
module
- public void notifyObservers(int event_type, AxisService service)
public void notifyObservers(int event_type, AxisModule moule)
public void notifyObservers(int event_type, AxisServiceGroup serviceGroup)
public void removeService(String name) throws AxisFault
name
-
AxisFault
public Collection getEngagedModules()
public List getGlobalModules()
public Hashtable getFaultyModules()
public Hashtable getFaultyServices()
public void removeFaultyService(String key)
public ArrayList getGlobalOutPhases()
public ArrayList getInFaultFlow()
public ArrayList getGlobalInFlow()
public MessageReceiver getMessageReceiver(String mepURL)
public AxisModule getModule(QName name)
name
-
public ClassLoader getModuleClassLoader()
public ModuleConfiguration getModuleConfig(QName moduleName)
public HashMap getModules()
public ArrayList getOutFaultFlow()
public PhasesInfo getPhasesInfo()
public URL getRepository()
public AxisService getService(String name) throws AxisFault
name
-
AxisFault
public AxisService getServiceForActivation(String serviceName)
public ClassLoader getServiceClassLoader()
public AxisServiceGroup getServiceGroup(String serviceNameAndGroupString)
public Iterator getServiceGroups()
public HashMap getServices()
public ClassLoader getSystemClassLoader()
public TransportInDescription getTransportIn(QName name) throws AxisFault
AxisFault
public TransportOutDescription getTransportOut(QName name) throws AxisFault
AxisFault
public HashMap getTransportsIn()
public HashMap getTransportsOut()
public boolean isEngaged(QName moduleName)
isEngaged
in class AxisDescription
public void setGlobalOutPhase(ArrayList outPhases)
public void setInFaultPhases(ArrayList list)
list
- public void setInPhasesUptoAndIncludingPostDispatch(ArrayList inPhasesUptoAndIncludingPostDispatch)
public void setModuleClassLoader(ClassLoader classLoader)
public void setOutFaultPhases(ArrayList list)
list
- public void setPhasesInfo(PhasesInfo phasesInfo)
public void setRepository(URL axis2Repository)
public void setServiceClassLoader(ClassLoader classLoader)
public void setSystemClassLoader(ClassLoader classLoader)
public void addDefaultModuleVersion(String moduleName, String moduleVersion)
moduleName
- moduleVersion
- public String getDefaultModuleVersion(String moduleName)
public AxisModule getDefaultModule(String moduleName)
public Object getKey()
getKey
in class AxisDescription
public void stopService(String serviceName) throws AxisFault
AxisFault
public void startService(String serviceName) throws AxisFault
AxisFault
public boolean isManageTransportSession()
public void setManageTransportSession(boolean manageTransportSession)
public List getModulesForPolicyNamesapce(String namesapce)
public void registerModulePolicySupport(AxisModule axisModule)
public void registerLocalPolicyAssertions(AxisModule axisModule)
public ArrayList getObserversList()
public boolean isStart()
public void setStart(boolean start)
public TargetResolver getTargetResolverChain()
public void addTargetResolver(TargetResolver tr)
public void addLocalPolicyAssertion(QName name)
public List getLocalPolicyAssertions()
public void removeLocalPolicyAssertion(QName name)
public boolean isAssertionLocal(QName name)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |