Package net.n2oapp.framework.boot.route
Class JDBCRouteRepository
- java.lang.Object
-
- net.n2oapp.framework.boot.route.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 Summary
Constructors Constructor Description JDBCRouteRepository()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclearAll()voidcreateTable()Map<net.n2oapp.framework.api.register.route.RouteInfoKey,net.n2oapp.framework.api.metadata.compile.CompileContext>getAll()net.n2oapp.framework.api.metadata.compile.CompileContextsave(net.n2oapp.framework.api.register.route.RouteInfoKey key, net.n2oapp.framework.api.metadata.compile.CompileContext value)
-
-
-
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:
savein interfaceConfigRepository<net.n2oapp.framework.api.register.route.RouteInfoKey,net.n2oapp.framework.api.metadata.compile.CompileContext>
-
clearAll
public void clearAll()
- Specified by:
clearAllin interfaceConfigRepository<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:
getAllin interfaceConfigRepository<net.n2oapp.framework.api.register.route.RouteInfoKey,net.n2oapp.framework.api.metadata.compile.CompileContext>
-
createTable
@PostConstruct public void createTable()
-
-