/** * Creates a new locator for instances of the given bean. * * @param bean The contextual bean * @param id The unique identifier of this bean */ public ContextBeanInstance(Bean<T> bean, BeanIdentifier id, String contextId) { this.bean = bean; this.id = id; this.contextId = contextId; this.instanceType = computeInstanceType(bean); BeanLogger.LOG.createdContextInstance(bean, id); this.manager = Container.instance(contextId).deploymentManager(); this.currentInjectionPoint = manager.getServices().get(CurrentInjectionPoint.class); }
/** * Creates a new locator for instances of the given bean. * * @param bean The contextual bean * @param id The unique identifier of this bean */ public ContextBeanInstance(Bean<T> bean, BeanIdentifier id, String contextId) { this.bean = bean; this.id = id; this.contextId = contextId; this.instanceType = computeInstanceType(bean); BeanLogger.LOG.createdContextInstance(bean, id); this.manager = Container.instance(contextId).deploymentManager(); this.currentInjectionPoint = manager.getServices().get(CurrentInjectionPoint.class); }
/** * Creates a new locator for instances of the given bean. * * @param bean The contextual bean * @param id The unique identifier of this bean */ public ContextBeanInstance(Bean<T> bean, BeanIdentifier id, String contextId) { this.bean = bean; this.id = id; this.contextId = contextId; this.instanceType = computeInstanceType(bean); BeanLogger.LOG.createdContextInstance(bean, id); this.manager = Container.instance(contextId).deploymentManager(); this.currentInjectionPoint = manager.getServices().get(CurrentInjectionPoint.class); }
/** * Creates a new locator for instances of the given bean. * * @param bean The contextual bean * @param id The unique identifier of this bean */ public ContextBeanInstance(Bean<T> bean, BeanIdentifier id, String contextId) { this.bean = bean; this.id = id; this.contextId = contextId; this.instanceType = computeInstanceType(bean); BeanLogger.LOG.createdContextInstance(bean, id); this.manager = Container.instance(contextId).deploymentManager(); this.currentInjectionPoint = manager.getServices().get(CurrentInjectionPoint.class); }
/** * Creates a new locator for instances of the given bean. * * @param bean The contextual bean * @param id The unique identifier of this bean */ public ContextBeanInstance(Bean<T> bean, BeanIdentifier id, String contextId) { this.bean = bean; this.id = id; this.contextId = contextId; this.instanceType = computeInstanceType(bean); BeanLogger.LOG.createdContextInstance(bean, id); this.manager = Container.instance(contextId).deploymentManager(); this.currentInjectionPoint = manager.getServices().get(CurrentInjectionPoint.class); }
/** * Creates a new locator for instances of the given bean. * * @param bean The contextual bean * @param id The unique identifier of this bean */ public ContextBeanInstance(Bean<T> bean, BeanIdentifier id, String contextId) { this.bean = bean; this.id = id; this.contextId = contextId; this.instanceType = computeInstanceType(bean); BeanLogger.LOG.createdContextInstance(bean, id); this.manager = Container.instance(contextId).deploymentManager(); this.currentInjectionPoint = manager.getServices().get(CurrentInjectionPoint.class); }