/** * Bind all providers contained in {@code providerBag} (classes and instances) using injection manager. Configuration is * also committed. * * @param componentBag bag of provider classes and instances. * @param injectionManager injection manager the binder will use to bind the providers into. */ public static void bindProviders(final ComponentBag componentBag, final InjectionManager injectionManager) { bindProviders(componentBag, null, Collections.emptySet(), injectionManager); }
/** * Bind all providers contained in {@code providerBag} (classes and instances) using injection manager. Configuration is * also committed. * * @param componentBag bag of provider classes and instances. * @param injectionManager injection manager the binder will use to bind the providers into. */ public static void bindProviders(final ComponentBag componentBag, final InjectionManager injectionManager) { bindProviders(componentBag, null, Collections.emptySet(), injectionManager); }
ProviderBinder.bindProviders(runtimeCfgState.getComponentBag(), RuntimeType.CLIENT, null, injectionManager);
ProviderBinder.bindProviders(runtimeCfgState.getComponentBag(), RuntimeType.CLIENT, null, injectionManager);
ProviderBinder.bindProviders(runtimeCfgState.getComponentBag(), RuntimeType.CLIENT, null, injectionManager);
/** * Bind all providers contained in {@code providerBag} (classes and instances) using injection manager. Configuration is * also committed. * * @param componentBag bag of provider classes and instances. * @param injectionManager injection manager the binder will use to bind the providers into. */ public static void bindProviders(final ComponentBag componentBag, final InjectionManager injectionManager) { bindProviders(componentBag, null, Collections.emptySet(), injectionManager); }
/** * Bind all providers contained in {@code providerBag} (classes and instances) using HK2 service locator. Configuration is * also committed. * * @param componentBag bag of provider classes and instances. * @param locator HK2 service locator the binder will use to bind the providers into. */ public static void bindProviders(final ComponentBag componentBag, final ServiceLocator locator) { bindProviders(componentBag, null, Collections.<Class<?>>emptySet(), locator); }
/** * Bind all providers contained in {@code providerBag} (classes and instances) using HK2 service locator. Configuration is * also committed. * * @param componentBag bag of provider classes and instances. * @param locator HK2 service locator the binder will use to bind the providers into. */ public static void bindProviders(final ComponentBag componentBag, final ServiceLocator locator) { bindProviders(componentBag, null, Collections.<Class<?>>emptySet(), locator); }
/** * Bind all providers contained in {@code providerBag} (classes and instances) using injection manager. Configuration is * also committed. * * @param componentBag bag of provider classes and instances. * @param injectionManager injection manager the binder will use to bind the providers into. */ public static void bindProviders(final ComponentBag componentBag, final InjectionManager injectionManager) { bindProviders(componentBag, null, Collections.emptySet(), injectionManager); }
/** * Bind all providers contained in {@code providerBag} (classes and instances) using HK2 service locator. Configuration is * also committed. * * @param componentBag bag of provider classes and instances. * @param locator HK2 service locator the binder will use to bind the providers into. */ public static void bindProviders(final ComponentBag componentBag, final ServiceLocator locator) { bindProviders(componentBag, null, Collections.<Class<?>>emptySet(), locator); }
/** * Bind all providers contained in {@code providerBag} (classes and instances) using HK2 service locator. Configuration is * also committed. * * @param componentBag bag of provider classes and instances. * @param constrainedTo current runtime (client or server). * @param registeredClasses classes which are manually registered by the user (not found by the classpath scanning). * @param locator HK2 service locator the binder will use to bind the providers into. */ public static void bindProviders(final ComponentBag componentBag, final RuntimeType constrainedTo, final Set<Class<?>> registeredClasses, final ServiceLocator locator) { final DynamicConfiguration dc = Injections.getConfiguration(locator); bindProviders(componentBag, constrainedTo, registeredClasses, dc); dc.commit(); }
/** * Bind all providers contained in {@code providerBag} (classes and instances) using HK2 service locator. Configuration is * also committed. * * @param componentBag bag of provider classes and instances. * @param constrainedTo current runtime (client or server). * @param registeredClasses classes which are manually registered by the user (not found by the classpath scanning). * @param locator HK2 service locator the binder will use to bind the providers into. */ public static void bindProviders(final ComponentBag componentBag, final RuntimeType constrainedTo, final Set<Class<?>> registeredClasses, final ServiceLocator locator) { final DynamicConfiguration dc = Injections.getConfiguration(locator); bindProviders(componentBag, constrainedTo, registeredClasses, dc); dc.commit(); }
/** * Bind all providers contained in {@code providerBag} (classes and instances) using HK2 service locator. Configuration is * also committed. * * @param componentBag bag of provider classes and instances. * @param constrainedTo current runtime (client or server). * @param registeredClasses classes which are manually registered by the user (not found by the classpath scanning). * @param locator HK2 service locator the binder will use to bind the providers into. */ public static void bindProviders(final ComponentBag componentBag, final RuntimeType constrainedTo, final Set<Class<?>> registeredClasses, final ServiceLocator locator) { final DynamicConfiguration dc = Injections.getConfiguration(locator); bindProviders(componentBag, constrainedTo, registeredClasses, dc); dc.commit(); }
ProviderBinder.bindProviders(runtimeCfgState.getComponentBag(), RuntimeType.CLIENT, null, injectionManager);
ProviderBinder.bindProviders(runtimeCfgState.getComponentBag(), RuntimeType.CLIENT, null, locator);
ProviderBinder.bindProviders(runtimeCfgState.getComponentBag(), RuntimeType.CLIENT, null, locator);
ProviderBinder.bindProviders(runtimeCfgState.getComponentBag(), RuntimeType.CLIENT, null, locator);