|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axis2.context.AbstractContext
org.apache.axis2.context.ConfigurationContext
This contains all the configuration information for Axis2.
Field Summary |
Fields inherited from class org.apache.axis2.context.AbstractContext |
lastTouchedTime, parent, properties |
Constructor Summary | |
ConfigurationContext(AxisConfiguration axisConfiguration)
|
Method Summary | |
void |
cleanupContexts()
|
void |
fillServiceContextAndServiceGroupContext(MessageContext messageContext)
Searches for a ServiceGroupContext in the map with given id as the key. |
protected void |
finalize()
|
AxisConfiguration |
getAxisConfiguration()
|
ListenerManager |
getListenerManager()
|
OperationContext |
getOperationContext(String messageID)
Gets a OperationContext given a Message ID. |
Map |
getOperationContextMap()
|
File |
getRealPath(String path)
Allows users to resolve the path relative to the root diretory. |
ServiceGroupContext |
getServiceGroupContext(String serviceGroupContextId,
MessageContext msgContext)
|
Hashtable |
getServiceGroupContexts()
Gets all service groups in the system. |
ThreadFactory |
getThreadPool()
Returns the thread factory. |
void |
registerOperationContext(String messageID,
OperationContext mepContext)
Registers a OperationContext with a given message ID. |
void |
registerServiceGroupContext(ServiceGroupContext serviceGroupContext)
|
void |
setAxisConfiguration(AxisConfiguration configuration)
|
void |
setRootDir(File file)
|
void |
setThreadPool(ThreadFactory pool)
Sets the thread factory. |
void |
setTransportManager(ListenerManager listenerManager)
|
Methods inherited from class org.apache.axis2.context.AbstractContext |
getLastTouchedTime, getParent, getProperties, getProperty, setParent, setProperties, setProperty, touch |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ConfigurationContext(AxisConfiguration axisConfiguration)
Method Detail |
protected void finalize() throws Throwable
Throwable
public void fillServiceContextAndServiceGroupContext(MessageContext messageContext) throws AxisFault
If(key != null && found) check for a service context for the intended service. if (!found) create one and hook up to ServiceGroupContext else create new ServiceGroupContext with the given key or if key is null with a new key create a new service context for the service
messageContext
-
AxisFault
public void registerOperationContext(String messageID, OperationContext mepContext)
messageID
- mepContext
- public void registerServiceGroupContext(ServiceGroupContext serviceGroupContext)
public AxisConfiguration getAxisConfiguration()
public OperationContext getOperationContext(String messageID)
messageID
-
OperationContext
public Map getOperationContextMap()
public File getRealPath(String path)
path
- public ServiceGroupContext getServiceGroupContext(String serviceGroupContextId, MessageContext msgContext)
public Hashtable getServiceGroupContexts()
public ThreadFactory getThreadPool()
public void setAxisConfiguration(AxisConfiguration configuration)
configuration
- public void setRootDir(File file)
file
- public void setThreadPool(ThreadFactory pool) throws AxisFault
pool
-
AxisFault
public ListenerManager getListenerManager()
public void setTransportManager(ListenerManager listenerManager)
public void cleanupContexts()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |