-
public final class ComponentRegistry.Builder
-
-
Constructor Summary
Constructors Constructor Description ComponentRegistry.Builder()ComponentRegistry.Builder(ComponentRegistry registry)
-
Method Summary
Modifier and Type Method Description final <ERROR CLASS>add(Interceptor interceptor)Append an Interceptor to the end of the list. final <T extends Any> <ERROR CLASS>add(Mapper<T, ?> mapper)Register a Mapper. final <T extends Any> <ERROR CLASS>add(Mapper<T, ?> mapper, Class<T> type)Register a Mapper. final <T extends Any> <ERROR CLASS>add(Keyer<T> keyer)Register a Keyer. final <T extends Any> <ERROR CLASS>add(Keyer<T> keyer, Class<T> type)Register a Keyer. final <T extends Any> <ERROR CLASS>add(Fetcher.Factory<T> factory)Register a Fetcher.Factory. final <T extends Any> <ERROR CLASS>add(Fetcher.Factory<T> factory, Class<T> type)Register a Fetcher.Factory. final <ERROR CLASS>add(Decoder.Factory factory)Register a Decoder.Factory. final ComponentRegistrybuild()-
-
Constructor Detail
-
ComponentRegistry.Builder
ComponentRegistry.Builder()
-
ComponentRegistry.Builder
ComponentRegistry.Builder(ComponentRegistry registry)
-
-
Method Detail
-
add
final <ERROR CLASS> add(Interceptor interceptor)
Append an Interceptor to the end of the list.
-
add
final <T extends Any> <ERROR CLASS> add(Fetcher.Factory<T> factory)
Register a Fetcher.Factory.
-
add
final <T extends Any> <ERROR CLASS> add(Fetcher.Factory<T> factory, Class<T> type)
Register a Fetcher.Factory.
-
add
final <ERROR CLASS> add(Decoder.Factory factory)
Register a Decoder.Factory.
-
build
final ComponentRegistry build()
-
-
-
-