XSQL: cache ClasLoader reference 52/16952/1
authorRobert Varga <rovarga@cisco.com>
Sun, 22 Mar 2015 13:50:23 +0000 (14:50 +0100)
committerRobert Varga <rovarga@cisco.com>
Sun, 22 Mar 2015 13:51:17 +0000 (14:51 +0100)
commit25d2719b801b73d885e2ce0437d6d7592f883d33
tree6376c96cefc9c1f8922f1790e58ef85e9b062d32
parent7e10c94b230130a9b689992a28b44edb0abc4c8e
XSQL: cache ClasLoader reference

Instead of looking up the class loader on each invocation, cache it
once. Same goes for the list of interfaces being instantiated.

Change-Id: I3954f65e167c57d090579eeef8924e5cc6fedfed
Signed-off-by: Robert Varga <rovarga@cisco.com>
opendaylight/md-sal/sal-dom-xsql/src/main/java/org/opendaylight/controller/md/sal/dom/xsql/jdbc/JDBCResultSet.java