geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rickmcgu...@apache.org
Subject svn commit: r919017 [2/2] - in /geronimo/specs/trunk: geronimo-jpa_2.0_spec/ geronimo-jpa_2.0_spec/src/main/java/javax/persistence/spi/ geronimo-jpa_2.0_spec/src/main/java/org/apache/geronimo/specs/jpa/ geronimo-osgi-support/ geronimo-osgi-support/src/...
Date Thu, 04 Mar 2010 15:16:49 GMT
Added: geronimo/specs/trunk/geronimo-osgi-support/src/test/java/org/apache/geronimo/osgi/registry/OSGiLocatorTest.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-osgi-support/src/test/java/org/apache/geronimo/osgi/registry/OSGiLocatorTest.java?rev=919017&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-osgi-support/src/test/java/org/apache/geronimo/osgi/registry/OSGiLocatorTest.java
(added)
+++ geronimo/specs/trunk/geronimo-osgi-support/src/test/java/org/apache/geronimo/osgi/registry/OSGiLocatorTest.java
Thu Mar  4 15:16:48 2010
@@ -0,0 +1,200 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.geronimo.osgi.registry;
+
+import java.io.File;
+import java.io.IOException;
+import java.io.InputStream;
+import java.util.List;
+
+import org.apache.geronimo.osgi.locator.Activator;
+import org.apache.geronimo.osgi.locator.ProviderLocator;
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertFalse;
+import static org.junit.Assert.assertNotNull;
+import static org.junit.Assert.assertNull;
+import static org.junit.Assert.assertSame;
+import static org.junit.Assert.assertTrue;
+import static org.junit.Assert.fail;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.ops4j.pax.exam.CoreOptions;
+import static org.ops4j.pax.exam.CoreOptions.bundle;
+import static org.ops4j.pax.exam.CoreOptions.equinox;
+import static org.ops4j.pax.exam.CoreOptions.felix;
+import static org.ops4j.pax.exam.CoreOptions.options;
+import static org.ops4j.pax.exam.CoreOptions.provision;
+import static org.ops4j.pax.exam.CoreOptions.wrappedBundle;
+import org.ops4j.pax.exam.Customizer;
+import org.ops4j.pax.exam.Inject;
+import org.ops4j.pax.exam.Option;
+import static org.ops4j.pax.exam.OptionUtils.combine;
+import org.ops4j.pax.exam.junit.JUnit4TestRunner;
+import org.ops4j.pax.exam.options.MavenArtifactProvisionOption;
+import static org.ops4j.pax.swissbox.tinybundles.core.TinyBundles.*;
+import org.osgi.framework.Bundle;
+import org.osgi.framework.BundleContext;
+import org.osgi.framework.Constants;
+
+@RunWith(JUnit4TestRunner.class)
+public class OSGiLocatorTest {
+    @Inject
+    protected BundleContext bundleContext;
+
+    @org.ops4j.pax.exam.junit.Configuration
+    public static Option[] configuration() throws Exception {
+        Option[] options = options(
+            // the target code we're testing...loaded directly from the project build directory
+            bundle(new File(System.getProperty("build.bundle.name")).toURI().toURL().toString()),
+            mavenBundle("org.ops4j.pax.logging", "pax-logging-api"),
+            felix(),
+            equinox().version("3.5.0"),
+            // we want to specify an activator for the test probe bundle that
+            // is the standard one for adding the locator service to a spec
+            // bundle.  We'll use our activator instance to perform class lookups
+            new Customizer()
+            {
+                @Override
+                public InputStream customizeTestProbe( InputStream testProbe )
+                    throws IOException
+                {
+                    return modifyBundle(testProbe)
+                        // these two classes need to be in every participating bundle
+                        .add(org.apache.geronimo.osgi.locator.Activator.class)
+                        .add(org.apache.geronimo.osgi.locator.ProviderLocator.class)
+                        // set the required activator also
+                        .set(Constants.BUNDLE_ACTIVATOR, org.apache.geronimo.osgi.locator.Activator.class.getName())
+                        // we need an import for activator to function properly.
+                        .set(Constants.IMPORT_PACKAGE, "org.apache.geronimo.osgi.registry.api")
+                        .build();
+                }
+            },
+            provision(newBundle()
+                // need to ensure we have all of the loaded test classes
+                .add(TestTarget.class)
+                .add(TestTargetTwo.class)
+                .add(TestTarget2.class)
+                .add(TestTarget3.class)
+                // we're going to define multiple providers under different interface names,
using a variety of
+                // control file types.
+                .add("OSGI-INF/providers/org.apache.geronimo.osgi.registry.TestTarget", OSGiLocatorTest.class.getResource("/test/OSGI-INF/providers/org.apache.geronimo.osgi.registry.TestTarget"))
+                .add("OSGI-INF/providers/org.apache.geronimo.osgi.registry.TestTarget2",
OSGiLocatorTest.class.getResource("/test/OSGI-INF/providers/org.apache.geronimo.osgi.registry.TestTarget2"))
+                .add("OSGI-INF/providers/org.apache.geronimo.osgi.registry.TestTarget3",
OSGiLocatorTest.class.getResource("/test/OSGI-INF/providers/org.apache.geronimo.osgi.registry.DefaultTarget"))
+                .add("OSGI-INF/providers/org.apache.geronimo.osgi.registry.TestTarget4",
OSGiLocatorTest.class.getResource("/test/OSGI-INF/providers/org.apache.geronimo.osgi.registry.MultipleTarget"))
+                .set(Constants.BUNDLE_SYMBOLICNAME, "TestTargetProvider")
+                .set(Constants.BUNDLE_VERSION, "2.0.0")
+                .build(withBnd()))
+        );
+        options = updateOptions(options);
+        return options;
+    }
+
+
+    @Test
+    public void testLocator() throws Exception {
+        Bundle bundle1 = getInstalledBundle("TestTargetProvider");
+        // check for the target class a verify we got the correct one
+        Class<?> target = ProviderLocator.locate("org.apache.geronimo.osgi.registry.TestTarget");
+        assertNotNull(target);
+        // this should return the given class instance
+        assertEquals("org.apache.geronimo.osgi.registry.TestTarget", target.getName());
+
+        List<Class<?>> targets = ProviderLocator.locateAll("org.apache.geronimo.osgi.registry.TestTarget");
+        // should return one entry and it should be the same class mapping
+        assertEquals(1, targets.size());
+        assertEquals("org.apache.geronimo.osgi.registry.TestTarget", targets.get(0).getName());
+
+        // now load the second target interface.  This is really the same as the first, but
+        // uses a different commenting style.
+        target = ProviderLocator.locate("org.apache.geronimo.osgi.registry.TestTarget2");
+        assertNotNull(target);
+        // this should return the given class instance
+        assertEquals("org.apache.geronimo.osgi.registry.TestTargetTwo", target.getName());
+
+        targets = ProviderLocator.locateAll("org.apache.geronimo.osgi.registry.TestTarget2");
+        // should return one entry and it should be the same class mapping
+        assertEquals(1, targets.size());
+        assertEquals("org.apache.geronimo.osgi.registry.TestTargetTwo", targets.get(0).getName());
+
+        // this uses a default loading style that derives the implementation class from the
control
+        // file name.
+        target = ProviderLocator.locate("org.apache.geronimo.osgi.registry.TestTarget3");
+        assertNotNull(target);
+        // this should return the given class instance
+        assertEquals("org.apache.geronimo.osgi.registry.TestTarget3", target.getName());
+
+        targets = ProviderLocator.locateAll("org.apache.geronimo.osgi.registry.TestTarget3");
+        // should return one entry and it should be the same class mapping
+        assertEquals(1, targets.size());
+        assertEquals("org.apache.geronimo.osgi.registry.TestTarget3", targets.get(0).getName());
+
+
+        // this mapping defines multiple classes for the single key.  The first should be
returned for
+        // a singleton request, the locate all should return in definition order
+        target = ProviderLocator.locate("org.apache.geronimo.osgi.registry.TestTarget4");
+        assertNotNull(target);
+        // this should return the given class instance
+        assertEquals("org.apache.geronimo.osgi.registry.TestTarget", target.getName());
+
+        targets = ProviderLocator.locateAll("org.apache.geronimo.osgi.registry.TestTarget4");
+        // should return one entry and it should be the same class mapping
+        assertEquals(2, targets.size());
+        assertEquals("org.apache.geronimo.osgi.registry.TestTarget", targets.get(0).getName());
+        assertEquals("org.apache.geronimo.osgi.registry.TestTarget2", targets.get(1).getName());
+
+        // now stop the first bundle, which should shuffle the deck
+        bundle1.stop();
+
+        // The returned class should now be null since there are no registered providers
+        target = ProviderLocator.locate("org.apache.geronimo.osgi.registry.TestTarget");
+        assertNull(target);
+
+        targets = ProviderLocator.locateAll("org.apache.geronimo.osgi.registry.TestTarget3");
+        // should return an empty list
+        assertNotNull(targets);
+        assertEquals(0, targets.size());
+    }
+
+    protected Bundle getInstalledBundle(String symbolicName) {
+        for (Bundle b : bundleContext.getBundles()) {
+            if (b.getSymbolicName().equals(symbolicName)) {
+                return b;
+            }
+        }
+        return null;
+    }
+
+    public static MavenArtifactProvisionOption mavenBundle(String groupId, String artifactId)
{
+        return CoreOptions.mavenBundle().groupId(groupId).artifactId(artifactId).versionAsInProject();
+    }
+
+    protected static Option[] updateOptions(Option[] options) {
+        // We need to add pax-exam-junit here when running with the ibm
+        // jdk to avoid the following exception during the test run:
+        // ClassNotFoundException: org.ops4j.pax.exam.junit.Configuration
+        if ("IBM Corporation".equals(System.getProperty("java.vendor"))) {
+            Option[] ibmOptions = options(
+                wrappedBundle(mavenBundle("org.ops4j.pax.exam", "pax-exam-junit"))
+            );
+            options = combine(ibmOptions, options);
+        }
+
+        return options;
+    }
+}

Propchange: geronimo/specs/trunk/geronimo-osgi-support/src/test/java/org/apache/geronimo/osgi/registry/OSGiLocatorTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/specs/trunk/geronimo-osgi-support/src/test/java/org/apache/geronimo/osgi/registry/OSGiLocatorTest.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/specs/trunk/geronimo-osgi-support/src/test/java/org/apache/geronimo/osgi/registry/OSGiLocatorTest.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/specs/trunk/geronimo-osgi-support/src/test/java/org/apache/geronimo/osgi/registry/TestTarget.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-osgi-support/src/test/java/org/apache/geronimo/osgi/registry/TestTarget.java?rev=919017&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-osgi-support/src/test/java/org/apache/geronimo/osgi/registry/TestTarget.java
(added)
+++ geronimo/specs/trunk/geronimo-osgi-support/src/test/java/org/apache/geronimo/osgi/registry/TestTarget.java
Thu Mar  4 15:16:48 2010
@@ -0,0 +1,37 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.geronimo.osgi.registry;
+
+public class TestTarget {
+    public TestTarget() {
+    }
+
+    @Override
+    /**
+     * The toString method is a simple means for determining
+     * which class has been instantiated without requiring
+     * interface classes to be exported by the test bundles.
+     *
+     * @return The unique identifier for this class.
+     */
+    public String toString() {
+        return "TestTarget";
+    }
+}
+

Propchange: geronimo/specs/trunk/geronimo-osgi-support/src/test/java/org/apache/geronimo/osgi/registry/TestTarget.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/specs/trunk/geronimo-osgi-support/src/test/java/org/apache/geronimo/osgi/registry/TestTarget.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/specs/trunk/geronimo-osgi-support/src/test/java/org/apache/geronimo/osgi/registry/TestTarget.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/specs/trunk/geronimo-osgi-support/src/test/java/org/apache/geronimo/osgi/registry/TestTarget2.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-osgi-support/src/test/java/org/apache/geronimo/osgi/registry/TestTarget2.java?rev=919017&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-osgi-support/src/test/java/org/apache/geronimo/osgi/registry/TestTarget2.java
(added)
+++ geronimo/specs/trunk/geronimo-osgi-support/src/test/java/org/apache/geronimo/osgi/registry/TestTarget2.java
Thu Mar  4 15:16:48 2010
@@ -0,0 +1,37 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.geronimo.osgi.registry;
+
+public class TestTarget2 {
+    public TestTarget2() {
+    }
+
+    @Override
+    /**
+     * The toString method is a simple means for determining
+     * which class has been instantiated without requiring
+     * interface classes to be exported by the test bundles.
+     *
+     * @return The unique identifier for this class.
+     */
+    public String toString() {
+        return "TestTarget2";
+    }
+}
+

Propchange: geronimo/specs/trunk/geronimo-osgi-support/src/test/java/org/apache/geronimo/osgi/registry/TestTarget2.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/specs/trunk/geronimo-osgi-support/src/test/java/org/apache/geronimo/osgi/registry/TestTarget2.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/specs/trunk/geronimo-osgi-support/src/test/java/org/apache/geronimo/osgi/registry/TestTarget2.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/specs/trunk/geronimo-osgi-support/src/test/java/org/apache/geronimo/osgi/registry/TestTarget3.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-osgi-support/src/test/java/org/apache/geronimo/osgi/registry/TestTarget3.java?rev=919017&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-osgi-support/src/test/java/org/apache/geronimo/osgi/registry/TestTarget3.java
(added)
+++ geronimo/specs/trunk/geronimo-osgi-support/src/test/java/org/apache/geronimo/osgi/registry/TestTarget3.java
Thu Mar  4 15:16:48 2010
@@ -0,0 +1,37 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.geronimo.osgi.registry;
+
+public class TestTarget3 {
+    public TestTarget3() {
+    }
+
+    @Override
+    /**
+     * The toString method is a simple means for determining
+     * which class has been instantiated without requiring
+     * interface classes to be exported by the test bundles.
+     *
+     * @return The unique identifier for this class.
+     */
+    public String toString() {
+        return "TestTarget3";
+    }
+}
+

Propchange: geronimo/specs/trunk/geronimo-osgi-support/src/test/java/org/apache/geronimo/osgi/registry/TestTarget3.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/specs/trunk/geronimo-osgi-support/src/test/java/org/apache/geronimo/osgi/registry/TestTarget3.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/specs/trunk/geronimo-osgi-support/src/test/java/org/apache/geronimo/osgi/registry/TestTarget3.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/specs/trunk/geronimo-osgi-support/src/test/java/org/apache/geronimo/osgi/registry/TestTargetTwo.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-osgi-support/src/test/java/org/apache/geronimo/osgi/registry/TestTargetTwo.java?rev=919017&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-osgi-support/src/test/java/org/apache/geronimo/osgi/registry/TestTargetTwo.java
(added)
+++ geronimo/specs/trunk/geronimo-osgi-support/src/test/java/org/apache/geronimo/osgi/registry/TestTargetTwo.java
Thu Mar  4 15:16:48 2010
@@ -0,0 +1,37 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.geronimo.osgi.registry;
+
+public class TestTargetTwo {
+    public TestTargetTwo() {
+    }
+
+    @Override
+    /**
+     * The toString method is a simple means for determining
+     * which class has been instantiated without requiring
+     * interface classes to be exported by the test bundles.
+     *
+     * @return The unique identifier for this class.
+     */
+    public String toString() {
+        return "TestTargetTwo";
+    }
+}
+

Propchange: geronimo/specs/trunk/geronimo-osgi-support/src/test/java/org/apache/geronimo/osgi/registry/TestTargetTwo.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/specs/trunk/geronimo-osgi-support/src/test/java/org/apache/geronimo/osgi/registry/TestTargetTwo.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/specs/trunk/geronimo-osgi-support/src/test/java/org/apache/geronimo/osgi/registry/TestTargetTwo.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/specs/trunk/geronimo-osgi-support/src/test/resources/test/OSGI-INF/providers/org.apache.geronimo.osgi.registry.DefaultTarget
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-osgi-support/src/test/resources/test/OSGI-INF/providers/org.apache.geronimo.osgi.registry.DefaultTarget?rev=919017&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-osgi-support/src/test/resources/test/OSGI-INF/providers/org.apache.geronimo.osgi.registry.DefaultTarget
(added)
+++ geronimo/specs/trunk/geronimo-osgi-support/src/test/resources/test/OSGI-INF/providers/org.apache.geronimo.osgi.registry.DefaultTarget
Thu Mar  4 15:16:48 2010
@@ -0,0 +1 @@
+# Tests default class mapping...there are no class definitions here

Added: geronimo/specs/trunk/geronimo-osgi-support/src/test/resources/test/OSGI-INF/providers/org.apache.geronimo.osgi.registry.MultipleTarget
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-osgi-support/src/test/resources/test/OSGI-INF/providers/org.apache.geronimo.osgi.registry.MultipleTarget?rev=919017&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-osgi-support/src/test/resources/test/OSGI-INF/providers/org.apache.geronimo.osgi.registry.MultipleTarget
(added)
+++ geronimo/specs/trunk/geronimo-osgi-support/src/test/resources/test/OSGI-INF/providers/org.apache.geronimo.osgi.registry.MultipleTarget
Thu Mar  4 15:16:48 2010
@@ -0,0 +1,4 @@
+# Tests normal class mapping....
+org.apache.geronimo.osgi.registry.TestTarget
+# using multiple provider definitions for a single key
+org.apache.geronimo.osgi.registry.TestTarget2

Added: geronimo/specs/trunk/geronimo-osgi-support/src/test/resources/test/OSGI-INF/providers/org.apache.geronimo.osgi.registry.TestTarget
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-osgi-support/src/test/resources/test/OSGI-INF/providers/org.apache.geronimo.osgi.registry.TestTarget?rev=919017&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-osgi-support/src/test/resources/test/OSGI-INF/providers/org.apache.geronimo.osgi.registry.TestTarget
(added)
+++ geronimo/specs/trunk/geronimo-osgi-support/src/test/resources/test/OSGI-INF/providers/org.apache.geronimo.osgi.registry.TestTarget
Thu Mar  4 15:16:48 2010
@@ -0,0 +1,2 @@
+# Tests normal class mapping....
+org.apache.geronimo.osgi.registry.TestTarget

Added: geronimo/specs/trunk/geronimo-osgi-support/src/test/resources/test/OSGI-INF/providers/org.apache.geronimo.osgi.registry.TestTarget2
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-osgi-support/src/test/resources/test/OSGI-INF/providers/org.apache.geronimo.osgi.registry.TestTarget2?rev=919017&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-osgi-support/src/test/resources/test/OSGI-INF/providers/org.apache.geronimo.osgi.registry.TestTarget2
(added)
+++ geronimo/specs/trunk/geronimo-osgi-support/src/test/resources/test/OSGI-INF/providers/org.apache.geronimo.osgi.registry.TestTarget2
Thu Mar  4 15:16:48 2010
@@ -0,0 +1 @@
+org.apache.geronimo.osgi.registry.TestTargetTwo  # Used as an override to map TestTarget
to TestTargetTwo



Mime
View raw message