1 16 package org.jmanage.core.services; 17 18 import org.jmanage.core.management.*; 19 import org.jmanage.core.data.OperationResultData; 20 import org.jmanage.core.data.AttributeListData; 21 22 import java.util.List ; 23 import java.util.Map ; 24 25 31 public interface MBeanService { 32 33 public List queryMBeans(ServiceContext context, 34 String filter) 35 throws ServiceException; 36 37 46 public Map queryMBeansOutputMap(ServiceContext context, String filter, 47 String [] dataTypes, String applyAttribFilter); 48 49 56 public ObjectInfo getMBeanInfo(ServiceContext context) 57 throws ServiceException; 58 59 62 public AttributeListData[] getAttributes(ServiceContext context) 63 throws ServiceException; 64 65 public AttributeListData[] getAttributes(ServiceContext context, 66 String [] attributes, 67 boolean handleCluster) 68 throws ServiceException; 69 70 public List filterAttributes(ServiceContext context, 71 ObjectName objectName, 72 ObjectAttributeInfo[] objAttrInfo, 73 String [] dataTypes) 74 throws ServiceException; 75 76 public ObjectAttribute getObjectAttribute(ServiceContext context, 77 String attribute) 78 throws ServiceException; 79 80 85 public OperationResultData[] invoke(ServiceContext context, 86 String operationName, 87 String [] params) 88 throws ServiceException; 89 90 95 public OperationResultData[] invoke(ServiceContext context, 96 String operationName, 97 String [] params, 98 String [] signature) 99 throws ServiceException; 100 101 102 public AttributeListData[] setAttributes(ServiceContext context, 103 String [][] attributes) 104 throws ServiceException; 105 106 114 public AttributeListData[] setAttributes(ServiceContext context, 115 Map attributes) 116 throws ServiceException; 117 118 public Map queryMBeansWithNotifications(ServiceContext context) 119 throws ServiceException; 120 128 public String getAttributeDataType(ServiceContext context, 129 String attributeName, 130 String objectName) 131 throws ServiceException; 132 133 public ObjectOperationInfo getOperationInfo(ServiceContext context, 134 String operationName, 135 String [] signature) 136 throws ServiceException; 137 } 138 | Popular Tags |