1 23 24 29 30 31 package com.sun.enterprise.admin.jmx.remote.server.callers; 32 33 import javax.management.MBeanServerConnection ; 34 import javax.management.QueryExp ; 35 import javax.management.ObjectInstance ; 36 import javax.management.remote.message.MBeanServerRequestMessage; 37 import javax.management.remote.message.MBeanServerResponseMessage; 38 39 45 46 public class QueryMBeansCaller extends AbstractMethodCaller { 47 48 49 public QueryMBeansCaller(MBeanServerConnection mbsc) { 50 super(mbsc); 51 METHOD_ID = MBeanServerRequestMessage.QUERY_MBEANS; 52 } 53 54 public MBeanServerResponseMessage call(MBeanServerRequestMessage request) { 55 final Object result = new UnsupportedOperationException ("" + METHOD_ID); 56 final boolean isException = true; 57 return ( new MBeanServerResponseMessage(METHOD_ID, result, isException) ); 58 } 59 } | Popular Tags |