org.activeio
Interface Disposable

All Known Subinterfaces:
AsyncChannel, AsyncChannelServer, AsyncCommandChannel, AsynchChannel, Channel, ChannelServer, InputAsyncChannel, InputStreamChannel, InputSyncChannel, OutputChannel, OutputStreamChannel, Packet, RequestChannel, StreamChannel, StreamChannelServer, SyncChannel, SyncChannelServer
All Known Implementing Classes:
AppendedPacket, AsyncChannelToAsyncCommandChannel, AsyncChannelToClientRequestChannel, AsyncChannelToConcurrentRequestChannel, AsyncChannelToServerRequestChannel, AsyncToSyncChannel, AsyncToSyncChannelServer, AsyncWriteAsyncChannel, ByteArrayPacket, ByteBufferPacket, ByteBufferPacketPool, BytePacket, ControlFile, CounterAsyncChannel, DatagramSocketSyncChannel, EmptyPacket, EOSPacket, FilterAsyncChannel, FilterAsyncChannelServer, FilterPacket, FilterSyncChannel, FilterSyncChannelServer, JournalImpl, LogFile, NIOAsyncChannel, NIOAsyncChannelServer, NIOBaseChannel, NIOSyncChannel, NIOSyncChannelServer, OnePortAsyncChannelServer, PacketAggregatingAsyncChannel, PacketAggregatingSyncChannel, PacketPool, PacketPool.PooledPacket, PushbackSyncChannel, Record, SocketStreamChannel, SocketStreamChannelServer, SocketSyncChannel, SocketSyncChannelServer, SynchornizedAsyncChannel, SynchornizedSyncChannel, SynchToAsynchChannelAdapter, SyncToAsyncChannel, SyncToAsyncChannelServer, VMPipeAsyncChannelFactory.ClassloaderAsyncChannelAdapter, VMPipeAsyncChannelPipe.PipeChannel, VMPipeAsyncChannelServer, WriteBufferedAsyncChannel, WriteBufferedSyncChannel

public interface Disposable

The Disposable interface is implemented by objects the aquire resources whoes life cycle must be managed. Once a Disposable has been disposed, it cannot be un-disposed.

Version:
$Revision$

Method Summary
 void dispose()
          This method should not throw any exceptions.
 

Method Detail

dispose

void dispose()
This method should not throw any exceptions. Cleaning up a Disposable object should be easy of an end user therefore do not make him have to handle an Exception.



Copyright © -2009 The ActiveIO Project. All Rights Reserved.