|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.deployment.SubDeployerSupport
org.jboss.ejb.EJBDeployer
public class EJBDeployer
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.
Container| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.jboss.deployment.SubDeployerSupport |
|---|
org.jboss.deployment.SubDeployerSupport.ClassConfiguration |
| Field Summary |
|---|
| Fields inherited from class org.jboss.deployment.SubDeployerSupport |
|---|
CONFIGURATION, enhancedSuffixes, mainDeployer, nativePrefix, nativeSuffix, relativeOrder, suffixes, tempDeployDir |
| Fields inherited from class org.jboss.system.ServiceMBeanSupport |
|---|
log, server, SERVICE_CONTROLLER_SIG, serviceName |
| Fields inherited from interface org.jboss.ejb.EJBDeployerMBean |
|---|
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, RELATIVE_ORDER_100, RELATIVE_ORDER_200, RELATIVE_ORDER_300, RELATIVE_ORDER_400, RELATIVE_ORDER_500, RELATIVE_ORDER_600, RELATIVE_ORDER_700, RELATIVE_ORDER_800, RELATIVE_ORDER_900, START_NOTIFICATION, STOP_NOTIFICATION |
| Constructor Summary | |
|---|---|
EJBDeployer()
Default CTOR |
|
| Method Summary | |
|---|---|
boolean |
accepts(org.jboss.deployment.DeploymentInfo di)
|
void |
create(org.jboss.deployment.DeploymentInfo di)
|
void |
destroy(org.jboss.deployment.DeploymentInfo di)
|
boolean |
getStrictVerifier()
Returns the mode of the bean verifier (strict/non-strict mode) |
javax.management.ObjectName |
getTransactionManagerServiceName()
Get the TransactionManagerServiceName value. |
boolean |
getValidateDTDs()
Get the flag indicating that ejb-jar.dtd, jboss.dtd & jboss-web.dtd conforming documents should be validated against the DTD. |
boolean |
getVerifierVerbose()
Returns the state of the bean verifier (verbose/non-verbose mode) |
boolean |
getVerifyDeployments()
Returns the state of bean verifier (on/off) |
javax.management.ObjectName |
getWebServiceName()
Get the WebServiceName value. |
void |
init(org.jboss.deployment.DeploymentInfo di)
|
boolean |
isCallByValue()
|
boolean |
isMetricsEnabled()
Checks if this container factory initializes the metrics interceptor. |
Iterator |
listDeployedApplications()
Returns the deployed applications. |
protected void |
processNestedDeployments(org.jboss.deployment.DeploymentInfo di)
This is here as a reminder that we may not want to allow ejb jars to have arbitrary sub deployments. |
void |
setCallByValue(boolean callByValue)
Whether ear deployments should be call by value |
void |
setMetricsEnabled(boolean enable)
Enables/disables the metrics interceptor for containers. |
void |
setStrictVerifier(boolean strictVerifier)
Enables/disables the strict mode on the verifier. |
void |
setTransactionManagerServiceName(javax.management.ObjectName transactionManagerServiceName)
Set the TransactionManagerServiceName value. |
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. |
void |
setVerifierVerbose(boolean verbose)
Enables/disables the verbose mode on the verifier. |
void |
setVerifyDeployments(boolean verify)
Enables/disables the application bean verification upon deployment. |
void |
setWebServiceName(javax.management.ObjectName webServiceName)
Set the WebServiceName value. |
void |
start(org.jboss.deployment.DeploymentInfo di)
|
protected void |
startService()
Get a reference to the ServiceController |
void |
stop(org.jboss.deployment.DeploymentInfo di)
|
protected void |
stopService()
Implements the template method in superclass. |
| Methods inherited from class org.jboss.deployment.SubDeployerSupport |
|---|
addDeployableFiles, addDeployableJar, createService, deployUrl, destroyService, emitNotification, getEnhancedSuffixes, getRelativeOrder, getSuffixes, isDeployable, setEnhancedSuffixes, setRelativeOrder, setSuffixes |
| Methods inherited from class org.jboss.system.ServiceMBeanSupport |
|---|
create, destroy, getDeploymentInfo, 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, nextNotificationSequenceNumber, 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.deployment.SubDeployerExtMBean |
|---|
getEnhancedSuffixes, setEnhancedSuffixes |
| Methods inherited from interface org.jboss.deployment.SubDeployerMBean |
|---|
getRelativeOrder, getServiceName, getSuffixes |
| 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 |
|---|
public EJBDeployer()
| Method Detail |
|---|
public boolean isCallByValue()
isCallByValue in interface EJBDeployerMBeanpublic void setCallByValue(boolean callByValue)
EJBDeployerMBean
setCallByValue in interface EJBDeployerMBeancallByValue - whether ear deployments should be call by valuepublic Iterator listDeployedApplications()
listDeployedApplications in interface EJBDeployerMBean
protected void startService()
throws Exception
startService in class org.jboss.deployment.SubDeployerSupportException
protected void stopService()
throws Exception
stopService in class org.jboss.deployment.SubDeployerSupportExceptionpublic void setVerifyDeployments(boolean verify)
setVerifyDeployments in interface EJBDeployerMBeanverify - true to enable; false to disablepublic boolean getVerifyDeployments()
getVerifyDeployments in interface EJBDeployerMBeanpublic void setVerifierVerbose(boolean verbose)
setVerifierVerbose in interface EJBDeployerMBeanverbose - true to enable; false to disablepublic boolean getVerifierVerbose()
getVerifierVerbose in interface EJBDeployerMBeanpublic void setStrictVerifier(boolean strictVerifier)
setStrictVerifier in interface EJBDeployerMBeanstrictVerifier - true to enable; false
to disablepublic boolean getStrictVerifier()
getStrictVerifier in interface EJBDeployerMBeantrue if the Verifier is in strict mode,
false otherwisepublic void setMetricsEnabled(boolean enable)
setMetricsEnabled in interface EJBDeployerMBeanenable - true to enable; false to disablepublic boolean isMetricsEnabled()
isMetricsEnabled in interface EJBDeployerMBeanpublic boolean getValidateDTDs()
getValidateDTDs in interface EJBDeployerMBeanpublic void setValidateDTDs(boolean validate)
setValidateDTDs in interface EJBDeployerMBeanpublic javax.management.ObjectName getWebServiceName()
getWebServiceName in interface EJBDeployerMBeanpublic void setWebServiceName(javax.management.ObjectName webServiceName)
setWebServiceName in interface EJBDeployerMBeanwebServiceName - The new WebServiceName value.public javax.management.ObjectName getTransactionManagerServiceName()
getTransactionManagerServiceName in interface EJBDeployerMBeanpublic void setTransactionManagerServiceName(javax.management.ObjectName transactionManagerServiceName)
setTransactionManagerServiceName in interface EJBDeployerMBeantransactionManagerServiceName - The new TransactionManagerServiceName value.public boolean accepts(org.jboss.deployment.DeploymentInfo di)
accepts in interface org.jboss.deployment.SubDeployeraccepts in interface org.jboss.deployment.SubDeployerMBeanaccepts in class org.jboss.deployment.SubDeployerSupport
public void init(org.jboss.deployment.DeploymentInfo di)
throws org.jboss.deployment.DeploymentException
init in interface org.jboss.deployment.SubDeployerinit in interface org.jboss.deployment.SubDeployerMBeaninit in class org.jboss.deployment.SubDeployerSupportorg.jboss.deployment.DeploymentException
protected void processNestedDeployments(org.jboss.deployment.DeploymentInfo di)
throws org.jboss.deployment.DeploymentException
processNestedDeployments in class org.jboss.deployment.SubDeployerSupportdi -
org.jboss.deployment.DeploymentException
public void create(org.jboss.deployment.DeploymentInfo di)
throws org.jboss.deployment.DeploymentException
create in interface org.jboss.deployment.SubDeployercreate in interface org.jboss.deployment.SubDeployerMBeancreate in class org.jboss.deployment.SubDeployerSupportorg.jboss.deployment.DeploymentException
public void start(org.jboss.deployment.DeploymentInfo di)
throws org.jboss.deployment.DeploymentException
start in interface org.jboss.deployment.SubDeployerstart in interface org.jboss.deployment.SubDeployerMBeanstart in class org.jboss.deployment.SubDeployerSupportorg.jboss.deployment.DeploymentException
public void stop(org.jboss.deployment.DeploymentInfo di)
throws org.jboss.deployment.DeploymentException
stop in interface org.jboss.deployment.SubDeployerstop in interface org.jboss.deployment.SubDeployerMBeanstop in class org.jboss.deployment.SubDeployerSupportorg.jboss.deployment.DeploymentException
public void destroy(org.jboss.deployment.DeploymentInfo di)
throws org.jboss.deployment.DeploymentException
destroy in interface org.jboss.deployment.SubDeployerdestroy in interface org.jboss.deployment.SubDeployerMBeandestroy in class org.jboss.deployment.SubDeployerSupportorg.jboss.deployment.DeploymentException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||