TUM CCSM Commons

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

Type Parameters:
T - Type that gets created by the factory.
X - Exception that can get thrown during execution of the factory method. If no exception is thrown, use NeverThrownRuntimeException.

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

Generic factory interface.

Version:
$Rev: 26283 $
Author:
juergens, $Author: juergens $
Rating:
GREEN Hash: BFC5C4057187A81D452CE62C1CCB02A0

Method Summary
 T create()
          Factory method
 

Method Detail

create

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

Throws:
X extends java.lang.Exception

TUM CCSM Commons

TUM CCSM Commons - 2.7