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

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

A EJBDeployer is used to deploy EJB applications. It can be given a URL to an EJB-jar or EJB-JAR XML file, which will be used to instantiate containers and make them available for invocation.
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.ejb.EJBDeployer Summary:
accepts,   create,   destroy,   getDeployedApplications,   getObjectName,   getStrictVerifier,   getTransactionManagerServiceName,   getValidateDTDs,   getVerifierVerbose,   getVerifyDeployments,   getWebServiceName,   init,   isMetricsEnabled,   processNestedDeployments,   setMetricsEnabled,   setStrictVerifier,   setTransactionManagerServiceName,   setValidateDTDs,   setVerifierVerbose,   setVerifyDeployments,   setWebServiceName,   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.ejb.EJBDeployer Detail:
 public boolean accepts(DeploymentInfo di) 
 public synchronized  void create(DeploymentInfo di) throws DeploymentException 
 public  void destroy(DeploymentInfo di) throws DeploymentException 
 public Iterator getDeployedApplications() 
    Returns the deployed applications.
 protected ObjectName getObjectName(MBeanServer server,
    ObjectName name) throws MalformedObjectNameException 
 public boolean getStrictVerifier() 
    Returns the mode of the bean verifier (strict/non-strict mode)
 public ObjectName getTransactionManagerServiceName() 
    Get the TransactionManagerServiceName value.
 public boolean getValidateDTDs() 
    Get the flag indicating that ejb-jar.dtd, jboss.dtd & jboss-web.dtd conforming documents should be validated against the DTD.
 public boolean getVerifierVerbose() 
    Returns the state of the bean verifier (verbose/non-verbose mode)
 public boolean getVerifyDeployments() 
    Returns the state of bean verifier (on/off)
 public ObjectName getWebServiceName() 
    Get the WebServiceName value.
 public  void init(DeploymentInfo di) throws DeploymentException 
 public boolean isMetricsEnabled() 
    Checks if this container factory initializes the metrics interceptor.
 protected  void processNestedDeployments(DeploymentInfo di) throws DeploymentException 
    This is here as a reminder that we may not want to allow ejb jars to have arbitrary sub deployments. Currently we do.
 public  void setMetricsEnabled(boolean enable) 
    Enables/disables the metrics interceptor for containers.
 public  void setStrictVerifier(boolean strictVerifier) 
    Enables/disables the strict mode on the verifier.
 public  void setTransactionManagerServiceName(ObjectName transactionManagerServiceName) 
    Set the TransactionManagerServiceName value.
 public  void setValidateDTDs(boolean validate) 
    Set the flag indicating that ejb-jar.dtd, jboss.dtd & jboss-web.dtd conforming documents should be validated against the DTD.
 public  void setVerifierVerbose(boolean verbose) 
    Enables/disables the verbose mode on the verifier.
 public  void setVerifyDeployments(boolean verify) 
    Enables/disables the application bean verification upon deployment.
 public  void setWebServiceName(ObjectName webServiceName) 
    Set the WebServiceName value.
 public synchronized  void start(DeploymentInfo di) throws DeploymentException 
 protected  void startService() throws Exception 
    Get a reference to the ServiceController
 public  void stop(DeploymentInfo di) throws DeploymentException 
 protected  void stopService() throws Exception 
    Implements the template method in superclass. This method stops all the applications in this server.