public interface ServiceObjectProxyRoutineBuilder extends ObjectProxyRoutineBuilder, ServiceObjectRoutineBuilder
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 |
|---|---|
ServiceObjectProxyRoutineBuilder |
apply(InvocationConfiguration configuration) |
ServiceObjectProxyRoutineBuilder |
apply(ObjectConfiguration configuration) |
ServiceObjectProxyRoutineBuilder |
apply(ServiceConfiguration configuration) |
InvocationConfiguration.Builder<? extends ServiceObjectProxyRoutineBuilder> |
applyInvocationConfiguration() |
ObjectConfiguration.Builder<? extends ServiceObjectProxyRoutineBuilder> |
applyObjectConfiguration() |
ServiceConfiguration.Builder<? extends ServiceObjectProxyRoutineBuilder> |
applyServiceConfiguration() |
ServiceObjectProxyRoutineBuilder |
withType(ObjectProxyRoutineBuilder.BuilderType builderType) |
buildProxy, buildProxy, method, method, method@NotNull ServiceObjectProxyRoutineBuilder apply(@NotNull InvocationConfiguration configuration)
apply in interface InvocationConfiguration.Configurable<ObjectRoutineBuilder>apply in interface ObjectProxyRoutineBuilderapply in interface ServiceObjectRoutineBuilder@NotNull ServiceObjectProxyRoutineBuilder apply(@NotNull ObjectConfiguration configuration)
apply in interface ObjectConfiguration.Configurable<ObjectRoutineBuilder>apply in interface ObjectProxyRoutineBuilderapply in interface ServiceObjectRoutineBuilder@NotNull InvocationConfiguration.Builder<? extends ServiceObjectProxyRoutineBuilder> applyInvocationConfiguration()
applyInvocationConfiguration in interface InvocationConfigurable<ObjectRoutineBuilder>applyInvocationConfiguration in interface ObjectProxyRoutineBuilderapplyInvocationConfiguration in interface ServiceObjectRoutineBuilder@NotNull ObjectConfiguration.Builder<? extends ServiceObjectProxyRoutineBuilder> applyObjectConfiguration()
applyObjectConfiguration in interface ObjectConfigurable<ObjectRoutineBuilder>applyObjectConfiguration in interface ObjectProxyRoutineBuilderapplyObjectConfiguration in interface ServiceObjectRoutineBuilder@NotNull ServiceObjectProxyRoutineBuilder withType(@Nullable ObjectProxyRoutineBuilder.BuilderType builderType)
withType in interface ObjectProxyRoutineBuilder@NotNull ServiceObjectProxyRoutineBuilder apply(@NotNull ServiceConfiguration configuration)
apply in interface ServiceConfiguration.Configurable<ServiceObjectRoutineBuilder>@NotNull ServiceConfiguration.Builder<? extends ServiceObjectProxyRoutineBuilder> applyServiceConfiguration()
applyServiceConfiguration in interface ServiceConfigurable<ServiceObjectRoutineBuilder>