com.thoughtworks.proxy.toys.hotswap
Class HotSwapping.HotSwappingBuildOrMode<T>

java.lang.Object
  extended by com.thoughtworks.proxy.toys.hotswap.HotSwapping.HotSwappingBuild<T>
      extended by com.thoughtworks.proxy.toys.hotswap.HotSwapping.HotSwappingBuildOrMode<T>
Enclosing class:
HotSwapping<T>

public static class HotSwapping.HotSwappingBuildOrMode<T>
extends HotSwapping.HotSwappingBuild<T>


Field Summary
 
Fields inherited from class com.thoughtworks.proxy.toys.hotswap.HotSwapping.HotSwappingBuild
hotswapping
 
Constructor Summary
HotSwapping.HotSwappingBuildOrMode(HotSwapping<T> hotswapping)
           
 
Method Summary
 HotSwapping.HotSwappingBuild<T> mode(DelegationMode delegationMode)
          Forces a particular delegation mode to be used.
 
Methods inherited from class com.thoughtworks.proxy.toys.hotswap.HotSwapping.HotSwappingBuild
build, build
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HotSwapping.HotSwappingBuildOrMode

public HotSwapping.HotSwappingBuildOrMode(HotSwapping<T> hotswapping)
Method Detail

mode

public HotSwapping.HotSwappingBuild<T> mode(DelegationMode delegationMode)
Forces a particular delegation mode to be used.

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


Copyright © 2005-2010 Codehaus. All Rights Reserved.