You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Registry for plugin implementations that allows global override and handles the retrieval of correct implementation based on order of precedence:
34
37
* <ol>
35
38
* <li>plugin registered globally via <code>register</code> methods in this class</li>
36
-
* <li>plugin registered and retrieved using {@link java.lang.System#getProperty(String)} (see get methods for property names)</li>
39
+
* <li>plugin registered and retrieved using Archaius (see get methods for property names)</li>
37
40
* <li>default implementation</li>
38
41
* </ol>
39
42
* See the Hystrix GitHub Wiki for more information: <a href="https://github.com/Netflix/Hystrix/wiki/Plugins">https://github.com/Netflix/Hystrix/wiki/Plugins</a>.
* Retrieve instance of {@link HystrixEventNotifier} to use based on order of precedence as defined in {@link HystrixPlugins} class header.
73
81
* <p>
74
-
* Override default by using {@link #registerEventNotifier(HystrixEventNotifier)} or setting property: <code>hystrix.plugin.HystrixEventNotifier.implementation</code> with the full classname to
82
+
* Override default by using {@link #registerEventNotifier(HystrixEventNotifier)} or setting property (via Archaius): <code>hystrix.plugin.HystrixEventNotifier.implementation</code> with the full classname to
75
83
* load.
76
84
*
77
85
* @return {@link HystrixEventNotifier} implementation to use
78
86
*/
79
87
publicHystrixEventNotifiergetEventNotifier() {
80
88
if (notifier.get() == null) {
81
-
// check for an implementation from System.getProperty first
@@ -109,21 +117,21 @@ public void registerEventNotifier(HystrixEventNotifier impl) {
109
117
/**
110
118
* Retrieve instance of {@link HystrixConcurrencyStrategy} to use based on order of precedence as defined in {@link HystrixPlugins} class header.
111
119
* <p>
112
-
* Override default by using {@link #registerConcurrencyStrategy(HystrixConcurrencyStrategy)} or setting property: <code>hystrix.plugin.HystrixConcurrencyStrategy.implementation</code> with the
120
+
* Override default by using {@link #registerConcurrencyStrategy(HystrixConcurrencyStrategy)} or setting property (via Archaius): <code>hystrix.plugin.HystrixConcurrencyStrategy.implementation</code> with the
113
121
* full classname to load.
114
122
*
115
123
* @return {@link HystrixConcurrencyStrategy} implementation to use
@@ -147,21 +155,21 @@ public void registerConcurrencyStrategy(HystrixConcurrencyStrategy impl) {
147
155
/**
148
156
* Retrieve instance of {@link HystrixMetricsPublisher} to use based on order of precedence as defined in {@link HystrixPlugins} class header.
149
157
* <p>
150
-
* Override default by using {@link #registerMetricsPublisher(HystrixMetricsPublisher)} or setting property: <code>hystrix.plugin.HystrixMetricsPublisher.implementation</code> with the full
158
+
* Override default by using {@link #registerMetricsPublisher(HystrixMetricsPublisher)} or setting property (via Archaius): <code>hystrix.plugin.HystrixMetricsPublisher.implementation</code> with the full
151
159
* classname to load.
152
160
*
153
161
* @return {@link HystrixMetricsPublisher} implementation to use
@@ -185,21 +193,21 @@ public void registerMetricsPublisher(HystrixMetricsPublisher impl) {
185
193
/**
186
194
* Retrieve instance of {@link HystrixPropertiesStrategy} to use based on order of precedence as defined in {@link HystrixPlugins} class header.
187
195
* <p>
188
-
* Override default by using {@link #registerPropertiesStrategy(HystrixPropertiesStrategy)} or setting property: <code>hystrix.plugin.HystrixPropertiesStrategy.implementation</code> with the full
196
+
* Override default by using {@link #registerPropertiesStrategy(HystrixPropertiesStrategy)} or setting property (via Archaius): <code>hystrix.plugin.HystrixPropertiesStrategy.implementation</code> with the full
189
197
* classname to load.
190
198
*
191
199
* @return {@link HystrixPropertiesStrategy} implementation to use
@@ -223,7 +231,7 @@ public void registerPropertiesStrategy(HystrixPropertiesStrategy impl) {
223
231
/**
224
232
* Retrieve instance of {@link HystrixCommandExecutionHook} to use based on order of precedence as defined in {@link HystrixPlugins} class header.
225
233
* <p>
226
-
* Override default by using {@link #registerCommandExecutionHook(HystrixCommandExecutionHook)} or setting property: <code>hystrix.plugin.HystrixCommandExecutionHook.implementation</code> with the
234
+
* Override default by using {@link #registerCommandExecutionHook(HystrixCommandExecutionHook)} or setting property (via Archaius): <code>hystrix.plugin.HystrixCommandExecutionHook.implementation</code> with the
227
235
* full classname to
228
236
* load.
229
237
*
@@ -233,14 +241,14 @@ public void registerPropertiesStrategy(HystrixPropertiesStrategy impl) {
0 commit comments