public class UberspectImpl extends Object implements Uberspect, UberspectLoggable
| Modifier and Type | Class and Description |
|---|---|
class |
UberspectImpl.VelGetterImpl |
class |
UberspectImpl.VelMethodImpl
An implementation of
VelMethod. |
class |
UberspectImpl.VelSetterImpl |
| Constructor and Description |
|---|
UberspectImpl() |
| Modifier and Type | Method and Description |
|---|---|
Iterator |
getIterator(Object obj,
Info i)
To support iteratives - #foreach()
|
VelMethod |
getMethod(Object obj,
String methodName,
Object[] args,
Info i)
Returns a general method, corresponding to $foo.bar( $woogie )
|
VelPropertyGet |
getPropertyGet(Object obj,
String identifier,
Info i)
Property getter - returns VelPropertyGet appropos for #set($foo = $bar.woogie)
|
VelPropertySet |
getPropertySet(Object obj,
String identifier,
Object arg,
Info i)
Property setter - returns VelPropertySet appropos for #set($foo.bar = "geir")
|
void |
init()
init - does nothing - we need to have setRuntimeLogger called before
getting our introspector, as the default vel introspector depends upon
it.
|
void |
setRuntimeLogger(org.apache.commons.logging.Log runtimeLogger)
Sets the runtime logger - this must be called before anything else
besides init() as to get the logger.
|
public void init()
throws Exception
public void setRuntimeLogger(org.apache.commons.logging.Log runtimeLogger)
setRuntimeLogger in interface UberspectLoggableruntimeLogger - service to use for logging.public Iterator getIterator(Object obj, Info i) throws Exception
getIterator in interface UberspectExceptionpublic VelMethod getMethod(Object obj, String methodName, Object[] args, Info i) throws Exception
public VelPropertyGet getPropertyGet(Object obj, String identifier, Info i) throws Exception
getPropertyGet in interface UberspectExceptionpublic VelPropertySet getPropertySet(Object obj, String identifier, Object arg, Info i) throws Exception
getPropertySet in interface UberspectExceptionCopyright © 2015 The Apache Software Foundation. All rights reserved.