Class RemoteMethodAwareInterceptor
java.lang.Object
org.tentackle.reflect.AbstractInterceptor
org.tentackle.pdo.SessionProviderAwareInterceptor
org.tentackle.pdo.RemoteMethodAwareInterceptor
- All Implemented Interfaces:
InvocationHandler, Interceptor
- Direct Known Subclasses:
NoTransactionInterceptor, TransactionInterceptor
Base implementation for interceptors checking for remote method annotation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanisRemoteMethod(Method orgMethod) Returns whether the given method is annotated withRemoteMethod.Methods inherited from class SessionProviderAwareInterceptor
getSessionMethods inherited from class AbstractInterceptor
getAnnotation, getChainedInterceptor, invoke, proceed, setAnnotation, setChainedInterceptor
-
Constructor Details
-
RemoteMethodAwareInterceptor
public RemoteMethodAwareInterceptor()Parent constructor.
-
-
Method Details
-
isRemoteMethod
Returns whether the given method is annotated withRemoteMethod.- Parameters:
orgMethod- the method to check- Returns:
- true if annotated with
RemoteMethod
-