JDatabaseFactory::setInstance

Gets an instance of a factory object to return on subsequent calls of getInstance.