T
- contract type.public abstract class AbstractServiceFinderConfigurator<T> extends Object implements BootstrapConfigurator
ServiceFinder
and registers found instances to
InjectionManager
.Modifier | Constructor and Description |
---|---|
protected |
AbstractServiceFinderConfigurator(Class<T> contract,
javax.ws.rs.RuntimeType runtimeType)
Create a new configurator.
|
Modifier and Type | Method and Description |
---|---|
protected Class<T> |
getContract()
Mainly aimed to provide contract class to abstract classes which extends this finder
|
protected javax.ws.rs.RuntimeType |
getRuntimeType()
Mainly aimed to provide runtime type to abstract classes which extends this finder
|
protected List<Class<T>> |
loadImplementations(Map<String,Object> applicationProperties)
Load all particular implementations of the type
T using ServiceFinder . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
init, postInit
protected AbstractServiceFinderConfigurator(Class<T> contract, javax.ws.rs.RuntimeType runtimeType)
contract
- contract of the service providers bound by this binder.runtimeType
- runtime (client or server) where the service finder binder is used.protected List<Class<T>> loadImplementations(Map<String,Object> applicationProperties)
T
using ServiceFinder
.applicationProperties
- map containing application properties. May be null
T
.protected javax.ws.rs.RuntimeType getRuntimeType()
Copyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.