1 package org.apache.fulcrum; 2 3 56 57 import org.apache.commons.configuration.Configuration; 58 59 import org.apache.log4j.Category; 60 61 85 public interface ServiceBroker 86 { 87 94 public boolean isRegistered( String serviceName ); 95 96 104 public void initService( String name ) 105 throws InitializationException; 106 107 115 public void shutdownService( String name ); 116 117 123 public void shutdownServices( ); 124 125 133 public Service getService( String name ) 134 throws InstantiationException ; 135 136 143 public Configuration getConfiguration( String name ); 144 145 151 public void setServiceObject(String key, Object value); 152 153 159 public Object getServiceObject(String key); 160 161 167 public String getRealPath(String path); 168 169 174 public String getApplicationRoot(); 175 176 181 public Category getCategory(); 182 } 183 | Popular Tags |