- 불필요한 로그를 남기는 리스너 제거.
[Tadpole.git] / com.hangum.tadpole.sql.parser / src / com / hangum / tadpole / sql / Activator.java
blobe027f5787a346cb8db49a6e4a2bf748384bf8370
1 /*******************************************************************************
2 * Copyright (c) 2013 hangum.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the GNU Lesser Public License v2.1
5 * which accompanies this distribution, and is available at
6 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
7 *
8 * Contributors:
9 * hangum - initial API and implementation
10 ******************************************************************************/
11 package com.hangum.tadpole.sql;
13 import org.osgi.framework.BundleActivator;
14 import org.osgi.framework.BundleContext;
16 public class Activator implements BundleActivator {
18 private static BundleContext context;
20 static BundleContext getContext() {
21 return context;
25 * (non-Javadoc)
26 * @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext)
28 public void start(BundleContext bundleContext) throws Exception {
29 Activator.context = bundleContext;
33 * (non-Javadoc)
34 * @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext)
36 public void stop(BundleContext bundleContext) throws Exception {
37 Activator.context = null;