Package org.apache.tiles.ognl
Class TilesContextPropertyAccessorDelegateFactory
- java.lang.Object
-
- org.apache.tiles.ognl.TilesContextPropertyAccessorDelegateFactory
-
- All Implemented Interfaces:
PropertyAccessorDelegateFactory<org.apache.tiles.request.Request>
public class TilesContextPropertyAccessorDelegateFactory extends java.lang.Object implements PropertyAccessorDelegateFactory<org.apache.tiles.request.Request>
Decides the appropriatePropertyAccessorfor the given property name andRequest.- Since:
- 2.2.0
- Version:
- $Rev: 1049696 $ $Date: 2010-12-16 07:30:10 +1100 (Thu, 16 Dec 2010) $
-
-
Constructor Summary
Constructors Constructor Description TilesContextPropertyAccessorDelegateFactory(ognl.PropertyAccessor objectPropertyAccessor, ognl.PropertyAccessor applicationContextPropertyAccessor, ognl.PropertyAccessor anyScopePropertyAccessor, ognl.PropertyAccessor scopePropertyAccessor)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ognl.PropertyAccessorgetPropertyAccessor(java.lang.String propertyName, org.apache.tiles.request.Request request)Returns a prooerty accessor appropriate for the property name and the object passed.
-
-
-
Constructor Detail
-
TilesContextPropertyAccessorDelegateFactory
public TilesContextPropertyAccessorDelegateFactory(ognl.PropertyAccessor objectPropertyAccessor, ognl.PropertyAccessor applicationContextPropertyAccessor, ognl.PropertyAccessor anyScopePropertyAccessor, ognl.PropertyAccessor scopePropertyAccessor)Constructor.- Parameters:
objectPropertyAccessor- The plain object property accessor, to be used directly forRequest.applicationContextPropertyAccessor- The application context property accessor.anyScopePropertyAccessor- The request scope property accessor.scopePropertyAccessor- The session scope property accessor.- Since:
- 2.2.0
-
-
Method Detail
-
getPropertyAccessor
public ognl.PropertyAccessor getPropertyAccessor(java.lang.String propertyName, org.apache.tiles.request.Request request)Returns a prooerty accessor appropriate for the property name and the object passed.- Specified by:
getPropertyAccessorin interfacePropertyAccessorDelegateFactory<org.apache.tiles.request.Request>- Parameters:
propertyName- The name of the property.request- The root object to evaluate.- Returns:
- The appropriate property accessor.
-
-