@Service public class AdminToolJmxServiceImpl extends Object implements AdminToolJmxService
| Constructor and Description |
|---|
AdminToolJmxServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
buildJson() |
List<JsTree> |
buildTree() |
JmxResponseTO |
getAttributes(JmxQueryTO queryTo) |
List<MBeanAttributeInfo> |
getAttributes(String serverMappingKey,
String domain,
String mbean) |
protected Object |
getAttributeValue(JmxQueryTO queryTo,
String attributeName) |
List<String> |
getDomains(String serverMappingKey) |
JmxResponseTO |
getExecuteOperation(JmxExecuteTO queryTo) |
List<String> |
getMBeans(String serverMappingKey,
String domain) |
List<MBeanOperationInfo> |
getOperations(String serverMappingKey,
String domain,
String mbean) |
JmxResponseTO |
getOpperation(JmxQueryTO queryTo) |
Map<String,String> |
getServerMappings() |
void |
init() |
Object |
parse(String value,
String type) |
@PostConstruct public void init()
public Map<String,String> getServerMappings()
getServerMappings in interface AdminToolJmxServicepublic List<String> getDomains(String serverMappingKey)
getDomains in interface AdminToolJmxServicepublic List<String> getMBeans(String serverMappingKey, String domain)
getMBeans in interface AdminToolJmxServicepublic List<MBeanAttributeInfo> getAttributes(String serverMappingKey, String domain, String mbean)
getAttributes in interface AdminToolJmxServicepublic JmxResponseTO getAttributes(JmxQueryTO queryTo)
getAttributes in interface AdminToolJmxServicepublic JmxResponseTO getOpperation(JmxQueryTO queryTo)
getOpperation in interface AdminToolJmxServicepublic JmxResponseTO getExecuteOperation(JmxExecuteTO queryTo) throws Exception
getExecuteOperation in interface AdminToolJmxServiceExceptionprotected Object getAttributeValue(JmxQueryTO queryTo, String attributeName)
public Object parse(String value, String type) throws com.fasterxml.jackson.core.JsonParseException, com.fasterxml.jackson.databind.JsonMappingException, IOException, ClassNotFoundException
com.fasterxml.jackson.core.JsonParseExceptioncom.fasterxml.jackson.databind.JsonMappingExceptionIOExceptionClassNotFoundExceptionpublic List<MBeanOperationInfo> getOperations(String serverMappingKey, String domain, String mbean)
getOperations in interface AdminToolJmxServicepublic List<JsTree> buildTree()
buildTree in interface AdminToolJmxServicepublic String buildJson() throws com.fasterxml.jackson.core.JsonProcessingException
com.fasterxml.jackson.core.JsonProcessingExceptionCopyright © 2016–2018. All rights reserved.