|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.latencybusters.jms.LBMConnectionFactory
public class LBMConnectionFactory
Field Summary | |
---|---|
static java.lang.String |
CLIENT_ID
|
protected static ContextMap |
cmap
|
static java.lang.String |
CREATE_QUEUE_BROWSER_CONTEXT
|
static java.lang.String |
DEBUG
|
static java.lang.String |
DEFAULT_MESSAGE_TYPE
|
static java.lang.String |
DEFAULT_TEMP_TOPIC_TYPE
|
static java.lang.String |
DEFAULT_TOPIC_TYPE
|
static java.lang.String |
LBM
|
static java.lang.String |
QUEUE_BROWSER_CREATION_DELAY
|
static java.lang.String |
QUEUE_BROWSER_TIMEOUT
|
static java.lang.String |
RECEIVER_CREATION_DELAY
|
static java.lang.String |
SOURCE_CREATION_DELAY
|
static java.lang.String |
SOURCE_REGISTRATION_TIMEOUT
|
static java.lang.String |
UME
|
static int |
UMM_TYPE_FILE
|
static int |
UMM_TYPE_SERVER
|
static java.lang.String |
UMQ
|
static java.lang.String |
USE_APP_HEADER
|
static java.lang.String |
USE_INDEX_QUEUING
|
static java.lang.String |
USE_UMP_SESSION_IDS
|
static java.lang.String |
WAIT_FOR_SOURCE_REGISTRATION
|
Constructor Summary | |
---|---|
LBMConnectionFactory()
|
|
LBMConnectionFactory(java.util.ArrayList<NameValue> props)
Constructor used internally by the Sun RefFSContextFactory to create LBMConnectionFactory objects during a lookup |
|
LBMConnectionFactory(java.lang.String name,
java.util.Hashtable env)
Constructor used internally by UMMCtx to create LBMConnectionFactory objects during a lookup |
|
LBMConnectionFactory(java.lang.String name,
java.util.Hashtable env,
java.util.ArrayList<NameValue> props)
Constructor used internally by LBMXmlContextFactory to create LBMConnectionFactory objects during a lookup |
Method Summary | |
---|---|
static void |
close(com.latencybusters.lbm.LBMContext con)
|
javax.jms.Connection |
createConnection()
|
javax.jms.Connection |
createConnection(java.lang.String userName,
java.lang.String password)
|
LBMQueueConnection |
createQueueConnection()
|
javax.jms.QueueConnection |
createQueueConnection(java.lang.String userName,
java.lang.String password)
|
LBMTopicConnection |
createTopicConnection()
|
LBMTopicConnection |
createTopicConnection(java.lang.String appid)
|
javax.jms.TopicConnection |
createTopicConnection(java.lang.String userName,
java.lang.String password)
The username and password are ignored in this version of the API. |
java.lang.String |
getId()
|
static java.util.logging.Level |
getLogLevel()
|
java.lang.Object |
getObjectInstance(java.lang.Object obj,
javax.naming.Name name,
javax.naming.Context nameCtx,
java.util.Hashtable<?,?> environment)
This is an internal Method. |
java.util.ArrayList<NameValue> |
getProps()
This is an internal Method. |
javax.naming.Reference |
getReference()
This is an internal Method. |
static void |
setLogLevel(java.util.logging.Level level)
|
void |
setProps(java.util.ArrayList<NameValue> props)
This is an internal Method. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String UME
public static final java.lang.String UMQ
public static final java.lang.String LBM
public static final java.lang.String DEFAULT_MESSAGE_TYPE
public static final java.lang.String USE_APP_HEADER
public static final java.lang.String USE_INDEX_QUEUING
public static final java.lang.String DEFAULT_TOPIC_TYPE
public static final java.lang.String DEFAULT_TEMP_TOPIC_TYPE
public static final java.lang.String CLIENT_ID
public static final java.lang.String DEBUG
public static final java.lang.String CREATE_QUEUE_BROWSER_CONTEXT
public static final java.lang.String QUEUE_BROWSER_TIMEOUT
public static final java.lang.String QUEUE_BROWSER_CREATION_DELAY
public static final java.lang.String RECEIVER_CREATION_DELAY
public static final java.lang.String SOURCE_CREATION_DELAY
public static final java.lang.String WAIT_FOR_SOURCE_REGISTRATION
public static final java.lang.String SOURCE_REGISTRATION_TIMEOUT
public static final java.lang.String USE_UMP_SESSION_IDS
public static final int UMM_TYPE_SERVER
public static final int UMM_TYPE_FILE
protected static ContextMap cmap
Constructor Detail |
---|
public LBMConnectionFactory()
public LBMConnectionFactory(java.lang.String name, java.util.Hashtable env)
name
- connection factory nameenv
- additional configuration propertiespublic LBMConnectionFactory(java.lang.String name, java.util.Hashtable env, java.util.ArrayList<NameValue> props)
name
- connection factory nameenv
- additional configuration propertiesprops
- the props returned from the xml filepublic LBMConnectionFactory(java.util.ArrayList<NameValue> props)
props
- the props returned from the .bindings fileMethod Detail |
---|
public static void setLogLevel(java.util.logging.Level level)
public static java.util.logging.Level getLogLevel()
public LBMTopicConnection createTopicConnection(java.lang.String appid) throws javax.jms.IllegalStateException, javax.jms.JMSException
javax.jms.IllegalStateException
javax.jms.JMSException
public LBMTopicConnection createTopicConnection() throws javax.jms.IllegalStateException, javax.jms.JMSException
createTopicConnection
in interface javax.jms.TopicConnectionFactory
javax.jms.IllegalStateException
javax.jms.JMSException
public javax.jms.TopicConnection createTopicConnection(java.lang.String userName, java.lang.String password) throws javax.jms.JMSException
createTopicConnection
in interface javax.jms.TopicConnectionFactory
javax.jms.JMSException
public LBMQueueConnection createQueueConnection() throws javax.jms.IllegalStateException, javax.jms.JMSException
createQueueConnection
in interface javax.jms.QueueConnectionFactory
javax.jms.IllegalStateException
javax.jms.JMSException
public javax.jms.QueueConnection createQueueConnection(java.lang.String userName, java.lang.String password) throws javax.jms.JMSException
createQueueConnection
in interface javax.jms.QueueConnectionFactory
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(java.lang.String userName, java.lang.String password) throws javax.jms.JMSException
createConnection
in interface javax.jms.ConnectionFactory
javax.jms.JMSException
public static void close(com.latencybusters.lbm.LBMContext con)
public javax.naming.Reference getReference() throws javax.naming.NamingException
getReference
in interface javax.naming.Referenceable
javax.naming.NamingException
public java.lang.Object getObjectInstance(java.lang.Object obj, javax.naming.Name name, javax.naming.Context nameCtx, java.util.Hashtable<?,?> environment) throws java.lang.Exception
getObjectInstance
in interface javax.naming.spi.ObjectFactory
java.lang.Exception
public java.util.ArrayList<NameValue> getProps()
public java.lang.String toString()
toString
in class java.lang.Object
public void setProps(java.util.ArrayList<NameValue> props)
public java.lang.String getId()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |