org.infinispan.persistence.jdbc.configuration.AbstractJdbcStoreConfigurationChildBuilder Maven / Gradle / Ivy
package org.infinispan.persistence.jdbc.configuration;
import org.infinispan.configuration.cache.AbstractStoreConfigurationChildBuilder;
/**
* AbstractJdbcStoreConfigurationChildBuilder.
*
* @author Tristan Tarrant
* @since 5.2
*/
public abstract class AbstractJdbcStoreConfigurationChildBuilder>
extends AbstractStoreConfigurationChildBuilder implements JdbcStoreConfigurationChildBuilder {
private AbstractJdbcStoreConfigurationBuilder, S> builder;
protected AbstractJdbcStoreConfigurationChildBuilder(AbstractJdbcStoreConfigurationBuilder, S> builder) {
super(builder);
this.builder = builder;
}
@Override
public PooledConnectionFactoryConfigurationBuilder connectionPool() {
return builder.connectionPool();
}
@Override
public ManagedConnectionFactoryConfigurationBuilder dataSource() {
return builder.dataSource();
}
@Override
public SimpleConnectionFactoryConfigurationBuilder simpleConnection() {
return builder.simpleConnection();
}
@Override
public > C connectionFactory(Class klass) {
return builder.connectionFactory(klass);
}
@Override
public > C connectionFactory(C factoryBuilder) {
return builder.connectionFactory(factoryBuilder);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy