Class RouterServiceImpl

    • Field Detail

      • appContext

        @Autowired
        private org.springframework.context.ApplicationContext appContext
      • sessionRepository

        @Autowired
        private org.springframework.session.data.mongo.MongoIndexedSessionRepository sessionRepository
    • Constructor Detail

      • RouterServiceImpl

        public RouterServiceImpl()
    • Method Detail

      • getRepository

        public java.lang.Object getRepository​(java.lang.String repositoryId)
        Description copied from interface: RouterService
        This method does return repository.
        Specified by:
        getRepository in interface RouterService
        Parameters:
        repositoryId - identification bean, which will be returned
        Returns:
        object
      • getBean

        public java.lang.Object getBean​(java.lang.String beanId)
        Description copied from interface: RouterService
        This method does return bean.
        Specified by:
        getBean in interface RouterService
        Parameters:
        beanId - identification bean, which will be returned
        Returns:
        object
      • getSessionBean

        public java.lang.Object getSessionBean​(java.lang.String beanId)
        Description copied from interface: RouterService
        This method does return bean.
        Specified by:
        getSessionBean in interface RouterService
        Parameters:
        beanId - identification bean, which will be returned
        Returns:
        object
      • getSessionBeanAsObject

        private java.lang.Object getSessionBeanAsObject​(java.lang.String beanId)
      • updateSessionBean

        public void updateSessionBean​(java.lang.String beanId,
                                      java.lang.Object bean)
        Description copied from interface: RouterService
        This method does update bean.
        Specified by:
        updateSessionBean in interface RouterService
        Parameters:
        beanId - identification bean, which will be updated
        bean - identification bean, which will be added in bean attribute