@Override
protected ServiceRegistration newProcessor(ThreadIO tio, BundleContext context) {
processor = new WrappedCommandProcessor(tio);
try
{
processor.addListener(new EventAdminListener(context));
}
catch (NoClassDefFoundError error)
{
// Ignore the listener if EventAdmin package isn't present
}