Class EmbeddedJettyFactory
java.lang.Object
com.github.mjeanroy.junit.servers.jetty.AbstractEmbeddedJettyFactory<EmbeddedJetty>
com.github.mjeanroy.junit.servers.jetty.EmbeddedJettyFactory
@Deprecated
public final class EmbeddedJettyFactory
extends AbstractEmbeddedJettyFactory<EmbeddedJetty>
Deprecated.
Static factories for
EmbeddedJetty
that can be used in JUnit 4 Runner implementation
or JUnit Jupiter Extension.-
Method Summary
Modifier and TypeMethodDescriptionstatic EmbeddedJetty
createFrom
(Class<?> testClass) Deprecated.Instantiate embedded jetty from given test class.static EmbeddedJetty
createFrom
(Class<?> testClass, AbstractConfiguration configuration) Deprecated.Instantiate embedded jetty from given test class, with given provided configuration (may benull
).protected EmbeddedJetty
Deprecated.protected EmbeddedJetty
instantiateFrom
(EmbeddedJettyConfiguration embeddedJettyConfiguration) Deprecated.Methods inherited from class com.github.mjeanroy.junit.servers.jetty.AbstractEmbeddedJettyFactory
instantiateFrom, instantiateFrom
-
Method Details
-
createFrom
Deprecated.Instantiate embedded jetty from given test class.- Parameters:
testClass
- The test class.- Returns:
- Created embedded jetty instance.
-
createFrom
Deprecated.Instantiate embedded jetty from given test class, with given provided configuration (may benull
).- Parameters:
testClass
- The test class.configuration
- The configuration to use, may benull
.- Returns:
- Created embedded jetty instance.
-
instantiateFrom
Deprecated.- Specified by:
instantiateFrom
in classAbstractEmbeddedJettyFactory<EmbeddedJetty>
-
instantiateFrom
Deprecated.- Specified by:
instantiateFrom
in classAbstractEmbeddedJettyFactory<EmbeddedJetty>
-
junit-servers-jetty-9
instead.