Class UserTransactionFactory

  • All Implemented Interfaces:
    ObjectFactory

    public class UserTransactionFactory
    extends Object
    implements ObjectFactory
    Factory for producing the UserTransactionImpl objects.
    Version:
    1.0 Feb 09, 1999
    Author:
    Ram Jeyaraman
    • Constructor Detail

      • UserTransactionFactory

        public UserTransactionFactory()
    • Method Detail

      • getObjectInstance

        public Object getObjectInstance​(Object refObj,
                                        Name name,
                                        Context nameCtx,
                                        Hashtable env)
                                 throws Exception
        Specified by:
        getObjectInstance in interface 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:
        Exception - if this object factory encountered an exception while attempting to create an object.