示例#1
0
  /** Initialize the engine. */
  private void init() {
    initLoggingEngine();

    systemProperties = new SystemProperties();
    systemProperties.load(name + ".properties");

    iObjectFactory = new IObjectFactory();
    actionProcessorRegistry = new ActionProcessorRegistry();

    eventRegistry = new EventRegistry();
    proxyEventRegistry = new IObjectProxyEventRegistry();
    persistentIdGenerator = new DefaultIDGenerator();

    flowControl = new FlowControl();

    proxyRegistry = new IObjectProxyRegistry();
    baseRegistry = new BaseRegistry();

    managerRegistry = new ManagerRegistry();

    sessionContext = new SessionContext("root");

    commandRegistry = new CommandRegistry();

    commandProcessorRegistry = new CommandProcessorRegistry();

    initThreadPooling();
    initResourceEngine();
    initPluginManager();
    readBuildNumbers();
  }
示例#2
0
 /** Store the system properties. */
 public void storeSystemProperties() {
   systemProperties.store(name + ".properties");
 }