com.atomikos.util
Class IntraVmObjectRegistry

java.lang.Object
  extended by com.atomikos.util.IntraVmObjectRegistry

public class IntraVmObjectRegistry
extends Object

An intra-VM object registry for reconstructing Objects from references.

Author:
lorban

Constructor Summary
IntraVmObjectRegistry()
           
 
Method Summary
static void addResource(String resourceName, Object resource)
           
static Object getResource(String resourceName)
           
static void removeResource(String resourceName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntraVmObjectRegistry

public IntraVmObjectRegistry()
Method Detail

addResource

public static void addResource(String resourceName,
                               Object resource)
                        throws NameAlreadyBoundException
Throws:
NameAlreadyBoundException

getResource

public static Object getResource(String resourceName)
                          throws NameNotFoundException
Throws:
NameNotFoundException

removeResource

public static void removeResource(String resourceName)
                           throws NameNotFoundException
Throws:
NameNotFoundException


Copyright © 2011. All Rights Reserved.