|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tapestry5.ioc.internal.services.PropertyAccessImpl
public class PropertyAccessImpl
Constructor Summary | |
---|---|
PropertyAccessImpl()
|
Method Summary | |
---|---|
void |
clearCache()
Clears the cache of adapters and asks the Introspector to clear its cache. |
Object |
get(Object instance,
String propertyName)
Reads the value of a property. |
ClassPropertyAdapter |
getAdapter(Class forClass)
Returns the adapter used to access properties within the indicated class. |
ClassPropertyAdapter |
getAdapter(Object instance)
Returns the adapter for a particular object instance. |
void |
set(Object instance,
String propertyName,
Object value)
Updates the value of a property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PropertyAccessImpl()
Method Detail |
---|
public Object get(Object instance, String propertyName)
PropertyAccess
get
in interface PropertyAccess
public void set(Object instance, String propertyName, Object value)
PropertyAccess
set
in interface PropertyAccess
public void clearCache()
Introspector
to clear its cache.
clearCache
in interface PropertyAccess
public ClassPropertyAdapter getAdapter(Object instance)
PropertyAccess
PropertyAccess.getAdapter(Class)
.
getAdapter
in interface PropertyAccess
public ClassPropertyAdapter getAdapter(Class forClass)
PropertyAccess
getAdapter
in interface PropertyAccess
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |