Class TestPlatformModuleWithEmbeddedDB
- java.lang.Object
-
- com.google.inject.AbstractModule
-
- org.killbill.billing.platform.glue.KillBillPlatformModuleBase
-
- org.killbill.billing.platform.test.glue.TestPlatformModule
-
- org.killbill.billing.platform.test.glue.TestPlatformModuleWithEmbeddedDB
-
- All Implemented Interfaces:
com.google.inject.Module
public class TestPlatformModuleWithEmbeddedDB extends TestPlatformModule
-
-
Field Summary
-
Fields inherited from class org.killbill.billing.platform.glue.KillBillPlatformModuleBase
configSource, MAIN_DATA_SOURCE_ID, MAIN_RO_DATA_SOURCE_ID, OSGI_DATA_SOURCE_ID, SHIRO_DATA_SOURCE_ID, skifeConfigSource
-
-
Constructor Summary
Constructors Constructor Description TestPlatformModuleWithEmbeddedDB(KillbillConfigSource configSource, boolean withOSGI, OSGIConfigProperties osgiConfigProperties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidconfigure()protected voidconfigureEmbeddedDB()protected PlatformDBTestingHelpergetPlatformDBTestingHelper()protected org.skife.jdbi.v2.IDBIprovideIDBIInAComplicatedWayBecauseOf627()protected org.skife.jdbi.v2.IDBIprovideIDBIInAComplicatedWayBecauseOf627(org.skife.jdbi.v2.IDBI idbi)-
Methods inherited from class org.killbill.billing.platform.test.glue.TestPlatformModule
configureBus, configureExternalBus, configureJNDI, configureKillbillNodesApi, configureLifecycle, configureNotificationQ, configureOSGI
-
Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
-
-
-
-
Constructor Detail
-
TestPlatformModuleWithEmbeddedDB
public TestPlatformModuleWithEmbeddedDB(KillbillConfigSource configSource, boolean withOSGI, @Nullable OSGIConfigProperties osgiConfigProperties)
-
-
Method Detail
-
configure
protected void configure()
- Overrides:
configurein classTestPlatformModule
-
configureEmbeddedDB
protected void configureEmbeddedDB()
- Specified by:
configureEmbeddedDBin classTestPlatformModule
-
provideIDBIInAComplicatedWayBecauseOf627
@Provides @Singleton protected org.skife.jdbi.v2.IDBI provideIDBIInAComplicatedWayBecauseOf627()
-
provideIDBIInAComplicatedWayBecauseOf627
@Provides @Singleton @Named("Queue") protected org.skife.jdbi.v2.IDBI provideIDBIInAComplicatedWayBecauseOf627(org.skife.jdbi.v2.IDBI idbi)
-
getPlatformDBTestingHelper
protected PlatformDBTestingHelper getPlatformDBTestingHelper()
-
-