congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
Module.getSymbolicName
Code IndexAdd Tabnine to your IDE (free)

How to use
getSymbolicName
method
in
com.bc.ceres.core.runtime.Module

Best Java code snippets using com.bc.ceres.core.runtime.Module.getSymbolicName (Showing top 6 results out of 315)

origin: bcdev/beam

  private static Module getModule(String symbolicName) {
    final Module[] modules = VisatActivator.getInstance().getModuleContext().getModules();
    for (Module module : modules) {
      if (module.getSymbolicName().equals(symbolicName)) {
        return module;
      }
    }
    return null;
  }
}
origin: bcdev/beam

private static String getProductReaderModule(final Product product) {
  final ProductReader productReader = product.getProductReader();
  if (productReader != null) {
    Logger logger = BeamLogManager.getSystemLogger();
    ModuleReader moduleReader = new ModuleReader(logger);
    URL moduleLocation = productReader.getClass().getProtectionDomain().getCodeSource().getLocation();
    try {
      Module module = moduleReader.readFromLocation(moduleLocation);
      return module.getSymbolicName() + "  v " + module.getVersion().toString();
    } catch (Exception e) {
      logger.warning("Could not read " + moduleLocation.toString());
      return "unknown";
    }
  }
  return NO_PRODUCT_READER_MESSAGE;
}
origin: bcdev/beam

symbolicName = declaringModule.getSymbolicName();
loggerName = declaringModule.getSymbolicName();
origin: bcdev/beam

@Override
public void configure(ConfigurationElement config) throws CoreException {
  super.configure(config);
  module = config.getDeclaringExtension().getDeclaringModule();
  ConfigurationElement script = config.getChild("script");
  if (script != null) {
    String scriptType = script.getAttribute("type");
    if (StringUtils.isNotNullAndNotEmpty(scriptType)) {
      type = scriptType;
    }
    String scriptSrc = script.getAttribute("src");
    if (StringUtils.isNotNullAndNotEmpty(scriptSrc)) {
      src = scriptSrc;
    }
    String scriptCode = script.getValue();
    if (StringUtils.isNotNullAndNotEmpty(scriptCode)) {
      code = scriptCode;
    }
    System.out.printf("ScriptAction [%s] of module [%s]:%n", getText(), module.getSymbolicName());
    System.out.printf("  type = [%s]%n", this.type);
    System.out.printf("  src = [%s]%n", this.src);
    System.out.printf("  code = [%s]%n", this.code);
  }
}
origin: bcdev/beam

                declaringModule.getSymbolicName());
moduleContext.getLogger().warning(message);
origin: bcdev/beam

  logger.warning("Could not read module information");
} else {
  ProductData nameValue = ProductData.createInstance(module.getSymbolicName());
  targetNodeME.addAttribute(new MetadataAttribute("moduleName", nameValue, false));
com.bc.ceres.core.runtimeModulegetSymbolicName

Popular methods of Module

  • getClassLoader
  • getExtensionPoint
  • getName
  • getResource
  • getState
  • getVersion
  • getCopyright
  • loadClass

Popular in Java

  • Making http requests using okhttp
  • scheduleAtFixedRate (Timer)
  • notifyDataSetChanged (ArrayAdapter)
  • setRequestProperty (URLConnection)
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • Permission (java.security)
    Legacy security code; do not use.
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • Top 17 PhpStorm Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now