initializeGuiceBridge
public abstract void initializeGuiceBridge(ServiceLocator locator)
throws MultiException
This method will initialize the given service locator for use with the Guice/HK2
bridge. It adds into the service locator an implementation of GuiceIntoHK2Bridge
and also the custom scope needed for Guice services. This method is idempotent,
in that if these services have already been added to the service locator
they will not be added again
- Parameters:
locator
- A non-null locator to use with the Guice/HK2 bridge
- Throws:
MultiException
- On failure