org.apache.axis2.context
Class ServiceContext
java.lang.Object
org.apache.axis2.context.AbstractContext
org.apache.axis2.context.ServiceContext
- public class ServiceContext
- extends AbstractContext
Well this is never clearly defined, what it does or the life-cycle.
So do NOT use this as it might not live up to your expectation.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SERVICE_OBJECT
public static final String SERVICE_OBJECT
- See Also:
- Constant Field Values
ServiceContext
public ServiceContext(AxisService serviceConfig,
ServiceGroupContext serviceGroupContext)
createOperationContext
public OperationContext createOperationContext(QName name)
getAxisService
public AxisService getAxisService()
getConfigurationContext
public ConfigurationContext getConfigurationContext()
getServiceGroupContext
public ServiceGroupContext getServiceGroupContext()
getMyEPR
public EndpointReference getMyEPR(String transport)
throws AxisFault
- To get the ERP for a given service , if the transport is present and not
running then it will add as a listener to ListenerManager , there it will
init that and start the listener , and finally ask the EPR from transport
for a given service
- Parameters:
transport
- : Name of the transport
- Throws:
AxisFault
getTargetEPR
public EndpointReference getTargetEPR()
setTargetEPR
public void setTargetEPR(EndpointReference targetEPR)
getMyEPR
public EndpointReference getMyEPR()
setMyEPR
public void setMyEPR(EndpointReference myEPR)