manager.declareBean("log", log, Logger.class);
manager.declareBean("server", server, MBeanServer.class);
manager.declareBean("manager", alm, AlarmManager.class);
// test with a dummy notification first, to see if the script is valid
Notification testNotification = new Notification("jboss.script.test", serviceName, 0);
manager.declareBean("notification", testNotification, Notification.class);
manager.declareBean("handback", "", Object.class);
manager.exec(language, "in-memory-script", 0, 0, script);