Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| org.openide.loaders 5.9.22
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.openide.loaders
Class Environment

    java.lang.Object
      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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| org.openide.loaders 5.9.22
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Built on December 7 2006. | Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.