org.ow2.jonas.ws.axis2.easybeans
Class Axis2EndpointLifecycleManager
java.lang.Object
org.apache.axis2.jaxws.lifecycle.BaseLifecycleManager
org.apache.axis2.jaxws.server.endpoint.lifecycle.impl.EndpointLifecycleManagerImpl
org.ow2.jonas.ws.axis2.easybeans.Axis2EndpointLifecycleManager
- All Implemented Interfaces:
- org.apache.axis2.jaxws.server.endpoint.lifecycle.EndpointLifecycleManager
public class Axis2EndpointLifecycleManager
- extends org.apache.axis2.jaxws.server.endpoint.lifecycle.impl.EndpointLifecycleManagerImpl
Axis2EndpointLifecycleManager is try to make axis2's serverinstance is null
for EJB, and then use our own instance
- Author:
- youchao
Fields inherited from class org.apache.axis2.jaxws.server.endpoint.lifecycle.impl.EndpointLifecycleManagerImpl |
WEBSERVICE_MESSAGE_CONTEXT |
Fields inherited from class org.apache.axis2.jaxws.lifecycle.BaseLifecycleManager |
instance |
Methods inherited from class org.apache.axis2.jaxws.lifecycle.BaseLifecycleManager |
getPostConstructMethod, getPreDestroyMethod, invokeMethod, invokePostConstruct, invokePreDestroy, isPostConstruct, isPreDestroy |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Axis2EndpointLifecycleManager
public Axis2EndpointLifecycleManager()
createServiceInstance
public Object createServiceInstance(org.apache.axis2.jaxws.core.MessageContext context,
Class serviceClass)
throws org.apache.axis2.jaxws.lifecycle.LifecycleException,
org.apache.axis2.jaxws.injection.ResourceInjectionException
- This method is called on each web service call. Make axis2's
serverinstance is null for EJB, and then use our own instance
- Specified by:
createServiceInstance
in interface org.apache.axis2.jaxws.server.endpoint.lifecycle.EndpointLifecycleManager
- Overrides:
createServiceInstance
in class org.apache.axis2.jaxws.server.endpoint.lifecycle.impl.EndpointLifecycleManagerImpl
- Throws:
org.apache.axis2.jaxws.injection.ResourceInjectionException
org.apache.axis2.jaxws.lifecycle.LifecycleException
invokePostConstruct
public void invokePostConstruct()
throws org.apache.axis2.jaxws.server.endpoint.lifecycle.EndpointLifecycleException
- Specified by:
invokePostConstruct
in interface org.apache.axis2.jaxws.server.endpoint.lifecycle.EndpointLifecycleManager
- Overrides:
invokePostConstruct
in class org.apache.axis2.jaxws.lifecycle.BaseLifecycleManager
- Throws:
org.apache.axis2.jaxws.server.endpoint.lifecycle.EndpointLifecycleException
invokePreDestroy
public void invokePreDestroy()
throws org.apache.axis2.jaxws.server.endpoint.lifecycle.EndpointLifecycleException
- Specified by:
invokePreDestroy
in interface org.apache.axis2.jaxws.server.endpoint.lifecycle.EndpointLifecycleManager
- Overrides:
invokePreDestroy
in class org.apache.axis2.jaxws.lifecycle.BaseLifecycleManager
- Throws:
org.apache.axis2.jaxws.server.endpoint.lifecycle.EndpointLifecycleException
Copyright © 2010 OW2 Consortium. All Rights Reserved.