Xindice API
version 1.1b3

org.apache.xindice.util
Interface Disposable

All Known Implementing Classes:
CollectionManager

public interface Disposable

Disposable is an interface that is implemented by Xindice Scripts, Services and ScriptComponents in order to be deinitialized before ultimately being garbage collected. This method of removing references helps in garbage collecting components which take part in circular references.

Objects that implement Disposable may be referenced in multiple places. Because of this, their dispose method may be called more than once. Care should be taken to insure that multiple calls to dipose will not corrupt the system in any way.

Version:
CVS $Revision: 1.3 $, $Date: 2003/08/07 20:13:24 $

Method Summary
 void dispose()
          dispose disposes of the object instance.
 

Method Detail

dispose

public void dispose()
dispose disposes of the object instance.

Xindice API
version 1.1b3

Copyright (c) 1999-2003 The Apache Software Foundation. All Rights Reserved.