kr.co.hit.live.aop.target
Class AbstractTargetProxy
java.lang.Object
kr.co.hit.live.aop.target.AbstractTargetProxy
- All Implemented Interfaces:
- InvocationHandler, TargetProxy
- Direct Known Subclasses:
- BypassTargetProxy, EJBDelegatorTargetProxy, EJBTargetProxy, PooledTargetProxy, ServiceNameTargetProxy, ThreadLocalTargetProxy
public abstract class AbstractTargetProxy
- extends Object
- implements TargetProxy
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
targetInterface
protected Class<?> targetInterface
AbstractTargetProxy
public AbstractTargetProxy()
setInterface
public void setInterface(Class<?> inf)
- Description copied from interface:
TargetProxy
- TargetProxy가 구현하는 interface 클래스 객체를 넘겨준다.
- Specified by:
setInterface in interface TargetProxy
getInterface
protected Class<?> getInterface()
setServiceContainer
public void setServiceContainer(ServiceContainer svcContainer)
- Description copied from interface:
TargetProxy
- TargetProxy를 생성한 ServiceContainer 객체를 넘겨준다.
- Specified by:
setServiceContainer in interface TargetProxy
getServiceContainer
protected ServiceContainer getServiceContainer()
invoke
public Object invoke(Object proxy,
Method method,
Object[] args)
throws Throwable
- Specified by:
invoke in interface InvocationHandler
- Throws:
Throwable
invoke
public abstract Object invoke(Method method,
Object[] args)
throws Throwable
- 실제 메소드 호출을 처리하는 로직을 구현한다.
- Parameters:
method - args -
- Returns:
- 메소드 호출 반환 값
- Throws:
Throwable
Copyright © 2014. All Rights Reserved.