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

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

This deployer exists to prevent deployment of packages whose deployers are not yet deployed. It will accept only jar/zip format files or directories that don't have a META-INF directory, or if they do, don't have any .xml files there. It assumes any package with a META-INF/*.xml file needs a specialized deployer.
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
Constructor:
 public JARDeployer() 
Method from org.jboss.deployment.JARDeployer Summary:
accepts,   getDescriptorNames,   setDescriptorNames,   stopService
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.JARDeployer Detail:
 public boolean accepts(DeploymentInfo di) 
    The accepts method is called by MainDeployer to determine which deployer is suitable for a DeploymentInfo.
 public String[] getDescriptorNames() 
 public  void setDescriptorNames(String[] descriptorNames) 
 protected  void stopService()