org.jpu.patterns.serviceLocator
Class HomeLocator

java.lang.Object
  extended byorg.jpu.patterns.serviceLocator.Locator
      extended byorg.jpu.patterns.serviceLocator.HomeLocator
All Implemented Interfaces:
IHomeLocator, ILocator
Direct Known Subclasses:
HomeLocator

public class HomeLocator
extends Locator
implements IHomeLocator

Subclass of Locator specialized for EJBHome's. See that class' documentation for more information.


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
HomeLocator()
           
 
Method Summary
 java.lang.Object getHome(java.lang.String homeNamingIdentifier)
           
 java.lang.Object getHome(java.lang.String homeNamingIdentifier, java.lang.Class c)
           
 java.lang.Object getHome(java.lang.String homeNamingIdentifier, ServiceLocatorOptions options)
           
 
Methods inherited from class org.jpu.patterns.serviceLocator.Locator
clearCache, getCache, getDefaultCast, 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, getDefaultCast, getLookupStrategy, getNarrowStrategy, getObject, getObject, getObject, narrow, narrow, newCache, newLookupStrategy, newNarrowStrategy, removeFromCache, setCache, setLookupStrategy, setNarrowStrategy
 

Constructor Detail

HomeLocator

public HomeLocator()
Method Detail

getHome

public java.lang.Object getHome(java.lang.String homeNamingIdentifier)
                         throws ServiceLocatorException
Specified by:
getHome in interface IHomeLocator
Throws:
ServiceLocatorException

getHome

public java.lang.Object getHome(java.lang.String homeNamingIdentifier,
                                java.lang.Class c)
                         throws ServiceLocatorException
Specified by:
getHome in interface IHomeLocator
Throws:
ServiceLocatorException

getHome

public java.lang.Object getHome(java.lang.String homeNamingIdentifier,
                                ServiceLocatorOptions options)
                         throws ServiceLocatorException
Specified by:
getHome in interface IHomeLocator
Throws:
ServiceLocatorException


Copyright (c) 2001-2003 - Apache Software Foundation