org.jboss.cache.pojo.interceptors.dynamic
Class AbstractCollectionInterceptor

java.lang.Object
  extended by org.jboss.cache.pojo.interceptors.dynamic.AbstractCollectionInterceptor
All Implemented Interfaces:
Cloneable, org.jboss.aop.advice.Interceptor, BaseInterceptor
Direct Known Subclasses:
CachedListInterceptor, CachedMapInterceptor, CachedSetInterceptor

public abstract class AbstractCollectionInterceptor
extends Object
implements BaseInterceptor

Abstract base class for collection interceptor.

Version:
$Id: AbstractCollectionInterceptor.java 5439 2008-03-15 05:40:15Z jason.greene@jboss.com $
Author:
Ben Wang

Method Summary
 void attach(Fqn fqn, boolean copyToCache)
          Attaching the Collection to PojoCache.
 void detach(boolean removeFromCache)
           
 PojoInstance getAopInstance()
           
abstract  Object getCurrentCopy()
           
 Fqn getFqn()
          Get the original fqn that is associated with this interceptor (or advisor).
 boolean isAttached()
           
 void setAopInstance(PojoInstance pojoInstance)
           
 void setFqn(Fqn fqn)
           
 void verifyAttached(Object target)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.cache.pojo.interceptors.dynamic.BaseInterceptor
setInterceptor
 
Methods inherited from interface org.jboss.aop.advice.Interceptor
getName, invoke
 

Method Detail

getFqn

public Fqn getFqn()
Description copied from interface: BaseInterceptor
Get the original fqn that is associated with this interceptor (or advisor).

Specified by:
getFqn in interface BaseInterceptor

setFqn

public void setFqn(Fqn fqn)
Specified by:
setFqn in interface BaseInterceptor

getAopInstance

public PojoInstance getAopInstance()
Specified by:
getAopInstance in interface BaseInterceptor

setAopInstance

public void setAopInstance(PojoInstance pojoInstance)
Specified by:
setAopInstance in interface BaseInterceptor

attach

public void attach(Fqn fqn,
                   boolean copyToCache)
Attaching the Collection to PojoCache.


detach

public void detach(boolean removeFromCache)

isAttached

public boolean isAttached()

verifyAttached

public void verifyAttached(Object target)

getCurrentCopy

public abstract Object getCurrentCopy()


Copyright 2008 JBoss, a division of Red Hat. All Rights Reserved.