public class EntitySqlDaoWrapperFactory
extends java.lang.Object
EntitySqlDaoWrapperInvocationHandler| Constructor and Description |
|---|
EntitySqlDaoWrapperFactory(org.skife.jdbi.v2.Handle handle,
org.killbill.clock.Clock clock,
CacheControllerDispatcher cacheControllerDispatcher,
InternalCallContextFactory internalCallContextFactory) |
| Modifier and Type | Method and Description |
|---|---|
<NewSqlDao extends EntitySqlDao<NewEntityModelDao,NewEntity>,NewEntityModelDao extends EntityModelDao<NewEntity>,NewEntity extends org.killbill.billing.util.entity.Entity> |
become(java.lang.Class<NewSqlDao> newSqlDaoClass)
Get an instance of a specified EntitySqlDao class, sharing the same database session as the
initial sql dao class with which this wrapper factory was created.
|
org.skife.jdbi.v2.Handle |
getHandle() |
public EntitySqlDaoWrapperFactory(org.skife.jdbi.v2.Handle handle,
org.killbill.clock.Clock clock,
CacheControllerDispatcher cacheControllerDispatcher,
InternalCallContextFactory internalCallContextFactory)
public <NewSqlDao extends EntitySqlDao<NewEntityModelDao,NewEntity>,NewEntityModelDao extends EntityModelDao<NewEntity>,NewEntity extends org.killbill.billing.util.entity.Entity> NewSqlDao become(java.lang.Class<NewSqlDao> newSqlDaoClass)
NewSqlDao - EntitySqlDao type to createnewSqlDaoClass - the class to instantiatepublic org.skife.jdbi.v2.Handle getHandle()
Copyright © 2010-2020. All Rights Reserved.