com.hammurapi.config.runtime
Class CompositeDestroyable

java.lang.Object
  extended by com.hammurapi.config.runtime.CompositeDestroyable
All Implemented Interfaces:
Destroyable, DestroyableSink

public class CompositeDestroyable
extends Object
implements Destroyable, DestroyableSink


Constructor Summary
CompositeDestroyable()
           
 
Method Summary
 void addDestroyable(Destroyable child)
           
 void destroy()
          Terminates element operations, releases resources used by the component.
 boolean isEmpty()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositeDestroyable

public CompositeDestroyable()
Method Detail

destroy

public void destroy()
             throws ConfigurationException
Description copied from interface: Destroyable
Terminates element operations, releases resources used by the component.

Specified by:
destroy in interface Destroyable
Throws:
ConfigurationException

addDestroyable

public void addDestroyable(Destroyable child)
Specified by:
addDestroyable in interface DestroyableSink

isEmpty

public boolean isEmpty()