|
|||||||||
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.GSTopicConnectionFactoryImpl
public class GSTopicConnectionFactoryImpl
GigaSpaces implementation of the
javax.jms.TopicConnectionFactory
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 | |
---|---|
GSTopicConnectionFactoryImpl()
Constructs a default GSTopicConnectionFactoryImpl . |
|
GSTopicConnectionFactoryImpl(String spaceURL,
IJSpace space)
Constructs an GSTopicConnectionFactoryImpl . |
|
GSTopicConnectionFactoryImpl(String spaceURL,
int connFactoryType,
IJSpace space)
Constructs an GSTopicConnectionFactoryImpl . |
Method Summary | |
---|---|
TopicConnection |
createTopicConnection()
API method implementaion Creates Topic Connection: - Sets the client ID - Sets a unique connection key |
TopicConnection |
createTopicConnection(String userName,
String password)
API method implementaion which in addition to the createTopicConnection(), 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 GSTopicConnectionFactoryImpl(String spaceURL, IJSpace space) throws JMSException
GSTopicConnectionFactoryImpl
.
spaceURL
- logInstance
-
JMSException
public GSTopicConnectionFactoryImpl(String spaceURL, int connFactoryType, IJSpace space) throws JMSException
GSTopicConnectionFactoryImpl
.
spaceURL
- logInstance
- connFactoryType
-
JMSException
public GSTopicConnectionFactoryImpl() throws JMSException
GSTopicConnectionFactoryImpl
.
JMSException
Method Detail |
---|
public TopicConnection createTopicConnection() throws JMSException
createTopicConnection
in interface TopicConnectionFactory
JMSException
TopicConnectionFactory.createTopicConnection()
public TopicConnection createTopicConnection(String userName, String password) throws JMSException
createTopicConnection
in interface TopicConnectionFactory
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.TopicConnectionFactory.createTopicConnection(java.lang.String,
java.lang.String)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |