public class TomEEEmbeddedRule extends Object implements org.junit.rules.TestRule
| Constructor and Description |
|---|
TomEEEmbeddedRule() |
TomEEEmbeddedRule(Configuration configuration,
String context) |
TomEEEmbeddedRule(Configuration configuration,
String context,
File docBase) |
| Modifier and Type | Method and Description |
|---|---|
org.junit.runners.model.Statement |
apply(org.junit.runners.model.Statement statement,
org.junit.runner.Description description) |
Configuration |
getConfiguration() |
int |
getPort() |
TomEEEmbeddedRule |
injectOn(Object instance) |
TomEEEmbeddedRule |
resetSystemPropertiesAfter(boolean value) |
TomEEEmbeddedRule |
stopInjectionOn(Object instance) |
public TomEEEmbeddedRule()
public TomEEEmbeddedRule(Configuration configuration, String context)
public TomEEEmbeddedRule(Configuration configuration, String context, File docBase)
public TomEEEmbeddedRule injectOn(Object instance)
public TomEEEmbeddedRule resetSystemPropertiesAfter(boolean value)
public TomEEEmbeddedRule stopInjectionOn(Object instance)
public Configuration getConfiguration()
public int getPort()
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement statement,
org.junit.runner.Description description)
apply in interface org.junit.rules.TestRuleCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.