Class BeanHandlerServiceImpl

    • Constructor Detail

      • BeanHandlerServiceImpl

        public BeanHandlerServiceImpl()
    • Method Detail

      • getRepository

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

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

        public java.lang.Object getSessionBean​(java.lang.String beanId)
        Description copied from interface: BeanHandlerService
        This method returns a session bean instance.
        Specified by:
        getSessionBean in interface BeanHandlerService
        Parameters:
        beanId - identification bean, which will be returned
        Returns:
        a bean instance
      • updateSessionBean

        public void updateSessionBean​(java.lang.String beanId,
                                      java.lang.Object bean)
        Description copied from interface: BeanHandlerService
        This method does update of session bean.
        Specified by:
        updateSessionBean in interface BeanHandlerService
        Parameters:
        beanId - identification bean, which will be updated
        bean - representation of bean, which will be copied to current instance
      • handleBeanInvokeResponse

        public <T> T handleBeanInvokeResponse​(BeanRequestMessage request)
        Description copied from interface: BeanHandlerService
        This method does invoke to get instance of bean.
        Specified by:
        handleBeanInvokeResponse in interface BeanHandlerService
        Type Parameters:
        T - class type of entity
        Parameters:
        request - contains an instructions for invoked fields
        Returns:
        map representation of object
      • handleBeanUpdateResponse

        public <T> T handleBeanUpdateResponse​(BeanRequestMessage request)
        Description copied from interface: BeanHandlerService
        This method does update a bean and get instance of updated bean.
        Specified by:
        handleBeanUpdateResponse in interface BeanHandlerService
        Type Parameters:
        T - class type of entity
        Parameters:
        request - contains an instructions for invoked fields
        Returns:
        map representation of object
      • handleRepositoryResponse

        public <T> java.util.List<T> handleRepositoryResponse​(RepositoryRequestMessage request)
        Specified by:
        handleRepositoryResponse in interface BeanHandlerService
        Type Parameters:
        T - class type of entity
        Parameters:
        request - contains an instructions for invoked fields.
        Returns:
        list of objects representation