org.castor.cache
public abstract class AbstractBaseCache extends Object implements Cache
Since: 1.0
Version: $Revision: 6320 $ $Date: 2006-05-05 13:53:54 -0600 (Fri, 05 May 2006) $
Method Summary | |
---|---|
void | close() |
void | expire(Object key) |
void | expireAll() |
String | getName() |
void | initialize(Properties params) |
protected Object | invokeMethod(Object target, String name, Class[] types, Object[] arguments)
Invoke method with given name and arguments having parameters of types
specified on the given target.
|
protected Object | invokeStaticMethod(Class target, String name, Class[] types, Object[] arguments)
Invoke static method with given name and arguments having parameters of
types specified on the given target.
|
See Also: close
See Also: Cache
See Also: expireAll
See Also: getName
See Also: initialize
Parameters: target The target object to invoke the method on. name The name of the method to invoke. types The types of the parameters. arguments The parameters.
Returns: The result of the method invokation.
Throws: NoSuchMethodException If a matching method is not found or if the name is "<init>"or "<clinit>". IllegalAccessException If this Method object enforces Java language access control and the underlying method is inaccessible. InvocationTargetException If the underlying method throws an exception.
Parameters: target The target object to invoke the method on. name The name of the method to invoke. types The types of the parameters. arguments The parameters.
Returns: The result of the method invokation.
Throws: NoSuchMethodException If a matching method is not found or if the name is "<init>"or "<clinit>". IllegalAccessException If this Method object enforces Java language access control and the underlying method is inaccessible. InvocationTargetException If the underlying method throws an exception.