org.apache.directory.shared.ldap.util
Class AbstractSimpleComponentsMonitor

java.lang.Object
  extended by org.apache.directory.shared.ldap.util.AbstractSimpleComponentsMonitor
All Implemented Interfaces:
ComponentsMonitor
Direct Known Subclasses:
MandatoryComponentsMonitor, OptionalComponentsMonitor

public abstract class AbstractSimpleComponentsMonitor
extends java.lang.Object
implements ComponentsMonitor


Constructor Summary
AbstractSimpleComponentsMonitor(java.lang.String[] components)
           
 
Method Summary
 boolean allComponentsUsed()
           
abstract  boolean finalStateValid()
           
 java.util.List<java.lang.String> getRemainingComponents()
           
 ComponentsMonitor useComponent(java.lang.String component)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractSimpleComponentsMonitor

public AbstractSimpleComponentsMonitor(java.lang.String[] components)
Method Detail

useComponent

public ComponentsMonitor useComponent(java.lang.String component)
                               throws java.lang.IllegalArgumentException
Specified by:
useComponent in interface ComponentsMonitor
Throws:
java.lang.IllegalArgumentException

allComponentsUsed

public boolean allComponentsUsed()
Specified by:
allComponentsUsed in interface ComponentsMonitor

getRemainingComponents

public java.util.List<java.lang.String> getRemainingComponents()
Specified by:
getRemainingComponents in interface ComponentsMonitor

finalStateValid

public abstract boolean finalStateValid()
Specified by:
finalStateValid in interface ComponentsMonitor


Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.