com.latencybusters.jms
Class LBMConnectionFactory

java.lang.Object
  extended by com.latencybusters.jms.LBMConnectionFactory
All Implemented Interfaces:
java.io.Serializable, javax.jms.ConnectionFactory, javax.jms.QueueConnectionFactory, javax.jms.TopicConnectionFactory, javax.naming.Referenceable, javax.naming.spi.ObjectFactory

public class LBMConnectionFactory
extends java.lang.Object
implements javax.naming.Referenceable, java.io.Serializable, javax.naming.spi.ObjectFactory, javax.jms.TopicConnectionFactory, javax.jms.QueueConnectionFactory

See Also:
Serialized Form

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

UME

public static final java.lang.String UME
See Also:
Constant Field Values

UMQ

public static final java.lang.String UMQ
See Also:
Constant Field Values

LBM

public static final java.lang.String LBM
See Also:
Constant Field Values

DEFAULT_MESSAGE_TYPE

public static final java.lang.String DEFAULT_MESSAGE_TYPE
See Also:
Constant Field Values

USE_APP_HEADER

public static final java.lang.String USE_APP_HEADER
See Also:
Constant Field Values

USE_INDEX_QUEUING

public static final java.lang.String USE_INDEX_QUEUING
See Also:
Constant Field Values

DEFAULT_TOPIC_TYPE

public static final java.lang.String DEFAULT_TOPIC_TYPE
See Also:
Constant Field Values

DEFAULT_TEMP_TOPIC_TYPE

public static final java.lang.String DEFAULT_TEMP_TOPIC_TYPE
See Also:
Constant Field Values

CLIENT_ID

public static final java.lang.String CLIENT_ID
See Also:
Constant Field Values

DEBUG

public static final java.lang.String DEBUG
See Also:
Constant Field Values

CREATE_QUEUE_BROWSER_CONTEXT

public static final java.lang.String CREATE_QUEUE_BROWSER_CONTEXT
See Also:
Constant Field Values

QUEUE_BROWSER_TIMEOUT

public static final java.lang.String QUEUE_BROWSER_TIMEOUT
See Also:
Constant Field Values

QUEUE_BROWSER_CREATION_DELAY

public static final java.lang.String QUEUE_BROWSER_CREATION_DELAY
See Also:
Constant Field Values

RECEIVER_CREATION_DELAY

public static final java.lang.String RECEIVER_CREATION_DELAY
See Also:
Constant Field Values

SOURCE_CREATION_DELAY

public static final java.lang.String SOURCE_CREATION_DELAY
See Also:
Constant Field Values

WAIT_FOR_SOURCE_REGISTRATION

public static final java.lang.String WAIT_FOR_SOURCE_REGISTRATION
See Also:
Constant Field Values

SOURCE_REGISTRATION_TIMEOUT

public static final java.lang.String SOURCE_REGISTRATION_TIMEOUT
See Also:
Constant Field Values

USE_UMP_SESSION_IDS

public static final java.lang.String USE_UMP_SESSION_IDS
See Also:
Constant Field Values

UMM_TYPE_SERVER

public static final int UMM_TYPE_SERVER
See Also:
Constant Field Values

UMM_TYPE_FILE

public static final int UMM_TYPE_FILE
See Also:
Constant Field Values

cmap

protected static ContextMap cmap
Constructor Detail

LBMConnectionFactory

public LBMConnectionFactory()

LBMConnectionFactory

public LBMConnectionFactory(java.lang.String name,
                            java.util.Hashtable env)
Constructor used internally by UMMCtx to create LBMConnectionFactory objects during a lookup

Parameters:
name - connection factory name
env - additional configuration properties

LBMConnectionFactory

public 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

Parameters:
name - connection factory name
env - additional configuration properties
props - the props returned from the xml file

LBMConnectionFactory

public LBMConnectionFactory(java.util.ArrayList<NameValue> props)
Constructor used internally by the Sun RefFSContextFactory to create LBMConnectionFactory objects during a lookup

Parameters:
props - the props returned from the .bindings file
Method Detail

setLogLevel

public static void setLogLevel(java.util.logging.Level level)

getLogLevel

public static java.util.logging.Level getLogLevel()

createTopicConnection

public LBMTopicConnection createTopicConnection(java.lang.String appid)
                                         throws javax.jms.IllegalStateException,
                                                javax.jms.JMSException
Throws:
javax.jms.IllegalStateException
javax.jms.JMSException

createTopicConnection

public LBMTopicConnection createTopicConnection()
                                         throws javax.jms.IllegalStateException,
                                                javax.jms.JMSException
Specified by:
createTopicConnection in interface javax.jms.TopicConnectionFactory
Throws:
javax.jms.IllegalStateException
javax.jms.JMSException

createTopicConnection

public javax.jms.TopicConnection createTopicConnection(java.lang.String userName,
                                                       java.lang.String password)
                                                throws javax.jms.JMSException
The username and password are ignored in this version of the API.

Specified by:
createTopicConnection in interface javax.jms.TopicConnectionFactory
Throws:
javax.jms.JMSException

createQueueConnection

public LBMQueueConnection createQueueConnection()
                                         throws javax.jms.IllegalStateException,
                                                javax.jms.JMSException
Specified by:
createQueueConnection in interface javax.jms.QueueConnectionFactory
Throws:
javax.jms.IllegalStateException
javax.jms.JMSException

createQueueConnection

public javax.jms.QueueConnection createQueueConnection(java.lang.String userName,
                                                       java.lang.String password)
                                                throws javax.jms.JMSException
Specified by:
createQueueConnection in interface javax.jms.QueueConnectionFactory
Throws:
javax.jms.JMSException

createConnection

public javax.jms.Connection createConnection()
                                      throws javax.jms.JMSException
Specified by:
createConnection in interface javax.jms.ConnectionFactory
Throws:
javax.jms.JMSException

createConnection

public javax.jms.Connection createConnection(java.lang.String userName,
                                             java.lang.String password)
                                      throws javax.jms.JMSException
Specified by:
createConnection in interface javax.jms.ConnectionFactory
Throws:
javax.jms.JMSException

close

public static void close(com.latencybusters.lbm.LBMContext con)

getReference

public javax.naming.Reference getReference()
                                    throws javax.naming.NamingException
This is an internal Method.

Specified by:
getReference in interface javax.naming.Referenceable
Throws:
javax.naming.NamingException

getObjectInstance

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
This is an internal Method.

Specified by:
getObjectInstance in interface javax.naming.spi.ObjectFactory
Throws:
java.lang.Exception

getProps

public java.util.ArrayList<NameValue> getProps()
This is an internal Method.


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

setProps

public void setProps(java.util.ArrayList<NameValue> props)
This is an internal Method.


getId

public java.lang.String getId()
Returns:
the ID


All of the documentation and software included in this and any other Informatica, Inc. "Ultra Messaging" Release is Copyright (C) 2004-2014, Informatica Corporation. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted only as covered by the terms of a valid software license agreement with Informatica Inc. Copyright © 2004-2014, Informatica, Inc. All Rights Reserved.