Class MDRepositoryBean.MDRepositoryConfigBean<A extends DataSourceAware>

    • Constructor Detail

      • MDRepositoryConfigBean

        public MDRepositoryConfigBean()
    • Method Detail

      • beanConfigurationChanged

        public void beanConfigurationChanged​(java.util.Collection<java.lang.String> changedFields)
        Description copied from interface: ConfigurationChangedAware
        Method called when configuration was applied to bean.
        Specified by:
        beanConfigurationChanged in interface ConfigurationChangedAware
        Parameters:
        changedFields - collection of field names which were changed
      • setDataSourceAware

        public void setDataSourceAware​(A dataSourceAware)
      • register

        public void register​(Kernel kernel)
        Description copied from interface: RegistrarBean
        Method called when bean is being registered allowing developer to programatically register other beans.
        Specified by:
        register in interface RegistrarBean
        Parameters:
        kernel - - instance from local scope
      • unregister

        public void unregister​(Kernel kernel)
        Description copied from interface: RegistrarBean
        Method called while bean is being unregistered.
        Specified by:
        unregister in interface RegistrarBean
        Parameters:
        kernel - - instance from local scope
      • initialize

        public void initialize()
        Description copied from interface: Initializable
        Method will be called, when bean will be created, configured and ready to use.
        Specified by:
        initialize in interface Initializable
      • getRepositoryClassName

        protected java.lang.Class<?> getRepositoryClassName()
                                                     throws DBInitException,
                                                            java.lang.ClassNotFoundException
        Method returns class for instance repository matching data source or returning class specified in cls config field.
        Throws:
        DBInitException
        java.lang.ClassNotFoundException
      • getCls

        protected java.lang.String getCls()