|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bea.p13n.content.PropertyProviderImpl
public class PropertyProviderImpl
A generic implementation of a property provider, that supports user, request, session, and event properties.
Constructor Summary | |
---|---|
PropertyProviderImpl()
Empty constructor. |
|
PropertyProviderImpl(ProfileWrapper userWrapper,
Request request,
Session session,
Event event)
Create a new PropertyProvider, initializing possible sources for the property value. |
|
PropertyProviderImpl(String userId,
Request request,
Session session,
Event event)
Create a new PropertyProvider, initializing possible sources for the property value. |
Method Summary | |
---|---|
Object |
getProperty(String propertySetType,
String propertySet,
String propertyName)
Retrieve a property value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PropertyProviderImpl()
public PropertyProviderImpl(String userId, Request request, Session session, Event event) throws ProfileNotFoundException
userId
- String representation of the userrequest
- The request objectsession
- The session objectevent
- The event object
ProfileNotFoundException
- when the ProfileWrapper cannot
be found for the passed in userIdpublic PropertyProviderImpl(ProfileWrapper userWrapper, Request request, Session session, Event event)
userWrapper
- The profile wrapper of the userrequest
- The request objectsession
- The session objectevent
- The event objectMethod Detail |
---|
public Object getProperty(String propertySetType, String propertySet, String propertyName) throws IllegalArgumentException
getProperty
in interface PropertyProvider
propertySetType
- the type of property set (user, request,
session, event).propertySet
- the name of the property set.propertyName
- the name of the property.
IllegalArgumentException
- if an arg is invalid or the
PropertyProvider isn't configured for the specified args.
|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |