org.dbforms.taglib
Class DbGetConnection

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by org.dbforms.taglib.TagSupportWithScriptHandler
              extended by org.dbforms.taglib.DbGetConnection
All Implemented Interfaces:
Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.Tag, javax.servlet.jsp.tagext.TryCatchFinally

public class DbGetConnection
extends TagSupportWithScriptHandler
implements javax.servlet.jsp.tagext.TryCatchFinally

Grunikiewicz.philip 2001-12-18 Obtain a connection (from the connection pool) using same settings defined in dbForms-config.xml file

See Also:
Serialized Form

Field Summary
 
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
DbGetConnection()
           
 
Method Summary
 void doCatch(Throwable t)
           
 int doEndTag()
          DOCUMENT ME!
 void doFinally()
          DOCUMENT ME!
 int doStartTag()
          DOCUMENT ME!
 Connection getConn()
          DOCUMENT ME!
 String getDbConnectionName()
          DOCUMENT ME!
 void setConn(Connection connection)
          DOCUMENT ME!
 void setDbConnectionName(String name)
          DOCUMENT ME!
 
Methods inherited from class org.dbforms.taglib.TagSupportWithScriptHandler
getAccessKey, getConfig, getOnBlur, getOnChange, getOnClick, getOnDblClick, getOnFocus, getOnKeyDown, getOnKeyPress, getOnKeyUp, getOnMouseDown, getOnMouseMove, getOnMouseOut, getOnMouseOver, getOnMouseUp, getOnSelect, getStyle, getStyleClass, getTabIndex, getTitle, prepareEventHandlers, prepareStyles, setAccessKey, setOnBlur, setOnChange, setOnClick, setOnDblClick, setOnFocus, setOnKeyDown, setOnKeyPress, setOnKeyUp, setOnMouseDown, setOnMouseMove, setOnMouseOut, setOnMouseOver, setOnMouseUp, setOnSelect, setStyle, setStyleClass, setTabIndex, setTitle
 
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

DbGetConnection

public DbGetConnection()
Method Detail

setConn

public void setConn(Connection connection)
DOCUMENT ME!

Parameters:
connection -

getConn

public Connection getConn()
DOCUMENT ME!

Returns:

setDbConnectionName

public void setDbConnectionName(String name)
DOCUMENT ME!

Parameters:
name - DOCUMENT ME!

getDbConnectionName

public String getDbConnectionName()
DOCUMENT ME!

Returns:
DOCUMENT ME!

doCatch

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

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
DOCUMENT ME!

Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class javax.servlet.jsp.tagext.BodyTagSupport
Returns:
DOCUMENT ME!
Throws:
javax.servlet.jsp.JspException - DOCUMENT ME!
javax.servlet.jsp.JspException - DOCUMENT ME!

doFinally

public void doFinally()
DOCUMENT ME!

Specified by:
doFinally in interface javax.servlet.jsp.tagext.TryCatchFinally
Overrides:
doFinally in class TagSupportWithScriptHandler
See Also:
TryCatchFinally.doFinally()

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
DOCUMENT ME!

Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class javax.servlet.jsp.tagext.BodyTagSupport
Returns:
DOCUMENT ME!
Throws:
javax.servlet.jsp.JspException - DOCUMENT ME!
IllegalArgumentException - DOCUMENT ME!


Copyright © 2002-2005 DbForms. All Rights Reserved.