/*
 *************************************************************************
 * Copyright (c) 2006 Actuate Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *  Actuate Corporation - initial API and implementation
 *  
 *************************************************************************
 */

package org.eclipse.birt.data.oda.util;

import org.eclipse.birt.core.plugin.BIRTPlugin;
import org.eclipse.birt.data.oda.util.manifest.DtpManifestExplorer;
import org.eclipse.birt.data.oda.util.manifest.ManifestExplorer;
import org.osgi.framework.BundleContext;

/**
 * Bundle activator class.
 */
public class BirtOdaPlugin extends BIRTPlugin
{

    /* (non-Javadoc)
     * @see org.eclipse.core.runtime.Plugin#stop(org.osgi.framework.BundleContext)
     */
    public void stop( BundleContext context ) throws Exception
    {
        // release plugin's singleton instances
        DtpManifestExplorer.releaseInstance();
        ManifestExplorer.releaseInstance();
        
        super.stop( context );
    }

}
