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

How to use
override
method
in
io.bootique.Bootique

Best Java code snippets using io.bootique.Bootique.override (Showing top 1 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

/**
 * Starts an API call chain to override an array of Modules.
 *
 * @param overriddenTypes an array of modules whose bindings should be overridden.
 * @return {@link BQModuleOverrideBuilder} object to specify a Module
 * overriding other modules.
 */
public BQModuleOverrideBuilder<T> override(Class<? extends Module>... overriddenTypes) {
  BQModuleOverrideBuilder<Bootique> subBuilder = bootique.override(overriddenTypes);
  return new BQModuleOverrideBuilder<T>() {
    @Override
    public T with(Class<? extends Module> moduleType) {
      subBuilder.with(moduleType);
      return (T) BQTestRuntimeBuilder.this;
    }
    @Override
    public T with(Module module) {
      subBuilder.with(module);
      return (T) BQTestRuntimeBuilder.this;
    }
  };
}
io.bootiqueBootiqueoverride

Javadoc

Starts an API call chain to override an array of Modules.

Popular methods of Bootique

  • app
    Starts a builder of Bootique runtime.
  • autoLoadModules
    Instructs Bootique to load any modules available on class-path that expose BQModuleProvider provider
  • createRuntime
  • module
  • <init>
  • args
    Appends extra values to Bootique CLI arguments.
  • autoLoadedProviders
  • bootLogger
    Optionally overrides Bootique's BootLogger.
  • builderProviders
  • coreModuleProvider
  • createBootLogger
  • createInjector
  • createBootLogger,
  • createInjector,
  • createJVMShutdownHook,
  • createModule,
  • createShutdownManager,
  • exec,
  • getArgsAsString,
  • modules,
  • processExceptions

Popular in Java

  • Reading from database using SQL prepared statement
  • onCreateOptionsMenu (Activity)
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • orElseThrow (Optional)
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • Properties (java.util)
    The Properties class represents a persistent set of properties. The Properties can be saved to a st
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • JFrame (javax.swing)
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Logger (org.slf4j)
    The main user interface to logging. It is expected that logging takes place through concrete impleme
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