java.lang.Object
org.jvnet.hk2.spring.bridge.api.SpringBridge
org.jvnet.hk2.spring.bridge.internal.SpringBridgeImpl

public class SpringBridgeImpl extends SpringBridge
Author:
jwells
  • Constructor Details

    • SpringBridgeImpl

      public SpringBridgeImpl()
  • Method Details

    • initializeSpringBridge

      public void initializeSpringBridge(org.glassfish.hk2.api.ServiceLocator locator) throws org.glassfish.hk2.api.MultiException
      Description copied from class: SpringBridge
      This method will initialize the given service locator for use with the Spring/HK2 bridge. It adds into the service locator an implementation of SpringIntoHK2Bridge and also the custom scope needed for Spring services. This method is idempotent, in that if these services have already been added to the service locator they will not be added again
      Specified by:
      initializeSpringBridge in class SpringBridge
      Parameters:
      locator - A non-null locator to use with the Spring/HK2 bridge
      Throws:
      org.glassfish.hk2.api.MultiException - On failure