return new DefaultWorkListener();
}
protected ServerNotificationManager createNotificationManager()
{
ServerNotificationManager manager = new ServerNotificationManager();
manager.addInterfaceToType(MuleContextNotificationListener.class,
MuleContextNotification.class);
manager.addInterfaceToType(ModelNotificationListener.class, ModelNotification.class);
manager.addInterfaceToType(RoutingNotificationListener.class, RoutingNotification.class);
manager.addInterfaceToType(ServiceNotificationListener.class,
ServiceNotification.class);
manager.addInterfaceToType(SecurityNotificationListener.class,
SecurityNotification.class);
manager.addInterfaceToType(ManagementNotificationListener.class,
ManagementNotification.class);
manager.addInterfaceToType(CustomNotificationListener.class, CustomNotification.class);
manager.addInterfaceToType(ConnectionNotificationListener.class,
ConnectionNotification.class);
manager.addInterfaceToType(RegistryNotificationListener.class,
RegistryNotification.class);
manager.addInterfaceToType(ExceptionNotificationListener.class,
ExceptionNotification.class);
manager.addInterfaceToType(TransactionNotificationListener.class,
TransactionNotification.class);
return manager;
}