@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 static String |
getAttributeType(String originalType,
JmxMethodTO method) |
protected Object |
getAttributeValue(JmxQueryTO queryTo,
String attributeName) |
List<String> |
getDomains(String serverMappingKey) |
JmxResponseTO |
getExecuteOperation(JmxExecuteTO queryTo) |
protected static String |
getGeneralType(String type) |
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,
boolean nullable) |
@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 static String getAttributeType(String originalType, JmxMethodTO method)
protected Object getAttributeValue(JmxQueryTO queryTo, String attributeName)
public Object parse(String value, String type, boolean nullable) throws com.fasterxml.jackson.core.JsonParseException, com.fasterxml.jackson.databind.JsonMappingException, IOException, ClassNotFoundException, InstantiationException, IllegalAccessException
com.fasterxml.jackson.core.JsonParseExceptioncom.fasterxml.jackson.databind.JsonMappingExceptionIOExceptionClassNotFoundExceptionInstantiationExceptionIllegalAccessExceptionpublic 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–2019. All rights reserved.