站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 3.2.7 server API Documentation 英文版文档

EARDeployer (JBoss Server API) - JBoss 3.2.7 server API Documentation 英文版文档


org.jboss.deployment
Class EARDeployer

java.lang.Object
  extended byorg.jboss.mx.util.JBossNotificationBroadcasterSupport
      extended byorg.jboss.system.ServiceMBeanSupport
          extended byorg.jboss.deployment.SubDeployerSupport
              extended byorg.jboss.deployment.EARDeployer
All Implemented Interfaces:
EARDeployerMBean, javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, org.jboss.system.Service, org.jboss.system.ServiceMBean, org.jboss.deployment.SubDeployer, org.jboss.deployment.SubDeployerMBean

public class EARDeployer
extends org.jboss.deployment.SubDeployerSupport
implements EARDeployerMBean

Enterprise Archive Deployer.

Version:
$Revision: 1.19.2.13 $
Author:
Marc Fleury, Scott.Stark@jboss.org

Nested Class Summary
 
Nested classes inherited from class org.jboss.deployment.SubDeployerSupport
org.jboss.deployment.SubDeployerSupport.ClassConfiguration
 
Field Summary
 
Fields inherited from class org.jboss.deployment.SubDeployerSupport
CONFIGURATION, mainDeployer, nativePrefix, nativeSuffix, tempDeployDir
 
Fields inherited from class org.jboss.system.ServiceMBeanSupport
log, server, SERVICE_CONTROLLER_SIG, serviceName
 
Fields inherited from interface org.jboss.deployment.EARDeployerMBean
OBJECT_NAME
 
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
 
Fields inherited from interface org.jboss.deployment.SubDeployer
CREATE_NOTIFICATION, DESTROY_NOTIFICATION, INIT_NOTIFICATION, START_NOTIFICATION, STOP_NOTIFICATION
 
Constructor Summary
EARDeployer()
           
 
Method Summary
 boolean accepts(org.jboss.deployment.DeploymentInfo di)
           
 void create(org.jboss.deployment.DeploymentInfo di)
           
 void destroy(org.jboss.deployment.DeploymentInfo di)
           
 void init(org.jboss.deployment.DeploymentInfo di)
           
protected  void initLoaderRepository(org.jboss.deployment.DeploymentInfo di, Element loader)
          Build the ear scoped repository
 boolean isCallByValue()
          Get the call by value
protected  boolean isDeployable(String name, URL url)
          Add -ds.xml and -service.xml as legitimate deployables.
 boolean isIsolated()
          Get the isolated value
protected  void processNestedDeployments(org.jboss.deployment.DeploymentInfo di)
          Override the default behavior of looking into the archive for deployables as only those explicitly listed in the application.xml and jboss-app.xml should be deployed.
 void setCallByValue(boolean value)
          Set the call by value
 void setIsolated(boolean isolated)
          Set the isolated value
 void start(org.jboss.deployment.DeploymentInfo di)
           
protected  void startService()
           
 void stop(org.jboss.deployment.DeploymentInfo di)
           
 
Methods inherited from class org.jboss.deployment.SubDeployerSupport
addDeployableFiles, addDeployableJar, createService, deployUrl, destroyService, stopService
 
Methods inherited from class org.jboss.system.ServiceMBeanSupport
create, destroy, 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, 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
 
Methods inherited from interface org.jboss.deployment.SubDeployer
getServiceName
 

Constructor Detail

EARDeployer

public EARDeployer()
Method Detail

isIsolated

public boolean isIsolated()
Get the isolated value

Specified by:
isIsolated in interface EARDeployerMBean
Returns:
true when isolated

setIsolated

public void setIsolated(boolean isolated)
Set the isolated value

Specified by:
setIsolated in interface EARDeployerMBean
Parameters:
isolated - true when isolated

isCallByValue

public boolean isCallByValue()
Get the call by value

Specified by:
isCallByValue in interface EARDeployerMBean
Returns:
true when call by value

setCallByValue

public void setCallByValue(boolean value)
Set the call by value

Specified by:
setCallByValue in interface EARDeployerMBean
Parameters:
value - true when callByValue

accepts

public boolean accepts(org.jboss.deployment.DeploymentInfo di)
Specified by:
accepts in interface org.jboss.deployment.SubDeployerMBean

init

public void init(org.jboss.deployment.DeploymentInfo di)
          throws org.jboss.deployment.DeploymentException
Specified by:
init in interface org.jboss.deployment.SubDeployerMBean
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.SubDeployerMBean
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.SubDeployerMBean
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.SubDeployerMBean
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.SubDeployerMBean
Throws:
org.jboss.deployment.DeploymentException

initLoaderRepository

protected void initLoaderRepository(org.jboss.deployment.DeploymentInfo di,
                                    Element loader)
                             throws Exception
Build the ear scoped repository

Parameters:
di - the deployment info passed to deploy
loader - the jboss-app/loader-repository element
Throws:
Exception

isDeployable

protected boolean isDeployable(String name,
                               URL url)
Add -ds.xml and -service.xml as legitimate deployables.


processNestedDeployments

protected void processNestedDeployments(org.jboss.deployment.DeploymentInfo di)
Override the default behavior of looking into the archive for deployables as only those explicitly listed in the application.xml and jboss-app.xml should be deployed.

Parameters:
di -

startService

protected void startService()
                     throws Exception
Throws:
Exception


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