Top Description Methods
org.glassfish.hk2.utilities

public Interface Binder

Known Direct Implementers
org.glassfish.hk2.utilities.binding.AbstractBinder
Annotations
@Contract
Imports
org.glassfish.hk2.api.DynamicConfiguration, org.jvnet.hk2.annotations.Contract

The binder is used in conjunction with the 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 locator
Author
jwells

Method Summary

Modifier and TypeMethod and Description
public void
bind(DynamicConfiguration
The non-null config to bind service references into
config
)

This method will be called by the ServiceLocatorUtilities#bind(org.glassfish.hk2.api.ServiceLocator, Binder...) method for each binder given.

Method Detail

bindback to summary
public void bind(DynamicConfiguration config)

This method will be called by the ServiceLocatorUtilities#bind(org.glassfish.hk2.api.ServiceLocator, Binder...) method for each binder given. All of the updates will be committed as one commit operation.

Parameters
config:DynamicConfiguration

The non-null config to bind service references into