|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 EJBDeployerMBean
public void setCallByValue(boolean callByValue)
EJBDeployerMBean
setCallByValue
in interface EJBDeployerMBean
callByValue
- 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.SubDeployerSupport
Exception
protected void stopService() throws Exception
stopService
in class org.jboss.deployment.SubDeployerSupport
Exception
public void setVerifyDeployments(boolean verify)
setVerifyDeployments
in interface EJBDeployerMBean
verify
- true to enable; false to disablepublic boolean getVerifyDeployments()
getVerifyDeployments
in interface EJBDeployerMBean
public void setVerifierVerbose(boolean verbose)
setVerifierVerbose
in interface EJBDeployerMBean
verbose
- true to enable; false to disablepublic boolean getVerifierVerbose()
getVerifierVerbose
in interface EJBDeployerMBean
public void setStrictVerifier(boolean strictVerifier)
setStrictVerifier
in interface EJBDeployerMBean
strictVerifier
- true
to enable; false
to disablepublic boolean getStrictVerifier()
getStrictVerifier
in interface EJBDeployerMBean
true
if the Verifier is in strict mode,
false
otherwisepublic void setMetricsEnabled(boolean enable)
setMetricsEnabled
in interface EJBDeployerMBean
enable
- true to enable; false to disablepublic boolean isMetricsEnabled()
isMetricsEnabled
in interface EJBDeployerMBean
public boolean getValidateDTDs()
getValidateDTDs
in interface EJBDeployerMBean
public void setValidateDTDs(boolean validate)
setValidateDTDs
in interface EJBDeployerMBean
public javax.management.ObjectName getWebServiceName()
getWebServiceName
in interface EJBDeployerMBean
public void setWebServiceName(javax.management.ObjectName webServiceName)
setWebServiceName
in interface EJBDeployerMBean
webServiceName
- The new WebServiceName value.public javax.management.ObjectName getTransactionManagerServiceName()
getTransactionManagerServiceName
in interface EJBDeployerMBean
public void setTransactionManagerServiceName(javax.management.ObjectName transactionManagerServiceName)
setTransactionManagerServiceName
in interface EJBDeployerMBean
transactionManagerServiceName
- The new TransactionManagerServiceName value.public boolean accepts(org.jboss.deployment.DeploymentInfo di)
accepts
in interface org.jboss.deployment.SubDeployer
accepts
in interface org.jboss.deployment.SubDeployerMBean
accepts
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.SubDeployer
init
in interface org.jboss.deployment.SubDeployerMBean
init
in class org.jboss.deployment.SubDeployerSupport
org.jboss.deployment.DeploymentException
protected void processNestedDeployments(org.jboss.deployment.DeploymentInfo di) throws org.jboss.deployment.DeploymentException
processNestedDeployments
in class org.jboss.deployment.SubDeployerSupport
di
-
org.jboss.deployment.DeploymentException
public void create(org.jboss.deployment.DeploymentInfo di) throws org.jboss.deployment.DeploymentException
create
in interface org.jboss.deployment.SubDeployer
create
in interface org.jboss.deployment.SubDeployerMBean
create
in class org.jboss.deployment.SubDeployerSupport
org.jboss.deployment.DeploymentException
public void start(org.jboss.deployment.DeploymentInfo di) throws org.jboss.deployment.DeploymentException
start
in interface org.jboss.deployment.SubDeployer
start
in interface org.jboss.deployment.SubDeployerMBean
start
in class org.jboss.deployment.SubDeployerSupport
org.jboss.deployment.DeploymentException
public void stop(org.jboss.deployment.DeploymentInfo di) throws org.jboss.deployment.DeploymentException
stop
in interface org.jboss.deployment.SubDeployer
stop
in interface org.jboss.deployment.SubDeployerMBean
stop
in class org.jboss.deployment.SubDeployerSupport
org.jboss.deployment.DeploymentException
public void destroy(org.jboss.deployment.DeploymentInfo di) throws org.jboss.deployment.DeploymentException
destroy
in interface org.jboss.deployment.SubDeployer
destroy
in interface org.jboss.deployment.SubDeployerMBean
destroy
in class org.jboss.deployment.SubDeployerSupport
org.jboss.deployment.DeploymentException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |