|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for TreeCacheAop. Will need to consolidate with TreeCache interface in the future.
Implementation of the cache using dyanmic aop interceptors. The basic idea is that the caller only uses theputObject(String,Object)
, getObject(String)
and
removeObject(String)
methods.
Method Summary | |
java.lang.Object |
getObject(Fqn fqn)
Retrieve the aop-enabled object from the cache. |
java.lang.Object |
getObject(java.lang.String fqn)
Retrieve the aop-enabled object from the cache. |
java.lang.Object |
putObject(Fqn fqn,
java.lang.Object obj)
Insert an aop-enabled object into the cache. |
java.lang.Object |
putObject(java.lang.String fqn,
java.lang.Object obj)
Insert an aop-enabled object into the cache. |
java.lang.Object |
removeObject(Fqn fqn)
Remove aop-enabled object from the cache. |
java.lang.Object |
removeObject(java.lang.String fqn)
Remove aop-enabled object from the cache. |
Method Detail |
public java.lang.Object getObject(java.lang.String fqn) throws CacheException
fqn
- Instance that associates with this node.
CacheException
public java.lang.Object getObject(Fqn fqn) throws CacheException
fqn
- Instance that associates with this node.
CacheException
public java.lang.Object putObject(java.lang.String fqn, java.lang.Object obj) throws CacheException
jboss-aop.xml
).
Note that List
, Map
, Set
attributes are aop-enabled, by default, as well.
fqn
- The fqn instance to associate with the object in the cache.obj
- aop-enabled object to be inerted into the cache. If null,
it will nullify the fqn node.
CacheException
public java.lang.Object putObject(Fqn fqn, java.lang.Object obj) throws CacheException
jboss-aop.xml
).
Note that List
, Map
, Set
attributes are aop-enabled, by default, as well.
fqn
- The fqn instance to associate with the object in the cache.obj
- aop-enabled object to be inerted into the cache. If null,
it will nullify the fqn node.
CacheException
public java.lang.Object removeObject(java.lang.String fqn) throws CacheException
fqn
- Instance that associates with this node.
CacheException
public java.lang.Object removeObject(Fqn fqn) throws CacheException
fqn
- Instance that associates with this node.
CacheException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |