Class JmsConnectionFactoryBuilder

All Implemented Interfaces:

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

$Revision: 1.2 $ $Date: 2005/03/18 03:36:37 $
Jim Alateras, Tim Anderson
See Also:
JmsConnectionFactory, JmsXAConnectionFactory

Constructor Summary
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

Constructor Detail


public JmsConnectionFactoryBuilder()
Method Detail


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
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
the object created oird null if an object can't be created.
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.