public class GSConnectionFactoryImpl extends Object implements javax.jms.ConnectionFactory, javax.jms.QueueConnectionFactory, javax.jms.TopicConnectionFactory, Externalizable, Remote
javax.jms.ConnectionFactory
interface.Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
_logger |
Constructor and Description |
---|
GSConnectionFactoryImpl()
Required for Externalizable
|
GSConnectionFactoryImpl(IJSpace space,
IMessageConverter messageConverter) |
Modifier and Type | Method and Description |
---|---|
javax.jms.Connection |
createConnection() |
javax.jms.Connection |
createConnection(String userName,
String password) |
javax.jms.QueueConnection |
createQueueConnection() |
javax.jms.QueueConnection |
createQueueConnection(String userName,
String password) |
javax.jms.TopicConnection |
createTopicConnection() |
javax.jms.TopicConnection |
createTopicConnection(String userName,
String password) |
protected GSJMSAdmin |
getAdmin() |
TransactionManager |
getDistributedTransactionManager() |
TransactionManager |
getLocalTransactionManager() |
protected IMessageConverter |
getMessageConverter() |
protected IJSpace |
getSpace() |
protected String |
getSpaceName() |
protected SpaceURL |
getSpaceURL() |
protected String |
nextCnxKey()
According to the m_connFactoryType we decide what would be the connection key prefix.
|
void |
readExternal(ObjectInput in) |
protected void |
setSpaceSecurityContext(String username,
String password) |
void |
writeExternal(ObjectOutput out) |
public GSConnectionFactoryImpl()
public GSConnectionFactoryImpl(IJSpace space, IMessageConverter messageConverter) throws javax.jms.JMSException
javax.jms.JMSException
protected IMessageConverter getMessageConverter()
protected IJSpace getSpace()
protected String getSpaceName()
protected SpaceURL getSpaceURL()
protected GSJMSAdmin getAdmin() throws javax.jms.JMSException
javax.jms.JMSException
protected void setSpaceSecurityContext(String username, String password) throws javax.jms.JMSException
javax.jms.JMSException
protected String nextCnxKey()
public TransactionManager getLocalTransactionManager() throws javax.jms.JMSException
javax.jms.JMSException
public TransactionManager getDistributedTransactionManager() throws javax.jms.JMSException
javax.jms.JMSException
public javax.jms.Connection createConnection() throws javax.jms.JMSException
createConnection
in interface javax.jms.ConnectionFactory
javax.jms.JMSException
public javax.jms.Connection createConnection(String userName, String password) throws javax.jms.JMSException
createConnection
in interface javax.jms.ConnectionFactory
javax.jms.JMSException
public javax.jms.QueueConnection createQueueConnection() throws javax.jms.JMSException
createQueueConnection
in interface javax.jms.QueueConnectionFactory
javax.jms.JMSException
public javax.jms.QueueConnection createQueueConnection(String userName, String password) throws javax.jms.JMSException
createQueueConnection
in interface javax.jms.QueueConnectionFactory
javax.jms.JMSException
public javax.jms.TopicConnection createTopicConnection() throws javax.jms.JMSException
createTopicConnection
in interface javax.jms.TopicConnectionFactory
javax.jms.JMSException
public javax.jms.TopicConnection createTopicConnection(String userName, String password) throws javax.jms.JMSException
createTopicConnection
in interface javax.jms.TopicConnectionFactory
javax.jms.JMSException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
Copyright © GigaSpaces.