org.apache.taglibs.jms
Class ConnectionTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byorg.apache.taglibs.jms.AbstractTag
          extended byorg.apache.taglibs.jms.ConnectionTag
All Implemented Interfaces:
ConnectionContext, javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class ConnectionTag
extends AbstractTag
implements ConnectionContext

Defines a JMS connection for use by other JMS tags.

Version:
$Revision$
Author:
James Strachan
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
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
ConnectionTag()
           
 
Method Summary
 int doStartTag()
           
 org.apache.commons.messenger.Messenger getConnection()
           
 void release()
           
 void setName(java.lang.String name)
          Sets the name of the Destination
 void setVar(java.lang.String var)
          Sets the variable name to use for the Destination
 
Methods inherited from class org.apache.taglibs.jms.AbstractTag
handleException
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, 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

ConnectionTag

public ConnectionTag()
Method Detail

getConnection

public org.apache.commons.messenger.Messenger getConnection()
Specified by:
getConnection in interface ConnectionContext

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Throws:
javax.servlet.jsp.JspException

release

public void release()
Specified by:
release in interface javax.servlet.jsp.tagext.Tag

setName

public void setName(java.lang.String name)
Sets the name of the Destination


setVar

public void setVar(java.lang.String var)
Sets the variable name to use for the Destination



Copyright ? 2000-2004 The Apache Software Foundation. All Rights Reserved.