mysema / rdfbean

RDFBean - Object/RDF persistence for Java
19 stars 5 forks source link

Add getConfiguration() in SessionFactoryImpl #39

Closed marek-surek closed 11 years ago

marek-surek commented 11 years ago

Currently it is possible to get Configuration only in Session object. Many times it is unnecessary to openConnection to get Configuration. Do you agree to add getter for Configuration? I think it will be very beneficial especially in spring-data-rdf, where I want to get rid of different configuration parser/util class, created be original implementor of spring-data-rdf

timowest commented 11 years ago

Sounds reasonable. Put it also into the interface SessionFactory, then there won't be a dependency on the implementation class.

timowest commented 11 years ago

Implemented here https://github.com/mysema/rdfbean/pull/40