public interface LoaderObjectProxyRoutineBuilder extends ObjectProxyRoutineBuilder, LoaderObjectRoutineBuilder
The builder will automatically decide whether to employ reflection or code generation to build
the proxy instance, based on the presence of the proper annotation and target value. So, if the
pre-processor annotation is present in the proxy interface and the target object is assignable to
the annotation target class, then code generation will be employed, reflection otherwise.
Note that the use of one or the other can be forced by calling the proper method.
Created by davide-maestroni on 03/06/2016.
ObjectProxyRoutineBuilder.BuilderType| Modifier and Type | Method and Description |
|---|---|
LoaderObjectProxyRoutineBuilder |
apply(InvocationConfiguration configuration) |
LoaderObjectProxyRoutineBuilder |
apply(LoaderConfiguration configuration) |
LoaderObjectProxyRoutineBuilder |
apply(ObjectConfiguration configuration) |
InvocationConfiguration.Builder<? extends LoaderObjectProxyRoutineBuilder> |
applyInvocationConfiguration() |
LoaderConfiguration.Builder<? extends LoaderObjectProxyRoutineBuilder> |
applyLoaderConfiguration() |
ObjectConfiguration.Builder<? extends LoaderObjectProxyRoutineBuilder> |
applyObjectConfiguration() |
LoaderObjectProxyRoutineBuilder |
withType(ObjectProxyRoutineBuilder.BuilderType builderType) |
buildProxy, buildProxy, method, method, method@NotNull LoaderObjectProxyRoutineBuilder apply(@NotNull InvocationConfiguration configuration)
apply in interface InvocationConfiguration.Configurable<ObjectRoutineBuilder>apply in interface LoaderObjectRoutineBuilderapply in interface ObjectProxyRoutineBuilder@NotNull LoaderObjectProxyRoutineBuilder apply(@NotNull ObjectConfiguration configuration)
apply in interface LoaderObjectRoutineBuilderapply in interface ObjectConfiguration.Configurable<ObjectRoutineBuilder>apply in interface ObjectProxyRoutineBuilder@NotNull InvocationConfiguration.Builder<? extends LoaderObjectProxyRoutineBuilder> applyInvocationConfiguration()
applyInvocationConfiguration in interface InvocationConfigurable<ObjectRoutineBuilder>applyInvocationConfiguration in interface LoaderObjectRoutineBuilderapplyInvocationConfiguration in interface ObjectProxyRoutineBuilder@NotNull ObjectConfiguration.Builder<? extends LoaderObjectProxyRoutineBuilder> applyObjectConfiguration()
applyObjectConfiguration in interface LoaderObjectRoutineBuilderapplyObjectConfiguration in interface ObjectConfigurable<ObjectRoutineBuilder>applyObjectConfiguration in interface ObjectProxyRoutineBuilder@NotNull LoaderObjectProxyRoutineBuilder withType(@Nullable ObjectProxyRoutineBuilder.BuilderType builderType)
withType in interface ObjectProxyRoutineBuilder@NotNull LoaderObjectProxyRoutineBuilder apply(@NotNull LoaderConfiguration configuration)
apply in interface LoaderConfiguration.Configurable<LoaderObjectRoutineBuilder>@NotNull LoaderConfiguration.Builder<? extends LoaderObjectProxyRoutineBuilder> applyLoaderConfiguration()
applyLoaderConfiguration in interface LoaderConfigurable<LoaderObjectRoutineBuilder>