import javassist.ClassPool;
+import com.google.common.annotations.Beta;
import com.google.common.base.Preconditions;
import com.google.common.util.concurrent.ListeningExecutorService;
import com.google.common.util.concurrent.MoreExecutors;
+@Beta
public class BindingBrokerTestFactory {
- private static final ClassPool CLASS_POOL = new ClassPool();
+ private static final ClassPool CLASS_POOL = ClassPool.getDefault();
private boolean startWithParsedSchema = true;
private ExecutorService executor;
private ClassPool classPool;
return startWithParsedSchema;
}
- public void setStartWithParsedSchema(boolean startWithParsedSchema) {
+ public void setStartWithParsedSchema(final boolean startWithParsedSchema) {
this.startWithParsedSchema = startWithParsedSchema;
}
return executor;
}
- public void setExecutor(ExecutorService executor) {
+ public void setExecutor(final ExecutorService executor) {
this.executor = executor;
}
return classPool;
}
- public void setClassPool(ClassPool classPool) {
+ public void setClassPool(final ClassPool classPool) {
this.classPool = classPool;
}