T
- contract type.public class ServiceFinderBinder<T> extends AbstractBinder
ServiceFinder
and registers found instances to InjectionManager
.Constructor and Description |
---|
ServiceFinderBinder(Class<T> contract,
Map<String,Object> applicationProperties,
RuntimeType runtimeType)
Create a new service finder injection binder.
|
Modifier and Type | Method and Description |
---|---|
protected void |
configure()
Implement to provide binding definitions using the exposed binding methods.
|
bind, bind, bind, bind, bindAsContract, bindAsContract, bindAsContract, bindFactory, bindFactory, bindFactory, createManagedInstanceProvider, getBindings, install
public ServiceFinderBinder(Class<T> contract, Map<String,Object> applicationProperties, RuntimeType runtimeType)
contract
- contract of the service providers bound by this binder.applicationProperties
- map containing application properties. May be null
.runtimeType
- runtime (client or server) where the service finder binder is used.protected void configure()
AbstractBinder
configure
in class AbstractBinder
Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.