FileDocCategorySizeDatePackage
DottedNameRegistryMBeanImpl.javaAPI DocGlassfish v2 API3724Fri May 04 22:24:10 BST 2007com.sun.enterprise.admin.mbeans

DottedNameRegistryMBeanImpl

public class DottedNameRegistryMBeanImpl extends StandardMBean implements DottedNameRegistryMBean

Fields Summary
final DottedNameRegistry1To1Impl
mRegistry
Constructors Summary
public DottedNameRegistryMBeanImpl()

		super( DottedNameRegistry.class );
		
		mRegistry	= new DottedNameRegistry1To1Impl();
	
Methods Summary
public voidadd(java.lang.String dottedName, javax.management.ObjectName objectName)

		mRegistry.add( dottedName, objectName );
	
public java.util.SetallDottedNameStrings()

		final Set	tempNames	= mRegistry.allDottedNameStrings();
		Set			names	= null;
		
		if ( tempNames instanceof java.io.Serializable )
		{
			names	= tempNames;
		}
		else
		{
			names	= new java.util.HashSet();
			names.addAll( tempNames );
		}
		
		return( names );
	
public java.util.SetallObjectNames()

		return( mRegistry.allObjectNames() );
	
public javax.management.ObjectNamedottedNameToObjectName(java.lang.String dottedName)

		return( mRegistry.dottedNameToObjectName( dottedName ) );
	
public java.lang.StringobjectNameToDottedName(javax.management.ObjectName objectName)

		return( mRegistry.objectNameToDottedName( objectName ) );
	
public voidremove(java.lang.String dottedName)

		mRegistry.remove( dottedName );
	
public voidremove(javax.management.ObjectName objectName)

		mRegistry.remove( objectName );