net.sf.csutils.groovy.proxy
Class AbstractProxy

java.lang.Object
  extended by net.sf.csutils.groovy.proxy.AbstractProxy
All Implemented Interfaces:
groovy.lang.GroovyObject
Direct Known Subclasses:
RegistryFacadeProxy, ROMetaModelAccessorProxy, ROMetaModelProxy, ROModelAccessorProxy

public abstract class AbstractProxy
extends Object
implements groovy.lang.GroovyObject


Constructor Summary
protected AbstractProxy(Class<?> pProxiedClass)
           
 
Method Summary
 groovy.lang.MetaClass getMetaClass()
           
 Object getProperty(String pPropertyName)
           
protected  Object getProxiedObject()
           
protected  boolean hasProxiedObject()
           
 Object invokeMethod(String pMethodName, Object pArgs)
           
protected abstract  Object newProxiedObject()
           
 void setMetaClass(groovy.lang.MetaClass pMetaClass)
           
 void setProperty(String pPropertyName, Object pValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractProxy

protected AbstractProxy(Class<?> pProxiedClass)
Method Detail

newProxiedObject

protected abstract Object newProxiedObject()

hasProxiedObject

protected boolean hasProxiedObject()

getProxiedObject

protected Object getProxiedObject()

invokeMethod

public Object invokeMethod(String pMethodName,
                           Object pArgs)
Specified by:
invokeMethod in interface groovy.lang.GroovyObject

getProperty

public Object getProperty(String pPropertyName)
Specified by:
getProperty in interface groovy.lang.GroovyObject

setProperty

public void setProperty(String pPropertyName,
                        Object pValue)
Specified by:
setProperty in interface groovy.lang.GroovyObject

getMetaClass

public groovy.lang.MetaClass getMetaClass()
Specified by:
getMetaClass in interface groovy.lang.GroovyObject

setMetaClass

public void setMetaClass(groovy.lang.MetaClass pMetaClass)
Specified by:
setMetaClass in interface groovy.lang.GroovyObject


Copyright © 2009-2010. All Rights Reserved.