com.sun.jts.jta
Class UserTransactionFactory

java.lang.Object
  extended by com.sun.jts.jta.UserTransactionFactory
All Implemented Interfaces:
javax.naming.spi.ObjectFactory

public class UserTransactionFactory
extends java.lang.Object
implements javax.naming.spi.ObjectFactory

Factory for producing the UserTransactionImpl objects.

Version:
1.0 Feb 09, 1999
Author:
Ram Jeyaraman

Constructor Summary
UserTransactionFactory()
           
 
Method Summary
 java.lang.Object getObjectInstance(java.lang.Object refObj, javax.naming.Name name, javax.naming.Context nameCtx, java.util.Hashtable env)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserTransactionFactory

public UserTransactionFactory()
Method Detail

getObjectInstance

public java.lang.Object getObjectInstance(java.lang.Object refObj,
                                          javax.naming.Name name,
                                          javax.naming.Context nameCtx,
                                          java.util.Hashtable env)
                                   throws java.lang.Exception
Specified by:
getObjectInstance in interface javax.naming.spi.ObjectFactory
Parameters:
obj - Reference information that can be used in creating an object.
name - of this object relative to nameCtx (optional).
nameCtx - context relative to which the name parameter specified. If null, name is relative to the default initial context.
environment - possibly null environment used in creating the object.
Returns:
object created; null if an object cannot be created.
Throws:
java.lang.Exception - if this object factory encountered an exception while attempting to create an object.


Copyright © 2012 GlassFish Community. All Rights Reserved.