TUM CCSM Commons

edu.tum.cs.commons.factory
Interface IParameterizedFactory<T,P,X extends java.lang.Exception>

Type Parameters:
T - Type that gets created by the factory.
P - Parameter that is used for creation.
X - Exception that can get thrown during execution of the factory method. If no exception is thrown, use NeverThrownRuntimeException.
All Known Implementing Classes:
LRUCachingParameterizedFactory, SoftRefCachingParameterizedFactory

public interface IParameterizedFactory<T,P,X extends java.lang.Exception>

Generic factory interface.

Version:
$Rev: 26283 $
Author:
juergens, $Author: juergens $
Rating:
GREEN Hash: 482959F5A3B2D293619D5B9030DE968E

Method Summary
 T create(P parameter)
          Factory method
 

Method Detail

create

T create(P parameter)
         throws X extends java.lang.Exception
Factory method

Throws:
X extends java.lang.Exception

TUM CCSM Commons

TUM CCSM Commons - 2.7