Parent Directory | Revision Log | Patch
revision 405 by torben, Wed Oct 7 04:21:55 2009 UTC | revision 406 by torben, Wed Oct 7 04:28:35 2009 UTC | |
---|---|---|
# | Line 37 public class JMXWrapper { | Line 37 public class JMXWrapper { |
37 | } catch (Exception e) { | } catch (Exception e) { |
38 | logger.log(Level.SEVERE, "Mbean failure",e ); | logger.log(Level.SEVERE, "Mbean failure",e ); |
39 | } | } |
40 | } | |
41 | ||
42 | public static void registerAllCircuitBreakers() { | |
43 | CircuitBreakerManager mgr = CircuitBreakerManager.getManager(); | |
44 | ||
45 | for (String cbName : mgr.getCircuitBreakerNames()) { | |
46 | CircuitBreaker cb = mgr.getCircuitBreaker(cbName); | |
47 | registerCircuitBreaker(cb); | |
48 | } | |
49 | } | } |
50 | } | } |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |