org.apache.directory.shared.util
Class OptionalComponentsMonitor

java.lang.Object
  extended by org.apache.directory.shared.util.AbstractSimpleComponentsMonitor
      extended by org.apache.directory.shared.util.OptionalComponentsMonitor
All Implemented Interfaces:
ComponentsMonitor

public class OptionalComponentsMonitor
extends AbstractSimpleComponentsMonitor

A components monitor for optional components.

Author:
Apache Directory Project

Constructor Summary
OptionalComponentsMonitor(String[] components)
          Instantiates a new optional components monitor.
 
Method Summary
 boolean finalStateValid()
          Checks if the final state is valid.
 
Methods inherited from class org.apache.directory.shared.util.AbstractSimpleComponentsMonitor
allComponentsUsed, getRemainingComponents, useComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OptionalComponentsMonitor

public OptionalComponentsMonitor(String[] components)
Instantiates a new optional components monitor.

Parameters:
components - the components
Method Detail

finalStateValid

public boolean finalStateValid()
Checks if the final state is valid. As all components are optional this implementation always returns true.

Returns:
always true


Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.