biz.hammurapi.util
Interface CompositeProxyFactory.TargetFactory

Enclosing class:
CompositeProxyFactory

public static interface CompositeProxyFactory.TargetFactory

Version:
$Revision: 1.1 $
Author:
Pavel Vlasov

Method Summary
 java.lang.Object getTarget()
           
 java.lang.Class getTargetClass()
           
 

Method Detail

getTargetClass

java.lang.Class getTargetClass()
Returns:
target class for the proxy to know which methods it implements. You might want to return only one of class interfaces or base classes to limit number of exposed methods.

getTarget

java.lang.Object getTarget()
Returns:
target itself to perform invocation.


Copyright © 2003 Hammurapi Group. All Rights Reserved.