org.drools.container.spring.beans.persistence.JPAKnowledgeServiceBean
protected void initDao() {
.....
jpaKnowledgeServiceProvider = node.get(JPAKnowledgeFactoryService.class);
org.drools.grid.ExecutionNode:
public <T> T get(Class<T> interfaceClass) {
synchronized (interfaceClass) {
Object service = services.get(interfaceClass);
if (service == null) {
try {
Class<?> implementingClass =
Class.forName(interfaceClass.getCanonicalName() + "Impl");
service = implementingClass.newInstance();
services.put(interfaceClass, service);
} catch (Exception e) {
throw new RuntimeException(e);
}
}
return interfaceClass.cast(service);
}
Interface class ( JPAKnowledgeFactoryService ) is there, but when it tries
to guess the implementation class (
Class.forName(interfaceClass.getCanonicalName() + "Impl"); ) it fails,
because JPAKnowledgeFactoryServiceImpl does not exist anywhere in the trunk.
Can this be checked in, or posted here on the forum?
I am really close to integrate the two ( Drools [JPA] and Spring ) together.
Thank you,
/Anatoly
--
View this message in context:
http://n3.nabble.com/Missing-Artifact-JPAKnowledgeFactoryServiceImpl-tp74...
Sent from the Drools - Dev mailing list archive at
Nabble.com.