private class TransactionFactoryImpl.TransactionalProxy extends Object implements InvocationHandler
Modifier and Type | Field and Description |
---|---|
private boolean |
immutableClass |
private Object |
instance |
Constructor and Description |
---|
TransactionalProxy(Object instance) |
Modifier and Type | Method and Description |
---|---|
private Annotation |
getAnnotation(Method interfaceMethod,
Class<? extends Annotation> annotationClass) |
Object |
invoke(Object proxy,
Method method,
Object[] args) |
private final Object instance
private final boolean immutableClass
public TransactionalProxy(Object instance)
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
invoke
in interface InvocationHandler
Throwable
private Annotation getAnnotation(Method interfaceMethod, Class<? extends Annotation> annotationClass) throws NoSuchMethodException, SecurityException
Copyright © 2019. All rights reserved.