Rework BindingDOMRpcImplementationAdapter instantiation 22/21222/2
authorRobert Varga <rovarga@cisco.com>
Wed, 27 May 2015 11:45:07 +0000 (13:45 +0200)
committerGerrit Code Review <gerrit@opendaylight.org>
Wed, 27 May 2015 16:08:25 +0000 (16:08 +0000)
commit99783448ed6bbcad04b66379db638241c58e3ec8
tree8a9fcca5e13785d91d439b2e7f99b6853fe2898c
parent3d4dc18c01ebca47030284dde81988a44424d821
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>
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