Uses of Interface
org.microbean.loader.api.Loader
Packages that use Loader
Package
Description
Provides classes and interfaces related to the default implementation of the
microBean™ Loader API.
Provides classes and interfaces related to the microBean™ Loader API.
Provides classes and interfaces for implementing
Providers using MicroProfile
Config ConfigSource constructs.Provides classes and interfaces related to the service provider interface of
the default
implementation of the microBean™ Loader API.
Provides classes and interfaces for implementing
Providers using Typesafe
Config constructs.-
Uses of Loader in org.microbean.loader
Classes in org.microbean.loader that implement LoaderModifier and TypeClassDescriptionclassA subclassable defaultLoaderimplementation that delegates its work toProviders and anAmbiguityHandler.Methods in org.microbean.loader that return LoaderModifier and TypeMethodDescriptionfinal Loader<?>DefaultLoader.parent()Returns theLoaderserving as the parent of thisDefaultLoader.Methods in org.microbean.loader with parameters of type LoaderModifier and TypeMethodDescriptionprotected Supplier<?>If the suppliedabsolutePathhas a size of2(the root plus a single name), returns a deterministicSupplierwhoseSupplier.get()method returns the environment variable with that name, ornullin all other cases.protected Supplier<?>protected Supplier<?>booleanProxyingProvider.isProxiable(Loader<?> requestor, Path<? extends Type> absolutePath) Returnstrueif the type identified by the suppliedabsolutePathcan be proxied.protected ObjectProxyingProvider.newProxyInstance(Loader<?> requestor, Path<? extends Type> absolutePath, Class<?> interfaceToProxy) Invokes theProxy.newProxyInstance(ClassLoader, Class[], InvocationHandler)method with appropriate arguments and returns the result.Overrides theAbstractProvider.path(Loader, Path)method to return a (relative)Pathconsisting solely of the last element of the suppliedabsolutePath.Overrides theAbstractProvider.path(Loader, Path)method to return a (relative)Pathconsisting solely of the last element of the suppliedabsolutePath. -
Uses of Loader in org.microbean.loader.api
Methods in org.microbean.loader.api with type parameters of type LoaderModifier and TypeMethodDescriptiondefault <L extends Loader<?>>
LCasts thisLoaderappropriately and returns it, usually so that an implementation's implementation-specific methods can be accessed.Methods in org.microbean.loader.api that return LoaderModifier and TypeMethodDescriptiondefault <U> Loader<U>Builds aPathfrom the supplied arguments, calls theload(Path)method and returns its result.default <U> Loader<U>Builds aPathfrom the supplied arguments, calls theload(Path)method and returns its result.default <U> Loader<U>Builds aPathfrom the supplied arguments, calls theload(Path)method and returns its result.default <U> Loader<U>Builds aPathfrom the supplied arguments, calls theload(Path)method and returns its result.default <U> Loader<U>Builds aPathfrom the supplied arguments, calls theload(Path)method and returns its result.default <U> Loader<U>Builds aPathfrom the supplied arguments, calls theload(Path)method and returns its result.default <U> Loader<U>Builds aPathfrom the supplied arguments, calls theload(Path)method and returns its result.default <U> Loader<U>Builds aPathfrom the supplied arguments, calls theload(Path)method and returns its result.<U> Loader<U>default <U> Loader<U>Loader.load(Qualifiers<? extends String, ?> qualifiers, Class<U> type) Builds aPathfrom the supplied arguments, calls theload(Path)method and returns its result.default <U> Loader<U>Loader.load(Qualifiers<? extends String, ?> qualifiers, Type type) Builds aPathfrom the supplied arguments, calls theload(Path)method and returns its result.default <U> Loader<U>Loader.load(Qualifiers<? extends String, ?> qualifiers, org.microbean.type.JavaType.Token<U> type) Builds aPathfrom the supplied arguments, calls theload(Path)method and returns its result.default <U> Loader<U>Loader.load(org.microbean.type.JavaType.Token<U> type) Builds aPathfrom the supplied arguments, calls theload(Path)method and returns its result.default <U> Loader<U>Builds aPathfrom the supplied arguments, calls theload(Path)method and returns its result.default <U> Loader<U>Builds aPathfrom the supplied arguments, calls theload(Path)method and returns its result.default <U> Loader<U>Builds aPathfrom the supplied arguments, calls theload(Path)method and returns its result.static Loader<?>Loader.loader()Bootstraps and returns aLoader.default Loader<?>Returns an ancestralLoader, derived from and possibly identical to thisLoader, that is suitable for a transliterated and absolute version of the suppliedpath, particularly for cases where, during the execution of theload(Path)method, aLoadermust be supplied to some other class.Loader<?>Loader.parent()default Loader<?>Loader.root() -
Uses of Loader in org.microbean.loader.jackson
Methods in org.microbean.loader.jackson with parameters of type LoaderModifier and TypeMethodDescriptionprotected final ObjectCodecInputStreamJacksonProvider.objectCodec(Loader<?> requestingLoader, Path<? extends Type> absolutePath) Invokes theBiFunction.apply(Object, Object)method of theobjectCodecFunctionsupplied at construction time and returns the result.protected abstract ObjectCodecJacksonProvider.objectCodec(Loader<?> requestor, Path<? extends Type> absolutePath) Returns anObjectCodecsuitable for the combination of the suppliedLoaderandPath, ornullif there is no suchObjectCodec.protected BiFunction<? super TreeNode,? super Type, ?> protected TreeNodeConstructor parameters in org.microbean.loader.jackson with type arguments of type LoaderModifierConstructorDescriptionInputStreamJacksonProvider(Type lowerBound, BiFunction<? super Loader<?>, ? super Path<? extends Type>, ? extends ObjectCodec> objectCodecFunction, BiFunction<? super Loader<?>, ? super Path<? extends Type>, ? extends InputStream> inputStreamFunction, Consumer<? super InputStream> inputStreamReadConsumer) Creates a newInputStreamJacksonProvider. -
Uses of Loader in org.microbean.loader.microprofile.config.configsource
Methods in org.microbean.loader.microprofile.config.configsource with parameters of type Loader -
Uses of Loader in org.microbean.loader.spi
Methods in org.microbean.loader.spi with parameters of type LoaderModifier and TypeMethodDescriptiondefault <U> Value<U>AmbiguityHandler.disambiguate(Loader<?> requestor, Path<? extends Type> absolutePath, Provider p0, Value<U> v0, Provider p1, Value<U> v1) protected abstract Supplier<?>protected Supplier<?>Returns a deterministicSuppliersuitable for the current request, represented by the suppliedabsolutePath, as being executed by the suppliedLoader, ornullif no suchSupplieris or ever will be suitable.final Value<?>Implements theProvider.get(Loader, Path)method to first call theAbstractProvider.find(Loader, Path)method, and, if necessary, theAbstractProvider.path(Loader, Path)method, and to then return aValuemade up of the relevant return values.Value<?>Returns aPaththat will be used to build aValueto be returned by theAbstractProvider.get(Loader, Path)method.Calls theAbstractTreeBasedProvider.path(Loader, Path, BiFunction)method with the supplied arguments and the return value of an invocation of theAbstractTreeBasedProvider.reader(Loader, Path)method and returns its result.AbstractTreeBasedProvider.path(Loader<?> requestor, Path<T> absolutePath, BiFunction<? super N, ? super Type, ?> reader) Returns aPathfor a newValuethat will be returned by theAbstractProvider.get(Loader, Path)method.default voidAmbiguityHandler.providerRejected(Loader<?> rejector, Path<? extends Type> absolutePath, Provider provider) Called to notify thisAmbiguityHandlerthat aProviderwas discarded during the search for a configured object.protected abstract BiFunction<? super N,? super Type, ?> Returns aBiFunctionaccepting a node and aTypeand returning the result of reading an object of that type, ornullif no suchBiFunctioncould be sourced.protected abstract Ndefault voidAmbiguityHandler.valueRejected(Loader<?> rejector, Path<? extends Type> absolutePath, Provider provider, Value<?> value) Called to notify thisAmbiguityHandlerthat aValueprovided by aProviderwas discarded during the search for a configured object. -
Uses of Loader in org.microbean.loader.typesafe.config
Methods in org.microbean.loader.typesafe.config with parameters of type LoaderModifier and TypeMethodDescriptionprotected BiFunction<? super ConfigValue,? super Type, ?> protected ConfigValue