String[] preCondIds = this.getApplicationContext().getBeanNamesForType(
PreConditionComparator.class);
PrintStream ps = new PrintStream(this.getOutStream());
ps.println("PreConditionComparators:");
for (String preCondId : preCondIds) {
PreConditionComparator preCond = (PreConditionComparator) this
.getApplicationContext().getBean(preCondId);
ps.println(" PreCondComparator:");
ps.println(" Id: " + preCondId);
ps.println(" Description: " + preCond.getDescription());
ps.println();
}
ps.close();
}