org.glassfish.jersey.server.spi.internal
Interface ValueFactoryProvider.PriorityType

All Known Implementing Classes:
ValueFactoryProvider.Priority
Enclosing interface:
ValueFactoryProvider

public static interface ValueFactoryProvider.PriorityType

Priorities are intended to be used as a means to determine the order in which objects are considered whether they are suitable for a particular action or not (e.g. providing a service like creating a value factory for an injectable parameter). The higher the weight of a priority is the sooner should be an object with this priority examined.

If two objects are of the same priority there is no guarantee which one comes first.

See Also:
ValueFactoryProvider.Priority

Method Summary
 int getWeight()
          Returns the weight of this priority.
 

Method Detail

getWeight

int getWeight()
Returns the weight of this priority.

Returns:
weight of this priority.


Copyright © 2007-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.