Tabnine Logo
Reflection.loadClassSafe
Code IndexAdd Tabnine to your IDE (free)

How to use
loadClassSafe
method
in
cascading.lingual.util.Reflection

Best Java code snippets using cascading.lingual.util.Reflection.loadClassSafe (Showing top 1 results out of 315)

origin: cascading/lingual-platform

public TestProviderFactory()
 {
 String [] classNames = { "cascading.lingual.platform.local.LocalDefaultFactory",
              "cascading.lingual.platform.hadoop.HadoopDefaultFactory",
              "cascading.lingual.platform.hadoop2.Hadoop2MR1DefaultFactory",
              "cascading.lingual.platform.tez.TezDefaultFactory" };
 for( String className: classNames)
  {
  factory = (DefaultFactory) newInstanceSafe( loadClassSafe( className ) );
  if( factory != null )
   break;
  }
 if( factory == null )
  throw new IllegalStateException( "unable to load factory from known classes" );
 }
cascading.lingual.utilReflectionloadClassSafe

Popular methods of Reflection

  • getStaticField
  • invokeInstanceMethod
  • invokeStaticMethod
  • loadClass
  • newInstance
  • newInstanceSafe

Popular in Java

  • Running tasks concurrently on multiple threads
  • setRequestProperty (URLConnection)
  • scheduleAtFixedRate (Timer)
  • getResourceAsStream (ClassLoader)
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Top plugins for Android Studio
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