Package step.core.collections.postgresql
Class PostgreSQLCollectionFactory
- java.lang.Object
-
- step.core.collections.postgresql.PostgreSQLCollectionFactory
-
- All Implemented Interfaces:
Closeable,AutoCloseable,step.core.collections.CollectionFactory
public class PostgreSQLCollectionFactory extends Object implements step.core.collections.CollectionFactory
-
-
Constructor Summary
Constructors Constructor Description PostgreSQLCollectionFactory(Properties properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()<T> step.core.collections.Collection<T>getCollection(String name, Class<T> entityClass)
-
-
-
Constructor Detail
-
PostgreSQLCollectionFactory
public PostgreSQLCollectionFactory(Properties properties)
-
-
Method Detail
-
getCollection
public <T> step.core.collections.Collection<T> getCollection(String name, Class<T> entityClass)
- Specified by:
getCollectionin interfacestep.core.collections.CollectionFactory
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
-