@Experimental @Documented @Retention(value=CLASS) @Target(value={TYPE,PACKAGE}) public @interface Provider
A type can be marked Consumer
or Provider
but not both. A type is assumed to be
Consumer
if it is not marked either Consumer
or Provider
.
A package can be marked Provider
. In this case, all types in the package are considered
to be a provider type regardless of whether they are marked Consumer
or Provider
.
Consumer
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.