org.apache.tapestry5.ioc
public interface: OrderedConfiguration [javadoc |
source]
All Known Implementing Classes:
OrderedConfigurationToOrdererAdaptor, ValidatingOrderedConfigurationWrapper
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 from org.apache.tapestry5.ioc.OrderedConfiguration Summary: |
|---|
|
add |
| Method from org.apache.tapestry5.ioc.OrderedConfiguration Detail: |
public void add(String id,
T object,
String constraints)
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. |