com.fc.taglibs.castor
Class CastorTransactionTag

java.lang.Object
  |
  +--javax.servlet.jsp.tagext.TagSupport
        |
        +--javax.servlet.jsp.tagext.BodyTagSupport
              |
              +--com.fc.taglibs.castor.CastorTransactionTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, CastorTransactionInitiator, javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag, javax.servlet.jsp.tagext.TryCatchFinally

public class CastorTransactionTag
extends javax.servlet.jsp.tagext.BodyTagSupport
implements javax.servlet.jsp.tagext.TryCatchFinally, CastorTransactionInitiator

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
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
CastorTransactionTag()
           
 
Method Summary
 void doCatch(java.lang.Throwable q)
           
 int doEndTag()
           
 void doFinally()
           
 int doStartTag()
          Do the start tag bit
 org.exolab.castor.jdo.Database getDatabase()
          For the CastorTransactionInitiator interface Must be able to return the database to any nested tags
 void setJdoName(java.lang.String _jdoName)
          Set the JDO name
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, 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
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Constructor Detail

CastorTransactionTag

public CastorTransactionTag()
Method Detail

setJdoName

public void setJdoName(java.lang.String _jdoName)
Set the JDO name

getDatabase

public org.exolab.castor.jdo.Database getDatabase()
For the CastorTransactionInitiator interface Must be able to return the database to any nested tags
Specified by:
getDatabase in interface CastorTransactionInitiator

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Do the start tag bit
Overrides:
doStartTag in class javax.servlet.jsp.tagext.BodyTagSupport

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Overrides:
doEndTag in class javax.servlet.jsp.tagext.BodyTagSupport

doCatch

public void doCatch(java.lang.Throwable q)
             throws java.lang.Throwable
Specified by:
doCatch in interface javax.servlet.jsp.tagext.TryCatchFinally

doFinally

public void doFinally()
Specified by:
doFinally in interface javax.servlet.jsp.tagext.TryCatchFinally


Copyright © 2003-2003 Patrick van Kann. All Rights Reserved.