Package org.apache.axis2.format
Interface ManagedDataSource
-
- All Superinterfaces:
DataSource
public interface ManagedDataSource extends DataSource
Managed data source. This type of data source keeps track of the streams that have been requested usingDataSource.getInputStream()
and allows to forcibly close these streams. Any existing data source can be converted to a managed data source usingManagedDataSourceFactory.create(DataSource)
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
destroy()
Close all streams that have been requested from this data source and that are not yet closed.-
Methods inherited from interface javax.activation.DataSource
getContentType, getInputStream, getName, getOutputStream
-
-