public abstract class RestJmsSharedBaseIntegrationTest extends KieServerBaseIntegrationTest
| Modifier and Type | Field and Description |
|---|---|
protected static org.kie.api.command.KieCommands |
commandsFactory |
org.kie.server.client.KieServicesConfiguration |
configuration |
protected static org.kie.api.runtime.KieContainer |
kieContainer |
org.kie.server.api.marshalling.MarshallingFormat |
marshallingFormat |
protected static String |
PERSON_CLASS_NAME |
client, controller, DEFAULT_TIMEOUT, extraClasses, logger, server| Constructor and Description |
|---|
RestJmsSharedBaseIntegrationTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
changeUser(String username)
Change user used by client.
|
protected org.kie.server.client.KieServicesClient |
createDefaultClient() |
protected Object |
createInstance(String objectClassIdentifier,
Object... constructorParameters)
Instantiate custom object.
|
protected static org.kie.server.client.KieServicesConfiguration |
createKieServicesJmsConfiguration() |
protected static org.kie.server.client.KieServicesConfiguration |
createKieServicesRestConfiguration() |
protected Object |
createPersonInstance(String name) |
static Collection<Object[]> |
data() |
protected void |
setValue(Object object,
String fieldName,
Object newValue) |
protected Object |
valueOf(Object object,
String fieldName) |
addExtraCustomClasses, additionalConfiguration, cleanupSingletonSessionId, createContainer, createContainer, createDefaultClient, createDefaultStaticClient, createDefaultStaticClient, disposeAllContainers, disposeAllServerInstances, setup, setupClass, setupClients, tearDownpublic org.kie.server.api.marshalling.MarshallingFormat marshallingFormat
public org.kie.server.client.KieServicesConfiguration configuration
protected static org.kie.api.command.KieCommands commandsFactory
protected static org.kie.api.runtime.KieContainer kieContainer
protected static final String PERSON_CLASS_NAME
public static Collection<Object[]> data()
protected org.kie.server.client.KieServicesClient createDefaultClient()
throws Exception
createDefaultClient in class KieServerBaseIntegrationTestExceptionprotected Object createInstance(String objectClassIdentifier, Object... constructorParameters)
objectClassIdentifier - Object class identifier - usually class name.constructorParameters - Object's constructor parameters.protected void changeUser(String username) throws Exception
username - Name of user, default user taken from TestConfig in case of null parameter.Exceptionprotected static org.kie.server.client.KieServicesConfiguration createKieServicesJmsConfiguration()
protected static org.kie.server.client.KieServicesConfiguration createKieServicesRestConfiguration()
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.