org.exolab.jms.client
Class JmsConnectionFactoryBuilder
java.lang.Object
|
+--org.exolab.jms.client.JmsConnectionFactoryBuilder
- All Implemented Interfaces:
- javax.naming.spi.ObjectFactory
- public class JmsConnectionFactoryBuilder
- extends java.lang.Object
- implements javax.naming.spi.ObjectFactory
Implementation of the ObjectFactory
interface that creates JmsConnectionFactory
instances given a corresponding Reference
- Version:
- $Revision: 1.2 $ $Date: 2005/03/18 03:36:37 $
- Author:
- Jim Alateras, Tim Anderson
- See Also:
JmsConnectionFactory
,
JmsXAConnectionFactory
Method Summary |
java.lang.Object |
getObjectInstance(java.lang.Object object,
javax.naming.Name name,
javax.naming.Context context,
java.util.Hashtable environment)
Creates an object using the location or reference information specified. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JmsConnectionFactoryBuilder
public JmsConnectionFactoryBuilder()
getObjectInstance
public java.lang.Object getObjectInstance(java.lang.Object object,
javax.naming.Name name,
javax.naming.Context context,
java.util.Hashtable environment)
throws java.lang.Exception
- Creates an object using the location or reference information specified.
This only constructs
- Specified by:
getObjectInstance
in interface javax.naming.spi.ObjectFactory
- Parameters:
object
- the object containing location or reference
information that can be used in creating an object.
May be null
name
- the name of this object relative to context
,
or null
if no name is specified.context
- the context relative to which the name
parameter is specified, or null
if
name
is relative to the default initial
context.environment
- the environment used in creating the object. May be
null
- Returns:
- the object created oird
null
if an object can't be
created. - Throws:
java.lang.Exception
- if this object factory encountered an exception while
attempting to create an object, and no other object
factories are to be tried.
Copyright © 1999-2007 The OpenJMS Group. All Rights Reserved.