From: Chris Koeritz Date: Mon, 3 Oct 2016 17:06:09 +0000 (-0400) Subject: moved the osgi code down into kona X-Git-Tag: 2.140.90~400 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=4a9ae3fc639912ca86757f227f1aa680ca263196;p=feisty_meow.git moved the osgi code down into kona kona is our java repository, so that's where nutty java code like osgi goes. --- diff --git a/kona/osgi/org.feistymeow.bundle.helloOSGi/.classpath b/kona/osgi/org.feistymeow.bundle.helloOSGi/.classpath new file mode 100644 index 00000000..098194ca --- /dev/null +++ b/kona/osgi/org.feistymeow.bundle.helloOSGi/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/kona/osgi/org.feistymeow.bundle.helloOSGi/.project b/kona/osgi/org.feistymeow.bundle.helloOSGi/.project new file mode 100644 index 00000000..af56a198 --- /dev/null +++ b/kona/osgi/org.feistymeow.bundle.helloOSGi/.project @@ -0,0 +1,34 @@ + + + org.feistymeow.bundle.helloOSGi + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + org.eclipse.pde.api.tools.apiAnalysisBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + org.eclipse.pde.api.tools.apiAnalysisNature + + diff --git a/kona/osgi/org.feistymeow.bundle.helloOSGi/.settings/org.eclipse.jdt.core.prefs b/kona/osgi/org.feistymeow.bundle.helloOSGi/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 00000000..f42de363 --- /dev/null +++ b/kona/osgi/org.feistymeow.bundle.helloOSGi/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,7 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 +org.eclipse.jdt.core.compiler.compliance=1.7 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.7 diff --git a/kona/osgi/org.feistymeow.bundle.helloOSGi/.settings/org.eclipse.pde.core.prefs b/kona/osgi/org.feistymeow.bundle.helloOSGi/.settings/org.eclipse.pde.core.prefs new file mode 100644 index 00000000..e8ff8be0 --- /dev/null +++ b/kona/osgi/org.feistymeow.bundle.helloOSGi/.settings/org.eclipse.pde.core.prefs @@ -0,0 +1,4 @@ +eclipse.preferences.version=1 +pluginProject.equinox=false +pluginProject.extensions=false +resolve.requirebundle=false diff --git a/kona/osgi/org.feistymeow.bundle.helloOSGi/META-INF/MANIFEST.MF b/kona/osgi/org.feistymeow.bundle.helloOSGi/META-INF/MANIFEST.MF new file mode 100644 index 00000000..0f036d6a --- /dev/null +++ b/kona/osgi/org.feistymeow.bundle.helloOSGi/META-INF/MANIFEST.MF @@ -0,0 +1,10 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: HelloOSGi +Bundle-SymbolicName: org.feistymeow.bundle.helloOSGi +Bundle-Version: 1.0.0.qualifier +Bundle-Activator: org.feistymeow.bundle.helloosgi.Activator +Bundle-Vendor: feistymeow.org +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 +Import-Package: org.feistymeow.bundle.serviceosgi, + org.osgi.framework;version="1.3.0" diff --git a/kona/osgi/org.feistymeow.bundle.helloOSGi/build.properties b/kona/osgi/org.feistymeow.bundle.helloOSGi/build.properties new file mode 100644 index 00000000..34d2e4d2 --- /dev/null +++ b/kona/osgi/org.feistymeow.bundle.helloOSGi/build.properties @@ -0,0 +1,4 @@ +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + . diff --git a/kona/osgi/org.feistymeow.bundle.helloOSGi/src/org/feistymeow/bundle/helloosgi/Activator.java b/kona/osgi/org.feistymeow.bundle.helloOSGi/src/org/feistymeow/bundle/helloosgi/Activator.java new file mode 100644 index 00000000..faa68fbc --- /dev/null +++ b/kona/osgi/org.feistymeow.bundle.helloOSGi/src/org/feistymeow/bundle/helloosgi/Activator.java @@ -0,0 +1,35 @@ +package org.feistymeow.bundle.helloosgi; + +import org.feistymeow.bundle.serviceosgi.HelloService; +import org.osgi.framework.BundleActivator; +import org.osgi.framework.BundleContext; +import org.osgi.framework.ServiceReference; + +@SuppressWarnings("rawtypes") +public class Activator implements BundleActivator { + + ServiceReference helloServiceReference; + + /* + * (non-Javadoc) + * @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext) + */ + public void start(BundleContext context) throws Exception { + + System.out.println("into Hello OSGi!"); + + helloServiceReference = context.getServiceReference(HelloService.class.getName()); + @SuppressWarnings("unchecked") + HelloService helloService = (HelloService)context.getService(helloServiceReference); + System.out.println(helloService.sayHello()); + } + + /* + * (non-Javadoc) + * @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext) + */ + public void stop(BundleContext context) throws Exception { + System.out.println("out of Hello OSGi!"); + } + +} diff --git a/kona/osgi/org.feistymeow.bundle.servicesOSGi/.classpath b/kona/osgi/org.feistymeow.bundle.servicesOSGi/.classpath new file mode 100644 index 00000000..098194ca --- /dev/null +++ b/kona/osgi/org.feistymeow.bundle.servicesOSGi/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/kona/osgi/org.feistymeow.bundle.servicesOSGi/.project b/kona/osgi/org.feistymeow.bundle.servicesOSGi/.project new file mode 100644 index 00000000..a831b04d --- /dev/null +++ b/kona/osgi/org.feistymeow.bundle.servicesOSGi/.project @@ -0,0 +1,34 @@ + + + org.feistymeow.bundle.servicesOSGi + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + org.eclipse.pde.api.tools.apiAnalysisBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + org.eclipse.pde.api.tools.apiAnalysisNature + + diff --git a/kona/osgi/org.feistymeow.bundle.servicesOSGi/.settings/org.eclipse.jdt.core.prefs b/kona/osgi/org.feistymeow.bundle.servicesOSGi/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 00000000..f42de363 --- /dev/null +++ b/kona/osgi/org.feistymeow.bundle.servicesOSGi/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,7 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 +org.eclipse.jdt.core.compiler.compliance=1.7 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.7 diff --git a/kona/osgi/org.feistymeow.bundle.servicesOSGi/.settings/org.eclipse.pde.core.prefs b/kona/osgi/org.feistymeow.bundle.servicesOSGi/.settings/org.eclipse.pde.core.prefs new file mode 100644 index 00000000..e8ff8be0 --- /dev/null +++ b/kona/osgi/org.feistymeow.bundle.servicesOSGi/.settings/org.eclipse.pde.core.prefs @@ -0,0 +1,4 @@ +eclipse.preferences.version=1 +pluginProject.equinox=false +pluginProject.extensions=false +resolve.requirebundle=false diff --git a/kona/osgi/org.feistymeow.bundle.servicesOSGi/META-INF/MANIFEST.MF b/kona/osgi/org.feistymeow.bundle.servicesOSGi/META-INF/MANIFEST.MF new file mode 100644 index 00000000..47c20581 --- /dev/null +++ b/kona/osgi/org.feistymeow.bundle.servicesOSGi/META-INF/MANIFEST.MF @@ -0,0 +1,10 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: HelloService Plugin +Bundle-SymbolicName: org.feistymeow.bundle.servicesosgi +Bundle-Version: 1.0.0.qualifier +Bundle-Activator: org.feistymeow.bundle.serviceosgi.HelloServiceActivator +Bundle-Vendor: feistymeow.org +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 +Import-Package: org.osgi.framework;version="1.3.0" +Export-Package: org.feistymeow.bundle.serviceosgi;uses:="org.osgi.framework" diff --git a/kona/osgi/org.feistymeow.bundle.servicesOSGi/build.properties b/kona/osgi/org.feistymeow.bundle.servicesOSGi/build.properties new file mode 100644 index 00000000..34d2e4d2 --- /dev/null +++ b/kona/osgi/org.feistymeow.bundle.servicesOSGi/build.properties @@ -0,0 +1,4 @@ +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + . diff --git a/kona/osgi/org.feistymeow.bundle.servicesOSGi/src/org/feistymeow/bundle/serviceosgi/HelloService.java b/kona/osgi/org.feistymeow.bundle.servicesOSGi/src/org/feistymeow/bundle/serviceosgi/HelloService.java new file mode 100644 index 00000000..c93c8cc8 --- /dev/null +++ b/kona/osgi/org.feistymeow.bundle.servicesOSGi/src/org/feistymeow/bundle/serviceosgi/HelloService.java @@ -0,0 +1,6 @@ +package org.feistymeow.bundle.serviceosgi; + +public interface HelloService +{ + public String sayHello(); +} diff --git a/kona/osgi/org.feistymeow.bundle.servicesOSGi/src/org/feistymeow/bundle/serviceosgi/HelloServiceActivator.java b/kona/osgi/org.feistymeow.bundle.servicesOSGi/src/org/feistymeow/bundle/serviceosgi/HelloServiceActivator.java new file mode 100644 index 00000000..6d49301a --- /dev/null +++ b/kona/osgi/org.feistymeow.bundle.servicesOSGi/src/org/feistymeow/bundle/serviceosgi/HelloServiceActivator.java @@ -0,0 +1,37 @@ +package org.feistymeow.bundle.serviceosgi; + +import org.osgi.framework.BundleActivator; +import org.osgi.framework.BundleContext; +import org.osgi.framework.ServiceRegistration; + +public class HelloServiceActivator implements BundleActivator +{ + + @SuppressWarnings("rawtypes") + ServiceRegistration helloServiceRegistration; + + /* + * (non-Javadoc) + * + * @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext) + */ + public void start(BundleContext context) throws Exception + { + System.out.println("hello-service start"); + + HelloService helloService = new HelloServiceImpl(); + helloServiceRegistration = context.registerService(HelloService.class.getName(), helloService, null); + } + + /* + * (non-Javadoc) + * + * @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext) + */ + public void stop(BundleContext context) throws Exception + { + helloServiceRegistration.unregister(); + System.out.println("hello-service stop"); + } + +} diff --git a/kona/osgi/org.feistymeow.bundle.servicesOSGi/src/org/feistymeow/bundle/serviceosgi/HelloServiceImpl.java b/kona/osgi/org.feistymeow.bundle.servicesOSGi/src/org/feistymeow/bundle/serviceosgi/HelloServiceImpl.java new file mode 100644 index 00000000..c007d48e --- /dev/null +++ b/kona/osgi/org.feistymeow.bundle.servicesOSGi/src/org/feistymeow/bundle/serviceosgi/HelloServiceImpl.java @@ -0,0 +1,13 @@ +package org.feistymeow.bundle.serviceosgi; + +public class HelloServiceImpl implements HelloService +{ + + @Override + public String sayHello() + { + System.out.println("Inside HelloServiceImpl.sayHello()"); + return "Say Hello"; + } + +} diff --git a/osgi/org.feistymeow.bundle.helloOSGi/.classpath b/osgi/org.feistymeow.bundle.helloOSGi/.classpath deleted file mode 100644 index 098194ca..00000000 --- a/osgi/org.feistymeow.bundle.helloOSGi/.classpath +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/osgi/org.feistymeow.bundle.helloOSGi/.project b/osgi/org.feistymeow.bundle.helloOSGi/.project deleted file mode 100644 index af56a198..00000000 --- a/osgi/org.feistymeow.bundle.helloOSGi/.project +++ /dev/null @@ -1,34 +0,0 @@ - - - org.feistymeow.bundle.helloOSGi - - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - org.eclipse.pde.api.tools.apiAnalysisBuilder - - - - - - org.eclipse.pde.PluginNature - org.eclipse.jdt.core.javanature - org.eclipse.pde.api.tools.apiAnalysisNature - - diff --git a/osgi/org.feistymeow.bundle.helloOSGi/.settings/org.eclipse.jdt.core.prefs b/osgi/org.feistymeow.bundle.helloOSGi/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index f42de363..00000000 --- a/osgi/org.feistymeow.bundle.helloOSGi/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,7 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 -org.eclipse.jdt.core.compiler.compliance=1.7 -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.source=1.7 diff --git a/osgi/org.feistymeow.bundle.helloOSGi/.settings/org.eclipse.pde.core.prefs b/osgi/org.feistymeow.bundle.helloOSGi/.settings/org.eclipse.pde.core.prefs deleted file mode 100644 index e8ff8be0..00000000 --- a/osgi/org.feistymeow.bundle.helloOSGi/.settings/org.eclipse.pde.core.prefs +++ /dev/null @@ -1,4 +0,0 @@ -eclipse.preferences.version=1 -pluginProject.equinox=false -pluginProject.extensions=false -resolve.requirebundle=false diff --git a/osgi/org.feistymeow.bundle.helloOSGi/META-INF/MANIFEST.MF b/osgi/org.feistymeow.bundle.helloOSGi/META-INF/MANIFEST.MF deleted file mode 100644 index 0f036d6a..00000000 --- a/osgi/org.feistymeow.bundle.helloOSGi/META-INF/MANIFEST.MF +++ /dev/null @@ -1,10 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: HelloOSGi -Bundle-SymbolicName: org.feistymeow.bundle.helloOSGi -Bundle-Version: 1.0.0.qualifier -Bundle-Activator: org.feistymeow.bundle.helloosgi.Activator -Bundle-Vendor: feistymeow.org -Bundle-RequiredExecutionEnvironment: JavaSE-1.7 -Import-Package: org.feistymeow.bundle.serviceosgi, - org.osgi.framework;version="1.3.0" diff --git a/osgi/org.feistymeow.bundle.helloOSGi/build.properties b/osgi/org.feistymeow.bundle.helloOSGi/build.properties deleted file mode 100644 index 34d2e4d2..00000000 --- a/osgi/org.feistymeow.bundle.helloOSGi/build.properties +++ /dev/null @@ -1,4 +0,0 @@ -source.. = src/ -output.. = bin/ -bin.includes = META-INF/,\ - . diff --git a/osgi/org.feistymeow.bundle.helloOSGi/src/org/feistymeow/bundle/helloosgi/Activator.java b/osgi/org.feistymeow.bundle.helloOSGi/src/org/feistymeow/bundle/helloosgi/Activator.java deleted file mode 100644 index faa68fbc..00000000 --- a/osgi/org.feistymeow.bundle.helloOSGi/src/org/feistymeow/bundle/helloosgi/Activator.java +++ /dev/null @@ -1,35 +0,0 @@ -package org.feistymeow.bundle.helloosgi; - -import org.feistymeow.bundle.serviceosgi.HelloService; -import org.osgi.framework.BundleActivator; -import org.osgi.framework.BundleContext; -import org.osgi.framework.ServiceReference; - -@SuppressWarnings("rawtypes") -public class Activator implements BundleActivator { - - ServiceReference helloServiceReference; - - /* - * (non-Javadoc) - * @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext) - */ - public void start(BundleContext context) throws Exception { - - System.out.println("into Hello OSGi!"); - - helloServiceReference = context.getServiceReference(HelloService.class.getName()); - @SuppressWarnings("unchecked") - HelloService helloService = (HelloService)context.getService(helloServiceReference); - System.out.println(helloService.sayHello()); - } - - /* - * (non-Javadoc) - * @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext) - */ - public void stop(BundleContext context) throws Exception { - System.out.println("out of Hello OSGi!"); - } - -} diff --git a/osgi/org.feistymeow.bundle.servicesOSGi/.classpath b/osgi/org.feistymeow.bundle.servicesOSGi/.classpath deleted file mode 100644 index 098194ca..00000000 --- a/osgi/org.feistymeow.bundle.servicesOSGi/.classpath +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/osgi/org.feistymeow.bundle.servicesOSGi/.project b/osgi/org.feistymeow.bundle.servicesOSGi/.project deleted file mode 100644 index a831b04d..00000000 --- a/osgi/org.feistymeow.bundle.servicesOSGi/.project +++ /dev/null @@ -1,34 +0,0 @@ - - - org.feistymeow.bundle.servicesOSGi - - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - org.eclipse.pde.api.tools.apiAnalysisBuilder - - - - - - org.eclipse.pde.PluginNature - org.eclipse.jdt.core.javanature - org.eclipse.pde.api.tools.apiAnalysisNature - - diff --git a/osgi/org.feistymeow.bundle.servicesOSGi/.settings/org.eclipse.jdt.core.prefs b/osgi/org.feistymeow.bundle.servicesOSGi/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index f42de363..00000000 --- a/osgi/org.feistymeow.bundle.servicesOSGi/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,7 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 -org.eclipse.jdt.core.compiler.compliance=1.7 -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.source=1.7 diff --git a/osgi/org.feistymeow.bundle.servicesOSGi/.settings/org.eclipse.pde.core.prefs b/osgi/org.feistymeow.bundle.servicesOSGi/.settings/org.eclipse.pde.core.prefs deleted file mode 100644 index e8ff8be0..00000000 --- a/osgi/org.feistymeow.bundle.servicesOSGi/.settings/org.eclipse.pde.core.prefs +++ /dev/null @@ -1,4 +0,0 @@ -eclipse.preferences.version=1 -pluginProject.equinox=false -pluginProject.extensions=false -resolve.requirebundle=false diff --git a/osgi/org.feistymeow.bundle.servicesOSGi/META-INF/MANIFEST.MF b/osgi/org.feistymeow.bundle.servicesOSGi/META-INF/MANIFEST.MF deleted file mode 100644 index 47c20581..00000000 --- a/osgi/org.feistymeow.bundle.servicesOSGi/META-INF/MANIFEST.MF +++ /dev/null @@ -1,10 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: HelloService Plugin -Bundle-SymbolicName: org.feistymeow.bundle.servicesosgi -Bundle-Version: 1.0.0.qualifier -Bundle-Activator: org.feistymeow.bundle.serviceosgi.HelloServiceActivator -Bundle-Vendor: feistymeow.org -Bundle-RequiredExecutionEnvironment: JavaSE-1.7 -Import-Package: org.osgi.framework;version="1.3.0" -Export-Package: org.feistymeow.bundle.serviceosgi;uses:="org.osgi.framework" diff --git a/osgi/org.feistymeow.bundle.servicesOSGi/build.properties b/osgi/org.feistymeow.bundle.servicesOSGi/build.properties deleted file mode 100644 index 34d2e4d2..00000000 --- a/osgi/org.feistymeow.bundle.servicesOSGi/build.properties +++ /dev/null @@ -1,4 +0,0 @@ -source.. = src/ -output.. = bin/ -bin.includes = META-INF/,\ - . diff --git a/osgi/org.feistymeow.bundle.servicesOSGi/src/org/feistymeow/bundle/serviceosgi/HelloService.java b/osgi/org.feistymeow.bundle.servicesOSGi/src/org/feistymeow/bundle/serviceosgi/HelloService.java deleted file mode 100644 index c93c8cc8..00000000 --- a/osgi/org.feistymeow.bundle.servicesOSGi/src/org/feistymeow/bundle/serviceosgi/HelloService.java +++ /dev/null @@ -1,6 +0,0 @@ -package org.feistymeow.bundle.serviceosgi; - -public interface HelloService -{ - public String sayHello(); -} diff --git a/osgi/org.feistymeow.bundle.servicesOSGi/src/org/feistymeow/bundle/serviceosgi/HelloServiceActivator.java b/osgi/org.feistymeow.bundle.servicesOSGi/src/org/feistymeow/bundle/serviceosgi/HelloServiceActivator.java deleted file mode 100644 index 6d49301a..00000000 --- a/osgi/org.feistymeow.bundle.servicesOSGi/src/org/feistymeow/bundle/serviceosgi/HelloServiceActivator.java +++ /dev/null @@ -1,37 +0,0 @@ -package org.feistymeow.bundle.serviceosgi; - -import org.osgi.framework.BundleActivator; -import org.osgi.framework.BundleContext; -import org.osgi.framework.ServiceRegistration; - -public class HelloServiceActivator implements BundleActivator -{ - - @SuppressWarnings("rawtypes") - ServiceRegistration helloServiceRegistration; - - /* - * (non-Javadoc) - * - * @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext) - */ - public void start(BundleContext context) throws Exception - { - System.out.println("hello-service start"); - - HelloService helloService = new HelloServiceImpl(); - helloServiceRegistration = context.registerService(HelloService.class.getName(), helloService, null); - } - - /* - * (non-Javadoc) - * - * @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext) - */ - public void stop(BundleContext context) throws Exception - { - helloServiceRegistration.unregister(); - System.out.println("hello-service stop"); - } - -} diff --git a/osgi/org.feistymeow.bundle.servicesOSGi/src/org/feistymeow/bundle/serviceosgi/HelloServiceImpl.java b/osgi/org.feistymeow.bundle.servicesOSGi/src/org/feistymeow/bundle/serviceosgi/HelloServiceImpl.java deleted file mode 100644 index c007d48e..00000000 --- a/osgi/org.feistymeow.bundle.servicesOSGi/src/org/feistymeow/bundle/serviceosgi/HelloServiceImpl.java +++ /dev/null @@ -1,13 +0,0 @@ -package org.feistymeow.bundle.serviceosgi; - -public class HelloServiceImpl implements HelloService -{ - - @Override - public String sayHello() - { - System.out.println("Inside HelloServiceImpl.sayHello()"); - return "Say Hello"; - } - -}