nl.tudelft.simulation.naming.context
Class ContextUtil

java.lang.Object
  extended bynl.tudelft.simulation.naming.context.ContextUtil

public class ContextUtil
extends java.lang.Object

ContextUtility class

(c) copyright 2003 Delft University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: General Public License (GPL) , 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 java.lang.String resolveKey(java.lang.Object object)
          resolves the name of an object under which it is accessible in the context
static void unbindFromContext(java.lang.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 java.lang.String resolveKey(java.lang.Object object)
                                   throws javax.naming.NamingException
resolves the name of an object under which it is accessible in the context

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

unbindFromContext

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

Parameters:
object - the object to be removed.


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