Register action MXBean only during start 01/85201/1
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 18 Oct 2019 10:58:28 +0000 (12:58 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Fri, 18 Oct 2019 10:58:28 +0000 (12:58 +0200)
commit0c7c5e8e706d6323d1edf609977068b2d278446e
tree4d28b3bd081282b498dad193ca71d972ff0e38ef
parent1bc0a731d2a019b065738073174eae6ff9dd90c1
Register action MXBean only during start

We should not be registering resources until we are started, this
fixes an exception seen in Genius UT.

Change-Id: I5a95d7e2ddbc71eca23c57843eea64f0c58dfc7c
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
opendaylight/md-sal/sal-remoterpc-connector/src/main/java/org/opendaylight/controller/remote/rpc/registry/ActionRegistry.java

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.