@Contract public interface Binder
ServiceLocatorUtilities.bind(org.glassfish.hk2.api.ServiceLocator, Binder...)
method in order to add (or remove) services to a ServiceLocator. This is useful when you have sets of related services to
add into the locatorModifier and Type | Method and Description |
---|---|
void |
bind(DynamicConfiguration config)
This method will be called by the
ServiceLocatorUtilities.bind(org.glassfish.hk2.api.ServiceLocator, Binder...) method for each
binder given. |
void bind(DynamicConfiguration config)
ServiceLocatorUtilities.bind(org.glassfish.hk2.api.ServiceLocator, Binder...)
method for each
binder given. All of the updates will be committed as one commit operation.config
- The non-null config to bind service references intoCopyright © 2013 Oracle Corporation. All Rights Reserved.