rcf.core.framework.component
Class ComponentHelpers.FilterComponentInterface

java.lang.Object
  extended by rcf.core.util.filter.AbstractFilter<Class>
      extended by rcf.core.util.filter.FilterAnnotated
          extended by rcf.core.framework.component.ComponentHelpers.FilterComponentInterface
All Implemented Interfaces:
rcf.core.util.filter.Filter<Class>
Enclosing class:
ComponentHelpers

public static final class ComponentHelpers.FilterComponentInterface
extends rcf.core.util.filter.FilterAnnotated

TODO: Javadoc

TODO: Unit tests, Code review, Javadoc review, Seal/Finalize TODO: equals, hashCode, toString

Version:
$Revision: 1.5 $
Author:
Greg Gibeling

Nested Class Summary
 
Nested classes/interfaces inherited from interface rcf.core.util.filter.Filter
rcf.core.util.filter.Filter.Type
 
Field Summary
private static SoftReference<ComponentHelpers.FilterComponentInterface> singleton
          TODO: Javadoc The singleton instance of this class.
 
Fields inherited from class rcf.core.util.filter.FilterAnnotated
annotation
 
Fields inherited from class rcf.core.util.filter.AbstractFilter
filterInverse
 
Constructor Summary
private ComponentHelpers.FilterComponentInterface()
          Default constructor, private to enforce singleton instantiation, while still allowing subclassing.
 
Method Summary
 ComponentHelpers.FilterComponentInterface copy()
           
 boolean equals(Object o)
           
 boolean filter(Class o)
           
static ComponentHelpers.FilterComponentInterface getFilterComponentInterface()
          TODO: Javadoc Get the singleton instance of this class.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class rcf.core.util.filter.FilterAnnotated
filterType
 
Methods inherited from class rcf.core.util.filter.AbstractFilter
filterAll, filterAny, filterInverse
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

singleton

private static SoftReference<ComponentHelpers.FilterComponentInterface> singleton
TODO: Javadoc The singleton instance of this class.

Constructor Detail

ComponentHelpers.FilterComponentInterface

private ComponentHelpers.FilterComponentInterface()
Default constructor, private to enforce singleton instantiation, while still allowing subclassing.

See Also:
getFilterComponentInterface()
Method Detail

getFilterComponentInterface

public static final ComponentHelpers.FilterComponentInterface getFilterComponentInterface()
TODO: Javadoc Get the singleton instance of this class.

Returns:
The singleton instance of this class.

copy

public ComponentHelpers.FilterComponentInterface copy()

equals

public boolean equals(Object o)
Specified by:
equals in interface rcf.core.util.filter.Filter<Class>
Overrides:
equals in class Object

filter

public boolean filter(Class o)
Specified by:
filter in interface rcf.core.util.filter.Filter<Class>
Overrides:
filter in class rcf.core.util.filter.FilterAnnotated

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object