Xindice API

org.apache.xindice.util
Interface Disposable

All Known Implementing Classes:
CollectionManager, SimpleScriptComponent, StdComponentManager, StdLogManager, StdResourceManager, StdScriptManager, StdServiceManager

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.


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

Method Detail

dispose

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

Xindice API

Copyright (c) 1999-2001 The Apache Software Foundation