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(ExceptionStrategyNotificationListener.class,
ExceptionStrategyNotification.class);
manager.addInterfaceToType(TransactionNotificationListener.class,
TransactionNotification.class);
manager.addInterfaceToType(PipelineMessageNotificationListener.class,
PipelineMessageNotification.class);
manager.addInterfaceToType(AsyncMessageNotificationListener.class,
AsyncMessageNotification.class);
manager.addInterfaceToType(ClusterNodeNotificationListener.class, ClusterNodeNotification.class);
return manager;
}