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.util;
05:
06: /**
07: * A little utility class that will write class files to disk for instrumented class files.
08: */
09: public class AdaptedClassDumper extends AbstractClassDumper {
10:
11: public final static AdaptedClassDumper INSTANCE = new AdaptedClassDumper();
12:
13: private AdaptedClassDumper() {
14: // make the default constructor private to turn this class into a singleton
15: }
16:
17: protected String getDumpDirectoryName() {
18: return "adapted";
19: }
20:
21: protected String getPropertyName() {
22: return "tc.classloader.writeToDisk";
23: }
24: }
|