public class TestConfig extends Object
| Constructor and Description |
|---|
TestConfig() |
| Modifier and Type | Method and Description |
|---|---|
static Integer |
getAllocatedPort()
Get allocated port of embedded REST server.
|
static String |
getConnectionFactory()
Get connection factory JNDI name defined in container to create JMS messages.
|
static String |
getHttpUrl()
Get URL for HTTP services - like REST.
|
static String |
getInitialContextFactory()
Get initial context factory class name for creating context factory used in JMS.
|
static InitialContext |
getInitialRemoteContext() |
static String |
getPassword()
Get password of user registered in container.
|
static String |
getRemotingUrl()
Get URL which is used for remoting services like JMS.
|
static String |
getRequestQueueJndi()
Get JNDI name of request queue for kie server.
|
static String |
getResponseQueueJndi()
Get JNDI name of response queue for kie server.
|
static String |
getUsername()
Get username of user registered in container.
|
static boolean |
isLocalServer()
Used for detecting if we run test with local embedded server.
|
static boolean |
skipJMS()
Allows to skip JMS tests by placing on the classpath empty file 'jms.skip'
|
public static String getHttpUrl()
public static Integer getAllocatedPort()
public static boolean skipJMS()
public static boolean isLocalServer()
public static String getUsername()
public static String getPassword()
public static String getInitialContextFactory()
public static String getConnectionFactory()
public static String getRemotingUrl()
public static String getRequestQueueJndi()
public static String getResponseQueueJndi()
public static InitialContext getInitialRemoteContext()
Copyright © 2001–2015 JBoss by Red Hat. All rights reserved.