1 23 package com.sun.appserv.management.base; 24 25 import java.util.Set ; 26 27 import javax.management.ObjectName ; 28 import javax.management.AttributeNotFoundException ; 29 import javax.management.InstanceNotFoundException ; 30 import javax.management.ReflectionException ; 31 import javax.management.MBeanException ; 32 33 import com.sun.appserv.management.base.XTypes; 34 import com.sun.appserv.management.base.AMX; 35 36 39 public interface QueryMgr extends AMX, Utility, Singleton 40 { 41 42 public static final String J2EE_TYPE = XTypes.QUERY_MGR; 43 44 45 53 public <T extends AMX> T querySingletonJ2EEType( String j2eeTypeValue ); 54 55 56 57 58 65 public <T extends AMX> Set <T> queryJ2EETypesSet( Set <String > j2eeTypes ); 66 67 70 public Set <ObjectName > queryJ2EETypesObjectNameSet( Set <String > j2eeTypes ); 71 72 73 82 public <T extends AMX> Set <T> queryJ2EETypeSet( String j2eeTypeValue ); 83 84 87 public Set <ObjectName > queryJ2EETypeObjectNameSet( String j2eeTypeValue ); 88 89 90 96 public <T extends AMX> Set <T> queryJ2EENameSet( String nameValue ); 97 98 101 public Set <ObjectName > queryJ2EENameObjectNameSet( String nameValue ); 102 103 111 public String [] queryJ2EETypeNames( String j2eeType ); 112 113 114 117 public <T extends AMX> Set <T> queryJ2EETypeNameSet( String j2eeType, String name ); 118 119 122 public Set <ObjectName > queryJ2EETypeNameObjectNameSet( String j2eeType, String name ); 123 124 125 136 public <T extends AMX> Set <T> queryPatternSet( ObjectName pattern ); 137 138 141 public Set <ObjectName > queryPatternObjectNameSet( ObjectName pattern ); 142 143 144 151 public <T extends AMX> Set <T> queryPatternSet( String domain, String props ); 152 153 156 public Set <ObjectName > queryPatternObjectNameSet( String domain, String props ); 157 158 164 public <T extends AMX> Set <T> queryPropsSet( String props ); 165 166 169 public Set <ObjectName > queryPropsObjectNameSet( String props ); 170 171 172 193 public <T extends AMX> Set <T> queryWildSet( String [] wildKeys, String [] wildValues ); 194 195 198 public Set <ObjectName > queryWildObjectNameSet( String [] wildKeys, String [] wildValues ); 199 200 201 211 public <T extends AMX> Set <T> 212 queryInterfaceSet( String interfaceName, Set <ObjectName > candidateObjectNames); 213 214 217 public Set <ObjectName > 218 queryInterfaceObjectNameSet( String interfaceName, 219 Set <ObjectName > candidateObjectNames); 220 221 225 public Set <AMX> queryAllSet( ); 226 227 231 public Set <ObjectName > queryAllObjectNameSet( ); 232 } 233 234 235 236 237 | Popular Tags |