Register MXBean only during start 57/85057/1
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 11 Oct 2019 12:32:14 +0000 (14:32 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Fri, 11 Oct 2019 12:32:14 +0000 (14:32 +0200)
commit73b088ee110766618a8728eed653b15cef896cf1
treecb7938c1b0d8e8a7b27b52e7a5541c7e0a305060
parent63b517a3b39d0017a14145ec839b29861f3b03c6
Register MXBean only during start

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

Change-Id: I550b586f905ec95a06cc9aaec167eb584592ba46
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
opendaylight/md-sal/sal-remoterpc-connector/src/main/java/org/opendaylight/controller/remote/rpc/registry/RpcRegistry.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.