groovyx.gpars.actor
Class ForwardingDelegate

java.lang.Object
  extended by groovy.lang.GroovyObjectSupport
      extended by groovyx.gpars.actor.ForwardingDelegate
All Implemented Interfaces:
groovy.lang.GroovyObject

final class ForwardingDelegate
extends groovy.lang.GroovyObjectSupport

Author:
Alex Tkachman, Vaclav Pech

Field Summary
private  java.lang.Object first
           
private  java.lang.Object second
           
 
Constructor Summary
ForwardingDelegate(java.lang.Object first, java.lang.Object second)
           
 
Method Summary
 java.lang.Object getProperty(java.lang.String property)
           
 java.lang.Object invokeMethod(java.lang.String name, java.lang.Object args)
           
 void setProperty(java.lang.String property, java.lang.Object newValue)
           
 
Methods inherited from class groovy.lang.GroovyObjectSupport
getMetaClass, setMetaClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

first

private final java.lang.Object first

second

private final java.lang.Object second
Constructor Detail

ForwardingDelegate

ForwardingDelegate(java.lang.Object first,
                   java.lang.Object second)
Method Detail

invokeMethod

public java.lang.Object invokeMethod(java.lang.String name,
                                     java.lang.Object args)
Specified by:
invokeMethod in interface groovy.lang.GroovyObject
Overrides:
invokeMethod in class groovy.lang.GroovyObjectSupport

getProperty

public java.lang.Object getProperty(java.lang.String property)
Specified by:
getProperty in interface groovy.lang.GroovyObject
Overrides:
getProperty in class groovy.lang.GroovyObjectSupport

setProperty

public void setProperty(java.lang.String property,
                        java.lang.Object newValue)
Specified by:
setProperty in interface groovy.lang.GroovyObject
Overrides:
setProperty in class groovy.lang.GroovyObjectSupport

Copyright © 2008–2012 Václav Pech. All Rights Reserved.