|
||||||||||
| 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 String |
MAIN_DEPLOYER
The object name of the JBoss main deployer MBean. |
| Constructor Summary | |
|---|---|
DeploymentUtility()
|
|
| Method Summary | |
|---|---|
static File |
getDescriptorFile(org.mc4j.ems.connection.EmsConnection connection,
String objectName)
This will attempt to find the deployment descriptor file where the ObjectName MBean was deployed. |
static Map<String,String> |
getEarDeploymentPath(org.mc4j.ems.connection.EmsConnection connection,
List<String> fileNames)
Return the path where the passed objectnames are deployed |
static 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 List<org.mc4j.ems.connection.bean.EmsBean> |
getVHostsFromClusterManager(String contextRoot,
org.mc4j.ems.connection.EmsConnection emsConnection)
Retrieves the virtual host MBeans for the webapp with the specified context root. |
static List<org.mc4j.ems.connection.bean.EmsBean> |
getVHostsFromLocalManager(String contextRoot,
org.mc4j.ems.connection.EmsConnection emsConnection)
Retrieves the virtual host MBeans for the webapp with the specified context root. |
static Map<String,List<WarDeploymentInformation>> |
getWarDeploymentInformation(org.mc4j.ems.connection.EmsConnection connection,
List<String> jbossManMBeanNames)
Retrieves all the discovery information for a War resources. |
static boolean |
isDuplicateJndiName(org.mc4j.ems.connection.EmsConnection connection,
String mbeanType,
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 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 File getDescriptorFile(org.mc4j.ems.connection.EmsConnection connection,
String objectName)
connection - the connection to the JBoss instanceobjectName - The objectname to look for
null if it could not be found
public static Map<String,List<WarDeploymentInformation>> getWarDeploymentInformation(org.mc4j.ems.connection.EmsConnection connection,
List<String> jbossManMBeanNames)
connection - EmsConnection to get the mbean informationjbossManMBeanNames - Name of the main jboss.management mbeans for a collection of wars.
public static Map<String,String> getEarDeploymentPath(org.mc4j.ems.connection.EmsConnection connection,
List<String> fileNames)
connection - fileNames - The objectNames of the EAR files we are interested in
public static boolean isDuplicateJndiName(org.mc4j.ems.connection.EmsConnection connection,
String mbeanType,
String jndiName)
public static String getJndiNameBinding(org.mc4j.ems.connection.bean.EmsBean bean)
public static List<org.mc4j.ems.connection.bean.EmsBean> getVHostsFromLocalManager(String contextRoot,
org.mc4j.ems.connection.EmsConnection emsConnection)
contextRoot - the context rootemsConnection - valid connection to the remote MBeanServer
public static List<org.mc4j.ems.connection.bean.EmsBean> getVHostsFromClusterManager(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 | |||||||||