1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24 package org.strutsit.chain.interfaces;
25
26 import org.apache.commons.chain.Catalog;
27 import org.strutsit.chain.ChainException;
28
29 /***
30 * Interface for a chain configuration.
31 *
32 * @author <a href="mailto:wolff@struts-it.de">Manfred Wolff</a>
33 * @since JDK 1.4
34 * @version $Revision: 1.3 $
35 */
36 public interface ChainConfiguration {
37
38 /***
39 * Inits the configuration.
40 * @throws ChainException if something goes wrong
41 */
42 void init() throws ChainException;
43
44 /***
45 * Rereads the configuration.
46 */
47 void reread();
48
49 /***
50 * @return Returns the catalog.
51 */
52 Catalog getCatalog();
53
54 /***
55 * Checks the configuration of all chains
56 * @throws ChainException
57 *
58 */
59 boolean checkConfiguration() throws ChainException;
60
61 }