01: /*
02: * All content copyright (c) 2003-2007 Terracotta, Inc., except as may otherwise be noted in a separate copyright
03: * notice. All rights reserved.
04: */
05: package com.tc.object.config;
06:
07: import com.tc.object.bytecode.ClassAdapterFactory;
08:
09: import java.net.URL;
10:
11: public interface StandardDSOClientConfigHelper {
12:
13: // HACK: available only in StandardDSOClientConfigHelper
14:
15: void allowCGLIBInstrumentation();
16:
17: void addAspectModule(String pattern, String moduleName);
18:
19: // HACK: duplicated from DSOApplicationConfig
20:
21: void addRoot(String rootName, String rootFieldName);
22:
23: void addIncludePattern(String classPattern);
24:
25: void addWriteAutolock(String methodPattern);
26:
27: void addReadAutolock(String methodPattern);
28:
29: void addIncludePattern(String classname, boolean honorTransient);
30:
31: void addAutoLockExcludePattern(String expression);
32:
33: void addPermanentExcludePattern(String pattern);
34:
35: void addNonportablePattern(String pattern);
36:
37: LockDefinition createLockDefinition(String name,
38: ConfigLockLevel level);
39:
40: void addLock(String methodPattern, LockDefinition lockDefinition);
41:
42: // HACK: duplicated from DSOClientConfigHelper
43:
44: TransparencyClassSpec getOrCreateSpec(String className);
45:
46: TransparencyClassSpec getOrCreateSpec(String className,
47: String applicator);
48:
49: void addCustomAdapter(String name,
50: ClassAdapterFactory adapterFactory);
51:
52: void addClassReplacement(final String originalClassName,
53: final String replacementClassName,
54: final URL replacementResource);
55:
56: void addClassResource(final String className, final URL resource);
57:
58: void addIncludePattern(String expression, boolean honorTransient,
59: boolean oldStyleCallConstructorOnLoad, boolean honorVolatile);
60:
61: void addAutolock(String methodPattern, ConfigLockLevel type);
62:
63: void addExcludePattern(String string);
64:
65: }
|