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.CountDown;
07:
08: import com.tc.object.config.ConfigVisitor;
09: import com.tc.object.config.DSOApplicationConfig;
10:
11: public class CountDownSpec {
12:
13: public void visit(ConfigVisitor visitor, DSOApplicationConfig config) {
14: String countdownClassname = CountDown.class.getName();
15: config.addIncludePattern(countdownClassname);
16: config.addWriteAutolock("* " + countdownClassname + ".*(..)");
17: }
18:
19: }
|