|
|||||||||||
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 |
COPY_PROPERTIES, lastTouchedTime, parent, properties |
Constructor Summary | |
ConfigurationContext(AxisConfiguration axisConfiguration)
|
Method Summary | |
void |
addServiceGroupContextintoApplicatoionScopeTable(ServiceGroupContext serviceGroupContext)
|
void |
cleanupContexts()
|
void |
fillServiceContextAndServiceGroupContext(MessageContext messageContext)
Searches for a ServiceGroupContext in the map with given id as the key. |
protected void |
finalize()
|
OperationContext |
findOperationContext(java.lang.String operationName,
java.lang.String serviceName,
java.lang.String serviceGroupName)
|
AxisConfiguration |
getAxisConfiguration()
|
java.lang.String |
getContextRoot()
|
ListenerManager |
getListenerManager()
|
OperationContext |
getOperationContext(java.lang.String id)
Gets a OperationContext given a Message ID. |
java.io.File |
getRealPath(java.lang.String path)
Allows users to resolve the path relative to the root diretory. |
ConfigurationContext |
getRootContext()
|
java.lang.String |
getServiceContextPath()
|
ServiceGroupContext |
getServiceGroupContext(java.lang.String Id)
Returns a ServiceGroupContext object associated with the specified ID from the internal table. |
ServiceGroupContext |
getServiceGroupContextFromSoapSessionTable(java.lang.String serviceGroupContextId,
MessageContext msgContext)
|
java.util.Hashtable |
getServiceGroupContexts()
Gets all service groups in the system. |
long |
getServiceGroupContextTimoutInterval()
This will be used to fetch the serviceGroupContextTimoutInterval from any place available. |
java.lang.String |
getServicePath()
|
ThreadFactory |
getThreadPool()
Returns the thread factory. |
void |
initCluster()
|
boolean |
registerOperationContext(java.lang.String messageID,
OperationContext mepContext)
Registers a OperationContext with a given message ID. |
void |
registerServiceGroupContextintoSoapSessionTable(ServiceGroupContext serviceGroupContext)
|
void |
removeServiceGroupContext(AxisServiceGroup serviceGroup)
|
void |
setAxisConfiguration(AxisConfiguration configuration)
|
void |
setContextRoot(java.lang.String contextRoot)
|
void |
setServicePath(java.lang.String servicePath)
|
void |
setThreadPool(ThreadFactory pool)
Sets the thread factory. |
void |
setTransportManager(ListenerManager listenerManager)
|
void |
terminate()
|
void |
unregisterOperationContext(java.lang.String key)
Unregisters the operation context associated with the given messageID |
Methods inherited from class org.apache.axis2.context.AbstractContext |
flush, getLastTouchedTime, getParent, getProperties, getProperty, mergeProperties, setLastTouchedTime, 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 |
public void initCluster() throws AxisFault
AxisFault
protected void finalize() throws java.lang.Throwable
java.lang.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
- : MessageContext
AxisFault
- : If something goes wrongpublic boolean registerOperationContext(java.lang.String messageID, OperationContext mepContext)
messageID
- mepContext
- public void unregisterOperationContext(java.lang.String key)
key
- public void registerServiceGroupContextintoSoapSessionTable(ServiceGroupContext serviceGroupContext)
public void addServiceGroupContextintoApplicatoionScopeTable(ServiceGroupContext serviceGroupContext)
public AxisConfiguration getAxisConfiguration()
public OperationContext getOperationContext(java.lang.String id)
OperationContext
public OperationContext findOperationContext(java.lang.String operationName, java.lang.String serviceName, java.lang.String serviceGroupName)
public java.io.File getRealPath(java.lang.String path)
path
- public ServiceGroupContext getServiceGroupContextFromSoapSessionTable(java.lang.String serviceGroupContextId, MessageContext msgContext)
public ServiceGroupContext getServiceGroupContext(java.lang.String Id)
Id
- The ID string associated with the ServiceGroupContext object
public java.util.Hashtable getServiceGroupContexts()
public ThreadFactory getThreadPool()
public void setAxisConfiguration(AxisConfiguration configuration)
configuration
- public void setThreadPool(ThreadFactory pool) throws AxisFault
pool
-
AxisFault
public ListenerManager getListenerManager()
public void setTransportManager(ListenerManager listenerManager)
public void cleanupContexts()
public void terminate() throws AxisFault
AxisFault
public java.lang.String getServiceContextPath()
public java.lang.String getServicePath()
public void setServicePath(java.lang.String servicePath)
public java.lang.String getContextRoot()
public void setContextRoot(java.lang.String contextRoot)
public long getServiceGroupContextTimoutInterval()
public void removeServiceGroupContext(AxisServiceGroup serviceGroup)
public ConfigurationContext getRootContext()
getRootContext
in class AbstractContext
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |