1 package org.sapia.soto; 2 3 4 13 public class TestService implements Service { 14 boolean init; 15 boolean started; 16 boolean disposed; 17 TestService child; 18 19 public void dispose() { 20 disposed = true; 21 } 22 23 public void init() throws Exception { 24 init = true; 25 } 26 27 public void start() throws Exception { 28 started = true; 29 } 30 31 public void setChild(TestService child) { 32 this.child = child; 33 } 34 } 35 | Popular Tags |