|
|||||||||||
| 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
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 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.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, START_NOTIFICATION, STOP_NOTIFICATION |
| Constructor Summary | |
EJBDeployer()
|
|
| Method Summary | |
boolean |
accepts(org.jboss.deployment.DeploymentInfo di)
|
void |
create(org.jboss.deployment.DeploymentInfo di)
|
void |
destroy(org.jboss.deployment.DeploymentInfo di)
|
Iterator |
getDeployedApplications()
Returns the deployed applications. |
protected javax.management.ObjectName |
getObjectName(javax.management.MBeanServer server,
javax.management.ObjectName name)
|
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()
Get the call by value |
boolean |
isMetricsEnabled()
Checks if this container factory initializes the metrics interceptor. |
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 value)
Set the 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, isDeployable |
| Methods inherited from class org.jboss.system.ServiceMBeanSupport |
create, destroy, getLog, getName, getNextNotificationSequenceNumber, 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 |
public EJBDeployer()
| Method Detail |
public boolean isCallByValue()
isCallByValue in interface EJBDeployerMBeanpublic void setCallByValue(boolean value)
setCallByValue in interface EJBDeployerMBeanvalue - true when callByValuepublic Iterator getDeployedApplications()
getDeployedApplications in interface EJBDeployerMBean
protected javax.management.ObjectName getObjectName(javax.management.MBeanServer server,
javax.management.ObjectName name)
throws javax.management.MalformedObjectNameException
javax.management.MalformedObjectNameException
protected void startService()
throws Exception
Exception
protected void stopService()
throws Exception
Exceptionpublic 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 EJBDeployerMBeanpublic 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.SubDeployerMBean
public void init(org.jboss.deployment.DeploymentInfo di)
throws org.jboss.deployment.DeploymentException
init in interface org.jboss.deployment.SubDeployerMBeanorg.jboss.deployment.DeploymentException
protected void processNestedDeployments(org.jboss.deployment.DeploymentInfo di)
throws org.jboss.deployment.DeploymentException
di -
org.jboss.deployment.DeploymentException
public void create(org.jboss.deployment.DeploymentInfo di)
throws org.jboss.deployment.DeploymentException
create in interface org.jboss.deployment.SubDeployerMBeanorg.jboss.deployment.DeploymentException
public void start(org.jboss.deployment.DeploymentInfo di)
throws org.jboss.deployment.DeploymentException
start in interface org.jboss.deployment.SubDeployerMBeanorg.jboss.deployment.DeploymentException
public void stop(org.jboss.deployment.DeploymentInfo di)
throws org.jboss.deployment.DeploymentException
stop in interface org.jboss.deployment.SubDeployerMBeanorg.jboss.deployment.DeploymentException
public void destroy(org.jboss.deployment.DeploymentInfo di)
throws org.jboss.deployment.DeploymentException
destroy in interface org.jboss.deployment.SubDeployerMBeanorg.jboss.deployment.DeploymentException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||