Package org.apache.jorphan.reflect
Annotation JMeterService
-
- All Implemented Interfaces:
-
java.lang.annotation.Annotation
@Retention(value = RetentionPolicy.RUNTIME)@Target(value = ElementType.TYPE)@API(status = API.Status.EXPERIMENTAL, since = "5.6") public @interface JMeterService
This is a marker annotation that describes JMeter will try using java.util.ServiceLoader to find the implementations. If the plugin exposes the service via service loader (META-INF/services) then it will improve JMeter startup.
Note: JMeter will still try scanning the classes in the jars for backward compatibility reasons, so if you expose services, then consider adding
JMeter-Skip-Class-Scanning: true
manifest attribute to your jar file. JMeter will skip scanning class files in such jars