|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.opensymphony.provider.bean.DefaultBeanProvider
BeanProvider implementation for accessing properties. Can handle a.b.c.d -> getA().getB().getC().getD(). Access properties in this order: bean.getA(), bean.isA(), bean.a(), bean.a. Can also deal with setter methods.
Constructor Summary | |
DefaultBeanProvider()
|
Method Summary | |
void |
destroy()
Shutdown Provider. |
java.lang.Object |
getProperty(java.lang.Object object,
java.lang.String property)
Get a single property of the bean. |
void |
init()
Startup Provider. |
boolean |
setProperty(java.lang.Object object,
java.lang.String property,
java.lang.Object value)
Set a single property of the bean. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultBeanProvider()
Method Detail |
public boolean setProperty(java.lang.Object object, java.lang.String property, java.lang.Object value)
BeanProvider
setProperty
in interface BeanProvider
property
- Name of property to set.value
- Value to set property to.public java.lang.Object getProperty(java.lang.Object object, java.lang.String property)
BeanProvider
getProperty
in interface BeanProvider
property
- Name of property to get.public void destroy()
Provider
destroy
in interface Provider
public void init() throws ProviderConfigurationException
Provider
init
in interface Provider
ProviderConfigurationException
- thrown if error in startup
or configuration.
|
See www.opensymphony.com for more information. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |