1 31 32 package org.objectweb.jonas.service; 33 34 import javax.naming.Context ; 35 36 41 public interface Service { 42 43 48 void init(Context ctx) throws ServiceException; 49 50 54 void start() throws ServiceException; 55 56 60 void stop() throws ServiceException; 61 62 65 boolean isStarted(); 66 67 71 void setName(String name); 72 73 76 String getName(); 77 } | Popular Tags |