Overview | Package | Class | Tree | Serialized | Deprecated | Index | Help
| SolarMetric Kodo JDO 2.4.3 generated on March 27 2003
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.solarmetric.modules.jndi
Class ContextFactory

    java.lang.Object
      |
      +--com.solarmetric.modules.jndi.ContextFactory

public class ContextFactory
extends Object

The ContextFactory gives application components a static interface to the ContextProvider in use, as specified by the context-provider property (named in the System properties or in the preferences file). If no such property exists, the default behavior is to return a new InitialContext, relying on the standard JNDI configuration for proper context initialization. If supplied, a concrete ContextProvider must have a no-args constructor. It will be instantiated once and cached for repeated use.

Constructor Summary
`ContextFactory()`

Method Summary
`static Context` | `getContext()` This method returns an instance of a Context by delegating the work to the cached ContextProvider.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ContextFactory

    public ContextFactory()

Method Detail

### getContext

    public static Context getContext()

  This method returns an instance of a Context by delegating the work to the cached ContextProvider.

Overview | Package | Class | Tree | Serialized | Deprecated | Index | Help
| SolarMetric Kodo JDO 2.4.3 generated on March 27 2003
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright 2001,2002 SolarMetric, Inc. All Rights Reserved.