org.jboss.kernel.deployment.jboss
Class JBossBeanDeployment
java.lang.Object
org.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.kernel.deployment.jboss.JBossBeanDeployment
- All Implemented Interfaces:
- MBeanRegistration, NotificationBroadcaster, NotificationEmitter, JBossBeanDeploymentMBean, org.jboss.kernel.spi.dependency.KernelControllerContextAware, Service, ServiceMBean
public class JBossBeanDeployment
- extends ServiceMBeanSupport
- implements JBossBeanDeploymentMBean
A jboss bean deployment
- Version:
- $Revision: 81038 $
- Author:
- Adrian Brock
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 |
Methods inherited from class org.jboss.system.ServiceMBeanSupport |
create, destroy, getDeploymentInfo, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, pojoChange, pojoCreate, pojoDestroy, pojoStart, pojoStop, postDeregister, postRegister, preDeregister, preRegister, setKernelControllerContext, start, stop, unsetKernelControllerContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
di
protected DeploymentInfo di
- The deployment info
deployment
protected org.jboss.kernel.spi.deployment.KernelDeployment deployment
- The deployment
deployer
protected org.jboss.kernel.plugins.deployment.AbstractKernelDeployer deployer
- The kernel deployer
JBossBeanDeployment
public JBossBeanDeployment(DeploymentInfo di)
- Create a new deployment
- Parameters:
di
- the deployment info
createService
protected void createService()
throws Exception
- Overrides:
createService
in class ServiceMBeanSupport
- Throws:
Exception
startService
protected void startService()
throws Exception
- Overrides:
startService
in class ServiceMBeanSupport
- Throws:
Exception
stopService
protected void stopService()
throws Exception
- Overrides:
stopService
in class ServiceMBeanSupport
- Throws:
Exception
destroyService
protected void destroyService()
throws Exception
- Overrides:
destroyService
in class ServiceMBeanSupport
- Throws:
Exception
getKernel
protected org.jboss.kernel.Kernel getKernel()
throws DeploymentException
- Get the kernel for this deployment
- Returns:
- the kernel
- Throws:
DeploymentException
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.