|
© 2004 BEA Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bea.p13n.servlets.jsp.TagSupportHelper
A class that provides P13N helper methods for P13N JSP custom tag handler classes.
| Constructor Summary | |
TagSupportHelper()
|
|
| Method Summary | |
static AdviceRequest |
createAdviceRequest(PageContext pageContext,
String uri,
String identifier)
Populates a new AdviceRequest with the following:
The current HTTP Request The current HTTP Session The current User A new TimeInstant A new Time A new Date |
static Advisor |
createAdvisor()
Creates an Advisor EJB instance. |
static ProfileWrapper |
getUserProfile(HttpServletRequest httpRequest)
Returns a ProfileWrapper for the current user. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TagSupportHelper()
| Method Detail |
public static AdviceRequest createAdviceRequest(PageContext pageContext,
String uri,
String identifier)
throws JspException
AdviceRequest with the following:
pageContext - The PageContext.uri - the URI for the AdviceRequest - this will correspond to the
URI prefix of a deployed Advislet.identifier - the identifier for this request to the Advisor.
AdviceRequest instance.
JspException - if an error occurrs during creation of
an AdviceRequest.AdviceRequest
public static Advisor createAdvisor()
throws JspException
Advisor EJB instance.
JspException - if an error occurrs during creation of
an Advisor.Advisor
public static ProfileWrapper getUserProfile(HttpServletRequest httpRequest)
throws JspException
ProfileWrapper for the current user. This
method first tries to retrieve a previously cached profile. If
one cannot be found, a new ProfileWrapper is created
for the current user ID. If the user ID is not initialized, an
anonymous profile is returned.
ProfileWrapper for the current user.
JspException - on profile retrieval error.
|
© 2004 BEA Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||