public function __construct($contextReferenceId)
 {
     parent::__construct();
     $this->beanRepository = SessionBeanRepositoryImpl::getInstance($contextReferenceId);
 }
示例#2
0
 /**
  * Load the core container
  *
  * @return void
  */
 private function init()
 {
     $this->logger->debug('Init CoreContainer with context reference id ' . $this->contextReferenceId);
     $this->factoryObjectCreator = new FactoryObjectCreator($this->contextReferenceId);
     $this->singletonRepository = SingletonBeanRepositoryImpl::getInstance($this->contextReferenceId);
     $this->sessionRepository = SessionBeanRepositoryImpl::getInstance($this->contextReferenceId);
     $this->beansWithDestroyMethod = new BeanEnvelopeRepository();
     $this->sessionSingletonBeans = new BeanEnvelopeRepository();
     $this->sessionBeansCreated = $this->serializer->getObject(self::SESSION_BEANS_CREATED, array());
 }