jBPM :: Shared Services 6.1.0.CR1

org.jbpm.shared.services.impl
Class TransactionalCommandService

java.lang.Object
  extended by org.jbpm.shared.services.impl.TransactionalCommandService
All Implemented Interfaces:
org.drools.core.command.CommandService, org.kie.api.runtime.CommandExecutor

public class TransactionalCommandService
extends Object
implements org.drools.core.command.CommandService


Constructor Summary
TransactionalCommandService(javax.persistence.EntityManagerFactory emf)
           
 
Method Summary
<T> T
execute(org.kie.api.command.Command<T> command)
           
 org.kie.internal.command.Context getContext()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionalCommandService

public TransactionalCommandService(javax.persistence.EntityManagerFactory emf)
Method Detail

getContext

public org.kie.internal.command.Context getContext()
Specified by:
getContext in interface org.drools.core.command.CommandService

execute

public <T> T execute(org.kie.api.command.Command<T> command)
Specified by:
execute in interface org.kie.api.runtime.CommandExecutor

jBPM :: Shared Services 6.1.0.CR1

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.