org.apache.axis2.context
Class ServiceContext

java.lang.Object
  extended byorg.apache.axis2.context.AbstractContext
      extended byorg.apache.axis2.context.ServiceContext
All Implemented Interfaces:
java.io.Serializable

public class ServiceContext
extends AbstractContext

Well this is never clearly defined, what is does nor the lifecycle So I advised to NOT to use this .. as it might not live up to your expectation.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.axis2.context.AbstractContext
nonPersistentMap, parent, persistentMap
 
Constructor Summary
ServiceContext(ServiceDescription serviceConfig, ServiceGroupContext serviceGroupContext)
           
 
Method Summary
 OperationContext createOperationContext(javax.xml.namespace.QName name)
           
 ConfigurationContext getEngineContext()
           
 ServiceDescription getServiceConfig()
           
 java.lang.String getServiceInstanceID()
           
 void init(AxisConfiguration axisConfiguration)
          The method is used to do the intialization of the EngineContext
 void setServiceInstanceID(java.lang.String serviceInstanceID)
           
 
Methods inherited from class org.apache.axis2.context.AbstractContext
getNonPersistentMap, getParent, getPersistentMap, getProperty, getProperty, setParent, setProperty, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceContext

public ServiceContext(ServiceDescription serviceConfig,
                      ServiceGroupContext serviceGroupContext)
Method Detail

init

public void init(AxisConfiguration axisConfiguration)
          throws AxisFault
The method is used to do the intialization of the EngineContext

Specified by:
init in class AbstractContext
Throws:
AxisFault

getServiceInstanceID

public java.lang.String getServiceInstanceID()
Returns:
Returns the serviceInstanceID.

setServiceInstanceID

public void setServiceInstanceID(java.lang.String serviceInstanceID)
Parameters:
serviceInstanceID - The serviceInstanceID to set.

getServiceConfig

public ServiceDescription getServiceConfig()
Returns:

getEngineContext

public ConfigurationContext getEngineContext()

createOperationContext

public OperationContext createOperationContext(javax.xml.namespace.QName name)