Commit 84050bc6 authored by afreyssin's avatar afreyssin
Browse files

Adds JMX attributes dump from SCServer MBean.

parent cd9eff9a
/*
* Copyright (C) 2001 - 2008 ScalAgent Distributed Technologies
* Copyright (C) 2001 - 2010 ScalAgent Distributed Technologies
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
......@@ -23,6 +23,8 @@ package fr.dyade.aaa.agent;
import java.util.Enumeration;
import fr.dyade.aaa.common.monitoring.DumpAttributes;
public class SCServer implements SCServerMBean {
public SCServer() {
}
......@@ -75,4 +77,8 @@ public class SCServer implements SCServerMBean {
}
return servers;
}
public void dumpAttributes(String name, String path) {
DumpAttributes.dumpAttributes(name, path);
}
}
/*
* Copyright (C) 2001 - 2004 ScalAgent Distributed Technologies
* Copyright (C) 2001 - 2010 ScalAgent Distributed Technologies
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
......@@ -32,4 +32,6 @@ public interface SCServerMBean {
public String getStatusInfo();
public String[] getServers();
public void dumpAttributes(String name, String path);
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment