| java.lang.Object com.rift.coad.lib.bean.BeanHandler
BeanHandler | public class BeanHandler implements InvocationHandler,CacheEntry(Code) | | The handler responsible for pre-processing the requests made on the
coadunation beans.
author: Brett Chaldecott |
Field Summary | |
protected Logger | log |
Method Summary | |
public synchronized void | cacheRelease() This method is called by the cache when releasing this object. | public boolean | equals(Object rhs) This method determines if the bean handlers are the same. | protected String | getId() | public int | hashCode() This method returns the hash code of this object. | public Object | invoke(Object proxy, Method method, Object[] args) The invocation handler. | public boolean | isExpired(Date expiryDate) This method will return true if the date is older than the given expiry
date. | public synchronized void | touch() This method is called to update the touch time of the base object. |
cacheRelease | public synchronized void cacheRelease()(Code) | | This method is called by the cache when releasing this object.
|
equals | public boolean equals(Object rhs)(Code) | | This method determines if the bean handlers are the same.
TRUE if the same, FALSE if not. Parameters: rhs - The right hand side. |
getId | protected String getId()(Code) | | This method returns the id of this bean handler
The string containing the id of this handler |
hashCode | public int hashCode()(Code) | | This method returns the hash code of this object.
|
isExpired | public boolean isExpired(Date expiryDate)(Code) | | This method will return true if the date is older than the given expiry
date.
TRUE if expired FALSE if not. Parameters: expiryDate - The expiry date to perform the check with. |
touch | public synchronized void touch()(Code) | | This method is called to update the touch time of the base object.
|
|
|