FileDocCategorySizeDatePackage
ObjectNameQueryMBeanImpl.javaAPI DocGlassfish v2 API4127Fri May 04 22:25:00 BST 2007com.sun.cli.jmx.util

ObjectNameQueryMBeanImpl

public class ObjectNameQueryMBeanImpl extends StandardMBean implements ObjectNameQueryMBean, MBeanRegistration

Fields Summary
private MBeanServerConnection
mConn
private ObjectNameQueryImpl
mImpl
Constructors Summary
public ObjectNameQueryMBeanImpl()

		super( ObjectNameQueryMBean.class );
	
Methods Summary
public java.util.SetmatchAll(javax.management.ObjectName startingSetPattern, java.lang.String[] regexNames, java.lang.String[] regexValues)

		final Set	candidates	= mConn.queryNames( startingSetPattern, null );
		
		return( mImpl.matchAll( candidates, regexNames, regexValues ) );
	
public java.util.SetmatchAll(java.util.Set startingSet, java.lang.String[] regexNames, java.lang.String[] regexValues)

		return( mImpl.matchAll( startingSet, regexNames, regexValues ) );
	
public java.util.SetmatchAny(javax.management.ObjectName startingSetPattern, java.lang.String[] regexNames, java.lang.String[] regexValues)

		final Set	candidates	= mConn.queryNames( startingSetPattern, null );
		
		return( mImpl.matchAny( candidates, regexNames, regexValues ) );
	
public java.util.SetmatchAny(java.util.Set startingSet, java.lang.String[] regexNames, java.lang.String[] regexValues)

		return( mImpl.matchAny( startingSet, regexNames, regexValues ) );
	
public voidpostDeregister()

		// nothing to do
	
public voidpostRegister(java.lang.Boolean registrationDone)

	
public voidpreDeregister()

		// nothing to do
	
public javax.management.ObjectNamepreRegister(javax.management.MBeanServer server, javax.management.ObjectName name)

		mConn		= server;
		
		mImpl		= new ObjectNameQueryImpl( );
		return( name );