AnyLogic
Expand
Font size
All Implemented Interfaces:
Closeable, AutoCloseable

public class DatabaseDescriptorRegistry
extends Object
implements Closeable

Constructor Summary

ConstructorDescription
DatabaseDescriptorRegistry() 

Method Summary

Modifier and TypeMethodDescription
voidclose() 
ConnectiongetConnection(DatabaseDescriptor dd) 

Methods inherited from class java.lang.Object

equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Details

DatabaseDescriptorRegistry

public DatabaseDescriptorRegistry()

Method Details

getConnection

public Connection getConnection(DatabaseDescriptor dd)
                         throws SQLException
Throws:
SQLException

close

public void close()
           throws IOException
Specified by:
close in interface AutoCloseable
Specified by:
close in interface Closeable
Throws:
IOException