diff options
author | Jon Bratseth <bratseth@yahoo-inc.com> | 2016-11-11 12:45:51 +0100 |
---|---|---|
committer | Jon Bratseth <bratseth@yahoo-inc.com> | 2016-11-11 12:45:51 +0100 |
commit | 9170f595a965f2d15df9daa46585a06bacac2082 (patch) | |
tree | dcfc08a171ddee26ad0e0c72cafb9a75d420bed8 /standalone-container | |
parent | 5d236acbc689d1247e6c0c4c40f5f3f40a29ccfe (diff) |
Allow localhost.localdomain
Diffstat (limited to 'standalone-container')
-rw-r--r-- | standalone-container/src/main/java/com/yahoo/container/standalone/StandaloneContainerActivator.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/standalone-container/src/main/java/com/yahoo/container/standalone/StandaloneContainerActivator.java b/standalone-container/src/main/java/com/yahoo/container/standalone/StandaloneContainerActivator.java index daa609ea686..5de0e30b488 100644 --- a/standalone-container/src/main/java/com/yahoo/container/standalone/StandaloneContainerActivator.java +++ b/standalone-container/src/main/java/com/yahoo/container/standalone/StandaloneContainerActivator.java @@ -39,10 +39,10 @@ import java.util.stream.Stream; import static java.util.stream.Collectors.toMap; /** - * @author <a href="mailto:einarmr@yahoo-inc.com">Einar M R Rosenvinge</a> - * @since 5.21.0 + * @author Einar M R Rosenvinge */ public class StandaloneContainerActivator implements BundleActivator { + @Override public void start(BundleContext bundleContext) throws Exception { Container container = getContainer(); @@ -74,8 +74,6 @@ public class StandaloneContainerActivator implements BundleActivator { StandaloneContainerActivator::getFileChannel)); } - - private static FileChannel getFileChannel(Path path) { try { FileInputStream inputStream = new FileInputStream(path.toFile()); @@ -179,6 +177,7 @@ public class StandaloneContainerActivator implements BundleActivator { }; } } + public static class DummyOsgiFramework implements OsgiFramework { @Override public List<Bundle> installBundle(String bundleLocation) { @@ -213,4 +212,5 @@ public class StandaloneContainerActivator implements BundleActivator { public void stop() { } } + } |