| Used in the JBossCacheAdapter index. The wrapper provides comparableness and ordering for
the JBoss Fqn key. Specifically, the namespace object is checked first. If they are of the same type and equal then the key is checked.
Otherwise if both objects are of the same type and comparable then natual ordering occurs on these objects. However, if they are not the same type
then ordering of the toString() method is taken (while this may not provide consistency
across time, we do not care as this is reasonable to provide key ordering in the index - which is not visible to the caller).
Key Comparison is done in a similar manner.
author: Steve Woodcock |