org.apache.axis2.engine
Class DependencyManager

java.lang.Object
  extended byorg.apache.axis2.engine.DependencyManager

public class DependencyManager
extends java.lang.Object

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
           
static java.lang.String SERVICE_START_METHOD
           
 
Constructor Summary
DependencyManager()
           
 
Method Summary
static void destroyServiceObject(ServiceContext serviceContext)
          To startup service when user puts load-on-startup parameter
static void initService(ServiceGroupContext serviceGroupContext)
          To init all the services in application scope
static void initServiceClass(java.lang.Object obj, ServiceContext serviceContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVICE_INIT_METHOD

public static final java.lang.String SERVICE_INIT_METHOD
See Also:
Constant Field Values

SERVICE_START_METHOD

public static final java.lang.String SERVICE_START_METHOD
See Also:
Constant Field Values

SERVICE_DESTROY_METHOD

public static final java.lang.String SERVICE_DESTROY_METHOD
See Also:
Constant Field Values
Constructor Detail

DependencyManager

public DependencyManager()
Method Detail

initServiceClass

public static void initServiceClass(java.lang.Object obj,
                                    ServiceContext serviceContext)

initService

public static void initService(ServiceGroupContext serviceGroupContext)
                        throws AxisFault
To init all the services in application scope

Parameters:
serviceGroupContext -
Throws:
AxisFault

destroyServiceObject

public static void destroyServiceObject(ServiceContext serviceContext)
To startup service when user puts load-on-startup parameter



Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.