/** * Called by the Generator, and hence must be a public method * * @param name The name of this locator * @param parent The parent of this locator (may be null) */ public ServiceLocatorImpl(String name, ServiceLocatorImpl parent) { locatorName = name; this.parent = parent; if (parent != null) { parent.addChild(this); } id = getAndIncrementLocatorId(); Logger.getLogger().debug("Created ServiceLocator " + this); if (BIND_TRACING_PATTERN != null) { Logger.getLogger().debug("HK2 will trace binds and unbinds of " + BIND_TRACING_PATTERN + " with stacks " + BIND_TRACING_STACKS + " in " + this); } }
/** * Called by the Generator, and hence must be a public method * * @param name The name of this locator * @param parent The parent of this locator (may be null) */ public ServiceLocatorImpl(String name, ServiceLocatorImpl parent) { locatorName = name; this.parent = parent; if (parent != null) { parent.addChild(this); } id = getAndIncrementLocatorId(); Logger.getLogger().debug("Created ServiceLocator " + this); if (BIND_TRACING_PATTERN != null) { Logger.getLogger().debug("HK2 will trace binds and unbinds of " + BIND_TRACING_PATTERN + " with stacks " + BIND_TRACING_STACKS + " in " + this); } }
/** * Called by the Generator, and hence must be a public method * * @param name The name of this locator * @param parent The parent of this locator (may be null) */ public ServiceLocatorImpl(String name, ServiceLocatorImpl parent) { locatorName = name; this.parent = parent; if (parent != null) { parent.addChild(this); } id = getAndIncrementLocatorId(); Logger.getLogger().debug("Created ServiceLocator " + this); if (BIND_TRACING_PATTERN != null) { Logger.getLogger().debug("HK2 will trace binds and unbinds of " + BIND_TRACING_PATTERN + " with stacks " + BIND_TRACING_STACKS + " in " + this); } }
/** * Called by the Generator, and hence must be a public method * * @param name The name of this locator * @param parent The parent of this locator (may be null) */ public ServiceLocatorImpl(String name, ServiceLocatorImpl parent) { locatorName = name; this.parent = parent; if (parent != null) { parent.addChild(this); } id = getAndIncrementLocatorId(); Logger.getLogger().debug("Created ServiceLocator " + this); if (BIND_TRACING_PATTERN != null) { Logger.getLogger().debug("HK2 will trace binds and unbinds of " + BIND_TRACING_PATTERN + " with stacks " + BIND_TRACING_STACKS + " in " + this); } }