|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.perfectjpattern.jee.business.servicelocator.ServiceLocator
public final class ServiceLocator
Generic componentized implementation of IServiceLocator. Provides
concrete IServiceLocator implementations with reusable JNDI service
lookup and Services caching.
Note that all initial properties are loaded from the jndi.properties
file
![]() |
![]() |
| Method Summary | ||
|---|---|---|
static IServiceLocator |
getInstance()
Returns Singleton instance of IServiceLocator |
|
|
locate(String aName)
Returns the matching Service found |
|
void |
shutdown()
Shutdown IServiceLocator and releases resources |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static IServiceLocator getInstance()
IServiceLocator
IServiceLocator
public <S> S locate(String aName)
throws IllegalArgumentException
locate in interface IServiceLocatoraName - Name of Service to lookup
IllegalArgumentException
public void shutdown()
throws ServiceLocatorException
IServiceLocator and releases resources
shutdown in interface IServiceLocatorServiceLocatorException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||