org.jpu.patterns.serviceLocator.onePerContext
Class DataSourceLocator

java.lang.Object
  extended byorg.jpu.patterns.serviceLocator.Locator
      extended byorg.jpu.patterns.serviceLocator.DataSourceLocator
          extended byorg.jpu.patterns.serviceLocator.onePerContext.DataSourceLocator
All Implemented Interfaces:
IDataSourceLocator, ILocator

public class DataSourceLocator
extends DataSourceLocator

Extends the version in org.jpu.patterns.serviceLocator and adds OnePerContextManager support along with associated public getInstance() methods.


Nested Class Summary
 
Nested classes inherited from class org.jpu.patterns.serviceLocator.Locator
Locator.DefaultIdentifierParser, Locator.DefaultLookupStrategy, Locator.DefaultNarrowStrategy, Locator.NullCache
 
Nested classes inherited from class org.jpu.patterns.serviceLocator.ILocator
ILocator.ICache, ILocator.IIdentifierParser, ILocator.ILookupStrategy, ILocator.INarrowStrategy
 
Constructor Summary
DataSourceLocator()
           
 
Method Summary
static IDataSourceLocator getInstance()
           
static IDataSourceLocator getInstance(java.lang.Object ctx)
           
 
Methods inherited from class org.jpu.patterns.serviceLocator.DataSourceLocator
getDataSource, getDataSource, getDataSource, getDefaultCast
 
Methods inherited from class org.jpu.patterns.serviceLocator.Locator
clearCache, getCache, getLookupStrategy, getNarrowStrategy, getObject, getObject, getObject, lookup, narrow, narrow, newCache, newIdentifier, newLookupStrategy, newNarrowStrategy, removeFromCache, setCache, setLookupStrategy, setNarrowStrategy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jpu.patterns.serviceLocator.ILocator
clearCache, getCache, getLookupStrategy, getNarrowStrategy, getObject, getObject, getObject, narrow, narrow, newCache, newLookupStrategy, newNarrowStrategy, removeFromCache, setCache, setLookupStrategy, setNarrowStrategy
 

Constructor Detail

DataSourceLocator

public DataSourceLocator()
Method Detail

getInstance

public static IDataSourceLocator getInstance()

getInstance

public static IDataSourceLocator getInstance(java.lang.Object ctx)


Copyright (c) 2001-2003 - Apache Software Foundation