Return an instance (possibly shared or independent) of the given object name.
The instance of the object.
This method allows an object factory to be used as a replacement for the Singleton or Prototype design pattern.
Note that callers should retain references to returned objects. There is no guarantee that this method will be implemented to be efficient. For example, it may be synchronized, or may need to run an RDBMS query.
Will ask the parent factory if the object cannot be found in this factory instance.
|NoSuchObjectDefinitionException||If there's no such object definition.|
|ObjectsException||If the object could not be created.|
|ArgumentNullException||If the supplied name is a null reference (Nothing in Visual Basic).|