org.apache.tapestry5.ioc
Interface Configuration<T>

All Known Implementing Classes:
ValidatingConfigurationWrapper

public interface Configuration<T>

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:

This implementation is used for un-ordered configuration data.

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(T object)
          Adds an object to the service's contribution.
 

Method Detail

add

void add(T object)
Adds an object to the service's contribution.

Parameters:
object - to add to the service's configuration


Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.