Examples of IActivationStartup


Examples of org.eclipse.dependencyactivator.activation.IActivationStartup

      try {
        String clazz = element.getAttribute("startup"); //$NON-NLS-1$
        if (alreadyStartedBundles.contains(clazz))
          continue;
        Object plugin = element.createExecutableExtension("startup"); //$NON-NLS-1$
        IActivationStartup startup = (IActivationStartup) plugin;
        alreadyStartedBundles.add(clazz);
        logger.info("activate bundle by '" + clazz //$NON-NLS-1$
            + "' because of the activation of '" + dependencyBundle //$NON-NLS-1$
            + "'"); //$NON-NLS-1$
        startup.startup();
      } catch (CoreException e) {
        // TODO Auto-generated catch block
        e.printStackTrace();
      }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.