org.ow2.jonas.ws.axis2
Class Axis2Service

java.lang.Object
  extended by org.ow2.jonas.lib.management.javaee.ManagedObject
      extended by org.ow2.jonas.lib.service.AbsServiceImpl
          extended by org.ow2.jonas.ws.jaxws.base.JAXWSService
              extended by org.ow2.jonas.ws.axis2.Axis2Service
All Implemented Interfaces:
Service, JAXWSServiceMBean, IJAXWSService

public class Axis2Service
extends JAXWSService
implements IJAXWSService

The Axis2Service class is used to declare Axis2 as a module in JOnAS.

Author:
xiaoda

Field Summary
 
Fields inherited from interface org.ow2.jonas.ws.jaxws.IJAXWSService
KEY_WEB_SERVICES_METADATAS
 
Constructor Summary
Axis2Service()
           
 
Method Summary
 void bindEventService(org.ow2.util.event.api.IEventService eventService)
           
 Reference createNamingReference(org.ow2.util.ee.metadata.common.api.struct.IJaxwsWebServiceRef serviceRef)
           
 IWebServiceEndpoint createPOJOWebServiceEndpoint(org.ow2.util.ee.metadata.war.api.IWarClassMetadata metadata, ClassLoader loader, ServletContext servletContext)
           
protected  void doStart()
           
protected  void doStop()
           
 void finalizePOJODeployment(ServletContext context)
          Finalize the deployment of POJO endpoints contained in the given ServletContext.
 void unbindEventService(org.ow2.util.event.api.IEventService eventService)
           
 void undeployPOJOEndpoints(ServletContext context)
          Stop and undeploy the POJO endpoints contained in the given ServletContext.
 
Methods inherited from class org.ow2.jonas.ws.jaxws.base.JAXWSService
getJmxService, setJmxService
 
Methods inherited from class org.ow2.jonas.lib.service.AbsServiceImpl
convertToList, doInit, getDomainName, getJonasServerName, getName, getSequenceNumber, getServerProperties, init, isStarted, setName, setServerProperties, start, stop, throwRequirementException, toString
 
Methods inherited from class org.ow2.jonas.lib.management.javaee.ManagedObject
getModelMBean, sendNotification, sendReconfigNotification, sendSaveNotification, setModelMBean
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.ow2.jonas.service.Service
getName, init, isStarted, setName, start, stop
 

Constructor Detail

Axis2Service

public Axis2Service()
Method Detail

doStart

protected void doStart()
                throws ServiceException
Overrides:
doStart in class JAXWSService
Throws:
ServiceException

doStop

protected void doStop()
               throws ServiceException
Overrides:
doStop in class JAXWSService
Throws:
ServiceException

createNamingReference

public Reference createNamingReference(org.ow2.util.ee.metadata.common.api.struct.IJaxwsWebServiceRef serviceRef)
Specified by:
createNamingReference in interface IJAXWSService

createPOJOWebServiceEndpoint

public IWebServiceEndpoint createPOJOWebServiceEndpoint(org.ow2.util.ee.metadata.war.api.IWarClassMetadata metadata,
                                                        ClassLoader loader,
                                                        ServletContext servletContext)
                                                 throws WSException
Specified by:
createPOJOWebServiceEndpoint in interface IJAXWSService
Throws:
WSException

finalizePOJODeployment

public void finalizePOJODeployment(ServletContext context)
Finalize the deployment of POJO endpoints contained in the given ServletContext.

Specified by:
finalizePOJODeployment in interface IJAXWSService
Parameters:
context - ServletContext.

undeployPOJOEndpoints

public void undeployPOJOEndpoints(ServletContext context)
Stop and undeploy the POJO endpoints contained in the given ServletContext.

Specified by:
undeployPOJOEndpoints in interface IJAXWSService
Parameters:
context - ServletContext.

bindEventService

public void bindEventService(org.ow2.util.event.api.IEventService eventService)

unbindEventService

public void unbindEventService(org.ow2.util.event.api.IEventService eventService)


Copyright © 2011 OW2 Consortium. All Rights Reserved.