/** * @param id * @param manager * @param bootstrap */ private WeldContainer(String id, WeldManager manager, Bootstrap bootstrap) { super(); this.id = id; this.manager = manager; this.bootstrap = bootstrap; this.creationalContext = manager.createCreationalContext(null); BeanManagerImpl beanManagerImpl = ((BeanManagerImpl) manager.unwrap()); this.instance = beanManagerImpl.getInstance(creationalContext); this.event = beanManagerImpl.event(); }