GenericFactoryAnnotationPolicy

A factory policy that uses annotations implementing factory policy interface on component to instantiate the component.

@safe
struct GenericFactoryAnnotationPolicy {}

Members

Static functions

createFactory
GenericFactory!T createFactory(Locator!() locator)

Create a component factory for T using annotations on it that implement factory policy interface.

Meta