|
JBoss API: Interface ContainerFactoryMBean
org.jboss.ejb
|
Field Summary | |
static java.lang.String |
OBJECT_NAME
|
Fields inherited from interface org.jboss.util.ServiceMBean |
STARTED, STARTING, states, STOPPED, STOPPING |
Method Summary | |
void |
deploy(java.lang.String url,
java.lang.String appId)
Deploy an application |
void |
deploy(java.lang.String appUurl,
java.lang.String[] jarUrls,
java.lang.String appId)
Deploy an application |
java.util.Iterator |
getDeployedApplications()
Returns the applications deployed by the container factory |
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 verifier (verbose/non-verbose mode). |
boolean |
getVerifyDeployments()
Returns the state of the verifier (enabled/disabled) |
boolean |
isDeployed(java.lang.String url)
is the aplication with this url deployed |
boolean |
isMetricsEnabled()
Checks if this container factory initializes the metrics interceptor. |
void |
setBeanCacheJMSMonitoringEnabled(boolean enable)
Set the JMS monitoring of the bean cache. |
void |
setMetricsEnabled(boolean enable)
Enables/disables the metrics interceptor for containers. |
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)
Enable/disable bean verifier verbose mode. |
void |
setVerifyDeployments(boolean verify)
Enable/disable bean verification upon deployment. |
void |
undeploy(java.lang.String url)
Undeploy an application |
Methods inherited from interface org.jboss.util.ServiceMBean |
getName, getState, getStateString |
Methods inherited from interface org.jboss.util.Service |
destroy, init, start, stop |
Field Detail |
public static final java.lang.String OBJECT_NAME
Method Detail |
public java.util.Iterator getDeployedApplications()
public void deploy(java.lang.String url, java.lang.String appId) throws java.net.MalformedURLException, DeploymentException
url
- URL to the directory with the given EJBs to be deployedappId
- Id of the application this EJBs belongs to
used for managementjava.net.MalformedURLException
- DeploymentException
- public void deploy(java.lang.String appUurl, java.lang.String[] jarUrls, java.lang.String appId) throws java.net.MalformedURLException, DeploymentException
appUrl
- Url to the application itselfjarUrls
- Array of URLs to the JAR files containing the EJBsappId
- Id of the application this EJBs belongs to
used for managementjava.net.MalformedURLException
- DeploymentException
- public void undeploy(java.lang.String url) throws java.net.MalformedURLException, DeploymentException
url
- java.net.MalformedURLException
- DeploymentException
- public void setVerifyDeployments(boolean verify)
verify
- true to enable the verifier; false to disablepublic boolean getVerifyDeployments()
public void setVerifierVerbose(boolean verbose)
verbose
- true to enable verbose mode; false to disablepublic boolean getVerifierVerbose()
public void setMetricsEnabled(boolean enable)
enable
- true to enable; false to disablepublic boolean isMetricsEnabled()
public boolean isDeployed(java.lang.String url) throws java.net.MalformedURLException
url
- java.net.MalformedURLException
- public void setBeanCacheJMSMonitoringEnabled(boolean enable)
public boolean getValidateDTDs()
public void setValidateDTDs(boolean validate)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |