com.atomikos.util
Class IntraVmObjectFactory

java.lang.Object
  extended by com.atomikos.util.IntraVmObjectFactory
All Implemented Interfaces:
ObjectFactory

public class IntraVmObjectFactory
extends Object
implements ObjectFactory

An intra-VM object factory. Objects registered in the IntraVmObjectRegistry can be restored from a reference with the help of this factory.


Constructor Summary
IntraVmObjectFactory()
           
 
Method Summary
static Reference createReference(Serializable object, String name)
           
 Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable environment)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntraVmObjectFactory

public IntraVmObjectFactory()
Method Detail

createReference

public static Reference createReference(Serializable object,
                                        String name)
                                 throws NamingException
Throws:
NamingException

getObjectInstance

public Object getObjectInstance(Object obj,
                                Name name,
                                Context nameCtx,
                                Hashtable environment)
                         throws Exception
Specified by:
getObjectInstance in interface ObjectFactory
Throws:
Exception


Copyright © 2011. All Rights Reserved.