Package org.apache.mina.integration.ognl
Class AbstractPropertyAccessor
- java.lang.Object
-
- ognl.ObjectPropertyAccessor
-
- org.apache.mina.integration.ognl.AbstractPropertyAccessor
-
- All Implemented Interfaces:
ognl.PropertyAccessor
- Direct Known Subclasses:
IoFilterPropertyAccessor
,IoServicePropertyAccessor
,IoSessionPropertyAccessor
public abstract class AbstractPropertyAccessor extends ognl.ObjectPropertyAccessor
An abstract OGNLPropertyAccessor
for MINA constructs.- Author:
- Apache MINA Project
-
-
Constructor Summary
Constructors Constructor Description AbstractPropertyAccessor()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Object
getPossibleProperty(Map context, Object target, String name)
protected abstract Object
getProperty0(ognl.OgnlContext context, Object target, String name)
boolean
hasGetProperty(ognl.OgnlContext context, Object target, Object oname)
protected abstract boolean
hasGetProperty0(ognl.OgnlContext context, Object target, String name)
boolean
hasSetProperty(ognl.OgnlContext context, Object target, Object oname)
protected abstract boolean
hasSetProperty0(ognl.OgnlContext context, Object target, String name)
Object
setPossibleProperty(Map context, Object target, String name, Object value)
protected abstract Object
setProperty0(ognl.OgnlContext context, Object target, String name, Object value)
-
-
-
Method Detail
-
hasGetProperty
public final boolean hasGetProperty(ognl.OgnlContext context, Object target, Object oname) throws ognl.OgnlException
- Overrides:
hasGetProperty
in classognl.ObjectPropertyAccessor
- Throws:
ognl.OgnlException
-
hasSetProperty
public final boolean hasSetProperty(ognl.OgnlContext context, Object target, Object oname) throws ognl.OgnlException
- Overrides:
hasSetProperty
in classognl.ObjectPropertyAccessor
- Throws:
ognl.OgnlException
-
getPossibleProperty
public final Object getPossibleProperty(Map context, Object target, String name) throws ognl.OgnlException
- Overrides:
getPossibleProperty
in classognl.ObjectPropertyAccessor
- Throws:
ognl.OgnlException
-
setPossibleProperty
public final Object setPossibleProperty(Map context, Object target, String name, Object value) throws ognl.OgnlException
- Overrides:
setPossibleProperty
in classognl.ObjectPropertyAccessor
- Throws:
ognl.OgnlException
-
hasGetProperty0
protected abstract boolean hasGetProperty0(ognl.OgnlContext context, Object target, String name) throws ognl.OgnlException
- Throws:
ognl.OgnlException
-
hasSetProperty0
protected abstract boolean hasSetProperty0(ognl.OgnlContext context, Object target, String name) throws ognl.OgnlException
- Throws:
ognl.OgnlException
-
getProperty0
protected abstract Object getProperty0(ognl.OgnlContext context, Object target, String name) throws ognl.OgnlException
- Throws:
ognl.OgnlException
-
-