AnyLogic
Expand
Font size
All Implemented Interfaces:
Closeable, AutoCloseable

@AnyLogicInternalAPI
public class DatabaseDescriptorRegistry
extends Object
implements Closeable
This class is internal and shouldn't be called by user.
it may be removed/renamed in future.
Author:
AnyLogic North America, LLC https://anylogic.com

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