FileDocCategorySizeDatePackage
ObjectNameQueryMBeanImpl.javaAPI DocGlassfish v2 API4329Fri May 04 22:31:04 BST 2007com.sun.appserv.management.util.jmx

ObjectNameQueryMBeanImpl

public class ObjectNameQueryMBeanImpl extends StandardMBean implements ObjectNameQueryMBean, MBeanRegistration
An MBean implementing ObjectNameQueryMBean

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<ObjectName>	candidates	= JMXUtil.queryNames( mConn, 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<ObjectName>	candidates	= JMXUtil.queryNames( mConn, 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 );