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.spec;
05:
06: import EDU.oswego.cs.dl.util.concurrent.SynchronizedVariable;
07:
08: import com.tc.object.config.ConfigVisitor;
09: import com.tc.object.config.DSOApplicationConfig;
10: import com.tc.object.config.Visitable;
11:
12: public class SynchronizedVariableSpec implements Visitable {
13:
14: public ConfigVisitor visit(ConfigVisitor visitor,
15: DSOApplicationConfig config) {
16: String classname = SynchronizedVariable.class.getName();
17: config.addIncludePattern(classname);
18: config.addWriteAutolock("* " + classname + ".*(..)");
19: return visitor;
20: }
21:
22: }
|