com.thoughtworks.proxy.toys.delegate
Class Delegating.DelegatingBuild<T>

java.lang.Object
  extended by com.thoughtworks.proxy.toys.delegate.Delegating.DelegatingBuild<T>
Direct Known Subclasses:
Delegating.DelegatingModeOrBuild
Enclosing class:
Delegating<T>

public static class Delegating.DelegatingBuild<T>
extends Object


Field Summary
protected  Delegating<T> delegating
           
 
Method Summary
 T build()
          Creating a delegating proxy for an object using the StandardProxyFactory.
 T build(ProxyFactory factory)
          Creating a delegating proxy for an object using a special ProxyFactory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

delegating

protected Delegating<T> delegating
Method Detail

build

public T build()
Creating a delegating proxy for an object using the StandardProxyFactory.

Returns:
the created proxy implementing the type
Since:
1.0

build

public T build(ProxyFactory factory)
Creating a delegating proxy for an object using a special ProxyFactory.

Parameters:
factory - the ProxyFactory to use.
Returns:
the created proxy implementing the type
Since:
1.0


Copyright © 2005-2010 Codehaus. All Rights Reserved.