| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
S - Service typepublic interface IServiceLocator
Service Locator Pattern: Centralizes distributed service object 
 lookups, provides a centralized point of control, and may act as a cache 
 that eliminates redundant lookups. It also encapsulates any vendor-
 specific features of the lookup process. 
 
 
 Responsibility Abstract definition of the "Service Locator": 
 
 

| Method Summary | ||
|---|---|---|
| 
 | locate(String aName)Returns the matching Service found | |
|  void | shutdown()Shutdown IServiceLocatorand releases resources | |
| Method Detail | 
|---|
<S> S locate(String aName)
         throws IllegalArgumentException
aName - Name of Service to lookup
IllegalArgumentExceptionvoid shutdown()
IServiceLocator and releases resources
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||