User: stacycurl
Date: 01/03/30 02:01:02
Modified: src/main/org/jbossmx/cluster/watchdog/agent BaseAgent.java
Log:
Removed some eccentric comments
Revision Changes Path
1.2 +3 -44
jbossmx/src/main/org/jbossmx/cluster/watchdog/agent/BaseAgent.java
Index: BaseAgent.java
===================================================================
RCS file:
/cvsroot/jboss/jbossmx/src/main/org/jbossmx/cluster/watchdog/agent/BaseAgent.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- BaseAgent.java 2001/03/29 13:49:30 1.1
+++ BaseAgent.java 2001/03/30 10:01:02 1.2
@@ -83,7 +83,6 @@
try
{
Properties properties = (Properties) data.get();
-// printProperties(System.getProperties());
m_mletUrl =
properties.getProperty(Configuration.MLET_JAR_PATH_PROPERTY);
m_mletMBeansList = properties
@@ -110,25 +109,6 @@
}
/**
- * @param properties
- */
- private static void printProperties(Properties properties)
- {
- try
- {
- properties.list(System.out);
-
- System.out.println("logClass = " +
properties.getProperty("JBOSS_LOG_CLASS"));
-
- final String a = System.getProperties().getProperty("INFO_MLET");
- final String b = System.getProperties().getProperty("JBOSS_LOG_CLASS");
-
- System.out.println("frog = " + a + ", dog = " + b);
- }
- catch(Throwable t) {}
- }
-
- /**
* Configure the Agent by creating a class via reflection, the class is
*
* @param agentProperties
@@ -227,25 +207,11 @@
try
{
-
-// System.getProperties().setProperty("INFO_MBEANSERVER", "Flibble");
-// System.getProperties().setProperty("INFO_ALL", "Flibble");
-// System.getProperties().setProperty("LEVEL_TRACE", "Flibble");
-// System.getProperties().setProperty("LEVEL_DEBUG", "Flibble");
-
-// System.setProperty("INFO_ADAPTOR_HTML", "TRUE");
-// System.setProperty("LEVEL_TRACE", "TRUE");
-
- System.getProperties().setProperty("INFO_MLET", "blah");
- System.getProperties().setProperty("INFO_ALL", "blah");
- System.getProperties().setProperty("LEVE_DEBUG", "blah");
+// System.getProperties().setProperty("INFO_MLET", "blah");
+// System.getProperties().setProperty("INFO_ALL", "blah");
+// System.getProperties().setProperty("LEVE_DEBUG", "blah");
Trace.parseTraceProperties();
-
- System.out.println("Trace, (INFO_ALL == LEVEL_DEBUG) = "
- + Trace.isSelected(Trace.LEVEL_TRACE,
Trace.INFO_MLET));
-// System.out.println("Trace, (INFO_ADAPTOR_HTML == LEVEL_TRACE) = "
-// + Trace.isSelected(Trace.LEVEL_TRACE, Trace.INFO_ADAPTOR_HTML));
}
catch(Exception ie)
{
@@ -635,8 +601,6 @@
*/
private boolean registerMBeans(String[] mletUrls, String[] mletMBeansLists)
throws Exception
{
- System.out.println("BA.registerMBeans");
-
// It would be better to create the MLet MBean directly then insert, this
way we will
// catch incorrect method names.
@@ -665,8 +629,6 @@
mletGetMBeansFromURL(mletMBean, mletMBeansLists[lLoop]);
}
-
System.out.println("<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<BA.registerMBeans.done");
-
return true;
}
@@ -680,12 +642,9 @@
*/
private void mletGetMBeansFromURL(MLetMBean mletMBean, String mletMBeansList)
throws Exception
{
- System.out.println("BA.mletGetMBeansFromURL");
//LOG.debug("mletGetMBeansFromURL(" + mletMBeansList + ")");
Set objectInstanceSet = mletMBean.getMBeansFromURL(mletMBeansList);
-
- System.out.println("BA.mletGetMBeansFromURL.1");
CompoundException compoundException = new CompoundException();
boolean haveException = false;
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development