public Object getBean (CommandInfo cmdinfo)

A convenience method that takes a CommandInfo object and instantiates the corresponding command, usually a JavaBean component.

This method calls the CommandInfo's getCommandObject method with the ClassLoader used to load the javax.activation.DataHandler class itself.

Parameters:
cmdinfo    the CommandInfo corresponding to a command

Returns:  the instantiated command object