org.openide.loaders 5.9.22

org.openide.loaders
Class Environment

java.lang.Object
  extended by org.openide.loaders.Environment

public final class Environment
extends Object

Utilities that define the "settings hierarchy".

Since:
1.9

Nested Class Summary
static interface Environment.Provider
          Cookie for objects that plan to provide environment.
 
Method Summary
static Lookup find(DataObject obj)
          Finds a lookup for given data object.
static Context findSettingsContext(DataObject obj)
          Finds a JNDI context for a given data object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

find

public static Lookup find(DataObject obj)
Finds a lookup for given data object.

Parameters:
obj - the object
Returns:
the lookup for this data object

findSettingsContext

public static Context findSettingsContext(DataObject obj)
Finds a JNDI context for a given data object.

Parameters:
obj - the data object
Returns:
the JNDI context for this data object
Since:
3.13

org.openide.loaders 5.9.22

Built on July 11 2007.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.