public class Hk2BootstrapBinder
extends org.glassfish.hk2.utilities.binding.AbstractBinder
AbstractBinder
that registers all components needed for a proper bootstrap of Jersey based on HK2 framework.Modifier and Type | Field and Description |
---|---|
private org.glassfish.hk2.api.ServiceLocator |
serviceLocator |
Constructor and Description |
---|
Hk2BootstrapBinder(org.glassfish.hk2.api.ServiceLocator serviceLocator)
Create a bootstrap which is specific for HK2 module and automatically install
externalBinder . |
Modifier and Type | Method and Description |
---|---|
protected void |
configure() |
addActiveDescriptor, addActiveDescriptor, addActiveDescriptor, addActiveFactoryDescriptor, addIdempotentFilter, addUnbindFilter, bind, bind, bind, bind, bind, bind, bind, bindAsContract, bindAsContract, bindAsContract, bindFactory, bindFactory, bindFactory, commit, install, registerTwoPhaseResources