当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 webservice API Documentation 英文版文档
ServiceDeployerEJB (JBossWS API) - JBoss 4.0.1 sp1 webservice API Documentation 英文版文档
org.jboss.webservice
Class ServiceDeployerEJB
java.lang.Object
org.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.webservice.ServiceDeployer
org.jboss.webservice.ServiceDeployerEJB
- All Implemented Interfaces:
- EventListener, javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, javax.management.NotificationListener, org.jboss.system.Service, ServiceDeployerEJBMBean, ServiceDeployerMBean, org.jboss.system.ServiceMBean
- public class ServiceDeployerEJB
- extends ServiceDeployer
- implements ServiceDeployerEJBMBean
A deployer service that manages WS4EE compliant Web-Services for EJB Endpoints
- Since:
- 15-April-2004
- Author:
- Thomas.Diesler@jboss.org, Scott.Stark@jboss.org
Fields inherited from class org.jboss.system.ServiceMBeanSupport |
server, SERVICE_CONTROLLER_SIG, serviceName |
Fields inherited from interface org.jboss.system.ServiceMBean |
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
Method Summary |
protected void |
deployWebservices(org.jboss.deployment.DeploymentInfo di,
WebservicesMetaData webservices)
Deploy the webservices using the AxisService MBean |
protected String |
getServiceEndpointServletName()
Override to return the name of the service endpoint servlet |
protected URL |
getWebservicesDescriptor(org.jboss.deployment.DeploymentInfo di)
Get the resource name of the webservices.xml descriptor. |
void |
setEJBDeployer(javax.management.ObjectName deployerName)
Set the service name of the EJB deployer |
void |
setMainDeployer(javax.management.ObjectName deployerName)
Set the service name of the Main deployer |
protected void |
startService()
Register this service as NotificationListener to the EJBDeployer |
protected void |
stopService()
Unregister this service as NotificationListener from the EJBDeployer |
protected void |
undeployWebservices(org.jboss.deployment.DeploymentInfo di,
WebservicesMetaData webservices)
Undeploy the webservices using the AxisService MBean |
Methods inherited from class org.jboss.webservice.ServiceDeployer |
createWebservice, destroyWebservice, handleNotification, handleShutdownException, handleStartupException, initWebservice, modifyServletConfig, parseWebservicesXML, registerNotificationListener, startWebservice, stopWebservice, unregisterNotificationListener |
Methods inherited from class org.jboss.system.ServiceMBeanSupport |
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 org.jboss.mx.util.JBossNotificationBroadcasterSupport |
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jboss.system.ServiceMBean |
getName, getState, getStateString, jbossInternalLifecycle |
Methods inherited from interface org.jboss.system.Service |
create, destroy, start, stop |
EJB_ENDPOINT_WEBAPP_URL
public static final String EJB_ENDPOINT_WEBAPP_URL
- See Also:
- Constant Field Values
ServiceDeployerEJB
public ServiceDeployerEJB()
setEJBDeployer
public void setEJBDeployer(javax.management.ObjectName deployerName)
- Set the service name of the EJB deployer
- Specified by:
setEJBDeployer
in interface ServiceDeployerEJBMBean
setMainDeployer
public void setMainDeployer(javax.management.ObjectName deployerName)
- Set the service name of the Main deployer
- Specified by:
setMainDeployer
in interface ServiceDeployerEJBMBean
startService
protected void startService()
throws Exception
- Register this service as NotificationListener to the EJBDeployer
- Overrides:
startService
in class ServiceDeployer
- Throws:
Exception
stopService
protected void stopService()
- Unregister this service as NotificationListener from the EJBDeployer
- Overrides:
stopService
in class ServiceDeployer
deployWebservices
protected void deployWebservices(org.jboss.deployment.DeploymentInfo di,
WebservicesMetaData webservices)
throws org.jboss.deployment.DeploymentException
- Description copied from class:
ServiceDeployer
- Deploy the webservices using the AxisService MBean
- Overrides:
deployWebservices
in class ServiceDeployer
- Throws:
org.jboss.deployment.DeploymentException
undeployWebservices
protected void undeployWebservices(org.jboss.deployment.DeploymentInfo di,
WebservicesMetaData webservices)
- Description copied from class:
ServiceDeployer
- Undeploy the webservices using the AxisService MBean
- Overrides:
undeployWebservices
in class ServiceDeployer
getWebservicesDescriptor
protected URL getWebservicesDescriptor(org.jboss.deployment.DeploymentInfo di)
- Get the resource name of the webservices.xml descriptor.
- Specified by:
getWebservicesDescriptor
in class ServiceDeployer
getServiceEndpointServletName
protected String getServiceEndpointServletName()
- Override to return the name of the service endpoint servlet
- Specified by:
getServiceEndpointServletName
in class ServiceDeployer
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.