Package org.drools.persistence.session

Examples of org.drools.persistence.session.JPASessionMarshallingHelper


    this.kContext = new KnowledgeCommandContext(new ContextImpl("ksession", null), null, null, this.ksession, null);
    ((JPASignalManager) ((StatefulKnowledgeSessionImpl) ksession).session.getSignalManager())
        .setCommandService(this);

    this.marshallingHelper = new JPASessionMarshallingHelper(this.ksession, conf);

    this.sessionInfo.setJPASessionMashallingHelper(this.marshallingHelper);

    TransactionTemplate txTemplate = new TransactionTemplate(transactionManager);
    jpaTemplate = new JpaTemplate((EntityManagerFactory) env.get(EnvironmentName.ENTITY_MANAGER_FACTORY));
View Full Code Here


              if (sessionInfo == null) {
                SpringSingleSessionCommandService.this.env.set(EnvironmentName.ENTITY_MANAGER, null);
                throw new RuntimeException("Could not find session data for id " + sessionId);
              }

              marshallingHelper = new JPASessionMarshallingHelper(sessionInfo, kbase, localConf,
                  SpringSingleSessionCommandService.this.env);

              sessionInfo.setJPASessionMashallingHelper(marshallingHelper);
              ksession = marshallingHelper.getObject();
              kContext = new KnowledgeCommandContext(new ContextImpl("ksession", null), null, null,
View Full Code Here

TOP

Related Classes of org.drools.persistence.session.JPASessionMarshallingHelper

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.