com.atomikos.util
Class IntraVmObjectFactory
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IntraVmObjectFactory
public IntraVmObjectFactory()
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.