All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.springframework.contributions.util.Orderable Maven / Gradle / Ivy

Go to download

This project adds a so called contribution mechanism (like known from Tapestry IOC or Eclipse Plugins) for configuration and extension of services to the Spring project.

There is a newer version: 2.0.0
Show newest version
package org.springframework.contributions.util;

/**
 * Interface for an object which can be ordered by the {@link Orderer}.
 * 
 * @author Manfred Hantschel
 */
public interface Orderable
{

	/**
	 * Returns the unique id of the entry. Must not contain ',' and must not start or end with white-spaces.
	 * 
	 * @return the id
	 */
	String getOrderableId();

	/**
	 * The constraints, may be null. The string must contain match following declaration:
	 * 
	 * 
	 * declaration = ('before:' | 'after:') reference {',' reference}.
	 * 
* * The reference may contain wildcards like '*' and '?', or, if prefixed and suffixed by '/' a regular expression. * Direct references (without wildcards or regular expressions) are preferred. * * @return the constraints, may be null */ String[] getOrderableConstraints(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy