00001 package org.openmobileis.oscar;
00002
00003 import org.openmobileis.common.util.PropertiesManager;
00004 import org.openmobileis.common.util.log.LogManager;
00005 import org.openmobileis.oscar.bundlemanager.OscarBundleManager;
00006 import org.osgi.framework.BundleActivator;
00007 import org.osgi.framework.BundleContext;
00008
00009 public class Activator implements BundleActivator {
00010
00011 public void start(BundleContext context) throws Exception {
00012
00013
00014
00015
00016 if (LogManager.getInstance() == null) {
00017 LogManager.registerLogManager(null);
00018 }
00019
00020 OscarBundleManager.setContext(context);
00021
00022 OscarBundleManager.getManager().startBundles();
00023
00024 }
00025
00026 public void stop(BundleContext context) throws Exception {
00027
00028 }
00029
00030 }