org.apache.myfaces.extensions.cdi.core.api
Interface Aggregatable<T>


public interface Aggregatable<T>

Allows to collect instances and create an aggregated instance for them.

Author:
Gerhard Petracek

Method Summary
 void add(T t)
          Add an instance which should be aggregated with the existing instances
 T create()
          Creates an aggregated instance for the added instances
 

Method Detail

add

void add(T t)
Add an instance which should be aggregated with the existing instances

Parameters:
t - instance to add

create

T create()
Creates an aggregated instance for the added instances

Returns:
instance which aggregates the added instances


Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.