Module org.tentackle.pdo
Package org.tentackle.pdo
Class PdoMethodCache<T extends PersistentDomainObject<T>>
java.lang.Object
org.tentackle.pdo.PdoMethodCache<T>
- Type Parameters:
T
- the PDO type
Method-cache for PDOs.
Each PDO class provides its own cache.
Each PDO class provides its own cache.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
PdoMethodCache
Creates a method cache.- Parameters:
clazz
- the interceptable class
-
-
Method Details
-
toString
-
invoke
public Object invoke(PdoInvocationHandler<T> invocationHandler, Method method, Object[] args) throws Throwable Invokes a method on a delegate.- Parameters:
invocationHandler
- the invocation handlermethod
- the original method of the interfaceargs
- the method's args- Returns:
- the methods return value
- Throws:
Throwable
- if invocation fails
-