com.thoughtworks.proxy.toys.decorate
Class Decorating.DecoratingBuild<U,T>

java.lang.Object
  extended by com.thoughtworks.proxy.toys.decorate.Decorating.DecoratingBuild<U,T>
Enclosing class:
Decorating<U,T>

public static class Decorating.DecoratingBuild<U,T>
extends Object


Method Summary
 T build()
          Creating a decorating proxy for an object using the StandardProxyFactory.
 T build(ProxyFactory proxyFactory)
          Creating a decorating 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
 

Method Detail

build

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

Returns:
the created proxy implementing the type
Since:
1.0

build

public T build(ProxyFactory proxyFactory)
Creating a decorating proxy for an object using a special ProxyFactory.

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


Copyright © 2005-2010 Codehaus. All Rights Reserved.