1 5 package org.exoplatform.container.configuration; 6 7 import java.io.InputStream ; 8 import java.net.URL ; 9 import java.util.Collection ; 10 16 public interface ConfigurationManager { 17 public ValuesParam getGlobalInitParam(String name) throws Exception ; 18 public ServiceConfiguration getServiceConfiguration(String service) throws Exception ; 19 public ServiceConfiguration getServiceConfiguration(Class clazz) throws Exception ; 20 public Collection getServiceConfigurations() ; 21 public Collection getGroovyServiceConfigurations() ; 22 public void addConfiguration(String url) throws Exception ; 23 public void addConfiguration(Collection urls) throws Exception ; 24 public void addConfiguration(URL url) throws Exception ; 25 public URL getResource(String url, String defaultURL) throws Exception ; 26 public URL getResource(String url) throws Exception ; 27 public InputStream getInputStream(String url, String defaultURL) throws Exception ; 28 public InputStream getInputStream(String url) throws Exception ; 29 30 public boolean isDefault(String value) ; 31 } | Popular Tags |