com.thoughtworks.proxy.toys.privilege
Class Privileging.PrivilegingBuild<T>

java.lang.Object
  extended by com.thoughtworks.proxy.toys.privilege.Privileging.PrivilegingBuild<T>
Direct Known Subclasses:
Privileging.PrivilegingExecutedByOrBuild
Enclosing class:
Privileging<T>

public static class Privileging.PrivilegingBuild<T>
extends Object


Field Summary
protected  Privileging<T> privileging
           
 
Method Summary
 T build()
          Creating a privileging proxy for an object using the StandardProxyFactory.
 T build(ProxyFactory factory)
          Creating a privileging 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

privileging

protected Privileging<T> privileging
Method Detail

build

public T build()
Creating a privileging 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 privileging 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.