org.apache.taglibs.jms
Class MessageOperationTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byorg.apache.taglibs.jms.AbstractTag
          extended byorg.apache.taglibs.jms.MessageOperationTag
All Implemented Interfaces:
ConnectionContext, javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag
Direct Known Subclasses:
ReceiveTag, SendTag

public abstract class MessageOperationTag
extends AbstractTag
implements ConnectionContext

An abstract base class for JMS Message operation tags such as send, receive or call.

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
MessageOperationTag()
           
 
Method Summary
protected  org.apache.commons.messenger.Messenger findConnection()
           
 org.apache.commons.messenger.Messenger getConnection()
           
 javax.jms.Destination getDestination()
           
 void release()
           
 void setConnection(org.apache.commons.messenger.Messenger connection)
           
 void setDestination(javax.jms.Destination destination)
           
 
Methods inherited from class org.apache.taglibs.jms.AbstractTag
handleException
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, doStartTag, 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

MessageOperationTag

public MessageOperationTag()
Method Detail

release

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

getConnection

public org.apache.commons.messenger.Messenger getConnection()
                                                     throws javax.servlet.jsp.JspException,
                                                            javax.jms.JMSException
Specified by:
getConnection in interface ConnectionContext
Throws:
javax.servlet.jsp.JspException
javax.jms.JMSException

setConnection

public void setConnection(org.apache.commons.messenger.Messenger connection)

getDestination

public javax.jms.Destination getDestination()

setDestination

public void setDestination(javax.jms.Destination destination)

findConnection

protected org.apache.commons.messenger.Messenger findConnection()
                                                         throws javax.servlet.jsp.JspException,
                                                                javax.jms.JMSException
Throws:
javax.servlet.jsp.JspException
javax.jms.JMSException


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