diff options
author | slewis | 2009-01-24 17:57:15 +0000 |
---|---|---|
committer | slewis | 2009-01-24 17:57:15 +0000 |
commit | b6a69962135244dca99a3c5dba7aa8a848874a2a (patch) | |
tree | 7a84daef8261a0562ed00eff941567d6b454d4a3 /compendium | |
parent | 28ea397fd8223bb3d404e2852420355a5c752e12 (diff) | |
download | org.eclipse.ecf-b6a69962135244dca99a3c5dba7aa8a848874a2a.tar.gz org.eclipse.ecf-b6a69962135244dca99a3c5dba7aa8a848874a2a.tar.xz org.eclipse.ecf-b6a69962135244dca99a3c5dba7aa8a848874a2a.zip |
Initial checkin of osgi discovery part of RFC 119
Diffstat (limited to 'compendium')
11 files changed, 183 insertions, 0 deletions
diff --git a/compendium/bundles/org.eclipse.ecf.osgi.services.discovery/.classpath b/compendium/bundles/org.eclipse.ecf.osgi.services.discovery/.classpath new file mode 100644 index 000000000..2fbb7a23e --- /dev/null +++ b/compendium/bundles/org.eclipse.ecf.osgi.services.discovery/.classpath @@ -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/J2SE-1.4"/> + <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> + <classpathentry kind="src" path="src"/> + <classpathentry kind="output" path="bin"/> +</classpath> diff --git a/compendium/bundles/org.eclipse.ecf.osgi.services.discovery/.options b/compendium/bundles/org.eclipse.ecf.osgi.services.discovery/.options new file mode 100644 index 000000000..55907b1d7 --- /dev/null +++ b/compendium/bundles/org.eclipse.ecf.osgi.services.discovery/.options @@ -0,0 +1,16 @@ +# Debugging options for the org.eclipse.ecf.osgi.services.discovery plug-in + +# Turn on general debugging for the org.eclipse.ecf.osgi.services.discovery plug-in +org.eclipse.ecf.osgi.services.discovery/debug=true +org.eclipse.ecf.osgi.services.discovery/debug/filter = * +org.eclipse.ecf.osgi.services.discovery/debug/flag = true + +# Trace when exceptions are caught +org.eclipse.ecf.osgi.services.discovery/debug/exceptions/catching=true +# Trace when exceptions are thrown +org.eclipse.ecf.osgi.services.discovery/debug/exceptions/throwing=true + +# Trace when methods are entered +org.eclipse.ecf.osgi.services.discovery/debug/methods/entering=true +# Trace when methods are exited +org.eclipse.ecf.osgi.services.discovery/debug/methods/exiting=true diff --git a/compendium/bundles/org.eclipse.ecf.osgi.services.discovery/.project b/compendium/bundles/org.eclipse.ecf.osgi.services.discovery/.project new file mode 100644 index 000000000..b9476584a --- /dev/null +++ b/compendium/bundles/org.eclipse.ecf.osgi.services.discovery/.project @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.ecf.osgi.services.discovery</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> + <buildCommand> + <name>org.eclipse.pde.api.tools.apiAnalysisBuilder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.pde.PluginNature</nature> + <nature>org.eclipse.jdt.core.javanature</nature> + <nature>org.eclipse.pde.api.tools.apiAnalysisNature</nature> + </natures> +</projectDescription> diff --git a/compendium/bundles/org.eclipse.ecf.osgi.services.discovery/.settings/org.eclipse.jdt.core.prefs b/compendium/bundles/org.eclipse.ecf.osgi.services.discovery/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 000000000..d5b89d51c --- /dev/null +++ b/compendium/bundles/org.eclipse.ecf.osgi.services.discovery/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,7 @@ +#Fri Jan 23 15:00:57 PST 2009 +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.2 +org.eclipse.jdt.core.compiler.compliance=1.4 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=warning +org.eclipse.jdt.core.compiler.problem.enumIdentifier=warning +org.eclipse.jdt.core.compiler.source=1.3 diff --git a/compendium/bundles/org.eclipse.ecf.osgi.services.discovery/.settings/org.eclipse.pde.core.prefs b/compendium/bundles/org.eclipse.ecf.osgi.services.discovery/.settings/org.eclipse.pde.core.prefs new file mode 100644 index 000000000..80d12d4e1 --- /dev/null +++ b/compendium/bundles/org.eclipse.ecf.osgi.services.discovery/.settings/org.eclipse.pde.core.prefs @@ -0,0 +1,4 @@ +#Fri Jan 23 15:00:57 PST 2009 +eclipse.preferences.version=1 +pluginProject.extensions=false +resolve.requirebundle=false diff --git a/compendium/bundles/org.eclipse.ecf.osgi.services.discovery/META-INF/MANIFEST.MF b/compendium/bundles/org.eclipse.ecf.osgi.services.discovery/META-INF/MANIFEST.MF new file mode 100644 index 000000000..c17b29f4f --- /dev/null +++ b/compendium/bundles/org.eclipse.ecf.osgi.services.discovery/META-INF/MANIFEST.MF @@ -0,0 +1,11 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %pluginName +Bundle-SymbolicName: org.eclipse.ecf.osgi.services.discovery +Bundle-Version: 1.0.0.qualifier +Bundle-Activator: org.eclipse.ecf.internal.osgi.services.discovery.Activator +Bundle-Vendor: %pluginProvider +Bundle-RequiredExecutionEnvironment: J2SE-1.4 +Import-Package: org.osgi.framework;version="1.3.0" +Bundle-ActivationPolicy: lazy +Bundle-Localization: plugin diff --git a/compendium/bundles/org.eclipse.ecf.osgi.services.discovery/about.html b/compendium/bundles/org.eclipse.ecf.osgi.services.discovery/about.html new file mode 100644 index 000000000..4c79781a5 --- /dev/null +++ b/compendium/bundles/org.eclipse.ecf.osgi.services.discovery/about.html @@ -0,0 +1,28 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> +<title>About</title> +</head> +<body lang="EN-US"> +<h2>About This Content</h2> + +<p>June 25, 2008</p> +<h3>License</h3> + +<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>. +For purposes of the EPL, "Program" will mean the Content.</p> + +<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at <a href="/">http://www.eclipse.org</a>.</p> + +</body> +</html>
\ No newline at end of file diff --git a/compendium/bundles/org.eclipse.ecf.osgi.services.discovery/build.properties b/compendium/bundles/org.eclipse.ecf.osgi.services.discovery/build.properties new file mode 100644 index 000000000..0ff6d9c21 --- /dev/null +++ b/compendium/bundles/org.eclipse.ecf.osgi.services.discovery/build.properties @@ -0,0 +1,10 @@ +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + .,\ + plugin.properties,\ + about.html +src.includes = plugin.properties,\ + src/,\ + META-INF/,\ + about.html diff --git a/compendium/bundles/org.eclipse.ecf.osgi.services.discovery/plugin.properties b/compendium/bundles/org.eclipse.ecf.osgi.services.discovery/plugin.properties new file mode 100644 index 000000000..c01f18723 --- /dev/null +++ b/compendium/bundles/org.eclipse.ecf.osgi.services.discovery/plugin.properties @@ -0,0 +1,10 @@ +################################################################################# +# Copyright (c) 2009 EclipseSource and others. All rights reserved. This +# program and the accompanying materials are made available under the terms of +# the Eclipse Public License v1.0 which accompanies this distribution, and is +# +# Contributors: +# EclipseSource - initial API and implementation +################################################################################# +pluginName=ECF OSGi Discovery +pluginProvider=Eclipse.org
\ No newline at end of file diff --git a/compendium/bundles/org.eclipse.ecf.osgi.services.discovery/src/org/eclipse/ecf/internal/osgi/services/discovery/Activator.java b/compendium/bundles/org.eclipse.ecf.osgi.services.discovery/src/org/eclipse/ecf/internal/osgi/services/discovery/Activator.java new file mode 100644 index 000000000..741a00841 --- /dev/null +++ b/compendium/bundles/org.eclipse.ecf.osgi.services.discovery/src/org/eclipse/ecf/internal/osgi/services/discovery/Activator.java @@ -0,0 +1,32 @@ +/******************************************************************************* +* Copyright (c) 2009 EclipseSource and others. All rights reserved. This +* program and the accompanying materials are made available under the terms of +* the Eclipse Public License v1.0 which accompanies this distribution, and is +* available at http://www.eclipse.org/legal/epl-v10.html +* +* Contributors: +* EclipseSource - initial API and implementation +******************************************************************************/ +package org.eclipse.ecf.internal.osgi.services.discovery; + +import org.osgi.framework.BundleActivator; +import org.osgi.framework.BundleContext; + +public class Activator implements BundleActivator { + + public static final String PLUGIN_ID = "org.eclipse.ecf.osgi.services.discovery"; + /* + * (non-Javadoc) + * @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext) + */ + public void start(BundleContext context) throws Exception { + } + + /* + * (non-Javadoc) + * @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext) + */ + public void stop(BundleContext context) throws Exception { + } + +} diff --git a/compendium/bundles/org.eclipse.ecf.osgi.services.discovery/src/org/eclipse/ecf/internal/osgi/services/discovery/DebugOptions.java b/compendium/bundles/org.eclipse.ecf.osgi.services.discovery/src/org/eclipse/ecf/internal/osgi/services/discovery/DebugOptions.java new file mode 100644 index 000000000..6ebdbed98 --- /dev/null +++ b/compendium/bundles/org.eclipse.ecf.osgi.services.discovery/src/org/eclipse/ecf/internal/osgi/services/discovery/DebugOptions.java @@ -0,0 +1,24 @@ +/******************************************************************************* +* Copyright (c) 2009 EclipseSource and others. All rights reserved. This +* program and the accompanying materials are made available under the terms of +* the Eclipse Public License v1.0 which accompanies this distribution, and is +* available at http://www.eclipse.org/legal/epl-v10.html +* +* Contributors: +* EclipseSource - initial API and implementation +******************************************************************************/ +package org.eclipse.ecf.internal.osgi.services.discovery; + +public interface DebugOptions { + + public static final String DEBUG = Activator.PLUGIN_ID + "/debug"; //$NON-NLS-1$ + + public static final String EXCEPTIONS_CATCHING = DEBUG + "/exceptions/catching"; //$NON-NLS-1$ + + public static final String EXCEPTIONS_THROWING = DEBUG + "/exceptions/throwing"; //$NON-NLS-1$ + + public static final String METHODS_ENTERING = DEBUG + "/methods/entering"; //$NON-NLS-1$ + + public static final String METHODS_EXITING = DEBUG + "/methods/exiting"; //$NON-NLS-1$ + +} |