|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.j_spaces.jms.GSConnectionFactoryImpl com.j_spaces.jms.GSQueueConnectionFactoryImpl
public class GSQueueConnectionFactoryImpl
GigaSpaces implementation of the
javax.jms.QueueConnectionFactory
interface.
This class is responsible for finding a GigaSpace IJSpace using the SpaceFinder and a url.
It also creates LocalTransactionManager and ParserManager instances.
Field Summary |
---|
Fields inherited from class com.j_spaces.jms.GSConnectionFactoryImpl |
---|
QUEUE_CONNECTION_FAC, TOPIC_CONNECTION_FAC, XAQUEUE_CONNECTION_FAC, XATOPIC_CONNECTION_FAC |
Constructor Summary | |
---|---|
GSQueueConnectionFactoryImpl()
Constructs a default GSQueueConnectionFactoryImpl . |
|
GSQueueConnectionFactoryImpl(String spaceURL,
IJSpace space)
Constructs a GSQueueConnectionFactoryImpl . |
|
GSQueueConnectionFactoryImpl(String spaceURL,
int connFactoryType,
IJSpace space)
Constructs a GSQueueConnectionFactoryImpl . |
Method Summary | |
---|---|
QueueConnection |
createQueueConnection()
API method implementaion Creates Queue Connection: - Sets the client ID - Sets a unique connection key |
QueueConnection |
createQueueConnection(String userName,
String password)
API method implementaion which in addition to the createQueueConnection(), also check the username and password for authorization with the SecurityContext. |
Methods inherited from class com.j_spaces.jms.GSConnectionFactoryImpl |
---|
createConnection, createConnection, createXAConnection, createXAConnection, getAdmin, getCnxCounter, getLocalTransactionManager, getSpaceURL, initializeConnFactoryServices, pingSpace |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.jms.ConnectionFactory |
---|
createConnection, createConnection |
Constructor Detail |
---|
public GSQueueConnectionFactoryImpl(String spaceURL, IJSpace space) throws JMSException
GSQueueConnectionFactoryImpl
.
spaceURL
- logInstance
-
JMSException
public GSQueueConnectionFactoryImpl(String spaceURL, int connFactoryType, IJSpace space) throws JMSException
GSQueueConnectionFactoryImpl
.
spaceURL
- logInstance
- connFactoryType
-
JMSException
public GSQueueConnectionFactoryImpl() throws JMSException
GSQueueConnectionFactoryImpl
.
JMSException
Method Detail |
---|
public QueueConnection createQueueConnection() throws JMSException
createQueueConnection
in interface QueueConnectionFactory
JMSException
QueueConnectionFactory.createQueueConnection()
public QueueConnection createQueueConnection(String userName, String password) throws JMSException
createQueueConnection
in interface QueueConnectionFactory
userName
- password
-
JMSException
- (JMSSecurityException) if the secured space authontication
failed, or the requested space is not secured, or the the
user or password are not valid.QueueConnectionFactory.createQueueConnection(java.lang.String,
java.lang.String)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |