org.apache.activemq.ra
Class ActiveMQConnectionRequestInfo

java.lang.Object
  extended by org.apache.activemq.ra.ActiveMQConnectionRequestInfo
All Implemented Interfaces:
Serializable, Cloneable, ConnectionRequestInfo

public class ActiveMQConnectionRequestInfo
extends Object
implements ConnectionRequestInfo, Serializable, Cloneable

Must override equals and hashCode (JCA spec 16.4)

See Also:
Serialized Form

Constructor Summary
ActiveMQConnectionRequestInfo()
           
 
Method Summary
 void configure(ActiveMQConnectionFactory factory)
          Configures the given connection factory
 ActiveMQConnectionRequestInfo copy()
           
 boolean equals(Object o)
           
 String getClientid()
           
 Integer getDurableTopicPrefetch()
           
 Long getInitialRedeliveryDelay()
           
 Integer getInputStreamPrefetch()
           
 Integer getMaximumRedeliveries()
           
 Long getMaximumRedeliveryDelay()
           
 Integer getOptimizeDurableTopicPrefetch()
           
 String getPassword()
           
 Integer getQueueBrowserPrefetch()
           
 Integer getQueuePrefetch()
           
 Double getRedeliveryBackOffMultiplier()
           
 Boolean getRedeliveryUseExponentialBackOff()
           
 String getServerUrl()
           
 Integer getTopicPrefetch()
           
 Boolean getUseInboundSession()
           
 String getUserName()
           
 int hashCode()
           
 boolean isConnectionFactoryConfigured()
          Returns true if this object will configure an ActiveMQConnectionFactory in any way
 boolean isUseInboundSessionEnabled()
           
 ActiveMQPrefetchPolicy prefetchPolicy()
          Returns the prefetch policy; not using bean properties to avoid breaking compatibility with JCA configuration in J2EE
 RedeliveryPolicy redeliveryPolicy()
          Returns the redelivery policy; not using bean properties to avoid breaking compatibility with JCA configuration in J2EE
 void setAllPrefetchValues(Integer i)
           
 void setClientid(String clientid)
           
 void setDurableTopicPrefetch(Integer durableTopicPrefetch)
           
 void setInitialRedeliveryDelay(Long value)
           
 void setInputStreamPrefetch(Integer inputStreamPrefetch)
           
 void setMaximumRedeliveries(Integer value)
           
 void setMaximumRedeliveryDelay(Long value)
           
 void setOptimizeDurableTopicPrefetch(Integer optimizeDurableTopicPrefetch)
           
 void setPassword(String password)
           
 void setQueueBrowserPrefetch(Integer queueBrowserPrefetch)
           
 void setQueuePrefetch(Integer queuePrefetch)
           
 void setRedeliveryBackOffMultiplier(Double value)
           
 void setRedeliveryUseExponentialBackOff(Boolean value)
           
 void setServerUrl(String url)
           
 void setTopicPrefetch(Integer topicPrefetch)
           
 void setUseInboundSession(Boolean useInboundSession)
           
 void setUserName(String userid)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ActiveMQConnectionRequestInfo

public ActiveMQConnectionRequestInfo()
Method Detail

copy

public ActiveMQConnectionRequestInfo copy()

isConnectionFactoryConfigured

public boolean isConnectionFactoryConfigured()
Returns true if this object will configure an ActiveMQConnectionFactory in any way


configure

public void configure(ActiveMQConnectionFactory factory)
Configures the given connection factory


hashCode

public int hashCode()
Specified by:
hashCode in interface ConnectionRequestInfo
Overrides:
hashCode in class Object
See Also:
ConnectionRequestInfo.hashCode()

equals

public boolean equals(Object o)
Specified by:
equals in interface ConnectionRequestInfo
Overrides:
equals in class Object
See Also:
ConnectionRequestInfo.equals(java.lang.Object)

getServerUrl

public String getServerUrl()
Returns:
Returns the url.

setServerUrl

public void setServerUrl(String url)
Parameters:
url - The url to set.

getPassword

public String getPassword()
Returns:
Returns the password.

setPassword

public void setPassword(String password)
Parameters:
password - The password to set.

getUserName

public String getUserName()
Returns:
Returns the userid.

setUserName

public void setUserName(String userid)
Parameters:
userid - The userid to set.

getClientid

public String getClientid()
Returns:
Returns the clientid.

setClientid

public void setClientid(String clientid)
Parameters:
clientid - The clientid to set.

toString

public String toString()
Overrides:
toString in class Object

getUseInboundSession

public Boolean getUseInboundSession()

setUseInboundSession

public void setUseInboundSession(Boolean useInboundSession)

isUseInboundSessionEnabled

public boolean isUseInboundSessionEnabled()

getRedeliveryBackOffMultiplier

public Double getRedeliveryBackOffMultiplier()

getInitialRedeliveryDelay

public Long getInitialRedeliveryDelay()

getMaximumRedeliveryDelay

public Long getMaximumRedeliveryDelay()

getMaximumRedeliveries

public Integer getMaximumRedeliveries()

getRedeliveryUseExponentialBackOff

public Boolean getRedeliveryUseExponentialBackOff()

setRedeliveryBackOffMultiplier

public void setRedeliveryBackOffMultiplier(Double value)

setInitialRedeliveryDelay

public void setInitialRedeliveryDelay(Long value)

setMaximumRedeliveryDelay

public void setMaximumRedeliveryDelay(Long value)

setMaximumRedeliveries

public void setMaximumRedeliveries(Integer value)

setRedeliveryUseExponentialBackOff

public void setRedeliveryUseExponentialBackOff(Boolean value)

getDurableTopicPrefetch

public Integer getDurableTopicPrefetch()

getOptimizeDurableTopicPrefetch

public Integer getOptimizeDurableTopicPrefetch()

getInputStreamPrefetch

public Integer getInputStreamPrefetch()

getQueueBrowserPrefetch

public Integer getQueueBrowserPrefetch()

getQueuePrefetch

public Integer getQueuePrefetch()

getTopicPrefetch

public Integer getTopicPrefetch()

setAllPrefetchValues

public void setAllPrefetchValues(Integer i)

setDurableTopicPrefetch

public void setDurableTopicPrefetch(Integer durableTopicPrefetch)

setOptimizeDurableTopicPrefetch

public void setOptimizeDurableTopicPrefetch(Integer optimizeDurableTopicPrefetch)

setInputStreamPrefetch

public void setInputStreamPrefetch(Integer inputStreamPrefetch)

setQueueBrowserPrefetch

public void setQueueBrowserPrefetch(Integer queueBrowserPrefetch)

setQueuePrefetch

public void setQueuePrefetch(Integer queuePrefetch)

setTopicPrefetch

public void setTopicPrefetch(Integer topicPrefetch)

redeliveryPolicy

public RedeliveryPolicy redeliveryPolicy()
Returns the redelivery policy; not using bean properties to avoid breaking compatibility with JCA configuration in J2EE


prefetchPolicy

public ActiveMQPrefetchPolicy prefetchPolicy()
Returns the prefetch policy; not using bean properties to avoid breaking compatibility with JCA configuration in J2EE



Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.