|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport (src)
org.jboss.system.ServiceMBeanSupport (src)
org.jboss.deployment.SubDeployerSupport (src)
org.jboss.ejb.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
(src) Nested Class Summary |
Nested classes inherited from class org.jboss.deployment.SubDeployerSupport (src) |
SubDeployerSupport.ClassConfiguration (src) |
Field Summary |
Fields inherited from class org.jboss.deployment.SubDeployerSupport (src) |
CONFIGURATION, mainDeployer, nativePrefix, nativeSuffix, relativeOrder, suffixes, tempDeployDir |
Fields inherited from class org.jboss.system.ServiceMBeanSupport (src) |
log, server, SERVICE_CONTROLLER_SIG, serviceName |
Fields inherited from interface org.jboss.deployment.SubDeployer (src) |
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 |
Fields inherited from interface org.jboss.system.ServiceMBean (src) |
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
Constructor Summary | |
EJBDeployer()
|
Method Summary | |
boolean |
accepts(DeploymentInfo (src) di)
The accepts method is called by MainDeployer to
determine which deployer is suitable for a DeploymentInfo. |
void |
create(DeploymentInfo (src) di)
Sub-classes should override this method to provide custom 'create' logic. |
void |
destroy(DeploymentInfo (src) di)
Sub-classes should override this method to provide custom 'destroy' logic. |
boolean |
getStrictVerifier()
Returns the mode of the bean verifier (strict/non-strict mode) |
ObjectName (src) |
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) |
ObjectName (src) |
getWebServiceName()
Get the WebServiceName value. |
void |
init(DeploymentInfo (src) di)
Sub-classes should override this method to provide custom 'init' logic. |
boolean |
isCallByValue()
|
boolean |
isMetricsEnabled()
Checks if this container factory initializes the metrics interceptor. |
java.util.Iterator |
listDeployedApplications()
Returns the deployed applications. |
protected void |
processNestedDeployments(DeploymentInfo (src) 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)
|
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(ObjectName (src) 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(ObjectName (src) webServiceName)
Set the WebServiceName value. |
void |
start(DeploymentInfo (src) di)
Sub-classes should override this method to provide custom 'start' logic. |
protected void |
startService()
Get a reference to the ServiceController |
void |
stop(DeploymentInfo (src) di)
Sub-classes should override this method to provide custom 'stop' logic. |
protected void |
stopService()
Implements the template method in superclass. |
Methods inherited from class org.jboss.deployment.SubDeployerSupport (src) |
addDeployableFiles, addDeployableJar, createService, deployUrl, destroyService, emitNotification, getRelativeOrder, getSuffixes, isDeployable, setRelativeOrder, setSuffixes |
Methods inherited from class org.jboss.system.ServiceMBeanSupport (src) |
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 (src) |
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.deployment.SubDeployer (src) |
getServiceName |
Constructor Detail |
public EJBDeployer()
Method Detail |
public boolean isCallByValue()
public void setCallByValue(boolean callByValue)
callByValue
- whether ear deployments should be call by valuepublic java.util.Iterator listDeployedApplications()
protected void startService() throws java.lang.Exception
startService
in class SubDeployerSupport (src)
java.lang.Exception
protected void stopService() throws java.lang.Exception
stopService
in class SubDeployerSupport (src)
java.lang.Exception
public void setVerifyDeployments(boolean verify)
verify
- true to enable; false to disablepublic boolean getVerifyDeployments()
public void setVerifierVerbose(boolean verbose)
verbose
- true to enable; false to disablepublic boolean getVerifierVerbose()
public void setStrictVerifier(boolean strictVerifier)
strictVerifier
- true
to enable; false
to disablepublic boolean getStrictVerifier()
true
if the Verifier is in strict mode,
false
otherwisepublic void setMetricsEnabled(boolean enable)
enable
- true to enable; false to disablepublic boolean isMetricsEnabled()
public boolean getValidateDTDs()
public void setValidateDTDs(boolean validate)
public ObjectName (src) getWebServiceName()
public void setWebServiceName(ObjectName (src) webServiceName)
webServiceName
- The new WebServiceName value.public ObjectName (src) getTransactionManagerServiceName()
public void setTransactionManagerServiceName(ObjectName (src) transactionManagerServiceName)
transactionManagerServiceName
- The new TransactionManagerServiceName value.public boolean accepts(DeploymentInfo (src) di)
SubDeployer (src)
accepts
method is called by MainDeployer to
determine which deployer is suitable for a DeploymentInfo.
di
- a DeploymentInfo
value
boolean
valuepublic void init(DeploymentInfo (src) di) throws DeploymentException (src)
SubDeployerSupport (src)
This method calls the processNestedDeployments(di) method and then issues a JMX notification of type SubDeployer.INIT_NOTIFICATION. This behaviour can overridden by concrete sub-classes. If further initialization needs to be done, and you wish to preserve the functionality, be sure to call super.init(di) at the end of your implementation.
init
in interface SubDeployer (src)
init
in class SubDeployerSupport (src)
DeploymentException (src)
protected void processNestedDeployments(DeploymentInfo (src) di) throws DeploymentException (src)
processNestedDeployments
in class SubDeployerSupport (src)
di
-
DeploymentException (src)
public void create(DeploymentInfo (src) di) throws DeploymentException (src)
SubDeployerSupport (src)
create
in interface SubDeployer (src)
create
in class SubDeployerSupport (src)
DeploymentException (src)
public void start(DeploymentInfo (src) di) throws DeploymentException (src)
SubDeployerSupport (src)
start
in interface SubDeployer (src)
start
in class SubDeployerSupport (src)
DeploymentException (src)
public void stop(DeploymentInfo (src) di) throws DeploymentException (src)
SubDeployerSupport (src)
stop
in interface SubDeployer (src)
stop
in class SubDeployerSupport (src)
DeploymentException (src)
public void destroy(DeploymentInfo (src) di) throws DeploymentException (src)
SubDeployerSupport (src)
destroy
in interface SubDeployer (src)
destroy
in class SubDeployerSupport (src)
DeploymentException (src)
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |