Annotation Interface PreferLocal


@Documented @Retention(RUNTIME) @Target({TYPE,METHOD}) public @interface PreferLocal
Requests local instance preference when a service is available in the current runtime.

The runtime may ignore the preference when security, fencing, health, load, or deployment policy requires a different target.