org.ow2.jonas.web.tomcat6.ws
Class EndpointInstanceListener

java.lang.Object
  extended by org.ow2.jonas.web.tomcat6.ws.EndpointInstanceListener
All Implemented Interfaces:
org.apache.catalina.InstanceListener

public class EndpointInstanceListener
extends Object
implements org.apache.catalina.InstanceListener

This Catalina InstanceListener is invoked during lifecycle phases of the servlet's instances. Its role is to first create the IWebServiceEndpoint instance (using the IJAXWSService), then starting the newly created endpoint, and finally, inject the endpoint into the JAXWSServlet instance.

Author:
Guillaume Sauthier

Constructor Summary
EndpointInstanceListener(org.ow2.util.ee.metadata.war.api.IWarClassMetadata endpointMetadata, IJAXWSService service)
          Creates a new instanceListener dedicated for Web based, web.xml described POJO web services
 
Method Summary
 void instanceEvent(org.apache.catalina.InstanceEvent event)
          Callback when an instance level (ie servlet instance) event is fired by the Wrapper.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EndpointInstanceListener

public EndpointInstanceListener(org.ow2.util.ee.metadata.war.api.IWarClassMetadata endpointMetadata,
                                IJAXWSService service)
Creates a new instanceListener dedicated for Web based, web.xml described POJO web services

Parameters:
endpointMetadata - Class metadatas
service - the JAXWS Service
Method Detail

instanceEvent

public void instanceEvent(org.apache.catalina.InstanceEvent event)
Callback when an instance level (ie servlet instance) event is fired by the Wrapper.

Specified by:
instanceEvent in interface org.apache.catalina.InstanceListener
Parameters:
event - Servlet's instance lifecycle event


Copyright © 2010 OW2 Consortium. All Rights Reserved.