|
|||||||||||
| 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 |
parent, properties |
| Constructor Summary | |
ConfigurationContext(AxisConfiguration axisConfiguration)
|
|
| Method Summary | |
ServiceGroupContext |
fillServiceContextAndServiceGroupContext(MessageContext messageContext)
Searches for a ServiceGroupContext in the map with given id as the key. |
AxisConfiguration |
getAxisConfiguration()
|
OperationContext |
getOperationContext(java.lang.String messageID)
Gets a OperationContext given a Message ID. |
java.util.Map |
getOperationContextMap()
|
java.io.File |
getRealPath(java.lang.String path)
Allows users to resolve the path relative to the root diretory. |
ServiceContext |
getServiceContext(java.lang.String serviceInstanceID)
Gets the ServiceContext for a service id. |
ServiceGroupContext |
getServiceGroupContext(java.lang.String serviceGroupContextId)
|
java.util.HashMap |
getServiceGroupContexts()
Gets all service groups in the system. |
ThreadFactory |
getThreadPool()
Returns the thread factory. |
void |
init(AxisConfiguration axisConfiguration)
Initializes the Configuration Context |
void |
registerOperationContext(java.lang.String messageID,
OperationContext mepContext)
Registers a OperationContext with a given message ID. |
void |
registerServiceContext(java.lang.String serviceInstanceID,
ServiceContext serviceContext)
Registers a ServiceContext with a given service ID. |
void |
registerServiceGroupContext(ServiceGroupContext serviceGroupContext)
|
void |
removeService(javax.xml.namespace.QName name)
|
void |
setAxisConfiguration(AxisConfiguration configuration)
|
void |
setRootDir(java.io.File file)
|
void |
setThreadPool(ThreadFactory pool)
Sets the thread factory. |
| Methods inherited from class org.apache.axis2.context.AbstractContext |
getParent, getProperties, getProperty, setParent, setProperties, setProperty |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ConfigurationContext(AxisConfiguration axisConfiguration)
| Method Detail |
public void removeService(javax.xml.namespace.QName name)
public void init(AxisConfiguration axisConfiguration)
throws AxisFault
init in class AbstractContextaxisConfiguration -
AxisFaultpublic AxisConfiguration getAxisConfiguration()
public void setAxisConfiguration(AxisConfiguration configuration)
configuration -
public void registerOperationContext(java.lang.String messageID,
OperationContext mepContext)
messageID - mepContext - public OperationContext getOperationContext(java.lang.String messageID)
messageID -
OperationContextpublic java.util.Map getOperationContextMap()
public void registerServiceContext(java.lang.String serviceInstanceID,
ServiceContext serviceContext)
public ServiceContext getServiceContext(java.lang.String serviceInstanceID)
serviceInstanceID - public ThreadFactory getThreadPool()
public void setThreadPool(ThreadFactory pool)
throws AxisFault
pool -
AxisFaultpublic java.io.File getRealPath(java.lang.String path)
path - public void setRootDir(java.io.File file)
file -
public ServiceGroupContext 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 -
AxisFaultpublic void registerServiceGroupContext(ServiceGroupContext serviceGroupContext)
public ServiceGroupContext getServiceGroupContext(java.lang.String serviceGroupContextId)
public java.util.HashMap getServiceGroupContexts()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||