Nuxeo Enterprise Platform 5.1

org.nuxeo.runtime.jboss.adapter.deployment
Class XMLComponentDeployer

java.lang.Object
  extended by org.jboss.mx.util.JBossNotificationBroadcasterSupport
      extended by org.jboss.system.ServiceMBeanSupport
          extended by org.jboss.deployment.SubDeployerSupport
              extended by org.nuxeo.runtime.jboss.adapter.deployment.XMLComponentDeployer
All Implemented Interfaces:
MBeanRegistration, NotificationBroadcaster, NotificationEmitter, org.jboss.deployment.SubDeployer, org.jboss.deployment.SubDeployerExt, org.jboss.deployment.SubDeployerExtMBean, org.jboss.deployment.SubDeployerMBean, org.jboss.system.Service, org.jboss.system.ServiceMBean, XMLComponentDeployerMBean

public class XMLComponentDeployer
extends org.jboss.deployment.SubDeployerSupport
implements XMLComponentDeployerMBean

Author:
Bogdan Stefanescu

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jboss.deployment.SubDeployerSupport
org.jboss.deployment.SubDeployerSupport.ClassConfiguration
 
Field Summary
static String XML_BUNDLE_SUFFIX
           
static String XML_BUNDLE_SUFFIX_COMP
           
 
Fields inherited from class org.jboss.deployment.SubDeployerSupport
CONFIGURATION, enhancedSuffixes, mainDeployer, nativePrefix, nativeSuffix, relativeOrder, suffixes, tempDeployDir
 
Fields inherited from class org.jboss.system.ServiceMBeanSupport
log, server, SERVICE_CONTROLLER_SIG, serviceName
 
Fields inherited from interface org.jboss.deployment.SubDeployer
CREATE_NOTIFICATION, DESTROY_NOTIFICATION, INIT_NOTIFICATION, RELATIVE_ORDER_100, RELATIVE_ORDER_200, RELATIVE_ORDER_300, RELATIVE_ORDER_400, RELATIVE_ORDER_500, RELATIVE_ORDER_600, RELATIVE_ORDER_700, RELATIVE_ORDER_800, RELATIVE_ORDER_900, START_NOTIFICATION, STOP_NOTIFICATION
 
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
XMLComponentDeployer()
           
 
Method Summary
 boolean accepts(org.jboss.deployment.DeploymentInfo sdi)
           
 void create(org.jboss.deployment.DeploymentInfo di)
           
 void destroy(org.jboss.deployment.DeploymentInfo di)
           
 org.jboss.system.ServiceControllerMBean getServiceController()
           
 void init(org.jboss.deployment.DeploymentInfo di)
           
 void start(org.jboss.deployment.DeploymentInfo di)
           
protected  void startService()
           
 void stop(org.jboss.deployment.DeploymentInfo di)
           
protected  void stopService()
           
 
Methods inherited from class org.jboss.deployment.SubDeployerSupport
addDeployableFiles, addDeployableJar, createService, deployUrl, destroyService, emitNotification, getEnhancedSuffixes, getRelativeOrder, getSuffixes, isDeployable, processNestedDeployments, setEnhancedSuffixes, setRelativeOrder, setSuffixes
 
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.nuxeo.runtime.jboss.adapter.deployment.XMLComponentDeployerMBean
start, stop
 
Methods inherited from interface org.jboss.deployment.SubDeployer
getServiceName
 
Methods inherited from interface org.jboss.deployment.SubDeployerMBean
getServiceName
 
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

XML_BUNDLE_SUFFIX

public static final String XML_BUNDLE_SUFFIX
See Also:
Constant Field Values

XML_BUNDLE_SUFFIX_COMP

public static final String XML_BUNDLE_SUFFIX_COMP
See Also:
Constant Field Values
Constructor Detail

XMLComponentDeployer

public XMLComponentDeployer()
Method Detail

getServiceController

public org.jboss.system.ServiceControllerMBean getServiceController()

accepts

public boolean accepts(org.jboss.deployment.DeploymentInfo sdi)
Specified by:
accepts in interface org.jboss.deployment.SubDeployer
Specified by:
accepts in interface org.jboss.deployment.SubDeployerMBean
Overrides:
accepts in class org.jboss.deployment.SubDeployerSupport

startService

protected void startService()
                     throws Exception
Overrides:
startService in class org.jboss.deployment.SubDeployerSupport
Throws:
Exception

stopService

protected void stopService()
                    throws Exception
Overrides:
stopService in class org.jboss.deployment.SubDeployerSupport
Throws:
Exception

init

public void init(org.jboss.deployment.DeploymentInfo di)
          throws org.jboss.deployment.DeploymentException
Specified by:
init in interface org.jboss.deployment.SubDeployer
Specified by:
init in interface org.jboss.deployment.SubDeployerMBean
Overrides:
init in class org.jboss.deployment.SubDeployerSupport
Throws:
org.jboss.deployment.DeploymentException

create

public void create(org.jboss.deployment.DeploymentInfo di)
            throws org.jboss.deployment.DeploymentException
Specified by:
create in interface org.jboss.deployment.SubDeployer
Specified by:
create in interface org.jboss.deployment.SubDeployerMBean
Overrides:
create in class org.jboss.deployment.SubDeployerSupport
Throws:
org.jboss.deployment.DeploymentException

start

public void start(org.jboss.deployment.DeploymentInfo di)
           throws org.jboss.deployment.DeploymentException
Specified by:
start in interface org.jboss.deployment.SubDeployer
Specified by:
start in interface org.jboss.deployment.SubDeployerMBean
Overrides:
start in class org.jboss.deployment.SubDeployerSupport
Throws:
org.jboss.deployment.DeploymentException

stop

public void stop(org.jboss.deployment.DeploymentInfo di)
          throws org.jboss.deployment.DeploymentException
Specified by:
stop in interface org.jboss.deployment.SubDeployer
Specified by:
stop in interface org.jboss.deployment.SubDeployerMBean
Overrides:
stop in class org.jboss.deployment.SubDeployerSupport
Throws:
org.jboss.deployment.DeploymentException

destroy

public void destroy(org.jboss.deployment.DeploymentInfo di)
             throws org.jboss.deployment.DeploymentException
Specified by:
destroy in interface org.jboss.deployment.SubDeployer
Specified by:
destroy in interface org.jboss.deployment.SubDeployerMBean
Overrides:
destroy in class org.jboss.deployment.SubDeployerSupport
Throws:
org.jboss.deployment.DeploymentException

Nuxeo Enterprise Platform 5.1

Copyright ? 2007 Nuxeo SAS. All Rights Reserved.