org.apache.axis2.format
Interface ManagedDataSource

All Superinterfaces:
javax.activation.DataSource

public interface ManagedDataSource
extends javax.activation.DataSource

Managed data source. This type of data source keeps track of the streams that have been requested using 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).


Method Summary
 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
 

Method Detail

destroy

void destroy()
Close all streams that have been requested from this data source and that are not yet closed.



Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.