|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MainDeployerMBean
MainDeployer MBean interface
| Field Summary | |
|---|---|
static javax.management.ObjectName |
OBJECT_NAME
The default ObjectName |
| 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.MainDeployerConstants |
|---|
ADD_DEPLOYER, REMOVE_DEPLOYER |
| Method Summary | |
|---|---|
void |
addDeployer(SubDeployer deployer)
The addDeployer method registers a deployer with the
main deployer. |
void |
checkIncompleteDeployments()
Check the current deployment states and generate an IncompleteDeploymentException if there are mbeans waiting for depedencies. |
void |
deploy(DeploymentInfo deployment)
The deploy method deploys a package represented by a DeploymentInfo object. |
void |
deploy(String urlspec)
The deploy method deploys a package identified by a string representation of a URL. |
void |
deploy(URL url)
The deploy method deploys a package identified by a URL |
boolean |
getCopyFiles()
Flag indicating whether directory content will be deployed. |
DeploymentInfo |
getDeployment(URL url)
The getDeployment method returns the DeploymentInfo object
for the URL supplied. |
String[] |
getEnhancedSuffixOrder()
The enhanced suffix order |
String[] |
getSuffixOrder()
The ordering of the deployment suffixes |
File |
getTempDir()
The path to the local tmp directory |
String |
getTempDirString()
The path to the local tmp directory in String form |
URL |
getWatchUrl(URL url)
The getWatchUrl method returns the URL that,
when modified, indicates that a redeploy is needed. |
boolean |
isDeployed(String url)
The isDeployed method tells you if a package identified
by a string representation of a URL is currently deployed. |
boolean |
isDeployed(URL url)
The isDeployed method tells you if a packaged identified
by a URL is deployed. |
Collection |
listDeployed()
The listDeployed method returns a collection of
DeploymemtInfo objects for the currently deployed packages. |
String |
listDeployedAsString()
Describe listDeployedAsString method here. |
Collection |
listDeployedModules()
The listDeployedModules method returns a collection of
SerializableDeploymentInfo objects for the currently deployed packages. |
Collection |
listDeployers()
The listDeployers method returns a collection of ObjectNames
of deployers registered with the MainDeployer. |
Collection |
listIncompletelyDeployed()
The listIncompletelyDeployed method returns a list of
packages that have not deployed completely. |
Collection |
listWaitingForDeployer()
The listWaitingForDeployer method returns a collection of
the packages that currently have no identified deployer. |
void |
redeploy(DeploymentInfo sdi)
Describe redeploy method here. |
void |
redeploy(String urlspec)
Describe redeploy method here. |
void |
redeploy(URL url)
Describe redeploy method here. |
void |
removeDeployer(SubDeployer deployer)
The removeDeployer method unregisters a deployer with the
MainDeployer. |
void |
setCopyFiles(boolean copyFiles)
|
void |
setEnhancedSuffixOrder(String[] enhancedSuffixOrder)
|
void |
setServiceController(javax.management.ObjectName serviceController)
The ObjectName of the ServiceController |
void |
setTempDir(File tempDir)
|
void |
shutdown()
The shutdown method undeploys all deployed packages
in reverse order of their deployement. |
void |
start(String urlspec)
The start method starts a package identified by a URL |
void |
stop(String urlspec)
The stop method stop a package identified by a URL |
void |
undeploy(DeploymentInfo di)
The undeploy method undeploys a package represented by a DeploymentInfo object. |
void |
undeploy(String urlspec)
The undeploy method undeploys a package identified by a string representation of a URL. |
void |
undeploy(URL url)
The undeploy method undeploys a package identified by a URL |
| Methods inherited from interface org.jboss.system.ServiceMBean |
|---|
getName, getState, getStateString, jbossInternalLifecycle |
| Methods inherited from interface org.jboss.system.Service |
|---|
create, destroy, start, stop |
| Field Detail |
|---|
static final javax.management.ObjectName OBJECT_NAME
| Method Detail |
|---|
boolean getCopyFiles()
void setCopyFiles(boolean copyFiles)
File getTempDir()
void setTempDir(File tempDir)
String[] getEnhancedSuffixOrder()
void setEnhancedSuffixOrder(String[] enhancedSuffixOrder)
void setServiceController(javax.management.ObjectName serviceController)
String getTempDirString()
String[] getSuffixOrder()
Collection listDeployed()
listDeployed method returns a collection of
DeploymemtInfo objects for the currently deployed packages.
Collection valueCollection listDeployedModules()
listDeployedModules method returns a collection of
SerializableDeploymentInfo objects for the currently deployed packages.
Collection valueString listDeployedAsString()
listDeployedAsString method here.
String valueCollection listIncompletelyDeployed()
listIncompletelyDeployed method returns a list of
packages that have not deployed completely. The toString method will
include any exception in the status field.
Collection valueCollection listWaitingForDeployer()
listWaitingForDeployer method returns a collection of
the packages that currently have no identified deployer.
Collection valuevoid addDeployer(SubDeployer deployer)
addDeployer method registers a deployer with the
main deployer. Any waiting packages are tested to see if the new
deployer will deploy them.
deployer - a SubDeployer valuevoid removeDeployer(SubDeployer deployer)
removeDeployer method unregisters a deployer with the
MainDeployer. Deployed packages deployed with this deployer are undeployed.
deployer - a SubDeployer valueCollection listDeployers()
listDeployers method returns a collection of ObjectNames
of deployers registered with the MainDeployer.
Collection valuevoid shutdown()
shutdown method undeploys all deployed packages
in reverse order of their deployement.
void redeploy(String urlspec)
throws DeploymentException,
MalformedURLException
redeploy method here.
urlspec - a String value
DeploymentException - if an error occurs
MalformedURLException - if an error occurs
void redeploy(URL url)
throws DeploymentException
redeploy method here.
url - an URL value
DeploymentException - if an error occurs
void redeploy(DeploymentInfo sdi)
throws DeploymentException
redeploy method here.
sdi - a DeploymentInfo value
DeploymentException - if an error occurs
void undeploy(URL url)
throws DeploymentException
undeploy method undeploys a package identified by a URL
undeploy in interface DeployerMBeanurl - an URL value
DeploymentException - Failed to undeploy URL.
void undeploy(String urlspec)
throws DeploymentException,
MalformedURLException
undeploy method undeploys a package identified by a string representation of a URL.
urlspec - a String value
MalformedURLException - if an error occurs
DeploymentExceptionvoid undeploy(DeploymentInfo di)
undeploy method undeploys a package represented by a DeploymentInfo object.
di - a DeploymentInfo value
void deploy(String urlspec)
throws DeploymentException,
MalformedURLException
deploy method deploys a package identified by a string representation of a URL.
urlspec - a String value
MalformedURLException - if an error occurs
DeploymentException
void deploy(URL url)
throws DeploymentException
deploy method deploys a package identified by a URL
deploy in interface DeployerMBeanurl - an URL value
DeploymentException - Failed to deploy URL.
void deploy(DeploymentInfo deployment)
throws DeploymentException
deploy method deploys a package represented by a DeploymentInfo object.
deployment - a DeploymentInfo value
DeploymentException - if an error occurs
void start(String urlspec)
throws DeploymentException,
MalformedURLException
start method starts a package identified by a URL
urlspec - an URL string value
DeploymentException
MalformedURLException
void stop(String urlspec)
throws DeploymentException,
MalformedURLException
stop method stop a package identified by a URL
urlspec - an URL string value
DeploymentException
MalformedURLException
boolean isDeployed(String url)
throws MalformedURLException
isDeployed method tells you if a package identified
by a string representation of a URL is currently deployed.
url - a String value
boolean value
MalformedURLException - if an error occursboolean isDeployed(URL url)
isDeployed method tells you if a packaged identified
by a URL is deployed.
isDeployed in interface DeployerMBeanurl - an URL value
boolean valueDeploymentInfo getDeployment(URL url)
getDeployment method returns the DeploymentInfo object
for the URL supplied.
url - an URL value
DeploymentInfo valueURL getWatchUrl(URL url)
getWatchUrl method returns the URL that,
when modified, indicates that a redeploy is needed.
url - an URL value
URL value
void checkIncompleteDeployments()
throws DeploymentException
IncompleteDeploymentException
DeploymentException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||