SolarMetric Kodo JDO 2.5.8 generated on January 11 2004

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
(package private) static void ()
           
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

static void ()

getContext

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

SolarMetric Kodo JDO 2.5.8 generated on January 11 2004

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