org.jboss.deployers.structure.spi.helpers
Class DefaultDeploymentContextComparator

java.lang.Object
  extended by org.jboss.deployers.structure.spi.helpers.DefaultDeploymentContextComparator
All Implemented Interfaces:
Serializable, Comparator<DeploymentContext>

public class DefaultDeploymentContextComparator
extends Object
implements Comparator<DeploymentContext>, Serializable

DefaultDeploymentContextComparator.

Version:
$Revision: 1.1 $
Author:
Adrian Brock
See Also:
Serialized Form

Field Summary
static DefaultDeploymentContextComparator INSTANCE
          The singleton
 
Constructor Summary
DefaultDeploymentContextComparator()
           
 
Method Summary
 int compare(DeploymentContext o1, DeploymentContext o2)
           
static Comparator<DeploymentContext> getInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Field Detail

INSTANCE

public static final DefaultDeploymentContextComparator INSTANCE
The singleton

Constructor Detail

DefaultDeploymentContextComparator

public DefaultDeploymentContextComparator()
Method Detail

compare

public int compare(DeploymentContext o1,
                   DeploymentContext o2)
Specified by:
compare in interface Comparator<DeploymentContext>

getInstance

public static Comparator<DeploymentContext> getInstance()


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.