|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.axis2.engine.DependencyManager
public class DependencyManager
If the service implementation has an init method with 1 or 2 message context as its parameters, then the DependencyManager calls the init method with appropriate parameters.
Field Summary | |
---|---|
static java.lang.String |
SERVICE_DESTROY_METHOD
|
static java.lang.String |
SERVICE_INIT_METHOD
|
Constructor Summary | |
---|---|
DependencyManager()
|
Method Summary | |
---|---|
static void |
destroyServiceObject(ServiceContext serviceContext)
Notify a service object that it's on death row. |
static void |
initService(ServiceGroupContext serviceGroupContext)
To init all the services in application scope |
static void |
initServiceClass(java.lang.Object obj,
ServiceContext serviceContext)
Deprecated. please use initServiceObject() |
static void |
initServiceObject(java.lang.Object obj,
ServiceContext serviceContext)
Initialize a new service object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String SERVICE_INIT_METHOD
public static final java.lang.String SERVICE_DESTROY_METHOD
Constructor Detail |
---|
public DependencyManager()
Method Detail |
---|
public static void initServiceClass(java.lang.Object obj, ServiceContext serviceContext) throws AxisFault
obj
- the service objectserviceContext
- the active ServiceContext
AxisFault
- if there's a problem initializingpublic static void initServiceObject(java.lang.Object obj, ServiceContext serviceContext) throws AxisFault
obj
- the service objectserviceContext
- the active ServiceContext
AxisFault
- if there's a problem initializingpublic static void initService(ServiceGroupContext serviceGroupContext) throws AxisFault
serviceGroupContext
- the ServiceGroupContext from which to extract all the services
AxisFault
- if there's a problem initializingpublic static void destroyServiceObject(ServiceContext serviceContext)
serviceContext
- the active ServiceContext
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |