Package io.hawt.jvm.local
Class JVMList
- java.lang.Object
-
- io.hawt.jvm.local.JVMList
-
- All Implemented Interfaces:
JVMListMBean
public class JVMList extends Object implements JVMListMBean
-
-
Field Summary
Fields Modifier and Type Field Description protected static Map<String,String>VM_ALIAS_MAPprotected static Map<String,String>VM_ALIAS_OVERRIDE_MAP
-
Constructor Summary
Constructors Constructor Description JVMList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringagentStatus(String PID)StringagentVersion(String PID)protected StringcheckAgentUrl(Object pVm)voiddestroy()protected PropertiesgetAgentSystemProperties(Object pVm)voidinit()List<VMDescriptorDTO>listLocalJVMs()voidstartAgent(String PID)voidstopAgent(String PID)
-
-
-
Method Detail
-
init
public void init()
-
destroy
public void destroy()
-
listLocalJVMs
public List<VMDescriptorDTO> listLocalJVMs()
- Specified by:
listLocalJVMsin interfaceJVMListMBean
-
startAgent
public void startAgent(String PID)
- Specified by:
startAgentin interfaceJVMListMBean
-
agentStatus
public String agentStatus(String PID)
- Specified by:
agentStatusin interfaceJVMListMBean
-
agentVersion
public String agentVersion(String PID)
- Specified by:
agentVersionin interfaceJVMListMBean
-
stopAgent
public void stopAgent(String PID)
- Specified by:
stopAgentin interfaceJVMListMBean
-
checkAgentUrl
protected String checkAgentUrl(Object pVm) throws NoSuchMethodException, InvocationTargetException, IllegalAccessException
-
getAgentSystemProperties
protected Properties getAgentSystemProperties(Object pVm) throws NoSuchMethodException, InvocationTargetException, IllegalAccessException
-
-