kr.co.hit.live.aop.target
Class PooledTargetProxy
java.lang.Object
kr.co.hit.live.aop.target.AbstractTargetProxy
kr.co.hit.live.aop.target.PooledTargetProxy
- All Implemented Interfaces:
- InvocationHandler, TargetProxy
public class PooledTargetProxy
- extends AbstractTargetProxy
여러개의 target 객체들을 생성하여 사용하는 TargetProxy의 구현 클래스이다.
- Since:
- 5.0
- Author:
- kimhd
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
targetName
protected String targetName
maxSize
protected int maxSize
PooledTargetProxy
public PooledTargetProxy()
setTargetName
public void setTargetName(String name)
setMaxSize
public void setMaxSize(int n)
invoke
public Object invoke(Method method,
Object[] args)
throws Throwable
- Description copied from class:
AbstractTargetProxy
- 실제 메소드 호출을 처리하는 로직을 구현한다.
- Specified by:
invoke in class AbstractTargetProxy
- Returns:
- 메소드 호출 반환 값
- Throws:
Throwable
Copyright © 2014. All Rights Reserved.