KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > object > config > spec > CountDownSpec


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tc.object.config.spec;
5
6 import EDU.oswego.cs.dl.util.concurrent.CountDown;
7
8 import com.tc.object.config.ConfigVisitor;
9 import com.tc.object.config.DSOApplicationConfig;
10
11 public class CountDownSpec {
12
13   public void visit(ConfigVisitor visitor, DSOApplicationConfig config) {
14     String JavaDoc countdownClassname = CountDown.class.getName();
15     config.addIncludePattern(countdownClassname);
16     config.addWriteAutolock("* " + countdownClassname + ".*(..)");
17   }
18
19 }
20
Popular Tags