java.lang.Object
javax.management.Query
- See Also:
- Top Examples, Source Code
public static QueryExp and(QueryExp q1,
QueryExp q2)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static QueryExp anySubString(AttributeValueExp a,
StringValueExp s)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static AttributeValueExp attr(String name)
- See Also:
MBeanServer.getAttribute(objectName,
name)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static AttributeValueExp attr(String className,
String name)
- See Also:
MBeanServer.getAttribute(objectName,
name)
, MBeanServer.getObjectInstance(objectName)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static QueryExp between(ValueExp v1,
ValueExp v2,
ValueExp v3)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static AttributeValueExp classattr()
- See Also:
MBeanServer.getObjectInstance(objectName)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static final int DIV
- See Also:
div(javax.management.ValueExp, javax.management.ValueExp)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static ValueExp div(ValueExp value1,
ValueExp value2)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static final int EQ
- See Also:
eq(javax.management.ValueExp, javax.management.ValueExp)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static QueryExp eq(ValueExp v1,
ValueExp v2)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static QueryExp finalSubString(AttributeValueExp a,
StringValueExp s)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static final int GE
- See Also:
geq(javax.management.ValueExp, javax.management.ValueExp)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static QueryExp geq(ValueExp v1,
ValueExp v2)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static final int GT
- See Also:
gt(javax.management.ValueExp, javax.management.ValueExp)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static QueryExp gt(ValueExp v1,
ValueExp v2)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static QueryExp in(ValueExp val,
ValueExp[] valueList)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static QueryExp initialSubString(AttributeValueExp a,
StringValueExp s)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static final int LE
- See Also:
leq(javax.management.ValueExp, javax.management.ValueExp)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static QueryExp leq(ValueExp v1,
ValueExp v2)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static final int LT
- See Also:
lt(javax.management.ValueExp, javax.management.ValueExp)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static QueryExp lt(ValueExp v1,
ValueExp v2)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static QueryExp match(AttributeValueExp a,
StringValueExp s)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static final int MINUS
- See Also:
minus(javax.management.ValueExp, javax.management.ValueExp)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static ValueExp minus(ValueExp value1,
ValueExp value2)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static QueryExp not(QueryExp queryExp)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static QueryExp or(QueryExp q1,
QueryExp q2)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static final int PLUS
- See Also:
plus(javax.management.ValueExp, javax.management.ValueExp)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static ValueExp plus(ValueExp value1,
ValueExp value2)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Query()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
[1299]Check MBeab status
By Anonymous on 2005/02/09 17:45:12 Rate
// JBoss specific example
RMIAdaptor local = ( RMIAdaptor ) context.lookup ( "jmx/rmi/RMIAdaptor" ) ;
sb.append ( "SERVICES NOT STARTED ( false ) : \n" ) ;
QueryExp query =
Query.eq ( Query.attr ( "Started" ) , Query.value ( false ) ) ;
Set set = local.queryMBeans ( null, query ) ;
Iterator iter = set.iterator ( ) ;
for ( ;iter.hasNext ( ) ; ) {
ObjectInstance o = ( ObjectInstance ) iter.next ( ) ;
sb.append ( o.getObjectName ( ) + "\n" ) ;
}
sb.append ( "\n\nSERVICES STARTED ( true ) : \n" ) ;
query = Query.eq ( Query.attr ( "Started" ) , Query.value ( true ) ) ;
set = local.queryMBeans ( null, query ) ;
iter = set.iterator ( ) ;
for ( ;iter.hasNext ( ) ; ) {
ObjectInstance o = ( ObjectInstance ) iter.next ( ) ;
sb.append ( o.getObjectName ( ) + "\n" ) ;
}
}
public static final int TIMES
- See Also:
times(javax.management.ValueExp, javax.management.ValueExp)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static ValueExp times(ValueExp value1,
ValueExp value2)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static ValueExp value(boolean val)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static ValueExp value(double val)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static ValueExp value(float val)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static ValueExp value(int val)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static ValueExp value(Number val)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static StringValueExp value(String val)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static ValueExp value(long val)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples