com.opensymphony.provider.bean
Class OGNLBeanProvider
java.lang.Object
com.opensymphony.provider.bean.OGNLBeanProvider
- All Implemented Interfaces:
- BeanProvider, Provider
public class OGNLBeanProvider - extends Object
- implements BeanProvider
BeanProvider implementation that uses OGNL for expression evaluation.
- Version:
- $Revision: 5 $
- Author:
- Joe Walnes
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OGNLBeanProvider
public OGNLBeanProvider()
setProperty
public boolean setProperty(Object object,
String property,
Object value)
- Description copied from interface:
BeanProvider
- Set a single property of the bean.
- Specified by:
setProperty in interface BeanProvider
property - Name of property to set.value - Value to set property to.
getProperty
public Object getProperty(Object object,
String property)
- Description copied from interface:
BeanProvider
- Get a single property of the bean.
- Specified by:
getProperty in interface BeanProvider
property - Name of property to get.
destroy
public void destroy()
- Description copied from interface:
Provider
- Shutdown Provider.
- Specified by:
destroy in interface Provider
init
public void init()
throws ProviderConfigurationException
- Description copied from interface:
Provider
- Startup Provider.
- Specified by:
init in interface Provider
- Throws:
ProviderConfigurationException - thrown if error in startup
or configuration.
|