Top Methods
org.jooq.impl

pack-priv Interface ResourceManagingScopeTrait

extends ResourceManagingScope
Known Direct Implementers
org.jooq.impl.DefaultBindingSetSQLOutputContext, org.jooq.impl.DefaultBindingSetStatementContext
Imports
java.io.Closeable, java.sql.Array, .Blob, .Clob, .SQLXML, org.jooq.ResourceManagingScope

Author
Lukas Eder

Method Summary

Modifier and TypeMethod and Description
public default <R extends Closeable> R
autoClose(R closeable)

Implements org.jooq.ResourceManagingScope.autoClose, org.jooq.ResourceManagingScope.autoClose.

Register a Closeable for auto closing after this scope ends.
public default <R extends AutoCloseable> R
autoClose(R closeable)

Implements org.jooq.ResourceManagingScope.autoClose, org.jooq.ResourceManagingScope.autoClose.

Register a Closeable for auto closing after this scope ends.
public default Array
autoFree(Array array)

Implements org.jooq.ResourceManagingScope.autoFree.

Register a Array for auto freeing after this scope ends.
public default Blob
autoFree(Blob blob)

Implements org.jooq.ResourceManagingScope.autoFree.

Register a Blob for auto freeing after this scope ends.
public default Clob
autoFree(Clob clob)

Implements org.jooq.ResourceManagingScope.autoFree.

Register a Clob for auto freeing after this scope ends.
public default SQLXML
autoFree(SQLXML xml)

Implements org.jooq.ResourceManagingScope.autoFree.

Register a SQLXML for auto freeing after this scope ends.

Method Detail

autoCloseback to summary
public default <R extends Closeable> R autoClose(R closeable)

Implements org.jooq.ResourceManagingScope.autoClose, org.jooq.ResourceManagingScope.autoClose.

Doc from org.jooq.ResourceManagingScope.autoClose.

Register a Closeable for auto closing after this scope ends.

Returns:R

The argument closeable, for convenience.

Annotations
@Override
@Override
autoCloseback to summary
public default <R extends AutoCloseable> R autoClose(R closeable)

Implements org.jooq.ResourceManagingScope.autoClose, org.jooq.ResourceManagingScope.autoClose.

Doc from org.jooq.ResourceManagingScope.autoClose.

Register a Closeable for auto closing after this scope ends.

Returns:R

The argument closeable, for convenience.

autoFreeback to summary
public default Array autoFree(Array array)

Implements org.jooq.ResourceManagingScope.autoFree.

Doc from org.jooq.ResourceManagingScope.autoFree.

Register a Array for auto freeing after this scope ends.

Returns:Array

The argument array, for convenience.

Annotations
@Override
autoFreeback to summary
public default Blob autoFree(Blob blob)

Implements org.jooq.ResourceManagingScope.autoFree.

Doc from org.jooq.ResourceManagingScope.autoFree.

Register a Blob for auto freeing after this scope ends.

Returns:Blob

The argument blob, for convenience.

Annotations
@Override
autoFreeback to summary
public default Clob autoFree(Clob clob)

Implements org.jooq.ResourceManagingScope.autoFree.

Doc from org.jooq.ResourceManagingScope.autoFree.

Register a Clob for auto freeing after this scope ends.

Returns:Clob

The argument clob, for convenience.

Annotations
@Override
autoFreeback to summary
public default SQLXML autoFree(SQLXML xml)

Implements org.jooq.ResourceManagingScope.autoFree.

Doc from org.jooq.ResourceManagingScope.autoFree.

Register a SQLXML for auto freeing after this scope ends.

Returns:SQLXML

The argument xml, for convenience.

Annotations
@Override