org.jboss.webservice
Class ServiceDeployerJSE
java.lang.Object
org.jboss.mx.util.JBossNotificationBroadcasterSupport (src)
org.jboss.system.ServiceMBeanSupport (src)
org.jboss.webservice.ServiceDeployer (src)
org.jboss.webservice.ServiceDeployerJSE
- All Implemented Interfaces:
- java.util.EventListener, MBeanRegistration (src) , NotificationBroadcaster (src) , NotificationEmitter (src) , NotificationListener (src) , Service (src) , ServiceMBean (src)
- public class ServiceDeployerJSE
- extends ServiceDeployer (src)
A deployer service that manages WS4EE compliant Web-Services for WAR
- Since:
- 15-April-2004
Fields inherited from interface org.jboss.system.ServiceMBean (src) |
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
Methods inherited from class org.jboss.webservice.ServiceDeployer (src) |
deployWebservices, destroyWebservice, handleNotification, handleShutdownException, handleStartupException, initWebservice, modifyServletConfig, parseWebservicesXML, registerNotificationListener, startWebservice, stopWebservice, undeployWebservices, unregisterNotificationListener |
Methods inherited from class org.jboss.system.ServiceMBeanSupport (src) |
create, createService, destroy, destroyService, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, stop |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServiceDeployerJSE
public ServiceDeployerJSE()
setWARDeployer
public void setWARDeployer(ObjectName (src) deployerName)
- Set the service name of the WAR deployer
startService
protected void startService()
throws java.lang.Exception
- Register this service as NotificationListener to the WARDeployer
- Overrides:
startService
in class ServiceDeployer (src)
- Throws:
java.lang.Exception
stopService
protected void stopService()
throws java.lang.Exception
- Unregister this service as NotificationListener from the WARDeployer
- Overrides:
stopService
in class ServiceMBeanSupport (src)
- Throws:
java.lang.Exception
getWebservicesDescriptor
protected java.net.URL getWebservicesDescriptor(DeploymentInfo (src) di)
- Get the resource name of the webservices.xml descriptor.
- Specified by:
getWebservicesDescriptor
in class ServiceDeployer (src)
createWebservice
protected void createWebservice(DeploymentInfo (src) di)
throws DeploymentException (src)
- Is called when the parent deployer sends the CREATE_NOTIFICATION.
This implemantation modifies the servlet entries in web.xml
- Overrides:
createWebservice
in class ServiceDeployer (src)
- Throws:
DeploymentException (src)
getServiceEndpointServletName
protected java.lang.String getServiceEndpointServletName()
- Override to return the name of the service endpoint servlet
- Specified by:
getServiceEndpointServletName
in class ServiceDeployer (src)