org.jacorb.notification.interfaces
Interface NotifyingDisposable

All Superinterfaces:
org.picocontainer.Disposable, Disposable
All Known Subinterfaces:
GCDisposable, IProxyPushSupplier, JMXManageable, TaskExecutor
All Known Implementing Classes:
AbstractAdmin, AbstractEventChannel, AbstractFilter, AbstractProxy, AbstractProxyPushSupplier, DefaultTaskExecutor, DefaultTaskProcessor, MappingFilterImpl, PooledPushTaskExecutorFactory

public interface NotifyingDisposable
extends Disposable

TODO find a better name for this interface objects implementing this interface allow other Disposables to be registered. as the main object is disposed, it will also invoke dispose on all registered Disposables.

Version:
$Id: NotifyingDisposable.java,v 1.2 2006/01/06 10:12:10 alphonse.bendt Exp $
Author:
Alphonse Bendt

Method Summary
 void registerDisposable(Disposable disposable)
          the hooks registered by this method will be run when dispose is called.
 
Methods inherited from interface org.picocontainer.Disposable
dispose
 

Method Detail

registerDisposable

public void registerDisposable(Disposable disposable)
the hooks registered by this method will be run when dispose is called.