public interface ManagedDataSource
extends javax.activation.DataSource
DataSource.getInputStream() and allows to
forcibly close these streams. Any existing data source can be converted
to a managed data source using ManagedDataSourceFactory.create(DataSource).| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Close all streams that have been requested from this data source
and that are not yet closed.
|
Copyright © 2004–2016 The Apache Software Foundation. All rights reserved.