Rework BindingDOMRpcImplementationAdapter instantiation 81/22081/3
authorRobert Varga <rovarga@cisco.com>
Wed, 27 May 2015 11:45:07 +0000 (13:45 +0200)
committerGerrit Code Review <gerrit@opendaylight.org>
Mon, 8 Jun 2015 11:29:29 +0000 (11:29 +0000)
commit96832df9d1d1bdc6f543e50e8bc20b2ec585d47e
tree70b864cc008fc20a6d673c5c3bb7d90bed2794dc
parent524c3e5552f31bde285439bfebf7a65e617a17d5
Rework BindingDOMRpcImplementationAdapter instantiation

Move the SchemaPath/Method map closer to where we instantiate invokers.
This has the benefit of speeding up registration code very slightly,
but more importantly it allows instantiating more efficient invokers, as
we have the SchemaPath->Method map readily available.

Change-Id: Iefc0faadcfd7df6c40240ce1f78c7b734f06c618
Signed-off-by: Robert Varga <rovarga@cisco.com>
(cherry picked from commit 99783448ed6bbcad04b66379db638241c58e3ec8)
opendaylight/md-sal/sal-binding-broker/src/main/java/org/opendaylight/controller/md/sal/binding/impl/BindingDOMRpcImplementationAdapter.java
opendaylight/md-sal/sal-binding-broker/src/main/java/org/opendaylight/controller/md/sal/binding/impl/BindingDOMRpcProviderServiceAdapter.java