org.nakedobjects.plugins.headless.viewer.internal
Class Proxy

java.lang.Object
  extended by org.nakedobjects.plugins.headless.viewer.internal.Proxy

public class Proxy
extends java.lang.Object


Constructor Summary
Proxy()
           
 
Method Summary
static
<T,E> java.util.Collection<E>
proxy(java.util.Collection<E> collectionToProxy, java.lang.String collectionName, DomainObjectInvocationHandler<T> handler, RuntimeContext runtimeContext, OneToManyAssociation otma)
          Whether to execute or not will be picked up from the supplied parent handler.
static
<T,P,Q> java.util.Map<P,Q>
proxy(java.util.Map<P,Q> collectionToProxy, java.lang.String collectionName, DomainObjectInvocationHandler<T> handler, RuntimeContext runtimeContext, OneToManyAssociation otma)
          Whether to execute or not will be picked up from the supplied parent handler.
static
<T> T
proxy(T toProxy, HeadlessViewer embeddedViewer, HeadlessViewer.ExecutionMode mode, RuntimeContext runtimeContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Proxy

public Proxy()
Method Detail

proxy

public static <T> T proxy(T toProxy,
                          HeadlessViewer embeddedViewer,
                          HeadlessViewer.ExecutionMode mode,
                          RuntimeContext runtimeContext)

proxy

public static <T,E> java.util.Collection<E> proxy(java.util.Collection<E> collectionToProxy,
                                                  java.lang.String collectionName,
                                                  DomainObjectInvocationHandler<T> handler,
                                                  RuntimeContext runtimeContext,
                                                  OneToManyAssociation otma)
Whether to execute or not will be picked up from the supplied parent handler.


proxy

public static <T,P,Q> java.util.Map<P,Q> proxy(java.util.Map<P,Q> collectionToProxy,
                                               java.lang.String collectionName,
                                               DomainObjectInvocationHandler<T> handler,
                                               RuntimeContext runtimeContext,
                                               OneToManyAssociation otma)
Whether to execute or not will be picked up from the supplied parent handler.



Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.