KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > sape > carbon > services > config > classloader > ClassloaderLinkNodeConfiguration


1 /*
2  * The contents of this file are subject to the Sapient Public License
3  * Version 1.0 (the "License"); you may not use this file except in compliance
4  * with the License. You may obtain a copy of the License at
5  * http://carbon.sf.net/License.html.
6  *
7  * Software distributed under the License is distributed on an "AS IS" basis,
8  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
9  * the specific language governing rights and limitations under the License.
10  *
11  * The Original Code is The Carbon Component Framework.
12  *
13  * The Initial Developer of the Original Code is Sapient Corporation
14  *
15  * Copyright (C) 2003 Sapient Corporation. All Rights Reserved.
16  */

17
18 package org.sape.carbon.services.config.classloader;
19
20 import java.net.URL JavaDoc;
21
22 import org.sape.carbon.core.config.node.link.LinkNodeConfiguration;
23
24 /**
25  * Configuration interface for LinkNodes that link to ClassLoader Node
26  * hierarchies.
27  *
28  * Copyright 2003 Sapient
29  * @since carbon 2.0
30  * @author Greg Hinkle, April 2003
31  * @version $Revision: 1.4 $($Author: dvoet $ / $Date: 2003/11/11 21:19:58 $)
32  */

33 public interface ClassloaderLinkNodeConfiguration
34     extends LinkNodeConfiguration {
35
36     /**
37      * The prefix for resources used to configure. This would be equivalent
38      * to the prefix path of the files in a Jar in the classpath.
39      *
40      * @return String
41      */

42     String JavaDoc getPathPrefix();
43
44     /**
45      * The prefix for resources used to configure. This would be equivalent
46      * to the prefix path of the files in a Jar in the classpath.
47      * @param path
48      */

49     void setPathPrefix(String JavaDoc path);
50     
51     /**
52      * The ClassloaderURLs property lists the URLs where configuration
53      * information is stored.
54      */

55     URL JavaDoc[] getClassloaderURLs();
56     
57     /**
58      * The ClassloaderURLs property lists the URLs where configuration
59      * information is stored.
60      */

61     URL JavaDoc getClassloaderURLs(int index);
62     
63     /**
64      * The ClassloaderURLs property lists the URLs where configuration
65      * information is stored.
66      */

67     void setClassloaderURLs(URL JavaDoc[] urls);
68     
69     /**
70      * The ClassloaderURLs property lists the URLs where configuration
71      * information is stored.
72      */

73     void setClassloaderURLs(int index, URL JavaDoc url);
74     
75     /**
76      * The ClassloaderURLs property lists the URLs where configuration
77      * information is stored.
78      */

79     void addClassloaderURLs(URL JavaDoc url);
80 }
81
Popular Tags