01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright
03: * notice. All rights reserved.
04: */
05: package com.tc.config.schema.setup;
06:
07: import com.tc.config.schema.NewCommonL2Config;
08: import com.tc.config.schema.NewHaConfig;
09: import com.tc.config.schema.NewSystemConfig;
10: import com.tc.config.schema.UpdateCheckConfig;
11: import com.tc.object.config.schema.NewDSOApplicationConfig;
12: import com.tc.object.config.schema.NewL2DSOConfig;
13:
14: import java.io.InputStream;
15:
16: /**
17: * Knows how to set up configuration for L2.
18: */
19: public interface L2TVSConfigurationSetupManager {
20: NewCommonL2Config commonl2Config();
21:
22: NewSystemConfig systemConfig();
23:
24: NewL2DSOConfig dsoL2Config();
25:
26: NewHaConfig haConfig();
27:
28: UpdateCheckConfig updateCheckConfig();
29:
30: String[] applicationNames();
31:
32: NewDSOApplicationConfig dsoApplicationConfigFor(
33: String applicationName);
34:
35: String describeSources();
36:
37: InputStream rawConfigFile();
38:
39: String[] allCurrentlyKnownServers();
40:
41: NewCommonL2Config commonL2ConfigFor(String name)
42: throws ConfigurationSetupException;
43:
44: NewL2DSOConfig dsoL2ConfigFor(String name)
45: throws ConfigurationSetupException;
46: }
|