@Override
public void start(BundleContext context) throws Exception {
threadIO = new ThreadIOImpl();
threadIO.start();
sessionFactory = new SecuredSessionFactoryImpl(context, threadIO);
sessionFactory.getCommandProcessor().addConverter(new Converters(context));
sessionFactory.getCommandProcessor().addConstant(".context", context.getBundle(0).getBundleContext());
sessionFactory.getCommandProcessor().addListener(new LoggingCommandSessionListener());
try {
EventAdminListener listener = new EventAdminListener(context);