1 8 package org.apache.avalon.phoenix.interfaces; 9 10 19 public interface ApplicationMBean 20 { 21 String ROLE = ApplicationMBean.class.getName(); 22 23 30 String getName(); 31 32 39 String getDisplayName(); 40 41 48 String getDescription(); 49 50 57 String getHomeDirectory(); 58 59 66 String [] getBlockNames(); 67 68 76 boolean isRunning(); 77 78 90 void start() 91 throws IllegalStateException , ApplicationException; 92 93 107 void restart() 108 throws IllegalStateException , ApplicationException; 109 110 122 void stop() 123 throws IllegalStateException , ApplicationException; 124 } 125 | Popular Tags |