com.bea.content.expression
Class DefaultPropertyProvider

java.lang.Object
  extended by com.bea.content.expression.DefaultBasePropertyProvider
      extended by com.bea.content.expression.DefaultPropertyProvider
All Implemented Interfaces
PropertyProvider

public class DefaultPropertyProvider
extends DefaultBasePropertyProvider

A generic implementation of a property provider, that supports user, request, session, and event properties.


Constructor Summary
DefaultPropertyProvider()
          Empty constructor.
DefaultPropertyProvider(ProfileWrapper userWrapper, Request request, Session session, Event event)
          Create a new PropertyProvider, initializing possible sources for the property value.
DefaultPropertyProvider(String userId, Request request, Session session, Event event)
          Create a new PropertyProvider, initializing possible sources for the property value.
 
Method Summary
 
Methods inherited from class com.bea.content.expression.DefaultBasePropertyProvider
getInstance, getProperty, setUser
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultPropertyProvider

public DefaultPropertyProvider()
Empty constructor.


DefaultPropertyProvider

public DefaultPropertyProvider(String userId,
                               Request request,
                               Session session,
                               Event event)
                        throws ProfileNotFoundException
Create a new PropertyProvider, initializing possible sources for the property value. All parameters are optional.

Parameters
userId - String representation of the user
request - The request object
session - The session object
event - The event object
Throws
ProfileNotFoundException - when the ProfileWrapper cannot be found for the passed in userId

DefaultPropertyProvider

public DefaultPropertyProvider(ProfileWrapper userWrapper,
                               Request request,
                               Session session,
                               Event event)
Create a new PropertyProvider, initializing possible sources for the property value. All parameters are optional.

Parameters
userWrapper - The profile wrapper of the user
request - The request object
session - The session object
event - The event object


Copyright © 2011, Oracle. All rights reserved.