> ...cache from the EJB containers should be exposed as MBeans (name to be discussed) > and the entries in the cache must be invalidated manually. It requires removing the CacheKey > as a wrapping structure to the primarykey
Questions: I noticed that CacheKey implements a safety measure of using MarshalledObject hashCode if the PrimaryKey does not implement a hashCode or an equals method. Where should this safety measure live when the CacheKey wrapping structure is removed? also found that CacheKey is extended by ListCacheKey for CMP 2.0 read ahead ( used in ListEntityInterceptor, ProxyFactory) (also extended by FastKey but FastKey does not appear to be used...) Could CacheKey implement the DynamicMBean interaface, store a pointer back to its cache, and invalidate itself when prompted from the JMX bus? ------------------------------------------------------- This sf.net email is sponsored by: Dice - The leading online job board for high-tech professionals. Search and apply for tech jobs today! http://seeker.dice.com/seeker.epl?rel_code=31 _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
