© 2001 BEA Systems, Inc.


com.bea.p13n.servlets.jsp
Class BodyTagSupport

java.lang.Object
  |
  +--javax.servlet.jsp.tagext.TagSupport
        |
        +--javax.servlet.jsp.tagext.BodyTagSupport
              |
              +--com.bea.p13n.servlets.jsp.BodyTagSupport
Direct Known Subclasses:
DivTag

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

A helper class for P13N JSP custom tags with body.

See Also:
Serialized Form

Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Constructor Summary
BodyTagSupport()
           
 
Method Summary
protected  AdviceRequest createAdviceRequest(java.lang.String uri, java.lang.String identifier)
          Creates a new AdviceRequest.
protected  Advisor createAdvisor()
          Creates an Advisor EJB instance.
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doEndTag, doInitBody, doStartTag, getBodyContent, getPreviousOut, release, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BodyTagSupport

public BodyTagSupport()
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(java.lang.String uri,
                                            java.lang.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

© 2001 BEA Systems, Inc.

Copyright © 2001 BEA Systems, Inc. All Rights Reserved