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

How to use
canLoad
method
in
org.apache.openejb.config.AutoConfig

Best Java code snippets using org.apache.openejb.config.AutoConfig.canLoad (Showing top 2 results out of 315)

origin: org.apache.openejb/openejb-core

private static String chooseType(final ClassLoader classLoader, final ResourceInfo info, final String defaultType) {
  if (info.types != null) {
    for (final String type : info.types) {
      if (canLoad(classLoader, type)) {
        return type;
      }
    }
  }
  return (info.className != null ? (canLoad(classLoader, info.className) ? info.className : defaultType) : defaultType);
}
origin: org.apache.tomee/openejb-core

private static String chooseType(final ClassLoader classLoader, final ResourceInfo info, final String defaultType) {
  if (info.types != null) {
    for (final String type : info.types) {
      if (canLoad(classLoader, type)) {
        return type;
      }
    }
  }
  return info.className != null ? ((canLoad(classLoader, info.className) ? info.className : defaultType)) : defaultType;
}
org.apache.openejb.configAutoConfigcanLoad

Popular methods of AutoConfig

  • <init>
  • autoCreateContainers
  • autoCreateResources
  • findResourceId
  • autoCreateResource
  • checkUnitDataSourceRefs
  • copy
  • createContainer
  • deploy
  • findResourceProviderId
  • firstMatching
  • getResourceEnvId
  • firstMatching,
  • getResourceEnvId,
  • getResourceId,
  • getResourceIds,
  • getType,
  • getUsableContainer,
  • installResource,
  • isJms,
  • logAutoCreateResource,
  • normalizeResourceId

Popular in Java

  • Creating JSON documents from java classes using gson
  • getApplicationContext (Context)
  • getSystemService (Context)
  • requestLocationUpdates (LocationManager)
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • ImageIO (javax.imageio)
  • JList (javax.swing)
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • 21 Best Atom Packages for 2021
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