Example #1
0
  public synchronized void setCSV(CSVSerializable csv) {
    System.out.println("CSVSerializable was set!");
    this.csv = csv;

    csv.add("Service").add("WAS").add("SET");
    System.out.println(csv.serialize());
  }
Example #2
0
 public ComponentConsumer() {
   if (csv != null) {
     csv.add("Instance");
     System.out.println(csv.serialize());
   }
 }