1 package org.apache.fulcrum; 2 3 56 57 import org.apache.commons.configuration.Configuration; 58 import org.apache.log4j.Category; 59 60 74 public interface Service 75 { 76 79 public static final String SERVICE_NAME = "Service"; 80 81 112 public void init( ) throws InitializationException; 113 114 123 public void shutdown(); 124 125 130 public boolean isInitialized(); 131 132 139 public void setServiceBroker( ServiceBroker broker ); 140 141 148 public void setName( String name ); 149 150 159 public Configuration getConfiguration(); 160 161 164 public String getRealPath(String path); 165 166 169 public Category getCategory(); 170 171 176 public String getStatus() throws ServiceException; 177 } 178 | Popular Tags |