orc.runtime.sites.java
Class ObjectProxy
java.lang.Object
   orc.runtime.values.Value
orc.runtime.values.Value
       orc.runtime.sites.Site
orc.runtime.sites.Site
           orc.runtime.sites.java.ObjectProxy
orc.runtime.sites.java.ObjectProxy
- All Implemented Interfaces: 
- Callable
- public class ObjectProxy 
- extends Site
A Java object being used as an Orc Site. This allows you to get a reference
 to methods on the object using dot notation (like a DotSite).
 
 
Methods are assumed to be non-blocking (although they may use kilim
 for cooperative threading if desired). For objects with blocking methods,
 use ThreadedObjectProxy.
- Author:
- dkitchin
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
proxyFor
public static Callable proxyFor(java.lang.Object instance)
- 
 
callSite
public void callSite(Args args,
                     Token caller)
              throws TokenException
- Description copied from class: Site
- Must be implemented by subclasses to implement the site behavior
 
- 
- Specified by:
- callSitein class- Site
 
- 
- Parameters:
- args- list of argument values
- caller- where the result should be sent
- Throws:
- TokenException
 
getProxiedObject
public java.lang.Object getProxiedObject()
-