public class UberspectPublicFields extends java.lang.Object implements Uberspect, RuntimeServicesAware
Modifier and Type | Field and Description |
---|---|
protected Introspector |
introspector
the default Velocity introspector
|
protected org.slf4j.Logger |
log
Our runtime logger.
|
Constructor and Description |
---|
UberspectPublicFields() |
Modifier and Type | Method and Description |
---|---|
java.util.Iterator |
getIterator(java.lang.Object obj,
Info info)
To support iteratives - #foreach()
|
VelMethod |
getMethod(java.lang.Object obj,
java.lang.String method,
java.lang.Object[] args,
Info info)
Returns a general method, corresponding to $foo.bar( $woogie )
|
VelPropertyGet |
getPropertyGet(java.lang.Object obj,
java.lang.String identifier,
Info i)
Property getter
|
VelPropertySet |
getPropertySet(java.lang.Object obj,
java.lang.String identifier,
java.lang.Object arg,
Info i)
Property setter
|
void |
init()
init - generates the Introspector.
|
void |
setRuntimeServices(RuntimeServices rs)
Called automatically when event cartridge is initialized.
|
protected org.slf4j.Logger log
protected Introspector introspector
public void init()
public VelPropertyGet getPropertyGet(java.lang.Object obj, java.lang.String identifier, Info i)
getPropertyGet
in interface Uberspect
obj
- identifier
- i
- public VelPropertySet getPropertySet(java.lang.Object obj, java.lang.String identifier, java.lang.Object arg, Info i)
getPropertySet
in interface Uberspect
obj
- identifier
- arg
- i
- public java.util.Iterator getIterator(java.lang.Object obj, Info info)
Uberspect
getIterator
in interface Uberspect
obj
- info
- public VelMethod getMethod(java.lang.Object obj, java.lang.String method, java.lang.Object[] args, Info info)
Uberspect
public void setRuntimeServices(RuntimeServices rs)
RuntimeServicesAware
setRuntimeServices
in interface RuntimeServicesAware
rs
- RuntimeServices object assigned during initialization