package org.opennaas.extensions.gim; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.osgi.framework.BundleActivator; import org.osgi.framework.BundleContext; public class Activator implements BundleActivator { private static BundleContext context; static Log log = LogFactory.getLog(Activator.class); /** * Get the Bundle Context * * @return BundleContext */ public static BundleContext getContext() { return context; } /** * Initialise the context */ public void start(BundleContext context) throws Exception { Activator.context = context; } /** * */ public void stop(BundleContext context) throws Exception { } }