|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.mq.Connection
org.jboss.mq.SpyConnection
public class SpyConnection
This class implements javax.jms.QueueConnection and javax.jms.TopicConnection
| Field Summary | |
|---|---|
static int |
QUEUE
Queue |
static int |
TOPIC
Topic |
static int |
UNIFIED
Unified |
| Fields inherited from class org.jboss.mq.Connection |
|---|
clientID, clientILService, clockDaemon, connectionToken, destinationSubscriptions, modeStop, pingPeriod, ponged, serverIL, subscriptions, temps |
| Constructor Summary | |
|---|---|
SpyConnection(GenericConnectionFactory gcf)
Create a new SpyConnection |
|
SpyConnection(int type,
GenericConnectionFactory gcf)
Create a new SpyConnection |
|
SpyConnection(int type,
String userId,
String password,
GenericConnectionFactory gcf)
Create a new SpyConnection |
|
SpyConnection(String userId,
String password,
GenericConnectionFactory gcf)
Create a new SpyConnection |
|
| Method Summary | |
|---|---|
javax.jms.ConnectionConsumer |
createConnectionConsumer(javax.jms.Destination destination,
String messageSelector,
javax.jms.ServerSessionPool sessionPool,
int maxMessages)
|
javax.jms.ConnectionConsumer |
createConnectionConsumer(javax.jms.Queue queue,
String messageSelector,
javax.jms.ServerSessionPool sessionPool,
int maxMessages)
|
javax.jms.ConnectionConsumer |
createConnectionConsumer(javax.jms.Topic topic,
String messageSelector,
javax.jms.ServerSessionPool sessionPool,
int maxMessages)
|
javax.jms.ConnectionConsumer |
createDurableConnectionConsumer(javax.jms.Topic topic,
String subscriptionName,
String messageSelector,
javax.jms.ServerSessionPool sessionPool,
int maxMessages)
|
javax.jms.QueueSession |
createQueueSession(boolean transacted,
int acknowledgeMode)
|
javax.jms.Session |
createSession(boolean transacted,
int acknowledgeMode)
|
javax.jms.TopicSession |
createTopicSession(boolean transacted,
int acknowledgeMode)
|
| Methods inherited from class org.jboss.mq.Connection |
|---|
askForAnID, askForAnID, asynchClose, asynchDeleteTemporaryDestination, asynchDeliver, asynchFailure, asynchPong, authenticate, checkClientID, checkClosed, close, deleteTemporaryDestination, doStop, getClientID, getExceptionListener, getMetaData, getServerIL, getThreadGroup, send, send, setClientID, setExceptionListener, start, startILService, stop, stopILService, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface javax.jms.Connection |
|---|
close, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, start, stop |
| Methods inherited from interface javax.jms.Connection |
|---|
close, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, start, stop |
| Field Detail |
|---|
public static final int UNIFIED
public static final int QUEUE
public static final int TOPIC
| Constructor Detail |
|---|
public SpyConnection(String userId,
String password,
GenericConnectionFactory gcf)
throws javax.jms.JMSException
userId - the userpassword - the passwordgcf - the constructing class
javax.jms.JMSException - for any error
public SpyConnection(GenericConnectionFactory gcf)
throws javax.jms.JMSException
gcf - the constructing class
javax.jms.JMSException - for any error
public SpyConnection(int type,
String userId,
String password,
GenericConnectionFactory gcf)
throws javax.jms.JMSException
type - the type of connectionuserId - the userpassword - the passwordgcf - the constructing class
javax.jms.JMSException - for any error
public SpyConnection(int type,
GenericConnectionFactory gcf)
throws javax.jms.JMSException
type - the type of connectiongcf - the constructing class
javax.jms.JMSException - for any error| Method Detail |
|---|
public javax.jms.ConnectionConsumer createConnectionConsumer(javax.jms.Destination destination,
String messageSelector,
javax.jms.ServerSessionPool sessionPool,
int maxMessages)
throws javax.jms.JMSException
createConnectionConsumer in interface javax.jms.Connectionjavax.jms.JMSException
public javax.jms.Session createSession(boolean transacted,
int acknowledgeMode)
throws javax.jms.JMSException
createSession in interface javax.jms.Connectionjavax.jms.JMSException
public javax.jms.TopicSession createTopicSession(boolean transacted,
int acknowledgeMode)
throws javax.jms.JMSException
createTopicSession in interface javax.jms.TopicConnectionjavax.jms.JMSException
public javax.jms.ConnectionConsumer createConnectionConsumer(javax.jms.Topic topic,
String messageSelector,
javax.jms.ServerSessionPool sessionPool,
int maxMessages)
throws javax.jms.JMSException
createConnectionConsumer in interface javax.jms.TopicConnectionjavax.jms.JMSException
public javax.jms.ConnectionConsumer createDurableConnectionConsumer(javax.jms.Topic topic,
String subscriptionName,
String messageSelector,
javax.jms.ServerSessionPool sessionPool,
int maxMessages)
throws javax.jms.JMSException
createDurableConnectionConsumer in interface javax.jms.ConnectioncreateDurableConnectionConsumer in interface javax.jms.TopicConnectionjavax.jms.JMSException
public javax.jms.ConnectionConsumer createConnectionConsumer(javax.jms.Queue queue,
String messageSelector,
javax.jms.ServerSessionPool sessionPool,
int maxMessages)
throws javax.jms.JMSException
createConnectionConsumer in interface javax.jms.QueueConnectionjavax.jms.JMSException
public javax.jms.QueueSession createQueueSession(boolean transacted,
int acknowledgeMode)
throws javax.jms.JMSException
createQueueSession in interface javax.jms.QueueConnectionjavax.jms.JMSException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||