Hi Anurag, OpenJPA configuration framework uses the concept of ProductDerivation to load almost everything. So the answer to your question lies in two files .\openjpa-slice\src\main\resources\META-INF\services\org.apache.openjpa.lib.conf.ProductDerivation and .\openjpa-slice\src\main\java\org\apache\openjpa\slice\ProductDerivation.java
To understand how ProductDerivation framework works, read ProductDerivations.java Anurag Rai wrote: > > Hi all, > I was looking into OpenJPA code (kernel, persistence mainly) to understand > how the control is transferred to the Slice module. > When using Slice we set the value of property "openjpa.BrokerFactory" to > "slice". I searched in PersistenceProviderImpl, EntityManagerFactoryImpl, > BootStrap, JPAFacadeHelper etc classes but couldn't find out how setting > the property in this manner transfers the control to slice module? Could > someone please help? > ----- Pinaki Poddar http://ppoddar.blogspot.com/ http://www.linkedin.com/in/pinakipoddar OpenJPA PMC Member/Committer JPA Expert Group Member -- View this message in context: http://n2.nabble.com/How-Slice-module-is-invoked--tp2933916p2934405.html Sent from the OpenJPA Users mailing list archive at Nabble.com.
