| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.j_spaces.jms.GSConnectionFactoryImpl
public class GSConnectionFactoryImpl
Implements the javax.jms.ConnectionFactory interface.
 
 It also in charge of the following:
 - Finding a SpaceProxy according to te provided space url.
 - Generating connection id's.
 - Managing the gigaspaces space urls used by the jms connections.
 - Create LocalTransactionManager instance.
 - Creates the ParserManager for selector usage.
| Constructor Summary | |
|---|---|
GSConnectionFactoryImpl(IJSpace space)
 | 
|
GSConnectionFactoryImpl(IJSpace space,
                        IMessageConverter messageConverter)
 | 
|
GSConnectionFactoryImpl(String spaceURL,
                        IJSpace space)
Constructor Internal Constructor which is used by the LookupManager to bind initially the connection factory.  | 
|
| Method Summary | |
|---|---|
 Connection | 
createConnection()
JMS API method  | 
 Connection | 
createConnection(String userName,
                 String password)
JMS API method  | 
 QueueConnection | 
createQueueConnection()
 | 
 QueueConnection | 
createQueueConnection(String userName,
                      String password)
 | 
 TopicConnection | 
createTopicConnection()
 | 
 TopicConnection | 
createTopicConnection(String userName,
                      String password)
 | 
 GSJMSAdmin | 
getAdmin()
 | 
 int | 
getCnxCounter()
 | 
 TransactionManager | 
getDistributedTransactionManager()
 | 
 TransactionManager | 
getLocalTransactionManager()
 | 
 String | 
getSpaceURL()
 | 
 boolean | 
pingSpace()
Checks whether the space is alive and accessible.  | 
| Methods inherited from class java.lang.Object | 
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public GSConnectionFactoryImpl(String spaceURL,
                               IJSpace space)
                        throws JMSException
spaceURL - logger - connFacType - space - 
JMSException
public GSConnectionFactoryImpl(IJSpace space)
                        throws JMSException
JMSException
public GSConnectionFactoryImpl(IJSpace space,
                               IMessageConverter messageConverter)
                        throws JMSException
JMSException| Method Detail | 
|---|
public boolean pingSpace()
public String getSpaceURL()
public Connection createConnection()
                            throws JMSException
createConnection in interface ConnectionFactoryJMSExceptionConnectionFactory.createConnection()
public Connection createConnection(String userName,
                                   String password)
                            throws JMSException
createConnection in interface ConnectionFactoryJMSExceptionConnectionFactory.createConnection(String, String)public int getCnxCounter()
public GSJMSAdmin getAdmin()
                    throws JMSException
JMSException
public TransactionManager getLocalTransactionManager()
                                              throws JMSException
JMSException
public TransactionManager getDistributedTransactionManager()
                                                    throws JMSException
JMSException
public QueueConnection createQueueConnection()
                                      throws JMSException
createQueueConnection in interface QueueConnectionFactoryJMSExceptionQueueConnectionFactory.createQueueConnection()
public QueueConnection createQueueConnection(String userName,
                                             String password)
                                      throws JMSException
createQueueConnection in interface QueueConnectionFactoryJMSExceptionQueueConnectionFactory.createQueueConnection(String, String)
public TopicConnection createTopicConnection()
                                      throws JMSException
createTopicConnection in interface TopicConnectionFactoryJMSExceptionTopicConnectionFactory.createTopicConnection()
public TopicConnection createTopicConnection(String userName,
                                             String password)
                                      throws JMSException
createTopicConnection in interface TopicConnectionFactoryJMSExceptionTopicConnectionFactory.createTopicConnection(String, String)
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||