Package org.kie.server.services.impl
Class KieContainerCommandServiceImpl
- java.lang.Object
-
- org.kie.server.services.impl.KieContainerCommandServiceImpl
-
- All Implemented Interfaces:
KieContainerCommandService<org.kie.api.runtime.ExecutionResults>
public class KieContainerCommandServiceImpl extends Object implements KieContainerCommandService<org.kie.api.runtime.ExecutionResults>
-
-
Field Summary
Fields Modifier and Type Field Description protected KieServerRegistrycontextprotected KieServerImplkieServerprotected static PatternLOOKUP
-
Constructor Summary
Constructors Constructor Description KieContainerCommandServiceImpl(KieServerImpl kieServer, KieServerRegistry context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.kie.server.api.model.ServiceResponse<org.kie.api.runtime.ExecutionResults>callContainer(String containerId, String payload, org.kie.server.api.marshalling.MarshallingFormat marshallingFormat, String classType)protected org.kie.server.api.model.ServiceResponse<org.kie.api.runtime.ExecutionResults>callContainer(String containerId, String payload, org.kie.server.api.marshalling.MarshallingFormat marshallingFormat, String classType, boolean marshallResponse)org.kie.server.api.model.ServiceResponsesListexecuteScript(org.kie.server.api.commands.CommandScript commands, org.kie.server.api.marshalling.MarshallingFormat marshallingFormat, String classType)
-
-
-
Field Detail
-
LOOKUP
protected static final Pattern LOOKUP
-
kieServer
protected KieServerImpl kieServer
-
context
protected final KieServerRegistry context
-
-
Constructor Detail
-
KieContainerCommandServiceImpl
public KieContainerCommandServiceImpl(KieServerImpl kieServer, KieServerRegistry context)
-
-
Method Detail
-
callContainer
public org.kie.server.api.model.ServiceResponse<org.kie.api.runtime.ExecutionResults> callContainer(String containerId, String payload, org.kie.server.api.marshalling.MarshallingFormat marshallingFormat, String classType)
- Specified by:
callContainerin interfaceKieContainerCommandService<org.kie.api.runtime.ExecutionResults>
-
callContainer
protected org.kie.server.api.model.ServiceResponse<org.kie.api.runtime.ExecutionResults> callContainer(String containerId, String payload, org.kie.server.api.marshalling.MarshallingFormat marshallingFormat, String classType, boolean marshallResponse)
-
executeScript
public org.kie.server.api.model.ServiceResponsesList executeScript(org.kie.server.api.commands.CommandScript commands, org.kie.server.api.marshalling.MarshallingFormat marshallingFormat, String classType)- Specified by:
executeScriptin interfaceKieContainerCommandService<org.kie.api.runtime.ExecutionResults>
-
-