public interface ServiceLocator
When multiple projects are used, locator must be passed around to resolve appropriate service.
Custom classes can be resolved if their dependencies can be satisfied.
| Modifier and Type | Method and Description |
|---|---|
<T> T |
resolve(java.lang.Class<T> clazz)
Resolve a service registered in the locator.
|