01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tc.object.config;
05:
06: import com.tc.config.schema.builder.DSOApplicationConfigBuilder;
07:
08: /**
09: * Interface for the DSO Application section of the config file. This is for building config files programmatically.
10: */
11: public interface DSOApplicationConfig {
12: // HACK: is also in IStandardDSOClientConfigHelper
13: public void addRoot(String rootName, String rootFieldName);
14:
15: // HACK: is also in IStandardDSOClientConfigHelper
16: public void addIncludePattern(String classPattern);
17:
18: // HACK: is also in IStandardDSOClientConfigHelper
19: public void addWriteAutolock(String methodPattern);
20:
21: // HACK: is also in IStandardDSOClientConfigHelper
22: public void addReadAutolock(String methodPattern);
23:
24: // HACK: is also in IStandardDSOClientConfigHelper
25: public void addIncludePattern(String classname,
26: boolean honorTransient);
27:
28: public void writeTo(DSOApplicationConfigBuilder appConfigBuilder);
29: }
|