Package io.github.mfvanek.pg.connection
Class PgConnectionFactoryImpl
java.lang.Object
io.github.mfvanek.pg.connection.PgConnectionFactoryImpl
- All Implemented Interfaces:
PgConnectionFactory
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PgConnectionFactoryImpl
public PgConnectionFactoryImpl()
-
-
Method Details
-
forUrl
@Nonnull public PgConnection forUrl(@Nonnull String pgUrl, @Nonnull String userName, @Nonnull String password) - Specified by:
forUrl
in interfacePgConnectionFactory
-
dataSourceFor
@Nonnull public DataSource dataSourceFor(@Nonnull String pgUrl, @Nonnull String userName, @Nonnull String password) - Specified by:
dataSourceFor
in interfacePgConnectionFactory
-