Archived
0
This commit is contained in:
2017-03-06 23:09:46 +03:00
parent 5c34dbc17f
commit 64df76b8d8
4 changed files with 13 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
/*
* DmitriyMX <mail@dmitriymx.ru>
* 2016-08-15
*/
package asys.api;
public interface BankObject {
Object get(String name);
void save(String name, Object object);
}

View File

@@ -55,7 +55,7 @@ public class Core {
config.put("felix.fileinstall.poll", 250);
config.put("felix.fileinstall.log.level", 2);
config.put("felix.fileinstall.noInitialDelay", true);
config.put("org.osgi.framework.system.packages.extra", "com.sun.net.httpserver");
config.put("org.osgi.framework.system.packages.extra", "com.sun.net.httpserver;asys.api");
return ImmutableMap.newInstance(config);
}

View File

@@ -47,6 +47,7 @@ public class HostActivator implements BundleActivator {
logger.trace("{} | {} | State: {}", bundle.getBundleId(),
bundle.getSymbolicName(), bundle.getState());
if (bundle.getState() == Bundle.INSTALLED) {
bundle.start();
logger.trace("\tStarted");
}
}