Fixed bug in cross-broker RPC routing
[controller.git] / opendaylight / md-sal / sal-binding-broker / src / main / java / org / opendaylight / controller / sal / binding / codegen / impl / SingletonHolder.java
1 package org.opendaylight.controller.sal.binding.codegen.impl;
2
3 import org.opendaylight.controller.sal.binding.codegen.RuntimeCodeGenerator;
4 import org.opendaylight.controller.sal.binding.spi.NotificationInvokerFactory;
5
6 import javassist.ClassPool;
7
8 public class SingletonHolder {
9
10     public static final ClassPool CLASS_POOL = new ClassPool(); 
11     public static final org.opendaylight.controller.sal.binding.codegen.impl.RuntimeCodeGenerator RPC_GENERATOR_IMPL = new org.opendaylight.controller.sal.binding.codegen.impl.RuntimeCodeGenerator(CLASS_POOL);
12     public static final RuntimeCodeGenerator RPC_GENERATOR = RPC_GENERATOR_IMPL;
13     public static final NotificationInvokerFactory INVOKER_FACTORY = RPC_GENERATOR_IMPL.getInvokerFactory();
14 }