|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.messaging.ra.ConnectionFactoryProperties
org.jboss.messaging.ra.inflow.JBMActivationSpec
public class JBMActivationSpec
The activation spec These properties are set on the MDB ActivactionProperties
Field Summary | |
---|---|
java.lang.String |
strConnectionParameters
|
Constructor Summary | |
---|---|
JBMActivationSpec()
Constructor |
Method Summary | |
---|---|
java.lang.String |
getAcknowledgeMode()
Get the acknowledge mode |
int |
getAcknowledgeModeInt()
|
java.lang.String |
getConnectionParameters()
|
java.lang.String |
getDestination()
Get the destination |
java.lang.String |
getDestinationType()
Get the destination type |
java.lang.Integer |
getMaxMessages()
Get the numer of max messages |
int |
getMaxMessagesInt()
Get the number of max messages |
java.lang.Integer |
getMaxSession()
Get the number of max session |
int |
getMaxSessionInt()
Get the number of max session |
java.lang.String |
getMessageSelector()
Get the message selector |
java.lang.Integer |
getMinSession()
Get the number of min session |
int |
getMinSessionInt()
Get the number of min session |
java.util.Map<java.lang.String,java.lang.Object> |
getParsedConnectionParameters()
|
java.lang.String |
getPassword()
Get the password |
javax.resource.spi.ResourceAdapter |
getResourceAdapter()
Get the resource adapter |
java.lang.String |
getSubscriptionDurability()
Get the subscription durability |
java.lang.String |
getSubscriptionName()
Get the subscription name |
java.lang.Integer |
getTransactionTimeout()
Get the transaction timeout |
java.lang.String |
getUser()
Get the user |
boolean |
isSubscriptionDurable()
Get the status of subscription durability |
boolean |
isUseJNDI()
|
java.lang.Boolean |
isUseLocalTx()
|
void |
setAcknowledgeMode(java.lang.String value)
Set the acknowledge mode |
void |
setConnectionParameters(java.lang.String configuration)
|
void |
setDestination(java.lang.String value)
Set the destination |
void |
setDestinationType(java.lang.String value)
Set the destination type |
void |
setDLQJNDIName(java.lang.String name)
|
void |
setDLQMaxResent(int maxResent)
|
void |
setMaxMessages(java.lang.Integer value)
Set the numer of max messages |
void |
setMaxSession(java.lang.Integer value)
Set the number of max session |
void |
setMessageSelector(java.lang.String value)
Set the message selector |
void |
setMinSession(java.lang.Integer value)
Set the number of min session |
void |
setPassword(java.lang.String value)
Set the password |
void |
setProviderAdapterJNDI(java.lang.String jndi)
|
void |
setResourceAdapter(javax.resource.spi.ResourceAdapter ra)
Set the resource adapter |
void |
setSubscriptionDurability(java.lang.String value)
Set the subscription durability |
void |
setSubscriptionName(java.lang.String value)
Set the subscription name |
void |
setTransactionTimeout(java.lang.Integer value)
Set the transaction timeout |
void |
setUseDLQ(boolean b)
|
void |
setUseJNDI(boolean value)
|
void |
setUseLocalTx(java.lang.Boolean localTx)
|
void |
setUser(java.lang.String value)
Set the user |
java.lang.String |
toString()
Get a string representation |
void |
validate()
Validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public java.lang.String strConnectionParameters
Constructor Detail |
---|
public JBMActivationSpec()
Method Detail |
---|
public javax.resource.spi.ResourceAdapter getResourceAdapter()
getResourceAdapter
in interface javax.resource.spi.ResourceAdapterAssociation
public boolean isUseJNDI()
public void setUseJNDI(boolean value)
value
- the useJNDI to setpublic void setResourceAdapter(javax.resource.spi.ResourceAdapter ra) throws javax.resource.ResourceException
setResourceAdapter
in interface javax.resource.spi.ResourceAdapterAssociation
ra
- The resource adapter
javax.resource.ResourceException
- Thrown if incorrect resource adapterpublic java.lang.String getDestination()
public void setDestination(java.lang.String value)
value
- The valuepublic java.lang.String getDestinationType()
public void setDestinationType(java.lang.String value)
value
- The valuepublic java.lang.String getMessageSelector()
public void setMessageSelector(java.lang.String value)
value
- The valuepublic java.lang.String getAcknowledgeMode()
public void setAcknowledgeMode(java.lang.String value)
value
- The valuepublic int getAcknowledgeModeInt()
public java.lang.String getSubscriptionDurability()
public void setSubscriptionDurability(java.lang.String value)
value
- The valuepublic boolean isSubscriptionDurable()
public java.lang.String getSubscriptionName()
public void setSubscriptionName(java.lang.String value)
value
- The valuepublic java.lang.String getUser()
public void setUser(java.lang.String value)
value
- The valuepublic java.lang.String getPassword()
public void setPassword(java.lang.String value)
value
- The valuepublic java.lang.Integer getMaxMessages()
public void setMaxMessages(java.lang.Integer value)
value
- The valuepublic int getMaxMessagesInt()
public java.lang.Integer getMinSession()
public void setMinSession(java.lang.Integer value)
value
- The valuepublic int getMinSessionInt()
public java.lang.Integer getMaxSession()
public void setMaxSession(java.lang.Integer value)
value
- The valuepublic int getMaxSessionInt()
public java.lang.Integer getTransactionTimeout()
public void setTransactionTimeout(java.lang.Integer value)
value
- The valuepublic java.lang.Boolean isUseLocalTx()
public void setUseLocalTx(java.lang.Boolean localTx)
public void validate() throws javax.resource.spi.InvalidPropertyException
validate
in interface javax.resource.spi.ActivationSpec
javax.resource.spi.InvalidPropertyException
- Thrown if a validation exception occurspublic java.lang.String getConnectionParameters()
public java.util.Map<java.lang.String,java.lang.Object> getParsedConnectionParameters()
getParsedConnectionParameters
in class ConnectionFactoryProperties
public void setConnectionParameters(java.lang.String configuration)
public java.lang.String toString()
toString
in class java.lang.Object
public void setUseDLQ(boolean b)
public void setDLQJNDIName(java.lang.String name)
public void setDLQMaxResent(int maxResent)
public void setProviderAdapterJNDI(java.lang.String jndi)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |