Class PreparedStatementsFactory.StatementHolder

java.lang.Object
org.apache.velocity.runtime.resource.loader.PreparedStatementsFactory.StatementHolder
All Implemented Interfaces:
AutoCloseable
Enclosing interface:
PreparedStatementsFactory

public static final class PreparedStatementsFactory.StatementHolder extends Object implements AutoCloseable
A prepared statement bundled with its release action. Implementations of PreparedStatementsFactory.prepare(String) supply the action via any AutoCloseable: close the connection, return to a cache, etc.