Codota Logo
Bootique.autoLoadModules
Code IndexAdd Codota to your IDE (free)

How to use
autoLoadModules
method
in
io.bootique.Bootique

Best Java code snippets using io.bootique.Bootique.autoLoadModules (Showing top 4 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Dictionary d =
  • Codota Iconnew Hashtable()
  • Codota IconBundle bundle;bundle.getHeaders()
  • Codota Iconnew Properties()
  • Smart code suggestions by Codota
}
origin: bootique/bootique

/**
 * Instructs Bootique to load any modules available on classpath that expose {@link io.bootique.BQModuleProvider}
 * provider. Auto-loaded modules will be used in default configuration. Factories within modules will of course be
 * configured dynamically from YAML.
 *
 * @return this instance of test runtime builder.
 */
public T autoLoadModules() {
  bootique.autoLoadModules();
  return (T) this;
}
origin: bootique/bootique

/**
 * A generic main method that auto-loads available modules and runs Bootique stack. Useful for apps that don't
 * care to customize their "main()".
 *
 * @param args app arguments passed by the shell.
 * @since 0.17
 */
public static void main(String[] args) {
  Bootique.app(args).autoLoadModules().exec().exit();
}
origin: io.bootique/bootique

/**
 * A generic main method that auto-loads available modules and runs Bootique stack. Useful for apps that don't
 * care to customize their "main()".
 *
 * @param args app arguments passed by the shell.
 * @since 0.17
 */
public static void main(String[] args) {
  Bootique.app(args).autoLoadModules().exec().exit();
}
origin: io.sarl/io.sarl.lang.sarlc

/** Create the compiler runtime.
 *
 * @param args the command line arguments.
 * @return the runtime.
 */
@SuppressWarnings("static-method")
protected BQRuntime createRuntime(String... args) {
  SARLStandaloneSetup.doPreSetup();
  final BQRuntime runtime = Bootique.app(args).autoLoadModules().createRuntime();
  SARLStandaloneSetup.doPostSetup(runtime.getInstance(Injector.class));
  return runtime;
}
io.bootiqueBootiqueautoLoadModules

Javadoc

Instructs Bootique to load any modules available on class-path that expose BQModuleProvider provider. Auto-loaded modules will be used in default configuration. Factories within modules will of course be configured dynamically from YAML. Use with caution, you may load more modules than you expected. Make sure only needed Bootique dependencies are included on class-path. If in doubt, switch to explicit Module loading via #modules(Class...).

Popular methods of Bootique

  • app
    Starts a builder of Bootique runtime.
  • createRuntime
  • module
  • <init>
  • args
    Appends extra values to Bootique CLI arguments.
  • autoLoadedProviders
  • bootLogger
    Optionally overrides Bootique's BootLogger.
  • builderProviders
  • coreModuleProvider
  • createBootLogger
  • createInjector
  • createJVMShutdownHook
  • createInjector,
  • createJVMShutdownHook,
  • createModule,
  • createShutdownManager,
  • exec,
  • getArgsAsString,
  • modules,
  • override,
  • processExceptions

Popular in Java

  • Updating database using SQL prepared statement
  • onCreateOptionsMenu (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • BigInteger (java.math)
    Immutable arbitrary-precision integers. All operations behave as if BigIntegers were represented in
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • PriorityQueue (java.util)
    An unbounded priority Queue based on a priority heap. The elements of the priority queue are ordered
  • LogFactory (org.apache.commons.logging)
    A minimal incarnation of Apache Commons Logging's LogFactory API, providing just the common Log look
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now