1
2
3
4
5 package gboat2.base.cache.activator;
6
7 import gboat2.base.cache.CacheManager;
8
9 import org.osgi.framework.BundleActivator;
10 import org.osgi.framework.BundleContext;
11
12
13
14
15
16
17
18
19
20 public class CacheActivator implements BundleActivator {
21
22 @Override
23 public void start(BundleContext arg0) throws Exception {
24 CacheManager.getCache();
25 }
26
27 @Override
28 public void stop(BundleContext arg0) throws Exception {
29 CacheManager.getCache().destroy();
30 }
31
32 }