public final class ServiceLocatorImpl extends DocumentWorkerObjectImpl implements ServiceLocator
application| Constructor and Description |
|---|
ServiceLocatorImpl(ApplicationImpl application) |
| Modifier and Type | Method and Description |
|---|---|
<S> S |
getService(Class<S> service) |
<S> void |
register(Class<S> service,
S serviceProvider) |
getApplicationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetApplicationpublic ServiceLocatorImpl(ApplicationImpl application)
public <S> void register(Class<S> service, S serviceProvider)
public <S> S getService(Class<S> service)
getService in interface ServiceLocatorCopyright © 2016–2021 EntIT Software LLC, a Micro Focus company. All rights reserved.