| org.apache.tapestry.ioc.OrderedConfiguration
OrderedConfiguration | public interface OrderedConfiguration (Code) | | Object passed into a service contributor method that allows the method provide contributed values
to the service's configuration.
A service can collect contributions in three different ways:
- As an un-ordered collection of values
- As an ordered list of values (where each value has a unique id, pre-requisited and
post-requisites)
- As a map of keys and values
The service defines the type of contribution, in terms of a base class or service
interface. Contributions must be compatible with the type.
|
Method Summary | |
void | add(String id, T object, String... constraints) Adds an ordered object to a service's contribution. |
add | void add(String id, T object, String... constraints)(Code) | | Adds an ordered object to a service's contribution. Each object has an id (which must be
unique). Optionally, pre-requisites (a list of ids that must precede this object) and
post-requisites (ids that must follow) can be provided.
Parameters: id - a unique id for the object; the id will be fully qualified with the contributingmodule's id Parameters: constraints - used to order the object relative to other contributed objects |
|
|