Tabnine Logo
ExtensionsRepository.getExtensionFiles
Code IndexAdd Tabnine to your IDE (free)

How to use
getExtensionFiles
method
in
net.java.btrace.api.extensions.ExtensionsRepository

Best Java code snippets using net.java.btrace.api.extensions.ExtensionsRepository.getExtensionFiles (Showing top 4 results out of 315)

origin: org.gridkit.3rd.btrace/core-api

/**
 * Calculated class-path for the extension repository
 * @return Returns the classpath computed over the repository
 */
final public String getClassPath() {
  Collection<File> jars = getExtensionFiles();
  StringBuilder sb = new StringBuilder();
  
  for(File jar : jars) {
    sb.append(File.pathSeparator).append(jar.getAbsolutePath());
  }
  
  return sb.toString();
}

origin: jbachorik/btrace2

/**
 * Calculated class-path for the extension repository
 * @return Returns the classpath computed over the repository
 */
final public String getClassPath() {
  Collection<File> jars = getExtensionFiles();
  StringBuilder sb = new StringBuilder();
  
  for(File jar : jars) {
    sb.append(File.pathSeparator).append(jar.getAbsolutePath());
  }
  
  return sb.toString();
}

origin: org.gridkit.3rd.btrace/core-api

/**
 * Lists the URLs of all the extensions known to the repository
 * @return A URL list of all extensions in the repository
 */
final public List<URL> getExtensionURLs() {
  synchronized(extensionsLock) {
    if (extensions == null) {
      Collection<File> jars = getExtensionFiles();
      extensions = new ArrayList<URL>();
      for(File jar : jars) {
        try {
          extensions.add(jar.toURI().toURL());
        } catch (MalformedURLException ex) {
  //                Logger.getLogger(ExtensionsLocator.class.getName()).log(Level.SEVERE, null, ex);
        }
      }
    }
  }
  return extensions;
}

origin: jbachorik/btrace2

/**
 * Lists the URLs of all the extensions known to the repository
 * @return A URL list of all extensions in the repository
 */
final public List<URL> getExtensionURLs() {
  synchronized(extensionsLock) {
    if (extensions == null) {
      Collection<File> jars = getExtensionFiles();
      extensions = new ArrayList<URL>();
      for(File jar : jars) {
        try {
          extensions.add(jar.toURI().toURL());
        } catch (MalformedURLException ex) {
  //                Logger.getLogger(ExtensionsLocator.class.getName()).log(Level.SEVERE, null, ex);
        }
      }
    }
  }
  return extensions;
}

net.java.btrace.api.extensionsExtensionsRepositorygetExtensionFiles

Popular methods of ExtensionsRepository

  • getClassLoader
    Repository's classloader with custom parent
  • getClassPath
    Calculated class-path for the extension repository
  • getExtensionsPath
    Repository definition path
  • collectJars
  • getExtensionURLs
    Lists the URLs of all the extensions known to the repository
  • getLocation
  • getRequestedPrivileges
  • isExtensionAvailable
    Checks for an extension availability
  • listExtensions
    Lists all the extensions known to the repository
  • loadExtension
    Loads an extension by name

Popular in Java

  • Reading from database using SQL prepared statement
  • startActivity (Activity)
  • getExternalFilesDir (Context)
  • setScale (BigDecimal)
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Join (org.hibernate.mapping)
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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