7071727374757677787980
@BeforeMethod public void startUp() { Injector injector = Guice.createInjector(Stage.PRODUCTION, new JsonModule(), new HandleJsonModule(), new Module() { @Override public void configure(Binder binder)
8283848586878889909192
{ Bootstrap app = new Bootstrap( new TestingNodeModule(), new InMemoryEventModule(), new TestingHttpServerModule(), new JsonModule(), new JaxrsModule(true), new Module() { @Override public void configure(Binder binder)
6869707172737475767778
checkNotNull(connectorId, "connectorId is null"); checkNotNull(config, "config is null"); try { Bootstrap app = new Bootstrap( new JsonModule(), new KafkaConnectorModule(), new Module() { @Override public void configure(Binder binder)
5152535455565758596061
checkNotNull(optionalConfig, "optionalConfig is null"); try { // A plugin is not required to use Guice; it is just very convenient Bootstrap app = new Bootstrap( new JsonModule(), new ExampleModule(connectorId, typeManager)); Injector injector = app .strictConfig() .doNotInitializeLogging()
7980818283848586878889
{ Bootstrap app = new Bootstrap( new TestingNodeModule(), new InMemoryEventModule(), new TestingHttpServerModule(), new JsonModule(), new JaxrsModule(), new Module() { @Override public void configure(Binder binder)
5758596061626364656667
checkNotNull(config, "config is null"); try { Bootstrap app = new Bootstrap( new MBeanModule(), new JsonModule(), new CassandraClientModule(connectorId), new Module() { @Override public void configure(Binder binder)
8182838485868788899091
6465666768697071727374
try { Bootstrap app = new Bootstrap( new NodeModule(), new MBeanModule(), new JsonModule(), new CassandraClientModule(connectorId), new Module() { @Override public void configure(Binder binder)
7374757677787980818283
try (ThreadContextClassLoader ignored = new ThreadContextClassLoader(classLoader)) { Bootstrap app = new Bootstrap( new NodeModule(), new DiscoveryModule(), new MBeanModule(), new JsonModule(), new HiveClientModule(connectorId), new Module() { @Override public void configure(Binder binder)
4849505152535455565758
checkNotNull(optionalConfig, "optionalConfig is null"); try { // A plugin is not required to use Guice; it is just very convenient Bootstrap app = new Bootstrap( new JsonModule(), new ExampleModule(connectorId)); Injector injector = app .strictConfig() .doNotInitializeLogging()