hadoop-eclipse-plugin-2.8.5.jar


压缩包内含hadoop-eclipse-plugin-2.8.5.jar,原汁原味,放心食用!
资源截图
代码片段和文件信息
/**
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License Version 2.0 (the
 * “License“); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing software
 * distributed under the License is distributed on an “AS IS“ BASIS
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.apache.hadoop.eclipse;

import org.apache.hadoop.eclipse.servers.ServerRegistry;
import org.eclipse.ui.plugin.AbstractUIPlugin;
import org.osgi.framework.BundleContext;

/**
 * The activator class controls the plug-in life cycle
 */
public class Activator extends AbstractUIPlugin {

  /**
   * The plug-in ID
   */
  public static final String PLUGIN_ID = “org.apache.hadoop.eclipse“;

  /**
   * The shared unique instance (singleton)
   */
  private static Activator plugin;

  /**
   * Constructor
   */
  public Activator() {
    synchronized (Activator.class) {
      if (plugin != null) {
        // Not a singleton!?
        throw new RuntimeException(“Activator for “ + PLUGIN_ID
            + “ is not a singleton“);
      }
      plugin = this;
    }
  }

  /* @inheritDoc */
  @Override
  public void start(BundleContext context) throws Exception {
    super.start(context);
  }

  /* @inheritDoc */
  @Override
  public void stop(BundleContext context) throws Exception {
    ServerRegistry.getInstance().dispose();
    plugin = null;
    super.stop(context);
  }

  /**
   * Returns the shared unique instance (singleton)
   * 
   * @return the shared unique instance (singleton)
   */
  public static Activator getDefault() {
    return plugin;
  }

}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-10-18 23:48  Hadoop-eclipse-plugin-master
     文件         105  2018-10-18 23:48  Hadoop-eclipse-plugin-masterREADME.md
     文件       10525  2018-10-18 23:48  Hadoop-eclipse-plugin-masterivy.xml
     目录           0  2018-10-18 23:48  Hadoop-eclipse-plugin-masterivy
     文件        3443  2018-10-18 23:48  Hadoop-eclipse-plugin-masterivyhadoop-client-pom-template.xml
     文件        4661  2018-10-18 23:48  Hadoop-eclipse-plugin-masterivyhadoop-core-pom-template.xml
     文件        8118  2018-10-18 23:48  Hadoop-eclipse-plugin-masterivyhadoop-core.pom
     文件        1427  2018-10-18 23:48  Hadoop-eclipse-plugin-masterivyhadoop-examples-pom-template.xml
     文件        1814  2018-10-18 23:48  Hadoop-eclipse-plugin-masterivyhadoop-minicluster-pom-template.xml
     文件        1432  2018-10-18 23:48  Hadoop-eclipse-plugin-masterivyhadoop-streaming-pom-template.xml
     文件        2051  2018-10-18 23:48  Hadoop-eclipse-plugin-masterivyhadoop-test-pom-template.xml
     文件        1424  2018-10-18 23:48  Hadoop-eclipse-plugin-masterivyhadoop-tools-pom-template.xml
     文件      910990  2018-10-18 23:48  Hadoop-eclipse-plugin-masterivyivy-2.1.0.jar
     文件        3320  2018-10-18 23:48  Hadoop-eclipse-plugin-masterivyivysettings.xml
     文件        2521  2018-10-18 23:48  Hadoop-eclipse-plugin-masterivylibraries.properties
     目录           0  2018-10-18 23:48  Hadoop-eclipse-plugin-master
elease
     文件    39532491  2018-10-18 23:48  Hadoop-eclipse-plugin-master
eleasehadoop-eclipse-plugin-2.8.5.jar
     目录           0  2018-10-18 23:48  Hadoop-eclipse-plugin-mastersrc
     目录           0  2018-10-18 23:48  Hadoop-eclipse-plugin-mastersrccontrib
     文件       22217  2018-10-18 23:48  Hadoop-eclipse-plugin-mastersrccontribuild-contrib.xml
     文件        4229  2018-10-18 23:48  Hadoop-eclipse-plugin-mastersrccontribuild.xml
     目录           0  2018-10-18 23:48  Hadoop-eclipse-plugin-mastersrccontribeclipse-plugin
     文件         647  2018-10-18 23:48  Hadoop-eclipse-plugin-mastersrccontribeclipse-plugin.project
     目录           0  2018-10-18 23:48  Hadoop-eclipse-plugin-mastersrccontribeclipse-plugin.settings
     文件       21972  2018-10-18 23:48  Hadoop-eclipse-plugin-mastersrccontribeclipse-plugin.settingsorg.eclipse.jdt.core.prefs
     文件         300  2018-10-18 23:48  Hadoop-eclipse-plugin-mastersrccontribeclipse-plugin.settingsorg.eclipse.jdt.ui.prefs
     文件        1803  2018-10-18 23:48  Hadoop-eclipse-plugin-mastersrccontribeclipse-plugin.settingsorg.eclipse.wst.validation.prefs
     目录           0  2018-10-18 23:48  Hadoop-eclipse-plugin-mastersrccontribeclipse-pluginmeta-INF
     文件         752  2018-10-18 23:48  Hadoop-eclipse-plugin-mastersrccontribeclipse-pluginmeta-INFMANIFEST.MF
     文件         735  2018-10-18 23:48  Hadoop-eclipse-plugin-mastersrccontribeclipse-pluginuild.properties
     文件        7804  2018-10-18 23:48  Hadoop-eclipse-plugin-mastersrccontribeclipse-pluginuild.xml
............此处省略142个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)