1 2 package org.state4j.publishing; 3 4 import java.util.List; 5 6 public interface Publisher { 7 public void attach(Observer observer); 8 9 public void detach(Observer observer); 10 11 public void publish(Publishable event); 12 13 public void attach(List<Observer> arg0); 14 }