net.shibboleth.utilities.java.support.component
Interface DestructableComponent

All Superinterfaces:
Component
All Known Subinterfaces:
ParserPool, Resource
All Known Implementing Classes:
AbstractDestructableIdentifiableInitializableComponent, AbstractDestructableInitializableComponent, AbstractResource, BasicParserPool, ClasspathResource, FilesystemResource, HttpResource, IdleConnectionSweeper

public interface DestructableComponent
extends Component

A component which can be destroyed and its resources reclaimed.


Method Summary
 void destroy()
          Destroys the component.
 boolean isDestroyed()
          Gets whether this component has been destroyed.
 

Method Detail

isDestroyed

boolean isDestroyed()
Gets whether this component has been destroyed. Normally, once a component has been destroyed is can not be used.

Returns:
true if the component has been destroyed, false if not

destroy

void destroy()
Destroys the component.



Copyright © 1999-2012. All Rights Reserved.