public class DependencyManager extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SERVICE_DESTROY_METHOD |
static String |
SERVICE_INIT_METHOD |
Constructor and Description |
---|
DependencyManager() |
Modifier and Type | Method and Description |
---|---|
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 |
initServiceObject(Object obj,
ServiceContext serviceContext)
Initialize a new service object.
|
protected static Object |
makeNewServiceObject(AxisService service) |
protected static void |
restoreThreadContext(ThreadContextDescriptor tc) |
public static final String SERVICE_INIT_METHOD
public static final String SERVICE_DESTROY_METHOD
public static void initServiceObject(Object obj, ServiceContext serviceContext) throws AxisFault
obj
- the service objectserviceContext
- the active ServiceContextAxisFault
- if there's a problem initializingpublic static void initService(ServiceGroupContext serviceGroupContext) throws AxisFault
serviceGroupContext
- the ServiceGroupContext from which to extract all the servicesAxisFault
- if there's a problem initializingprotected static Object makeNewServiceObject(AxisService service) throws AxisFault
AxisFault
public static void destroyServiceObject(ServiceContext serviceContext)
serviceContext
- the active ServiceContextprotected static void restoreThreadContext(ThreadContextDescriptor tc)
Copyright © 2004–2019 The Apache Software Foundation. All rights reserved.