public void end(InterpretationContext ec, String name) throws ActionException {
}
public void register() {
ConfiguratorMBean configuratorMBean = new Configurator((LoggerContext) context);
MBeanServer mbs = ManagementFactory.getPlatformMBeanServer();
try {
ObjectName on = new ObjectName(DOMAIN + ":Name=" + context.getName()
+ ",Type=" + configuratorMBean.getClass().getName());
// StandardMBean mbean = new StandardMBean(configuratorMBean,
// ConfiguratorMBean.class);
if (mbs.isRegistered(on)) {
mbs.unregisterMBean(on);