1 package org.simantics.jdbc.variable;
3 import org.simantics.simulator.toolkit.StandardNodeManager;
4 import org.simantics.simulator.toolkit.StandardRealm;
5 import org.slf4j.Logger;
6 import org.slf4j.LoggerFactory;
8 public class JDBCRealm extends StandardRealm<JDBCNode, JDBCNodeManagerSupport> {
10 private static final Logger LOGGER = LoggerFactory.getLogger(JDBCRealm.class);
12 protected JDBCRealm(JDBCNodeManagerSupport engine, String id) {
17 protected StandardNodeManager<JDBCNode, JDBCNodeManagerSupport> createManager() {
18 if (LOGGER.isDebugEnabled())
19 LOGGER.debug("Creating {} for realm with id {}", JDBCNodeManager.class.getSimpleName(), getId());
20 return new JDBCNodeManager(this, new JDBCNode("ROOT"));
24 public Logger getLogger() {