| Constructor and Description |
|---|
ServiceLocator() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
lookup(Class<T> classToLookup)
Performs a lookup of the service identified by the name of the supplied classToLookup.
|
public <T> T lookup(Class<T> classToLookup)
T - The type of the service to lookup.classToLookup - The class of the service to lookup.ServiceLocatorException - When the service could not be located.Copyright © 2008–2017. All rights reserved.