com.bea.p13n.servlets.jsp
Class TagSupport

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by com.bea.p13n.servlets.jsp.TagSupport
Direct Known Subclasses:
CatalogSelectorTag, ContentTagSupport

public class TagSupport
extends javax.servlet.jsp.tagext.TagSupport

A helper class for P13N JSP custom tags with no body.


Constructor Summary
TagSupport()
           
 
Method Summary
protected  AdviceRequest createAdviceRequest(String uri, String identifier)
          Creates a new AdviceRequest.
protected  Advisor createAdvisor()
          Creates an Advisor EJB instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TagSupport

public TagSupport()
Method Detail

createAdvisor

protected Advisor createAdvisor()
                         throws JspException
Creates an Advisor EJB instance.

Returns
An Advisor
Throws
JspException - if an error occurrs during creation of an Advisor.
See Also
Advisor

createAdviceRequest

protected AdviceRequest createAdviceRequest(String uri,
                                            String identifier)
                                     throws JspException
Creates a new AdviceRequest.

Parameters
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.
Returns
a new AdviceRequest instance.
Throws
JspException - if an error occurrs during creation of an AdviceRequest.
See Also
AdviceRequest


Copyright © 2006 BEA Systems, Inc. All Rights Reserved