org.kuali.rice.kns.workflow.attribute
Class WorkflowLookupableInvocationHandler

java.lang.Object
  extended by org.kuali.rice.kns.workflow.attribute.WorkflowLookupableInvocationHandler
All Implemented Interfaces:
net.sf.cglib.proxy.Callback, net.sf.cglib.proxy.InvocationHandler

Deprecated. This will go away once workflow supports simple url integration for custom attribute lookups.

public class WorkflowLookupableInvocationHandler
extends Object
implements net.sf.cglib.proxy.InvocationHandler

This class provides access to the properties of business objects returned as search results by the WorkflowLookupableImpl.

See Also:
org.kuali.rice.kew.attribute.WorkflowLookupableImpl

Field Summary
private  ClassLoader classLoader
          Deprecated.  
private  BusinessObject proxiedBusinessObject
          Deprecated.  
private  String returnUrl
          Deprecated.  
 
Constructor Summary
WorkflowLookupableInvocationHandler(BusinessObject proxiedBusinessObject, ClassLoader classLoader)
          Deprecated. Constructs a WorkflowLookupableInvocationHandler.java.
WorkflowLookupableInvocationHandler(BusinessObject proxiedBusinessObject, String returnUrl, ClassLoader classLoader)
          Deprecated. Constructs a WorkflowLookupableInvocationHandler.java.
 
Method Summary
 Object invoke(Object proxy, Method method, Object[] args)
          Deprecated. This method intercepts "getReturnUrl" and returns this objects returnUrl attribute.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

proxiedBusinessObject

private BusinessObject proxiedBusinessObject
Deprecated. 

classLoader

private ClassLoader classLoader
Deprecated. 

returnUrl

private String returnUrl
Deprecated. 
Constructor Detail

WorkflowLookupableInvocationHandler

public WorkflowLookupableInvocationHandler(BusinessObject proxiedBusinessObject,
                                           ClassLoader classLoader)
Deprecated. 
Constructs a WorkflowLookupableInvocationHandler.java.

Parameters:
proxiedBusinessObject - The BusinessObject that this instance is providing access to.

WorkflowLookupableInvocationHandler

public WorkflowLookupableInvocationHandler(BusinessObject proxiedBusinessObject,
                                           String returnUrl,
                                           ClassLoader classLoader)
Deprecated. 
Constructs a WorkflowLookupableInvocationHandler.java.

Parameters:
proxiedBusinessObject - The BusinessObject that this instance is providing access to.
returnUrl - The returnUrl String for selection of a result from the UI
Method Detail

invoke

public Object invoke(Object proxy,
                     Method method,
                     Object[] args)
              throws Throwable
Deprecated. 
This method intercepts "getReturnUrl" and returns this objects returnUrl attribute. It proxies access to nested BusinessObjects to ensure that the application plugin classloader is used to resolve OJB proxies. And, it translates booleans for the UI, using the BooleanFormatter.

Specified by:
invoke in interface net.sf.cglib.proxy.InvocationHandler
Throws:
Throwable
See Also:
InvocationHandler.invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.