org.jboss.kernel.deployment.jboss
Class JBossBeanDeployment

java.lang.Object
  extended by org.jboss.mx.util.JBossNotificationBroadcasterSupport
      extended by org.jboss.system.ServiceMBeanSupport
          extended by org.jboss.kernel.deployment.jboss.JBossBeanDeployment
All Implemented Interfaces:
javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, JBossBeanDeploymentMBean, org.jboss.system.Service, org.jboss.system.ServiceMBean

public class JBossBeanDeployment
extends org.jboss.system.ServiceMBeanSupport
implements JBossBeanDeploymentMBean

A jboss bean deployment

Version:
$Revision: 1.1.4.4 $
Author:
Adrian Brock

Field Summary
protected  org.jboss.kernel.plugins.deployment.AbstractKernelDeployer deployer
          The kernel deployer
protected  org.jboss.kernel.spi.deployment.KernelDeployment deployment
          The deployment
protected  org.jboss.deployment.DeploymentInfo di
          The deployment info
 
Fields inherited from class org.jboss.system.ServiceMBeanSupport
log, 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
 
Constructor Summary
JBossBeanDeployment(org.jboss.deployment.DeploymentInfo di)
          Create a new deployment
 
Method Summary
protected  void createService()
           
protected  void destroyService()
           
protected  org.jboss.kernel.Kernel getKernel()
          Get the kernel for this deployment
protected  void startService()
           
protected  void stopService()
           
 
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, postDeregister, postRegister, preDeregister, preRegister, start, stop
 
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport
addNotificationListener, getNotificationInfo, handleNotification, nextNotificationSequenceNumber, 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
 

Field Detail

di

protected org.jboss.deployment.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

Constructor Detail

JBossBeanDeployment

public JBossBeanDeployment(org.jboss.deployment.DeploymentInfo di)
Create a new deployment

Parameters:
di - the deployment info
Method Detail

createService

protected void createService()
                      throws Exception
Overrides:
createService in class org.jboss.system.ServiceMBeanSupport
Throws:
Exception

startService

protected void startService()
                     throws Exception
Overrides:
startService in class org.jboss.system.ServiceMBeanSupport
Throws:
Exception

stopService

protected void stopService()
                    throws Exception
Overrides:
stopService in class org.jboss.system.ServiceMBeanSupport
Throws:
Exception

destroyService

protected void destroyService()
                       throws Exception
Overrides:
destroyService in class org.jboss.system.ServiceMBeanSupport
Throws:
Exception

getKernel

protected org.jboss.kernel.Kernel getKernel()
                                     throws org.jboss.deployment.DeploymentException
Get the kernel for this deployment

Returns:
the kernel
Throws:
org.jboss.deployment.DeploymentException


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.