public class HK2IntoGuiceBridge
extends com.google.inject.AbstractModule
Constructor and Description |
---|
HK2IntoGuiceBridge(ServiceLocator locator)
Creates the
HK2IntoGuiceBridge TypeLocator that must
be bound into the Module with a call to bindListener. |
Modifier and Type | Method and Description |
---|---|
protected void |
configure() |
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
public HK2IntoGuiceBridge(ServiceLocator locator)
HK2IntoGuiceBridge
TypeLocator that must
be bound into the Module with a call to bindListener. The
ServiceLocator will be consulted at this time for any types
Guice cannot find. If this type is found in the ServiceLocator
then that service will be instantiated by hk2locator
- The non-null locator that should be used to discover
servicesCopyright © 2009-2017, Oracle and/or its affiliates. All Rights Reserved.