FileDocCategorySizeDatePackage
ProxyCache.javaAPI DocGlassfish v2 API2832Fri May 04 22:30:32 BST 2007com.sun.appserv.management.client.handler

ProxyCache

public final class ProxyCache extends CacheBase
INTERNAL interface, do not use A proxy cache is shared by all Proxies obtained through the same DomainRoot.

Fields Summary
Constructors Summary
public ProxyCache()

	
Methods Summary
public voidcacheProxy(com.sun.appserv.management.base.AMX proxy)
Cache a proxy using any desired key.

		final ObjectName	objectName	= Util.getExtra( proxy ).getObjectName();
		
		if ( getCachedProxy( objectName ) != null )
		{
			throw new IllegalArgumentException(
				"proxy already cached for: " + objectName );
		}
		
		cacheItem( objectName, proxy );
	
public com.sun.appserv.management.base.AMXgetCachedProxy(javax.management.ObjectName key)

	    return getCachedItem( key );