You are viewing a plain text version of this content. The canonical link for it is here.
Posted to kato-commits@incubator.apache.org by sp...@apache.org on 2009/05/28 15:43:24 UTC
svn commit: r779630 - in
/incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.api.vm:
./ .settings/ src/ src/main/ src/main/java/ src/main/java/org/
src/main/java/org/apache/ src/main/java/org/apache/kato/
src/main/java/org/apac...
Author: spoole
Date: Thu May 28 15:43:23 2009
New Revision: 779630
URL: http://svn.apache.org/viewvc?rev=779630&view=rev
Log:
added new jvm side api module to experimental branch
Added:
incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.api.vm/
incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.api.vm/.classpath
incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.api.vm/.project
incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.api.vm/.settings/
incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.api.vm/.settings/org.eclipse.jdt.core.prefs
incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.api.vm/.settings/org.maven.ide.eclipse.prefs
incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.api.vm/pom.xml
incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.api.vm/src/
incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.api.vm/src/main/
incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.api.vm/src/main/java/
incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.api.vm/src/main/java/org/
incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.api.vm/src/main/java/org/apache/
incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.api.vm/src/main/java/org/apache/kato/
incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.api.vm/src/main/java/org/apache/kato/jvm/
incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.api.vm/src/main/java/org/apache/kato/jvm/Dump.java
incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.api.vm/src/main/resources/
incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.api.vm/src/test/
incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.api.vm/src/test/java/
incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.api.vm/src/test/resources/
Added: incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.api.vm/.classpath
URL: http://svn.apache.org/viewvc/incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.api.vm/.classpath?rev=779630&view=auto
==============================================================================
--- incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.api.vm/.classpath (added)
+++ incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.api.vm/.classpath Thu May 28 15:43:23 2009
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" output="target/classes" path="src/main/java"/>
+ <classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"/>
+ <classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
+ <classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
+ <classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
+ <classpathentry kind="output" path="target/classes"/>
+</classpath>
Added: incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.api.vm/.project
URL: http://svn.apache.org/viewvc/incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.api.vm/.project?rev=779630&view=auto
==============================================================================
--- incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.api.vm/.project (added)
+++ incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.api.vm/.project Thu May 28 15:43:23 2009
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>kato.api.vm</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.maven.ide.eclipse.maven2Builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.maven.ide.eclipse.maven2Nature</nature>
+ </natures>
+</projectDescription>
Added: incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.api.vm/.settings/org.eclipse.jdt.core.prefs
URL: http://svn.apache.org/viewvc/incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.api.vm/.settings/org.eclipse.jdt.core.prefs?rev=779630&view=auto
==============================================================================
--- incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.api.vm/.settings/org.eclipse.jdt.core.prefs (added)
+++ incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.api.vm/.settings/org.eclipse.jdt.core.prefs Thu May 28 15:43:23 2009
@@ -0,0 +1,5 @@
+#Thu May 28 16:30:48 BST 2009
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.source=1.6
Added: incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.api.vm/.settings/org.maven.ide.eclipse.prefs
URL: http://svn.apache.org/viewvc/incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.api.vm/.settings/org.maven.ide.eclipse.prefs?rev=779630&view=auto
==============================================================================
--- incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.api.vm/.settings/org.maven.ide.eclipse.prefs (added)
+++ incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.api.vm/.settings/org.maven.ide.eclipse.prefs Thu May 28 15:43:23 2009
@@ -0,0 +1,9 @@
+#Thu May 28 16:30:48 BST 2009
+activeProfiles=
+eclipse.preferences.version=1
+fullBuildGoals=process-test-resources
+includeModules=false
+resolveWorkspaceProjects=true
+resourceFilterGoals=process-resources resources\:testResources
+skipCompilerPlugin=true
+version=1
Added: incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.api.vm/pom.xml
URL: http://svn.apache.org/viewvc/incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.api.vm/pom.xml?rev=779630&view=auto
==============================================================================
--- incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.api.vm/pom.xml (added)
+++ incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.api.vm/pom.xml Thu May 28 15:43:23 2009
@@ -0,0 +1,13 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <parent>
+ <artifactId>kato</artifactId>
+ <groupId>org.apache.kato</groupId>
+ <version>0.0.1-SNAPSHOT</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.apache.kato</groupId>
+ <artifactId>kato.api.vm</artifactId>
+ <name>VM side Kato API </name>
+ <version>0.0.1-SNAPSHOT</version>
+ <description>VM side Kato API for configuring and triggering dumps</description>
+</project>
\ No newline at end of file
Added: incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.api.vm/src/main/java/org/apache/kato/jvm/Dump.java
URL: http://svn.apache.org/viewvc/incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.api.vm/src/main/java/org/apache/kato/jvm/Dump.java?rev=779630&view=auto
==============================================================================
--- incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.api.vm/src/main/java/org/apache/kato/jvm/Dump.java (added)
+++ incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.api.vm/src/main/java/org/apache/kato/jvm/Dump.java Thu May 28 15:43:23 2009
@@ -0,0 +1,25 @@
+package org.apache.kato.jvm;
+/**
+ * Standard mechanism that allows a java application to trigger a dump for the
+ * executing JVM.
+ *
+ * @experimental This is an experimental addition to the API and is subject to
+ * change
+ *
+ */
+public class Dump {
+
+ /**
+ * Initate a dump. The location and type of dump produced is
+ * JVM specific.
+ *
+ * @return true if execution is sucessfull
+ *
+ */
+
+
+ public boolean execute() {
+ return true;
+ }
+
+}