org.jboss.portal.server.invocation.component
Class CacheInterceptor

java.lang.Object
  extended by org.jboss.portal.server.invocation.component.CacheInterceptor
All Implemented Interfaces:
MetaDataHolder, Interceptor

public class CacheInterceptor
extends java.lang.Object
implements Interceptor, MetaDataHolder

Implements the caching part : per client, per component. The response properties part is not implemented yet.


Field Summary
static int REF_SOFT
           
static int REF_STRONG
           
 
Constructor Summary
CacheInterceptor()
           
 
Method Summary
 MetaData getMetaData()
           
 int getRefType()
           
 java.lang.Object invoke(Invocation invocation)
          Perform the invocation.
 void setMetaData(MetaData metaData)
           
 void setRefType(int refType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REF_STRONG

public static final int REF_STRONG
See Also:
Constant Field Values

REF_SOFT

public static final int REF_SOFT
See Also:
Constant Field Values
Constructor Detail

CacheInterceptor

public CacheInterceptor()
Method Detail

getRefType

public int getRefType()

setRefType

public void setRefType(int refType)

invoke

public java.lang.Object invoke(Invocation invocation)
Description copied from interface: Interceptor
Perform the invocation.

Specified by:
invoke in interface Interceptor
Returns:
the returned object

setMetaData

public void setMetaData(MetaData metaData)
Specified by:
setMetaData in interface MetaDataHolder

getMetaData

public MetaData getMetaData()
Specified by:
getMetaData in interface MetaDataHolder