sessionFactory.register(new ManagerImpl(sessionFactory, sessionFactory));
sessionFactoryRegistration = context.registerService(SessionFactory.class.getName(), sessionFactory, null);
actionExtender = new CommandExtender(sessionFactory);
actionExtender.start(context);
if (Boolean.parseBoolean(context.getProperty(START_CONSOLE))) {
terminalFactory = new TerminalFactory();
localConsoleManager = new LocalConsoleManager(context, terminalFactory, sessionFactory);