org.apache.axis2.jaxws.server.endpoint.lifecycle
Interface EndpointLifecycleManager

All Known Implementing Classes:
EndpointLifecycleManagerImpl

public interface EndpointLifecycleManager


Method Summary
 java.lang.Object createServiceInstance(MessageContext mc, java.lang.Class serviceImplClass)
          EndpointLifecycleManager will create a service instance.
 void invokePostConstruct()
           
 void invokePreDestroy()
           
 

Method Detail

createServiceInstance

java.lang.Object createServiceInstance(MessageContext mc,
                                       java.lang.Class serviceImplClass)
                                       throws LifecycleException,
                                              ResourceInjectionException
EndpointLifecycleManager will create a service instance. It will inject Resources and then call the lifecycle methods on the service instance.

Parameters:
mc -
serviceImplClass -
Returns:
Throws:
LifecycleException
ResourceInjectionException

invokePostConstruct

void invokePostConstruct()
                         throws LifecycleException
Throws:
LifecycleException

invokePreDestroy

void invokePreDestroy()
                      throws LifecycleException
Throws:
LifecycleException


Copyright © 2007 Apache Web Services Project. All Rights Reserved.