Class JDBCRouteRepository

  • All Implemented Interfaces:
    ConfigRepository<net.n2oapp.framework.api.register.route.RouteInfoKey,​net.n2oapp.framework.api.metadata.compile.CompileContext>

    public class JDBCRouteRepository
    extends Object
    implements ConfigRepository<net.n2oapp.framework.api.register.route.RouteInfoKey,​net.n2oapp.framework.api.metadata.compile.CompileContext>
    Сохранение и загрузка данных RouteRegister в реляционную БД
    • Constructor Detail

      • JDBCRouteRepository

        public JDBCRouteRepository()
    • Method Detail

      • save

        public net.n2oapp.framework.api.metadata.compile.CompileContext save​(net.n2oapp.framework.api.register.route.RouteInfoKey key,
                                                                             net.n2oapp.framework.api.metadata.compile.CompileContext value)
        Specified by:
        save in interface ConfigRepository<net.n2oapp.framework.api.register.route.RouteInfoKey,​net.n2oapp.framework.api.metadata.compile.CompileContext>
      • clearAll

        public void clearAll()
        Specified by:
        clearAll in interface ConfigRepository<net.n2oapp.framework.api.register.route.RouteInfoKey,​net.n2oapp.framework.api.metadata.compile.CompileContext>
      • getAll

        public Map<net.n2oapp.framework.api.register.route.RouteInfoKey,​net.n2oapp.framework.api.metadata.compile.CompileContext> getAll()
        Specified by:
        getAll in interface ConfigRepository<net.n2oapp.framework.api.register.route.RouteInfoKey,​net.n2oapp.framework.api.metadata.compile.CompileContext>
      • createTable

        @PostConstruct
        public void createTable()