@@ -92,8 +92,9 @@ public class LauncherConstants {
92
92
public static final String STDERR_REPORT_ENTRY_KEY = "stderr" ;
93
93
94
94
/**
95
- * Property name used to provide patterns for deactivating listeners registered
96
- * via the {@link java.util.ServiceLoader ServiceLoader} mechanism: {@value}
95
+ * Property name used to provide patterns for deactivating
96
+ * {@linkplain TestExecutionListener listeners} registered via the
97
+ * {@link java.util.ServiceLoader ServiceLoader} mechanism: {@value}
97
98
*
98
99
* <h4>Pattern Matching Syntax</h4>
99
100
*
@@ -121,6 +122,17 @@ public class LauncherConstants {
121
122
* {@code org.example.TheirListener}.
122
123
* </ul>
123
124
*
125
+ * <p>Only listeners registered via the {@code ServiceLoader} mechanism can
126
+ * be deactivated. In other words, any listener registered explicitly via the
127
+ * {@link LauncherDiscoveryRequest} cannot be deactivated via this
128
+ * configuration parameter.
129
+ *
130
+ * <p>In addition, since execution listeners are registered before the test
131
+ * run starts, this configuration parameter can only be supplied as a JVM
132
+ * system property or via the JUnit Platform configuration file but cannot
133
+ * be supplied in the {@link LauncherDiscoveryRequest}} that is passed to
134
+ * the {@link Launcher}.
135
+ *
124
136
* @see #DEACTIVATE_ALL_LISTENERS_PATTERN
125
137
* @see org.junit.platform.launcher.TestExecutionListener
126
138
*/
@@ -143,6 +155,11 @@ public class LauncherConstants {
143
155
*
144
156
* <p>By default, interceptor registration is disabled.
145
157
*
158
+ * <p>Since interceptors are registered before the test run starts, this
159
+ * configuration parameter can only be supplied as a JVM system property or
160
+ * via the JUnit Platform configuration file but cannot be supplied in the
161
+ * {@link LauncherDiscoveryRequest}} that is passed to the {@link Launcher}.
162
+ *
146
163
* @see LauncherInterceptor
147
164
*/
148
165
@ API (status = EXPERIMENTAL , since = "1.10" )
0 commit comments