public class BeanProviderPropertyAccessor extends ognl.ObjectPropertyAccessor
IBeanProvider
to
OGNL by exposing the named
beans provided by the provider as read-only properties of
the provider.
This is registered by AbstractComponent
.
Constructor and Description |
---|
BeanProviderPropertyAccessor() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getProperty(java.util.Map context,
java.lang.Object target,
java.lang.Object name)
Checks to see if the name matches the name of a bean inside
the provider and returns that bean if so.
|
boolean |
hasGetProperty(java.util.Map context,
java.lang.Object target,
java.lang.Object oname)
Returns true if the name matches a bean provided by the provider.
|
public BeanProviderPropertyAccessor()
public java.lang.Object getProperty(java.util.Map context, java.lang.Object target, java.lang.Object name) throws ognl.OgnlException
getProperty
in interface ognl.PropertyAccessor
getProperty
in class ognl.ObjectPropertyAccessor
ognl.OgnlException
public boolean hasGetProperty(java.util.Map context, java.lang.Object target, java.lang.Object oname) throws ognl.OgnlException
hasGetProperty
in class ognl.ObjectPropertyAccessor
ognl.OgnlException