|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Management view of the object that deploys J2EE component's at runtime.
| Field Summary | |
static java.lang.String |
OBJECT_NAME
Easy reference to the JMX ObjectName. |
| Fields inherited from interface jrunx.kernel.Service |
INITIALIZED, STARTED, STARTING, STOPPED, STOPPING, UNINITIALIZED |
| Method Summary | |
void |
addDeployDirectory(java.lang.String path)
Add this directory to the watched directory list This watched directory is persisted to the configuration file |
void |
deploy(java.net.URL url)
Deploy this URL immediately. |
void |
deployPersistentURL(java.net.URL url)
Deploy and add the URL, url, to jrun.xml. |
java.lang.String[] |
getDeployDirectoryList()
Get the list of watched Directories |
java.util.ArrayList |
getDeployedComponentObjectNames(java.net.URL url)
Get a list of deployed component JMX object names at this URL. |
java.lang.String[] |
getDeployedURLs()
Get the list of deployed URLs. |
java.lang.String[] |
getEARs()
Get deployed EAR JMX object names |
java.lang.String[] |
getEJBs()
Get deployed EJB jars object names (not including ones inside deployed ears) |
boolean |
getHotDeploy()
|
long |
getPollFrequency()
|
java.lang.String[] |
getRARs()
Get deployed EJB jars object names (not including ones inside deployed ears) |
java.lang.String |
getTemporaryDirectory()
Accessors for the temporary directory. |
java.lang.String[] |
getWARs()
Get deployed EJB jars object names (not including ones inside deployed ears) |
boolean |
inWatchedDirectory(java.net.URL url)
Determine if a URL is in a watched directory or not. |
boolean |
isDeployed(java.net.URL url)
Determine whether a specific application is deployed |
boolean |
isPersistXML()
|
boolean |
isStartupDeployComplete()
During server startup, client tools need to know when all deployments are completed. |
boolean |
isValidateXML()
|
void |
redeploy(java.net.URL url)
Redeploy this url immediately. |
void |
removeDeployDirectory(java.lang.String path)
Remove this directory from the watched directory list |
void |
setDeployDirectory(java.lang.String path)
Add this directory to the watched directory list |
void |
setFile(java.lang.String fileString)
This method conforms to the MBean standard in order to make use of attributes set in jrun.xml. |
void |
setHotDeploy(boolean hotDeploy)
Turn hotDeploy on or off. |
void |
setPersistXML(boolean persistXML)
|
void |
setPollFrequency(long seconds)
Set the polling frequency of the DeployerService |
void |
setTemporaryDirectory(java.lang.String temporaryDirectory)
|
void |
setUrl(java.lang.String urlString)
This method conforms to the MBean standard in order to make use of attributes set in jrun.xml. |
void |
setValidateXML(boolean validateXML)
|
void |
undeploy(java.net.URL url)
Undeploy this url immediately. |
void |
undeployPersistentURL(java.net.URL url)
Undeploy and remove the URL, url, from jrun.xml. |
| Methods inherited from interface jrunx.cluster.ClusterableServiceAdapterMBean |
addPeerListener, getClientSocketFactory, getClusterAlgorithm, getPort, getServerSocketFactoryClass, setClientSocketFactoryClass, setClusterAlgorithm, setPort, setServerSocketFactoryClass |
| Methods inherited from interface jrunx.kernel.ConfigurableServicePartitionMBean |
setChildElements |
| Methods inherited from interface jrunx.kernel.ServicePartitionMBean |
addService, addService, iterator, removeService, removeService |
| Methods inherited from interface jrunx.kernel.ServiceMBean |
bind, getBindToJNDI, getDeactivated, getDomainName, getJRunService, getLogger, getName, getParentService, getServerName, requestServer, setBindToJNDI, setDeactivated, setDomainName, setName, setParentService, unbind |
| Methods inherited from interface jrunx.kernel.Service |
destroy, getStatus, init, start, stop, updateStatus |
| Field Detail |
public static final java.lang.String OBJECT_NAME
| Method Detail |
public void addDeployDirectory(java.lang.String path)
throws DeploymentException
public void setDeployDirectory(java.lang.String path)
throws DeploymentException
public java.lang.String[] getDeployDirectoryList()
public void removeDeployDirectory(java.lang.String path)
throws DeploymentException
public java.util.ArrayList getDeployedComponentObjectNames(java.net.URL url)
throws DeploymentException
public java.lang.String[] getDeployedURLs()
public java.lang.String[] getEARs()
public java.lang.String[] getEJBs()
public java.lang.String[] getWARs()
public java.lang.String[] getRARs()
public void setHotDeploy(boolean hotDeploy)
public boolean getHotDeploy()
public void setPollFrequency(long seconds)
public long getPollFrequency()
public java.lang.String getTemporaryDirectory()
public void setTemporaryDirectory(java.lang.String temporaryDirectory)
throws java.io.IOException
public void deploy(java.net.URL url)
throws DeploymentException,
java.rmi.RemoteException
public void deployPersistentURL(java.net.URL url)
throws DeploymentException
url, to jrun.xml.
public void redeploy(java.net.URL url)
throws DeploymentException,
java.rmi.RemoteException
public void undeploy(java.net.URL url)
throws DeploymentException,
java.rmi.RemoteException
public void undeployPersistentURL(java.net.URL url)
throws DeploymentException
url, from jrun.xml.
public void setUrl(java.lang.String urlString)
throws DeploymentException
deploy(url).
public void setFile(java.lang.String fileString)
throws DeploymentException
deploy(url).
public boolean isDeployed(java.net.URL url)
throws DeploymentException,
java.rmi.RemoteException
public boolean inWatchedDirectory(java.net.URL url)
public boolean isPersistXML()
public void setPersistXML(boolean persistXML)
public boolean isValidateXML()
public void setValidateXML(boolean validateXML)
public boolean isStartupDeployComplete()
throws java.rmi.RemoteException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||