nl.tudelft.simulation.naming.context
Class ContextUtil

java.lang.Object
  extended by nl.tudelft.simulation.naming.context.ContextUtil

public class ContextUtil
extends Object

ContextUtility class

(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.

Since:
1.0
Version:
1.2 2004-03-24
Author:
Peter Jacobs

Constructor Summary
protected ContextUtil()
          constructs a new ContextUtil
 
Method Summary
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextUtil

protected ContextUtil()
constructs a new ContextUtil

Method Detail

resolveKey

public static String resolveKey(Object object)
                         throws NamingException
resolves the name of an object under which it is accessible in the context

Parameters:
object - the object
Returns:
String
Throws:
NamingException - whenever the object cannot be found

unbindFromContext

public static void unbindFromContext(Object object)
unbinds an object from the context

Parameters:
object - the object to be removed.


Copyright © 2002-2011 Delft University of Technology, the Netherlands. All Rights Reserved.