- register
Register a constructor key with a defined Creator. The key defines the interface
and parameters of t
- ofClass
Construct an implementation using a constructor whose parameters match that of
the provided objects.
- key
Creates a constructor key for use in accessing constructors. The key combines
the interface and type
- suggest
Provides a list of all possible constructor keys for the provided interface.
- <init>
Create a new default factory with an expected number of registered classes and
an interface provider
- find
Find a constructor whose parameters are assignable from the provided key.
- get
Access a constructor for a given constructor key. If the key is not found the
#find(ConstructorKey)
- implementorsOf
Access the registered implementations for a given interface.
- isCDKInterface
Inspects whether the provided class is a ICDKObject interface.
- isConcrete
Inspects whether the provided class is a concrete implementation and thus
instantiable.