T - contract type.public class ServiceFinderBinder<T>
extends org.glassfish.hk2.utilities.binding.AbstractBinder
ServiceFinder
and registers found instances to ServiceLocator.| 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() |
addActiveDescriptor, addActiveDescriptor, addActiveDescriptor, addActiveFactoryDescriptor, addUnbindFilter, bind, bind, bind, bind, bind, bind, bind, bindAsContract, bindAsContract, bindFactory, bindFactory, bindFactory, commit, installpublic 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.Copyright © 2007-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.