package dgm; /** * Service that has it's lifecycle managed by Main */ public interface Service { public void start(); public void stop(); }