/** * Create a {@link ServiceLocator}. In case the {@code name} is not specified, the locator * will be unnamed. * * @param name The name of this service locator. Passing a {@code null} * name will result in a newly created service locator with a * generated name. * @param binders custom the HK2 {@link Binder binders}. * @return a service locator with all the bindings. */ public static ServiceLocator createLocator(final String name, final Binder... binders) { return _createLocator(name, null, binders); }
/** * Create an unnamed {@link ServiceLocator}. * * @param binders custom the HK2 {@link Binder binders}. * @return a service locator with all the bindings. */ public static ServiceLocator createLocator(final Binder... binders) { return _createLocator(null, null, binders); }
/** * Create an unnamed, parented {@link ServiceLocator}. In case the {@code parent} service locator * is not specified, the locator will not be parented. * * @param parent The parent of this ServiceLocator. Services can be found in * the parent (and all grand-parents). May be {@code null}. * if the returned ServiceLocator should not be parented. * @param binders custom the HK2 {@link Binder binders}. * @return a service locator with all the bindings. */ public static ServiceLocator createLocator(final ServiceLocator parent, final Binder... binders) { return _createLocator(null, parent, binders); }
/** * Create an unnamed, parented {@link ServiceLocator}. In case the {@code parent} service locator * is not specified, the locator will not be parented. * * @param parent The parent of this ServiceLocator. Services can be found in * the parent (and all grand-parents). May be {@code null}. * if the returned ServiceLocator should not be parented. * @param binders custom the HK2 {@link Binder binders}. * @return a service locator with all the bindings. */ public static ServiceLocator createLocator(final ServiceLocator parent, final Binder... binders) { return _createLocator(null, parent, binders); }
/** * Create a {@link ServiceLocator}. In case the {@code name} is not specified, the locator * will be unnamed. * * @param name The name of this service locator. Passing a {@code null} * name will result in a newly created service locator with a * generated name. * @param binders custom the HK2 {@link Binder binders}. * @return a service locator with all the bindings. */ public static ServiceLocator createLocator(final String name, final Binder... binders) { return _createLocator(name, null, binders); }
/** * Create an unnamed, parented {@link ServiceLocator}. In case the {@code parent} service locator * is not specified, the locator will not be parented. * * @param parent The parent of this ServiceLocator. Services can be found in * the parent (and all grand-parents). May be {@code null}. * if the returned ServiceLocator should not be parented. * @param binders custom the HK2 {@link Binder binders}. * @return a service locator with all the bindings. */ public static ServiceLocator createLocator(final ServiceLocator parent, final Binder... binders) { return _createLocator(null, parent, binders); }
/** * Create an unnamed {@link ServiceLocator}. * * @param binders custom the HK2 {@link Binder binders}. * @return a service locator with all the bindings. */ public static ServiceLocator createLocator(final Binder... binders) { return _createLocator(null, null, binders); }
/** * Create an unnamed {@link ServiceLocator}. * * @param binders custom the HK2 {@link Binder binders}. * @return a service locator with all the bindings. */ public static ServiceLocator createLocator(final Binder... binders) { return _createLocator(null, null, binders); }
/** * Create a {@link ServiceLocator}. In case the {@code name} is not specified, the locator * will be unnamed. * * @param name The name of this service locator. Passing a {@code null} * name will result in a newly created service locator with a * generated name. * @param binders custom the HK2 {@link Binder binders}. * @return a service locator with all the bindings. */ public static ServiceLocator createLocator(final String name, final Binder... binders) { return _createLocator(name, null, binders); }
/** * Create a {@link ServiceLocator}. In case the {@code name} is not specified, the locator * will be unnamed. * * @param name The name of this service locator. Passing a {@code null} * name will result in a newly created service locator with a * generated name. * @param parent The parent of this ServiceLocator. Services can be found in * the parent (and all grand-parents). May be {@code null}. * if the returned ServiceLocator should not be parented. * @param binders custom the HK2 {@link Binder binders}. * @return a service locator with all the bindings. */ public static ServiceLocator createLocator(final String name, final ServiceLocator parent, final Binder... binders) { return _createLocator(name, parent, binders); }
/** * Create a {@link ServiceLocator}. In case the {@code name} is not specified, the locator * will be unnamed. * * @param name The name of this service locator. Passing a {@code null} * name will result in a newly created service locator with a * generated name. * @param parent The parent of this ServiceLocator. Services can be found in * the parent (and all grand-parents). May be {@code null}. * if the returned ServiceLocator should not be parented. * @param binders custom the HK2 {@link Binder binders}. * @return a service locator with all the bindings. */ public static ServiceLocator createLocator(final String name, final ServiceLocator parent, final Binder... binders) { return _createLocator(name, parent, binders); }
/** * Create a {@link ServiceLocator}. In case the {@code name} is not specified, the locator * will be unnamed. * * @param name The name of this service locator. Passing a {@code null} * name will result in a newly created service locator with a * generated name. * @param parent The parent of this ServiceLocator. Services can be found in * the parent (and all grand-parents). May be {@code null}. * if the returned ServiceLocator should not be parented. * @param binders custom the HK2 {@link Binder binders}. * @return a service locator with all the bindings. */ public static ServiceLocator createLocator(final String name, final ServiceLocator parent, final Binder... binders) { return _createLocator(name, parent, binders); }