getBeanNames() Get a list of all the available beans.
Implementation of this method is optional so it is valid for this method
to return an empty collection, but to return Objects when queried
directly using
Container.getBean(String) .
Get an instance of a bean of a given name (usually name=class name).
Parameters: name - The type to get an instance of The object of the given type, or null if the object does not exist
Get an instance of a bean of a given type
Parameters: type - The type to get an instance of The object of the given type, or null if the object does not exist
Get a list of all the available beans.
Implementation of this method is optional so it is valid for this method
to return an empty collection, but to return Objects when queried
directly using
Container.getBean(String) . This method should only be used
for debugging purposes.
A collection containing all the availble bean names.