Return a single object of the given type or subtypes, not looking in ancestor factories.
A single object of the given type or subtypes.
Useful convenience method when we expect a single object and don't care about the object name. This version of
ObjectOfType automatically includes prototypes and IFactoryObject instances.
|ObjectsException||If the object could not be created.|
|NoSuchObjectDefinitionException||If not exactly one instance of an object was found.|