Author: adietish
Date: 2011-04-06 06:05:19 -0400 (Wed, 06 Apr 2011)
New Revision: 30360
Added:
workspace/adietish/org.jboss.ide.eclipse.as7.core/
workspace/adietish/org.jboss.ide.eclipse.as7.core/.classpath
workspace/adietish/org.jboss.ide.eclipse.as7.core/.project
workspace/adietish/org.jboss.ide.eclipse.as7.core/.settings/
workspace/adietish/org.jboss.ide.eclipse.as7.core/.settings/org.eclipse.jdt.core.prefs
workspace/adietish/org.jboss.ide.eclipse.as7.core/META-INF/
workspace/adietish/org.jboss.ide.eclipse.as7.core/META-INF/MANIFEST.MF
workspace/adietish/org.jboss.ide.eclipse.as7.core/bin/
workspace/adietish/org.jboss.ide.eclipse.as7.core/bin/org/
workspace/adietish/org.jboss.ide.eclipse.as7.core/bin/org/jboss/
workspace/adietish/org.jboss.ide.eclipse.as7.core/bin/org/jboss/ide/
workspace/adietish/org.jboss.ide.eclipse.as7.core/bin/org/jboss/ide/eclipse/
workspace/adietish/org.jboss.ide.eclipse.as7.core/bin/org/jboss/ide/eclipse/as7/
workspace/adietish/org.jboss.ide.eclipse.as7.core/bin/org/jboss/ide/eclipse/as7/core/
workspace/adietish/org.jboss.ide.eclipse.as7.core/bin/org/jboss/ide/eclipse/as7/core/Activator.class
workspace/adietish/org.jboss.ide.eclipse.as7.core/build.properties
workspace/adietish/org.jboss.ide.eclipse.as7.core/src/
workspace/adietish/org.jboss.ide.eclipse.as7.core/src/org/
workspace/adietish/org.jboss.ide.eclipse.as7.core/src/org/jboss/
workspace/adietish/org.jboss.ide.eclipse.as7.core/src/org/jboss/ide/
workspace/adietish/org.jboss.ide.eclipse.as7.core/src/org/jboss/ide/eclipse/
workspace/adietish/org.jboss.ide.eclipse.as7.core/src/org/jboss/ide/eclipse/as7/
workspace/adietish/org.jboss.ide.eclipse.as7.core/src/org/jboss/ide/eclipse/as7/core/
workspace/adietish/org.jboss.ide.eclipse.as7.core/src/org/jboss/ide/eclipse/as7/core/Activator.java
Log:
creating as7 management API example
Added: workspace/adietish/org.jboss.ide.eclipse.as7.core/.classpath
===================================================================
--- workspace/adietish/org.jboss.ide.eclipse.as7.core/.classpath
(rev 0)
+++ workspace/adietish/org.jboss.ide.eclipse.as7.core/.classpath 2011-04-06 10:05:19 UTC
(rev 30360)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <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.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Added: workspace/adietish/org.jboss.ide.eclipse.as7.core/.project
===================================================================
--- workspace/adietish/org.jboss.ide.eclipse.as7.core/.project
(rev 0)
+++ workspace/adietish/org.jboss.ide.eclipse.as7.core/.project 2011-04-06 10:05:19 UTC
(rev 30360)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.jboss.ide.eclipse.as7.core</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
Added:
workspace/adietish/org.jboss.ide.eclipse.as7.core/.settings/org.eclipse.jdt.core.prefs
===================================================================
---
workspace/adietish/org.jboss.ide.eclipse.as7.core/.settings/org.eclipse.jdt.core.prefs
(rev 0)
+++
workspace/adietish/org.jboss.ide.eclipse.as7.core/.settings/org.eclipse.jdt.core.prefs 2011-04-06
10:05:19 UTC (rev 30360)
@@ -0,0 +1,8 @@
+#Wed Apr 06 12:03:29 CEST 2011
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.6
Added: workspace/adietish/org.jboss.ide.eclipse.as7.core/META-INF/MANIFEST.MF
===================================================================
--- workspace/adietish/org.jboss.ide.eclipse.as7.core/META-INF/MANIFEST.MF
(rev 0)
+++ workspace/adietish/org.jboss.ide.eclipse.as7.core/META-INF/MANIFEST.MF 2011-04-06
10:05:19 UTC (rev 30360)
@@ -0,0 +1,9 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Core
+Bundle-SymbolicName: org.jboss.ide.eclipse.as7.core
+Bundle-Version: 1.0.0.qualifier
+Bundle-Activator: org.jboss.ide.eclipse.as7.core.Activator
+Require-Bundle: org.eclipse.core.runtime
+Bundle-ActivationPolicy: lazy
+Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Added:
workspace/adietish/org.jboss.ide.eclipse.as7.core/bin/org/jboss/ide/eclipse/as7/core/Activator.class
===================================================================
(Binary files differ)
Property changes on:
workspace/adietish/org.jboss.ide.eclipse.as7.core/bin/org/jboss/ide/eclipse/as7/core/Activator.class
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: workspace/adietish/org.jboss.ide.eclipse.as7.core/build.properties
===================================================================
--- workspace/adietish/org.jboss.ide.eclipse.as7.core/build.properties
(rev 0)
+++ workspace/adietish/org.jboss.ide.eclipse.as7.core/build.properties 2011-04-06 10:05:19
UTC (rev 30360)
@@ -0,0 +1,4 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+ .
Added:
workspace/adietish/org.jboss.ide.eclipse.as7.core/src/org/jboss/ide/eclipse/as7/core/Activator.java
===================================================================
---
workspace/adietish/org.jboss.ide.eclipse.as7.core/src/org/jboss/ide/eclipse/as7/core/Activator.java
(rev 0)
+++
workspace/adietish/org.jboss.ide.eclipse.as7.core/src/org/jboss/ide/eclipse/as7/core/Activator.java 2011-04-06
10:05:19 UTC (rev 30360)
@@ -0,0 +1,30 @@
+package org.jboss.ide.eclipse.as7.core;
+
+import org.osgi.framework.BundleActivator;
+import org.osgi.framework.BundleContext;
+
+public class Activator implements BundleActivator {
+
+ private static BundleContext context;
+
+ static BundleContext getContext() {
+ return context;
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext)
+ */
+ public void start(BundleContext bundleContext) throws Exception {
+ Activator.context = bundleContext;
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext)
+ */
+ public void stop(BundleContext bundleContext) throws Exception {
+ Activator.context = null;
+ }
+
+}