The instance is first searched into the cache and created if not found.
The class is expected to have a no-argument constructor. Parameters: className - the singleton instance corresponding to a classthrows: JRException -