1 23 package com.sun.appserv.management.client.handler; 24 25 import javax.management.Attribute ; 26 27 30 final class PerMBeanCache extends CacheBase<Object ,Object > 31 { 32 34 public 35 PerMBeanCache() 36 { 37 } 38 39 public void 40 cacheAttribute( final Attribute attr ) 41 { 42 cacheItem( attr.getName(), attr ); 43 } 44 45 public Attribute  46 getCachedAttribute( final String attrName) 47 { 48 return( (Attribute )getCachedItem( attrName ) ); 49 } 50 51 } 52 53 54 55 56 57 | Popular Tags |