org.jboss.deployers.spi
Interface Ordered


public interface Ordered

A base interface for that defines the ordering contract and comparator.

Things with a lower order are processed first

Version:
$Revision:$
Author:
Scott.Stark@jboss.org

Nested Class Summary
static class Ordered.OrderedComparator
          The comparator for relative ordering
 
Field Summary
static Comparator<Ordered> COMPARATOR
          The comparator for relative ordering of deployers
 
Method Summary
 int getRelativeOrder()
          Get the relative order
 void setRelativeOrder(int order)
          Set the relative order.
 

Field Detail

COMPARATOR

static final Comparator<Ordered> COMPARATOR
The comparator for relative ordering of deployers

Method Detail

getRelativeOrder

int getRelativeOrder()
Get the relative order

Returns:
the relative order

setRelativeOrder

void setRelativeOrder(int order)
Set the relative order.

Parameters:
order - the order


Copyright ? 2007 JBoss Inc.. All Rights Reserved.