public class ContextUtil extends Object
(c) copyright 2002-2005 Delft
University of Technology , the Netherlands.
See for project information
www.simulation.tudelft.nl
License of use: Lesser
General Public License (LGPL) , no warranty.
Modifier | Constructor and Description |
---|---|
protected |
ContextUtil()
constructs a new ContextUtil
|
Modifier and Type | Method and Description |
---|---|
static String |
resolveKey(Object object)
resolves the name of an object under which it is accessible in the
context
|
static void |
unbindFromContext(Object object)
unbinds an object from the context
|
public static String resolveKey(Object object) throws NamingException
object
- the objectNamingException
- whenever the object cannot be foundpublic static void unbindFromContext(Object object)
object
- the object to be removed.Copyright © 2002-2012 Delft University of Technology, the Netherlands. All Rights Reserved.