1 9 package org.jboss.portal.server.kernel; 10 11 15 public class BaseService implements Service, Registration 16 { 17 18 protected Context ctx; 19 20 public void addIDependOn(ServiceImplementation implementation) 21 { 22 } 23 24 public void removeIDependOn(ServiceImplementation implementation) 25 { 26 } 27 28 public void addDependsOnMe(ServiceImplementation implementation) 29 { 30 } 31 32 public void removeDependsOnMe(ServiceImplementation implementation) 33 { 34 } 35 36 public void registered(Context ctx) 37 { 38 this.ctx = ctx; 39 } 40 41 public void unregister() 42 { 43 this.ctx = null; 44 } 45 46 public void create() throws Exception 47 { 48 } 49 50 public void start() throws Exception 51 { 52 } 53 54 public void stop() 55 { 56 } 57 58 public void destroy() 59 { 60 } 61 } 62 | Popular Tags |