Function RegistrationAwareDecoratingFactory.factory

Instantiates component of type T.

T factory ();

Instantiates component of type T. In case of some thrown exception, it will chain any thrown exception with an exception that has information about location where component was registered.

Throws

AediException when another exception occurred during construction

Returns

T instantiated component of type T.