KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > container > configuration > ConfigurationManager


1 /***************************************************************************
2  * Copyright 2001-2003 The eXo Platform SARL All rights reserved. *
3  * Please look at license.txt in info directory for more license detail. *
4  **************************************************************************/

5 package org.exoplatform.container.configuration;
6
7 import java.io.InputStream JavaDoc ;
8 import java.net.URL JavaDoc;
9 import java.util.Collection JavaDoc;
10 /**
11  * Jul 19, 2004
12  * @author: Tuan Nguyen
13  * @email: tuan08@users.sourceforge.net
14  * @version: $Id: ConfigurationService.java,v 1.3 2004/10/29 01:55:23 tuan08 Exp $
15  */

16 public interface ConfigurationManager {
17   public ValuesParam getGlobalInitParam(String JavaDoc name) throws Exception JavaDoc ;
18   public ServiceConfiguration getServiceConfiguration(String JavaDoc service) throws Exception JavaDoc ;
19   public ServiceConfiguration getServiceConfiguration(Class JavaDoc clazz) throws Exception JavaDoc ;
20   public Collection JavaDoc getServiceConfigurations() ;
21   public Collection JavaDoc getGroovyServiceConfigurations() ;
22   public void addConfiguration(String JavaDoc url) throws Exception JavaDoc ;
23   public void addConfiguration(Collection JavaDoc urls) throws Exception JavaDoc ;
24   public void addConfiguration(URL JavaDoc url) throws Exception JavaDoc ;
25   public URL JavaDoc getResource(String JavaDoc url, String JavaDoc defaultURL) throws Exception JavaDoc ;
26   public URL JavaDoc getResource(String JavaDoc url) throws Exception JavaDoc ;
27   public InputStream JavaDoc getInputStream(String JavaDoc url, String JavaDoc defaultURL) throws Exception JavaDoc ;
28   public InputStream JavaDoc getInputStream(String JavaDoc url) throws Exception JavaDoc ;
29   
30   public boolean isDefault(String JavaDoc value) ;
31 }
Popular Tags