1 9 package org.jboss.portal.server.util; 10 11 import org.jboss.logging.Logger; 12 import org.jboss.system.ServiceMBeanSupport; 13 14 20 public class Service extends ServiceMBeanSupport 21 { 22 23 public Service() 24 { 25 } 26 27 public Service(final Class type) 28 { 29 super(type); 30 } 31 32 public Service(final String category) 33 { 34 super(category); 35 } 36 37 public Service(final Logger log) 38 { 39 super(log); 40 } 41 42 46 public int getState() 47 { 48 return super.getState(); 49 } 50 51 55 public String getStateString() 56 { 57 return super.getStateString(); 58 } 59 60 63 public void create() throws Exception 64 { 65 super.create(); 66 } 67 68 71 public void start() throws Exception 72 { 73 super.start(); 74 } 75 76 79 public void stop() 80 { 81 super.stop(); 82 } 83 84 87 public void destroy() 88 { 89 super.destroy(); 90 } 91 } 92 | Popular Tags |