Save This Page
Home » jboss-5.0.0.CR1-src » org » jboss » deployment » [javadoc | source]
org.jboss.deployment
abstract public class: SimpleSubDeployerSupport [javadoc | source]
java.lang.Object
   org.jboss.mx.util.JBossNotificationBroadcasterSupport
      org.jboss.system.ServiceMBeanSupport
         org.jboss.deployment.SubDeployerSupport
            org.jboss.deployment.SimpleSubDeployerSupport

All Implemented Interfaces:
    SubDeployerExtMBean, SubDeployerExt, org.jboss.kernel.spi.dependency.KernelControllerContextAware, ServiceMBean, MBeanRegistration, NotificationEmitter

Direct Known Subclasses:
    ObjectModelFactorySimpleSubDeployerSupport, RARDeployer, SchemaBindingSimpleSubDeployerSupport, JBossBeanDeployer, SchemaResolverSimpleSubDeployerSupport

A simple subdeployer that deploys a managed object after parsing the deployment's xml file.
Fields inherited from org.jboss.deployment.SubDeployerSupport:
nativeSuffix,  nativePrefix,  mainDeployer,  tempDeployDir,  enhancedSuffixes,  suffixes,  relativeOrder,  CONFIGURATION
Fields inherited from org.jboss.system.ServiceMBeanSupport:
SERVICE_CONTROLLER_SIG,  log,  server,  serviceName
Method from org.jboss.deployment.SimpleSubDeployerSupport Summary:
accepts,   create,   createService,   destroy,   destroyService,   determineObjectName,   getDeploymentClass,   getExtension,   getMetaDataResource,   getMetaDataURL,   getObjectName,   init,   parseMetaData,   postRegister,   registerClassLoader,   registerDeployment,   resolveWatch,   start,   startService,   stop,   stopService,   unregisterClassLoader,   unregisterDeployment
Methods from org.jboss.deployment.SubDeployerSupport:
accepts,   addDeployableFiles,   addDeployableJar,   create,   createService,   deployUrl,   destroy,   destroyService,   emitNotification,   getEnhancedSuffixes,   getRelativeOrder,   getSuffixes,   init,   isDeployable,   processNestedDeployments,   setEnhancedSuffixes,   setRelativeOrder,   setSuffixes,   start,   startService,   stop,   stopService
Methods from org.jboss.system.ServiceMBeanSupport:
create,   createService,   destroy,   destroyService,   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,   startService,   stop,   stopService,   unsetKernelControllerContext
Methods from org.jboss.mx.util.JBossNotificationBroadcasterSupport:
addNotificationListener,   getNotificationInfo,   handleNotification,   nextNotificationSequenceNumber,   removeNotificationListener,   removeNotificationListener,   sendNotification
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.deployment.SimpleSubDeployerSupport Detail:
 public boolean accepts(DeploymentInfo di) 
 public  void create(DeploymentInfo di) throws DeploymentException 
 protected  void createService(DeploymentInfo di) throws DeploymentException 
    Do the create lifecyle for the deployment
 public  void destroy(DeploymentInfo di) throws DeploymentException 
 protected  void destroyService(DeploymentInfo di) throws DeploymentException 
    Do the destroy lifecyle for the deployment
 protected  void determineObjectName(DeploymentInfo di) throws DeploymentException 
    Determine the object name
 abstract public String getDeploymentClass()
    Get the deployment class
 abstract public String getExtension()
    Get the package extension for this deployment
 protected URL getMetaDataResource(DeploymentInfo di) throws DeploymentException 
    Get the url of the meta data resource
 abstract public String getMetaDataURL()
    Get the metadata url
 abstract public String getObjectName(DeploymentInfo di) throws DeploymentException
    Get the object name for this deployment
 public  void init(DeploymentInfo di) throws DeploymentException 
 abstract protected  void parseMetaData(DeploymentInfo di,
    URL url) throws DeploymentException
    Parse the meta data
 public  void postRegister(Boolean done) 
 protected ObjectName registerClassLoader(DeploymentInfo di) throws DeploymentException 
    Register the UCL classloader
 protected  void registerDeployment(DeploymentInfo di,
    ObjectName uclName) throws DeploymentException 
    Register the deployment
 protected  void resolveWatch(DeploymentInfo di,
    URL url) throws DeploymentException 
    Resolve the watch url
 public  void start(DeploymentInfo di) throws DeploymentException 
 protected  void startService(DeploymentInfo di) throws DeploymentException 
    Do the start lifecyle for the deployment
 public  void stop(DeploymentInfo di) throws DeploymentException 
 protected  void stopService(DeploymentInfo di) 
    Do the stop lifecyle for the deployment
 protected  void unregisterClassLoader(DeploymentInfo di) 
    Unregister the UCL classloader
 protected  void unregisterDeployment(DeploymentInfo di) 
    Unregister the deployment