Save This Page
Home » JBoss-5.1.0 » org » jboss » deployment » [javadoc | source]
org.jboss.deployment
public class: SARDeployer [javadoc | source]
java.lang.Object
   org.jboss.mx.util.JBossNotificationBroadcasterSupport
      org.jboss.system.ServiceMBeanSupport
         org.jboss.deployment.SubDeployerSupport
            org.jboss.deployment.SARDeployer

All Implemented Interfaces:
    SARDeployerMBean, SubDeployerExtMBean, SubDeployerExt, KernelControllerContextAware, ServiceMBean, MBeanRegistration, NotificationEmitter

This is the main Service Deployer API.
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 SARDeployer() 
Method from org.jboss.deployment.SARDeployer Summary:
create,   destroy,   getObjectName,   getService,   inflateJar,   init,   isUseNamespaceAwareParser,   listFiles,   parseDocument,   parseXMLClasspath,   setUseNamespaceAwareParser,   start,   startService,   stop,   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:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.deployment.SARDeployer Detail:
 public  void create(DeploymentInfo di) throws DeploymentException 
    Describe create method here.
 public  void destroy(DeploymentInfo di) 
    The destroy method invokes destroy on the mbeans associated with the deployment in reverse order relative to create.
 protected ObjectName getObjectName(MBeanServer server,
    ObjectName name) throws MalformedObjectNameException 
 public DeploymentInfo getService(ObjectName serviceName) 
    Get the associated service DeploymentInfo if found, null otherwise
 protected  void inflateJar(URL url,
    File destDir,
    String path) throws DeploymentException, IOException 
    The inflateJar copies the jar entries from the jar url jarUrl to the directory destDir. It can be used on the whole jar, a directory, or a specific file in the jar.
 public  void init(DeploymentInfo di) throws DeploymentException 
    Describe init method here.
 public boolean isUseNamespaceAwareParser() 
 protected File[] listFiles(String urlspec) throws Exception 
 protected  void parseDocument(DeploymentInfo di) throws Exception 
    Parse the META-INF/jboss-service.xml descriptor
 protected  void parseXMLClasspath(DeploymentInfo di) throws Exception 
 public  void setUseNamespaceAwareParser(boolean useNamespaceAwareParser) 
 public  void start(DeploymentInfo di) throws DeploymentException 
    The start method starts all the mbeans in this DeploymentInfo..
 protected  void startService() throws Exception 
    The startService method gets the mbeanProxies for MainDeployer and ServiceController, used elsewhere.
 public  void stop(DeploymentInfo di) 
    The stop method invokes stop on the mbeans associatedw ith the deployment in reverse order relative to create.
 protected  void stopService() throws Exception 
    This method stops all the applications in this server.