I want to create new reasoner (HermiT).
What is the difference between following two approaches :-
1) Using Factory : [org.semanticweb.HermiT.ReasonerFactory]
ReasonerFactory factory = new ReasonerFactory();
OWLReasoner reasoner = factory.createReasoner(ontology, configuration);
2) Using constructor : [org.semanticweb.HermiT.Reasoner]
Reasoner reasoner = new Reasoner(configuration, ontology);