org.ow2.jonas.ws.jaxws.base
Class JAXWSService

java.lang.Object
  extended by javax.management.NotificationBroadcasterSupport
      extended by org.ow2.jonas.lib.reconfig.ReconfigEmitter
          extended by org.ow2.jonas.lib.service.AbsServiceImpl
              extended by org.ow2.jonas.ws.jaxws.base.JAXWSService
All Implemented Interfaces:
NotificationBroadcaster, NotificationEmitter, Service, JAXWSServiceMBean
Direct Known Subclasses:
Axis2Service, CXFService

public abstract class JAXWSService
extends AbsServiceImpl
implements JAXWSServiceMBean

Common abstract class for JAX-WS service implementations.

Author:
Francois Fornaciari

Field Summary
 
Fields inherited from class org.ow2.jonas.lib.reconfig.ReconfigEmitter
RECONFIG_TYPE, SAVE_RECONFIG_TYPE
 
Constructor Summary
JAXWSService()
           
 
Method Summary
protected  void doStart()
          Starts the JAX-WS service.
protected  void doStop()
          Stops the JAX-WS service.
protected  JmxService getJmxService()
           
 void setJmxService(JmxService jmxService)
           
 
Methods inherited from class org.ow2.jonas.lib.service.AbsServiceImpl
convertToList, doInit, getDomainName, getJonasServerName, getName, getServerProperties, init, isStarted, setName, setServerProperties, start, stop, throwRequirementException, toString
 
Methods inherited from class org.ow2.jonas.lib.reconfig.ReconfigEmitter
initLogger, sendReconfigNotification, sendSaveNotification
 
Methods inherited from class javax.management.NotificationBroadcasterSupport
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JAXWSService

public JAXWSService()
Method Detail

doStart

protected void doStart()
                throws ServiceException
Starts the JAX-WS service.

Specified by:
doStart in class AbsServiceImpl
Throws:
ServiceException - If the service startup fails

doStop

protected void doStop()
               throws ServiceException
Stops the JAX-WS service.

Specified by:
doStop in class AbsServiceImpl
Throws:
ServiceException - If the service stop fails

setJmxService

public void setJmxService(JmxService jmxService)
Parameters:
jmxService - the jmxService to set

getJmxService

protected JmxService getJmxService()
Returns:
the jmxService


Copyright © 2010 OW2 Consortium. All Rights Reserved.