incubator-kato-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From spo...@apache.org
Subject svn commit: r892736 - in /incubator/kato/trunk/org.apache.kato/kato.api.vm/src/main/java/javax/tools/diagnostics/vm: Dump.java DumpFactory.java
Date Mon, 21 Dec 2009 09:08:36 GMT
Author: spoole
Date: Mon Dec 21 09:08:35 2009
New Revision: 892736

URL: http://svn.apache.org/viewvc?rev=892736&view=rev
Log:
renamed Dump to DumpFactory as thats what it really is

Added:
    incubator/kato/trunk/org.apache.kato/kato.api.vm/src/main/java/javax/tools/diagnostics/vm/DumpFactory.java
      - copied, changed from r892731, incubator/kato/trunk/org.apache.kato/kato.api.vm/src/main/java/javax/tools/diagnostics/vm/Dump.java
Removed:
    incubator/kato/trunk/org.apache.kato/kato.api.vm/src/main/java/javax/tools/diagnostics/vm/Dump.java

Copied: incubator/kato/trunk/org.apache.kato/kato.api.vm/src/main/java/javax/tools/diagnostics/vm/DumpFactory.java
(from r892731, incubator/kato/trunk/org.apache.kato/kato.api.vm/src/main/java/javax/tools/diagnostics/vm/Dump.java)
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.api.vm/src/main/java/javax/tools/diagnostics/vm/DumpFactory.java?p2=incubator/kato/trunk/org.apache.kato/kato.api.vm/src/main/java/javax/tools/diagnostics/vm/DumpFactory.java&p1=incubator/kato/trunk/org.apache.kato/kato.api.vm/src/main/java/javax/tools/diagnostics/vm/Dump.java&r1=892731&r2=892736&rev=892736&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.api.vm/src/main/java/javax/tools/diagnostics/vm/Dump.java
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.api.vm/src/main/java/javax/tools/diagnostics/vm/DumpFactory.java
Mon Dec 21 09:08:35 2009
@@ -28,7 +28,7 @@
  *               change
  * 
  */
-public class Dump {
+public class DumpFactory {
 
 	
 	// store for the mapping between a dump descriptor and its owning delegate
@@ -37,7 +37,7 @@
 	
 	// default factory - populated when getDefault is first called
 	
-	private static Dump defaultDumpFactory=null;
+	private static DumpFactory defaultDumpFactory=null;
 	
 	
 	private DumpInitiatorDelegate defaultInitiatorDelegate=null;
@@ -46,7 +46,7 @@
 	 * Instantiate a dump factory that can be used to trigger dumps
 	 */
 	
-	public Dump() {
+	public DumpFactory() {
 		
 	}
 	/**
@@ -55,10 +55,10 @@
 	 * 
 	 * @return default dump factory
 	 */
-	public static Dump getDefault() {
+	public static DumpFactory getDefault() {
 	
 		if(defaultDumpFactory==null) {
-			Dump d=new Dump();
+			DumpFactory d=new DumpFactory();
 			d.loadStandardInitiators();
 			d.defaultInitiatorDelegate=new DummyDelegate(); // FIXME - need to make a choice
 			defaultDumpFactory=d;
@@ -189,7 +189,7 @@
 	 * 
 	 * @return a valid dump handle
 	 */
-	public DumpHandle getDumpHandle() {
+	public DumpHandle createDumpHandle() {
 		return defaultInitiatorDelegate.createDumpHandle();
 	}
 



Mime
View raw message