| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc --> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>JMSConnectionFactory (Apache Axis2)</title> |
| <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> |
| <script type="text/javascript" src="../../../../../script.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="JMSConnectionFactory (Apache Axis2)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/JMSConnectionFactory.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../org/apache/axis2/transport/jms/AxisJMSException.html" title="class in org.apache.axis2.transport.jms"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../../org/apache/axis2/transport/jms/JMSConnectionFactoryManager.html" title="class in org.apache.axis2.transport.jms"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/axis2/transport/jms/JMSConnectionFactory.html" target="_top">Frames</a></li> |
| <li><a href="JMSConnectionFactory.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.apache.axis2.transport.jms</div> |
| <h2 title="Class JMSConnectionFactory" class="title">Class JMSConnectionFactory</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.axis2.transport.jms.JMSConnectionFactory</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <hr> |
| <br> |
| <pre>public class <span class="typeNameLabel">JMSConnectionFactory</span> |
| extends <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre> |
| <div class="block">Encapsulate a JMS Connection factory definition within an Axis2.xml |
| |
| JMS Connection Factory definitions, allows JNDI properties as well as other service |
| level parameters to be defined, and re-used by each service that binds to it |
| |
| When used for sending messages out, the JMSConnectionFactory'ies are able to cache |
| a Connection, Session or Producer</div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/axis2/transport/jms/JMSConnectionFactory.html#JMSConnectionFactory-org.apache.axis2.description.Parameter-">JMSConnectionFactory</a></span>(<a href="../../../../../org/apache/axis2/description/Parameter.html" title="class in org.apache.axis2.description">Parameter</a> parameter)</code> |
| <div class="block">Digest a JMS CF definition from an axis2.xml 'Parameter' and construct</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/axis2/transport/jms/JMSConnectionFactory.html#getCacheLevel--">getCacheLevel</a></span>()</code> |
| <div class="block">Cache level applicable for this JMS CF</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>javax.jms.Connection</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/axis2/transport/jms/JMSConnectionFactory.html#getConnection--">getConnection</a></span>()</code> |
| <div class="block">Get a new Connection or shared Connection from this JMS CF</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/javax/naming/Context.html?is-external=true" title="class or interface in javax.naming">Context</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/axis2/transport/jms/JMSConnectionFactory.html#getContext--">getContext</a></span>()</code> |
| <div class="block">Get cached InitialContext</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>javax.jms.Destination</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/axis2/transport/jms/JMSConnectionFactory.html#getDestination-java.lang.String-java.lang.String-">getDestination</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> destinationName, |
| <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> destinationType)</code> |
| <div class="block">Lookup a Destination using this JMS CF definitions and JNDI name</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>javax.jms.MessageProducer</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/axis2/transport/jms/JMSConnectionFactory.html#getMessageProducer-javax.jms.Connection-javax.jms.Session-javax.jms.Destination-">getMessageProducer</a></span>(javax.jms.Connection connection, |
| javax.jms.Session session, |
| javax.jms.Destination destination)</code> |
| <div class="block">Get a new MessageProducer or shared MessageProducer from this JMS CF</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/axis2/transport/jms/JMSConnectionFactory.html#getName--">getName</a></span>()</code> |
| <div class="block">Return the name assigned to this JMS CF definition</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/util/Hashtable.html?is-external=true" title="class or interface in java.util">Hashtable</a><<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/axis2/transport/jms/JMSConnectionFactory.html#getParameters--">getParameters</a></span>()</code> |
| <div class="block">The list of properties (including JNDI and non-JNDI)</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/axis2/transport/jms/JMSConnectionFactory.html#getReplyDestinationType--">getReplyDestinationType</a></span>()</code> |
| <div class="block">Get the reply destination type from the PARAM_REPLY_DEST_TYPE parameter</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/axis2/transport/jms/JMSConnectionFactory.html#getReplyToDestination--">getReplyToDestination</a></span>()</code> |
| <div class="block">Get the reply Destination from the PARAM_REPLY_DESTINATION parameter</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>javax.jms.Session</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/axis2/transport/jms/JMSConnectionFactory.html#getSession-javax.jms.Connection-">getSession</a></span>(javax.jms.Connection connection)</code> |
| <div class="block">Get a new Session or shared Session from this JMS CF</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>javax.jms.Destination</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/axis2/transport/jms/JMSConnectionFactory.html#getSharedDestination--">getSharedDestination</a></span>()</code> |
| <div class="block">Get the shared Destination - if defined</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/axis2/transport/jms/JMSConnectionFactory.html#isJmsSpec11--">isJmsSpec11</a></span>()</code> |
| <div class="block">Should the JMS 1.1 API be used?</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/axis2/transport/jms/JMSConnectionFactory.html#isQueue--">isQueue</a></span>()</code> |
| <div class="block">Return the type of the JMS CF Destination</div> |
| </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/axis2/transport/jms/JMSConnectionFactory.html#stop--">stop</a></span>()</code> |
| <div class="block">Close all connections, sessions etc.. and stop this connection factory</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> |
| <code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="JMSConnectionFactory-org.apache.axis2.description.Parameter-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>JMSConnectionFactory</h4> |
| <pre>public JMSConnectionFactory(<a href="../../../../../org/apache/axis2/description/Parameter.html" title="class in org.apache.axis2.description">Parameter</a> parameter)</pre> |
| <div class="block">Digest a JMS CF definition from an axis2.xml 'Parameter' and construct</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>parameter</code> - the axis2.xml 'Parameter' that defined the JMS CF</dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="stop--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>stop</h4> |
| <pre>public void stop()</pre> |
| <div class="block">Close all connections, sessions etc.. and stop this connection factory</div> |
| </li> |
| </ul> |
| <a name="getName--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getName</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getName()</pre> |
| <div class="block">Return the name assigned to this JMS CF definition</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>name of the JMS CF</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getParameters--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getParameters</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/7/docs/api/java/util/Hashtable.html?is-external=true" title="class or interface in java.util">Hashtable</a><<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> getParameters()</pre> |
| <div class="block">The list of properties (including JNDI and non-JNDI)</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>properties defined on the JMS CF</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getContext--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getContext</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/7/docs/api/javax/naming/Context.html?is-external=true" title="class or interface in javax.naming">Context</a> getContext()</pre> |
| <div class="block">Get cached InitialContext</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>cache InitialContext</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getCacheLevel--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getCacheLevel</h4> |
| <pre>public int getCacheLevel()</pre> |
| <div class="block">Cache level applicable for this JMS CF</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>applicable cache level</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getSharedDestination--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSharedDestination</h4> |
| <pre>public javax.jms.Destination getSharedDestination()</pre> |
| <div class="block">Get the shared Destination - if defined</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| </dl> |
| </li> |
| </ul> |
| <a name="getDestination-java.lang.String-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getDestination</h4> |
| <pre>public javax.jms.Destination getDestination(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> destinationName, |
| <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> destinationType)</pre> |
| <div class="block">Lookup a Destination using this JMS CF definitions and JNDI name</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>destinationName</code> - JNDI name of the Destionation</dd> |
| <dd><code>destinationType</code> - looking up destination type</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>JMS Destination for the given JNDI name or null</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getReplyToDestination--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getReplyToDestination</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getReplyToDestination()</pre> |
| <div class="block">Get the reply Destination from the PARAM_REPLY_DESTINATION parameter</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>reply destination defined in the JMS CF</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getReplyDestinationType--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getReplyDestinationType</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getReplyDestinationType()</pre> |
| <div class="block">Get the reply destination type from the PARAM_REPLY_DEST_TYPE parameter</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>reply destination defined in the JMS CF</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isJmsSpec11--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isJmsSpec11</h4> |
| <pre>public boolean isJmsSpec11()</pre> |
| <div class="block">Should the JMS 1.1 API be used? - defaults to yes</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>true, if JMS 1.1 api should be used</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isQueue--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isQueue</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> isQueue()</pre> |
| <div class="block">Return the type of the JMS CF Destination</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>TRUE if a Queue, FALSE for a Topic and NULL for a JMS 1.1 Generic Destination</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getConnection--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getConnection</h4> |
| <pre>public javax.jms.Connection getConnection()</pre> |
| <div class="block">Get a new Connection or shared Connection from this JMS CF</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>new or shared Connection from this JMS CF</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getSession-javax.jms.Connection-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSession</h4> |
| <pre>public javax.jms.Session getSession(javax.jms.Connection connection)</pre> |
| <div class="block">Get a new Session or shared Session from this JMS CF</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>connection</code> - the Connection to be used</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>new or shared Session from this JMS CF</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getMessageProducer-javax.jms.Connection-javax.jms.Session-javax.jms.Destination-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>getMessageProducer</h4> |
| <pre>public javax.jms.MessageProducer getMessageProducer(javax.jms.Connection connection, |
| javax.jms.Session session, |
| javax.jms.Destination destination)</pre> |
| <div class="block">Get a new MessageProducer or shared MessageProducer from this JMS CF</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>connection</code> - the Connection to be used</dd> |
| <dd><code>session</code> - the Session to be used</dd> |
| <dd><code>destination</code> - the Destination to bind MessageProducer to</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>new or shared MessageProducer from this JMS CF</dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/JMSConnectionFactory.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../org/apache/axis2/transport/jms/AxisJMSException.html" title="class in org.apache.axis2.transport.jms"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../../org/apache/axis2/transport/jms/JMSConnectionFactoryManager.html" title="class in org.apache.axis2.transport.jms"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/axis2/transport/jms/JMSConnectionFactory.html" target="_top">Frames</a></li> |
| <li><a href="JMSConnectionFactory.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Copyright © <a href="https://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.</small></p> |
| </body> |
| </html> |