diff options
Diffstat (limited to 'bundles/org.eclipse.osgi.tests/bundles_src/test.protocol.handler.user/test/protocol/handler/user/Activator.java')
-rw-r--r-- | bundles/org.eclipse.osgi.tests/bundles_src/test.protocol.handler.user/test/protocol/handler/user/Activator.java | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/bundles/org.eclipse.osgi.tests/bundles_src/test.protocol.handler.user/test/protocol/handler/user/Activator.java b/bundles/org.eclipse.osgi.tests/bundles_src/test.protocol.handler.user/test/protocol/handler/user/Activator.java new file mode 100644 index 000000000..fef905eca --- /dev/null +++ b/bundles/org.eclipse.osgi.tests/bundles_src/test.protocol.handler.user/test/protocol/handler/user/Activator.java @@ -0,0 +1,21 @@ +package test.protocol.handler.user; + +import java.net.URL; +import org.osgi.framework.BundleActivator; +import org.osgi.framework.BundleContext; + +public class Activator implements BundleActivator { + + @Override + public void start(BundleContext context) throws Exception { + URL testURL = new URL("testing1://test"); + testURL.openConnection(); + System.out.println(testURL); + } + + @Override + public void stop(BundleContext context) throws Exception { + // nothing + } + +} |