Tabnine Logo
ScopeImpl.getInternalProvider
Code IndexAdd Tabnine to your IDE (free)

How to use
getInternalProvider
method
in
toothpick.ScopeImpl

Best Java code snippets using toothpick.ScopeImpl.getInternalProvider (Showing top 6 results out of 315)

origin: stephanenicolas/toothpick

/**
 * Obtains the provider of the class {@code clazz} and name {@code bindingName}, if any. The returned provider
 * will belong to the pool of unbound providers. It can be {@code null} if there is no such provider.
 *
 * @param clazz the class for which to obtain the unbound provider.
 * @param bindingName the name, possibly {@code null}, for which to obtain the unbound provider.
 * @param <T> the type of {@code clazz}.
 * @return the unbound provider for class {@code clazz} and {@code bindingName}. Returns {@code null} is there
 * is no such unbound provider.
 */
private <T> InternalProviderImpl<? extends T> getUnBoundProvider(Class<T> clazz, String bindingName) {
 return getInternalProvider(clazz, bindingName, false);
}
origin: stephanenicolas/toothpick

/**
 * Obtains the provider of the class {@code clazz} and name {@code bindingName}, if any. The returned provider
 * will be bound to the scope. It can be {@code null} if there is no such provider.
 * Ancestors are not taken into account.
 *
 * @param clazz the class for which to obtain the bound provider.
 * @param bindingName the name, possibly {@code null}, for which to obtain the bound provider.
 * @param <T> the type of {@code clazz}.
 * @return the bound provider for class {@code clazz} and {@code bindingName}. Returns {@code null} is there
 * is no such bound provider.
 */
private <T> InternalProviderImpl<? extends T> getBoundProvider(Class<T> clazz, String bindingName) {
 return getInternalProvider(clazz, bindingName, true);
}
origin: com.github.stephanenicolas.toothpick/toothpick-runtime

/**
 * Obtains the provider of the class {@code clazz} and name {@code bindingName}, if any. The returned provider
 * will belong to the pool of unbound providers. It can be {@code null} if there is no such provider.
 *
 * @param clazz the class for which to obtain the unbound provider.
 * @param bindingName the name, possibly {@code null}, for which to obtain the unbound provider.
 * @param <T> the type of {@code clazz}.
 * @return the unbound provider for class {@code clazz} and {@code bindingName}. Returns {@code null} is there
 * is no such unbound provider.
 */
private <T> InternalProviderImpl<? extends T> getUnBoundProvider(Class<T> clazz, String bindingName) {
 return getInternalProvider(clazz, bindingName, false);
}
origin: com.github.stephanenicolas/toothpick-runtime

/**
 * Obtains the provider of the class {@code clazz} and name {@code bindingName}, if any. The returned provider
 * will belong to the pool of unbound providers. It can be {@code null} if there is no such provider.
 *
 * @param clazz the class for which to obtain the unbound provider.
 * @param bindingName the name, possibly {@code null}, for which to obtain the unbound provider.
 * @param <T> the type of {@code clazz}.
 * @return the unbound provider for class {@code clazz} and {@code bindingName}. Returns {@code null} is there
 * is no such unbound provider.
 */
private <T> InternalProviderImpl<? extends T> getUnBoundProvider(Class<T> clazz, String bindingName) {
 return getInternalProvider(clazz, bindingName, false);
}
origin: com.github.stephanenicolas/toothpick-runtime

/**
 * Obtains the provider of the class {@code clazz} and name {@code bindingName}, if any. The returned provider
 * will be bound to the scope. It can be {@code null} if there is no such provider.
 * Ancestors are not taken into account.
 *
 * @param clazz the class for which to obtain the bound provider.
 * @param bindingName the name, possibly {@code null}, for which to obtain the bound provider.
 * @param <T> the type of {@code clazz}.
 * @return the bound provider for class {@code clazz} and {@code bindingName}. Returns {@code null} is there
 * is no such bound provider.
 */
private <T> InternalProviderImpl<? extends T> getBoundProvider(Class<T> clazz, String bindingName) {
 return getInternalProvider(clazz, bindingName, true);
}
origin: com.github.stephanenicolas.toothpick/toothpick-runtime

/**
 * Obtains the provider of the class {@code clazz} and name {@code bindingName}, if any. The returned provider
 * will be bound to the scope. It can be {@code null} if there is no such provider.
 * Ancestors are not taken into account.
 *
 * @param clazz the class for which to obtain the bound provider.
 * @param bindingName the name, possibly {@code null}, for which to obtain the bound provider.
 * @param <T> the type of {@code clazz}.
 * @return the bound provider for class {@code clazz} and {@code bindingName}. Returns {@code null} is there
 * is no such bound provider.
 */
private <T> InternalProviderImpl<? extends T> getBoundProvider(Class<T> clazz, String bindingName) {
 return getInternalProvider(clazz, bindingName, true);
}
toothpickScopeImplgetInternalProvider

Javadoc

Obtains the provider of the class clazz and name bindingName. The returned provider can either be bound to the scope or not depending on isBound. Ancestors are not taken into account.

Popular methods of ScopeImpl

  • <init>
  • installModules
  • lookupProvider
    The core of Toothpick internals : the provider lookup. It will look for a scoped provider, bubbling
  • toProvider
  • createInternalProvider
  • getBoundProvider
    Obtains the provider of the class clazz and name bindingName, if any. The returned provider will be
  • getInstance
  • getLazy
  • getName
  • getProvider
  • getRootScope
  • getUnBoundProvider
    Obtains the provider of the class clazz and name bindingName, if any. The returned provider will bel
  • getRootScope,
  • getUnBoundProvider,
  • installBoundProvider,
  • installInternalProvider,
  • installModule,
  • installNamedProvider,
  • installScopedProvider,
  • installUnBoundProvider,
  • installUnNamedProvider

Popular in Java

  • Running tasks concurrently on multiple threads
  • getSystemService (Context)
  • setScale (BigDecimal)
  • getExternalFilesDir (Context)
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • JFileChooser (javax.swing)
  • Best IntelliJ plugins
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