|
|||||||||||
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
Class AxisConfigurationImpl
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, 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 |
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 |
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(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. |
static String |
getAxis2HomeDirectory()
|
AxisModule |
getDefaultModule(String moduleName)
|
String |
getDefaultModuleVersion(String moduleName)
|
Collection |
getEngagedModules()
Method getEngagedModules. |
Hashtable |
getFaultyModules()
|
Hashtable |
getFaultyServices()
|
ArrayList |
getGlobalInFlow()
|
ArrayList |
getGlobalOutPhases()
|
ArrayList |
getInFaultFlow()
|
Object |
getKey()
|
MessageReceiver |
getMessageReceiver(String mepURL)
|
AxisModule |
getModule(QName name)
Method getModule. |
ClassLoader |
getModuleClassLoader()
|
ModuleConfiguration |
getModuleConfig(QName moduleName)
|
HashMap |
getModules()
|
ArrayList |
getOutFaultFlow()
|
PhasesInfo |
getPhasesInfo()
|
String |
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()
|
TransportInDescription |
getTransportIn(QName name)
|
TransportOutDescription |
getTransportOut(QName name)
|
HashMap |
getTransportsIn()
|
HashMap |
getTransportsOut()
|
boolean |
isEngaged(QName moduleName)
|
void |
notifyObservers(int event_type,
AxisModule moule)
|
void |
notifyObservers(int event_type,
AxisService service)
|
void |
removeService(String name)
Method removeService. |
void |
removeServiceGroup(String serviceGroupName)
|
void |
setGlobalOutPhase(ArrayList outPhases)
|
void |
setInFaultPhases(ArrayList list)
|
void |
setInPhasesUptoAndIncludingPostDispatch(ArrayList inPhasesUptoAndIncludingPostDispatch)
|
void |
setModuleClassLoader(ClassLoader classLoader)
|
void |
setOutFaultPhases(ArrayList list)
|
void |
setPhasesinfo(PhasesInfo phasesInfo)
|
void |
setRepository(String axis2Repository)
|
void |
setServiceClassLoader(ClassLoader classLoader)
|
void |
setSystemClassLoader(ClassLoader classLoader)
|
void |
stopService(String serviceName)
|
void |
stratService(String serviceName)
|
Methods inherited from class org.apache.axis2.description.AxisDescription |
addChild, addChild, addParameter, deserializeParameters, getChild, getChildren, getParameter, getParameters, getParent, getPolicyInclude, isParameterLocked, removeChild, 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 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 disEngageModule(AxisModule module)
module
- public void notifyObservers(int event_type, AxisService service)
public void notifyObservers(int event_type, AxisModule moule)
public void removeService(String name) throws AxisFault
name
-
AxisFault
public Collection getEngagedModules()
public Hashtable getFaultyModules()
public Hashtable getFaultyServices()
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 String 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)
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(String axis2Repository)
public void setServiceClassLoader(ClassLoader classLoader)
public void setSystemClassLoader(ClassLoader classLoader)
public static String getAxis2HomeDirectory()
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 stratService(String serviceName) throws AxisFault
AxisFault
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |