|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.plugins.jbossas.util.DeploymentUtility
public class DeploymentUtility
Accesses the MainDeployer mbean to find the deployment files behind services.
| Field Summary | |
|---|---|
protected static java.lang.String |
MAIN_DEPLOYER
The object name of the JBoss main deployer MBean. |
| Constructor Summary | |
|---|---|
DeploymentUtility()
|
|
| Method Summary | |
|---|---|
static java.io.File |
getDescriptorFile(org.mc4j.ems.connection.EmsConnection connection,
java.lang.String objectName)
This will attempt to find the deployment descriptor file where the ObjectName MBean was deployed. |
static java.util.Map<java.lang.String,java.lang.String> |
getEarDeploymentPath(org.mc4j.ems.connection.EmsConnection connection,
java.util.List<java.lang.String> fileNames)
Return the path where the passed objectnames are deployed |
static java.lang.String |
getJndiNameBinding(org.mc4j.ems.connection.bean.EmsBean bean)
|
protected static org.mc4j.ems.connection.bean.operation.EmsOperation |
getListDeployedOperation(org.mc4j.ems.connection.EmsConnection connection)
|
static java.util.List<org.mc4j.ems.connection.bean.EmsBean> |
getVHostsFromClusterManager(java.lang.String contextRoot,
org.mc4j.ems.connection.EmsConnection emsConnection)
Retrieves the virtual host MBeans for the webapp with the specified context root. |
static java.util.List<org.mc4j.ems.connection.bean.EmsBean> |
getVHostsFromLocalManager(java.lang.String contextRoot,
org.mc4j.ems.connection.EmsConnection emsConnection)
Retrieves the virtual host MBeans for the webapp with the specified context root. |
static java.util.Map<java.lang.String,java.util.List<WarDeploymentInformation>> |
getWarDeploymentInformation(org.mc4j.ems.connection.EmsConnection connection,
java.util.List<java.lang.String> jbossManMBeanNames)
Retrieves all the discovery information for a War resources. |
static boolean |
isDuplicateJndiName(org.mc4j.ems.connection.EmsConnection connection,
java.lang.String mbeanType,
java.lang.String jndiName)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final java.lang.String MAIN_DEPLOYER
| Constructor Detail |
|---|
public DeploymentUtility()
| Method Detail |
|---|
protected static org.mc4j.ems.connection.bean.operation.EmsOperation getListDeployedOperation(org.mc4j.ems.connection.EmsConnection connection)
public static java.io.File getDescriptorFile(org.mc4j.ems.connection.EmsConnection connection,
java.lang.String objectName)
connection - the connection to the JBoss instanceobjectName - The objectname to look for
null if it could not be found
public static java.util.Map<java.lang.String,java.util.List<WarDeploymentInformation>> getWarDeploymentInformation(org.mc4j.ems.connection.EmsConnection connection,
java.util.List<java.lang.String> jbossManMBeanNames)
connection - EmsConnection to get the mbean informationjbossManMBeanNames - Name of the main jboss.management mbeans for a collection of wars.
public static java.util.Map<java.lang.String,java.lang.String> getEarDeploymentPath(org.mc4j.ems.connection.EmsConnection connection,
java.util.List<java.lang.String> fileNames)
connection - fileNames - The objectNames of the EAR files we are interested in
public static boolean isDuplicateJndiName(org.mc4j.ems.connection.EmsConnection connection,
java.lang.String mbeanType,
java.lang.String jndiName)
public static java.lang.String getJndiNameBinding(org.mc4j.ems.connection.bean.EmsBean bean)
public static java.util.List<org.mc4j.ems.connection.bean.EmsBean> getVHostsFromLocalManager(java.lang.String contextRoot,
org.mc4j.ems.connection.EmsConnection emsConnection)
contextRoot - the context rootemsConnection - valid connection to the remote MBeanServer
public static java.util.List<org.mc4j.ems.connection.bean.EmsBean> getVHostsFromClusterManager(java.lang.String contextRoot,
org.mc4j.ems.connection.EmsConnection emsConnection)
contextRoot - the context rootemsConnection - valid connection to the remote MBeanServer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||