Silk DI 0.6


se.jbee.inject.util
Interface Parameterization<T>

Type Parameters:
T - The Type of the parameter
All Superinterfaces:
Supplier<T>, Typed<T>

public interface Parameterization<T>
extends Typed<T>, Supplier<T>

A Parameterization is a Supplier for parameters of Constructor or Method invocations.

Author:
Jan Bernitt (jan@jbee.se)

Method Summary
<E> Parameterization<E>
typed(Type<E> type)
           
 
Methods inherited from interface se.jbee.inject.Typed
getType
 
Methods inherited from interface se.jbee.inject.Supplier
supply
 

Method Detail

typed

<E> Parameterization<E> typed(Type<E> type)
                          throws UnsupportedOperationException
Specified by:
typed in interface Typed<T>
Parameters:
type - The new type of this Parameterization
Returns:
This object with the given Type.
Throws:
UnsupportedOperationException - In case the given type is incompatible with the previous one.

Silk DI 0.6