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

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

public static class Delegating.DelegatingModeOrBuild<T>
extends Delegating.DelegatingBuild<T>


Field Summary
 
Fields inherited from class com.thoughtworks.proxy.toys.delegate.Delegating.DelegatingBuild
delegating
 
Method Summary
 Delegating.DelegatingBuild<T> mode(DelegationMode mode)
          Forces a particular delegation mode to be used.
 
Methods inherited from class com.thoughtworks.proxy.toys.delegate.Delegating.DelegatingBuild
build, build
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

mode

public Delegating.DelegatingBuild<T> mode(DelegationMode mode)
Forces a particular delegation mode to be used.

Parameters:
mode - refer to DelegationMode.DIRECT or DelegationMode.SIGNATURE for allowed values.
Returns:
the factory that will proxy instances of the supplied type.


Copyright © 2005-2010 Codehaus. All Rights Reserved.