A B C D F G H I J L N R S T V W

A

afterServerStart(Server) - Method in class com.mycila.testing.plugins.jetty.NopServerLifeCycleListener
 
afterServerStart(Server) - Method in interface com.mycila.testing.plugins.jetty.ServerLifeCycleListener
Handler method which will be called after the Server started.
afterServerStop(Server) - Method in class com.mycila.testing.plugins.jetty.NopServerLifeCycleListener
 
afterServerStop(Server) - Method in interface com.mycila.testing.plugins.jetty.ServerLifeCycleListener
Handler method which will be called after the Server stopped.
afterTest(TestExecution) - Method in class com.mycila.testing.plugins.jetty.JettyTestPlugin
 
afterWebappStart(Server, WebAppContext) - Method in class com.mycila.testing.plugins.jetty.NopServerLifeCycleListener
 
afterWebappStart(Server, WebAppContext) - Method in interface com.mycila.testing.plugins.jetty.WebappLifeCycleListener
Handler method which will be called after the WebAppContext is deployed.
afterWebappStop(Server, WebAppContext) - Method in class com.mycila.testing.plugins.jetty.NopServerLifeCycleListener
 
afterWebappStop(Server, WebAppContext) - Method in interface com.mycila.testing.plugins.jetty.WebappLifeCycleListener
Handler method which will be called after the WebAppContext is undeployed.

B

beforeServerStart(Server) - Method in class com.mycila.testing.plugins.jetty.NopServerLifeCycleListener
 
beforeServerStart(Server) - Method in interface com.mycila.testing.plugins.jetty.ServerLifeCycleListener
Handler method which will be called before the Server starts.
beforeServerStop(Server) - Method in class com.mycila.testing.plugins.jetty.NopServerLifeCycleListener
 
beforeServerStop(Server) - Method in interface com.mycila.testing.plugins.jetty.ServerLifeCycleListener
Handler method which will be called before the Server stops.
beforeTest(TestExecution) - Method in class com.mycila.testing.plugins.jetty.JettyTestPlugin
 
beforeWebappStart(Server, WebAppContext) - Method in class com.mycila.testing.plugins.jetty.NopServerLifeCycleListener
 
beforeWebappStart(Server, WebAppContext) - Method in interface com.mycila.testing.plugins.jetty.WebappLifeCycleListener
Handler method which will be called before the WebAppContext deploy.
beforeWebappStop(Server, WebAppContext) - Method in class com.mycila.testing.plugins.jetty.NopServerLifeCycleListener
 
beforeWebappStop(Server, WebAppContext) - Method in interface com.mycila.testing.plugins.jetty.WebappLifeCycleListener
Handler method which will be called before the WebAppContext undeploy.

C

com.mycila.testing.plugins.jetty - package com.mycila.testing.plugins.jetty
 
com.mycila.testing.plugins.jetty.config - package com.mycila.testing.plugins.jetty.config
 
com.mycila.testing.plugins.jetty.locator - package com.mycila.testing.plugins.jetty.locator
 
Config - Interface in com.mycila.testing.plugins.jetty.config
Extension of RawConfig which provides resolved, RawConfig.getWarLocation() as getWarLocationUrl(); RawConfig.getServerLifeCycleListenerClass() as getServerLifeCycleListener() instance.
configFrom(Method) - Static method in class com.mycila.testing.plugins.jetty.config.DefaultConfig
Returns the JettyRunWar Configuration for the method.
configFrom(Class<?>) - Static method in class com.mycila.testing.plugins.jetty.config.DefaultConfig
Returns the JettyRunWar Configuration for the klass.
createServer(TestExecution, Config) - Method in class com.mycila.testing.plugins.jetty.ServerWebappActions
 
createWebAppContext(Config) - Method in class com.mycila.testing.plugins.jetty.ServerWebappActions
 

D

DEFAULT_CONFIG_CLASS - Static variable in class com.mycila.testing.plugins.jetty.config.DefaultConfig
The default JettyRunWar.value() RawConfiguration class.
DEFAULT_CONTEXT_PATH - Static variable in class com.mycila.testing.plugins.jetty.config.DefaultConfig
The default value of DefaultConfig.getContextPath().
DEFAULT_CYCLE_LISTENER_CLASS - Static variable in class com.mycila.testing.plugins.jetty.config.DefaultConfig
The default value of DefaultConfig.getServerLifeCycleListenerClass().
DEFAULT_CYCLE_LISTENER_CLASS_AS_STRING - Static variable in class com.mycila.testing.plugins.jetty.config.DefaultConfig
The default value of DefaultConfig.getServerLifeCycleListenerClass() as string.
DEFAULT_DEPLOY_WEBAPP - Static variable in class com.mycila.testing.plugins.jetty.config.DefaultConfig
The default value of DefaultConfig.isDeployWebapp().
DEFAULT_DEPLOY_WEBAPP_AS_STRING - Static variable in class com.mycila.testing.plugins.jetty.config.DefaultConfig
The default value of DefaultConfig.isDeployWebapp() as string.
DEFAULT_SERVER_PORT - Static variable in class com.mycila.testing.plugins.jetty.config.DefaultConfig
The default value of DefaultConfig.getServerPort().
DEFAULT_SERVER_PORT_AS_STRING - Static variable in class com.mycila.testing.plugins.jetty.config.DefaultConfig
The default value of DefaultConfig.getServerPort() as string.
DEFAULT_SKIP - Static variable in class com.mycila.testing.plugins.jetty.config.DefaultConfig
The default value of DefaultConfig.isSkip().
DEFAULT_SKIP_AS_STRING - Static variable in class com.mycila.testing.plugins.jetty.config.DefaultConfig
The default value of DefaultConfig.isSkip() as string.
DEFAULT_START_SERVER - Static variable in class com.mycila.testing.plugins.jetty.config.DefaultConfig
The default value of DefaultConfig.isStartServer().
DEFAULT_START_SERVER_AS_STRING - Static variable in class com.mycila.testing.plugins.jetty.config.DefaultConfig
The default value of DefaultConfig.isStartServer() as string.
DEFAULT_WAR_LOCATION - Static variable in class com.mycila.testing.plugins.jetty.config.DefaultConfig
The default value of DefaultConfig.getWarLocation().
DefaultConfig - Class in com.mycila.testing.plugins.jetty.config
The default implementation with default values of RawConfig and provides Configuration extension.
DefaultConfig() - Constructor for class com.mycila.testing.plugins.jetty.config.DefaultConfig
Instantiates.
DefaultConfig(Properties) - Constructor for class com.mycila.testing.plugins.jetty.config.DefaultConfig
Instantiates with a Properties configuration such as keys : warLocation : String # DefaultConfig.getWarLocation(), ie : ant:*.war serverPort : int # DefaultConfig.getServerPort(), ie : 9090 contextPath : String # DefaultConfig.getContextPath(), ie : /test startServer : boolean (true|false) # DefaultConfig.isStartServer(), ie : true deployWebapp : boolean (true|false) # DefaultConfig.isDeployWebapp(), ie : false skip : boolean (true|false) # DefaultConfig.isSkip(), ie : true lifeCycleListenerClass : String classname # DefaultConfig.getServerLifeCycleListenerClass(), ie : com.mycila.testing.plugins.jetty.NopServerLifeCycleListener
DefaultConfig(RawConfig) - Constructor for class com.mycila.testing.plugins.jetty.config.DefaultConfig
Instantiates with a RawConfiguration;

F

FileLocator - Interface in com.mycila.testing.plugins.jetty.locator
 

G

getContextPath() - Method in class com.mycila.testing.plugins.jetty.config.DefaultConfig
The web application context path.
getContextPath() - Method in interface com.mycila.testing.plugins.jetty.config.RawConfig
The web application context path.
getServer() - Method in class com.mycila.testing.plugins.jetty.ServerWebappActions
 
getServerLifeCycleListener() - Method in interface com.mycila.testing.plugins.jetty.config.Config
The ServerLifeCycleListener instance which allow customization of the server configuration.
getServerLifeCycleListener() - Method in class com.mycila.testing.plugins.jetty.config.DefaultConfig
 
getServerLifeCycleListenerClass() - Method in class com.mycila.testing.plugins.jetty.config.DefaultConfig
The ServerLifeCycleListener class which allow customization of the server configuration.
getServerLifeCycleListenerClass() - Method in interface com.mycila.testing.plugins.jetty.config.RawConfig
The ServerLifeCycleListener class which allow customization of the server configuration.
getServerPort() - Method in class com.mycila.testing.plugins.jetty.config.DefaultConfig
The web application server port.
getServerPort() - Method in interface com.mycila.testing.plugins.jetty.config.RawConfig
The web application server port.
getSourceClass() - Method in interface com.mycila.testing.plugins.jetty.config.Config
Returns the JettyRunWar source class.
getSourceClass() - Method in class com.mycila.testing.plugins.jetty.config.DefaultConfig
Returns the JettyRunWar source class.
getSourceConfig() - Method in interface com.mycila.testing.plugins.jetty.config.Config
Returns the JettyRunWar source configuration.
getSourceConfig() - Method in class com.mycila.testing.plugins.jetty.config.DefaultConfig
Returns the JettyRunWar source configuration.
getSourceMethod() - Method in interface com.mycila.testing.plugins.jetty.config.Config
Returns the JettyRunWar source configuration.
getSourceMethod() - Method in class com.mycila.testing.plugins.jetty.config.DefaultConfig
Returns the JettyRunWar source configuration.
getWarLocation() - Method in class com.mycila.testing.plugins.jetty.config.DefaultConfig
The location of the WAR file to load.
getWarLocation() - Method in interface com.mycila.testing.plugins.jetty.config.RawConfig
The location of the WAR file to load.
getWarLocationUrl() - Method in interface com.mycila.testing.plugins.jetty.config.Config
The location of the WAR file to load.
getWarLocationUrl() - Method in class com.mycila.testing.plugins.jetty.config.DefaultConfig
The location of the WAR file to load.
getWebAppContext() - Method in class com.mycila.testing.plugins.jetty.ServerWebappActions
 
getWebappUrl(Object) - Static method in class com.mycila.testing.plugins.jetty.WebappHelper
Returns the web application URL from a the given test class instance which must be annotated with JettyRunWar and doesn't end with slash '/'.
getWebappUrl(Object, String) - Static method in class com.mycila.testing.plugins.jetty.WebappHelper
Returns the web application URL from a the given test method which should be annotated with JettyRunWar (or its Method.getDeclaringClass() at least) and doesn't end with slash '/'.
getWebappUrl(Method) - Static method in class com.mycila.testing.plugins.jetty.WebappHelper
Returns the web application URL from a the given test method which should be annotated with JettyRunWar (or its Method.getDeclaringClass() at least) and doesn't end with slash '/'.

H

hasJettyPlugin(Method) - Static method in class com.mycila.testing.plugins.jetty.config.DefaultConfig
Returns true if the method is annotation with JettyRunWar, false else.
hasJettyPlugin(Class<?>) - Static method in class com.mycila.testing.plugins.jetty.config.DefaultConfig
Returns true if the klass is annotation with JettyRunWar, false else.
hasServer() - Method in class com.mycila.testing.plugins.jetty.ServerWebappActions
 
hasWebAppContext() - Method in class com.mycila.testing.plugins.jetty.ServerWebappActions
 

I

isDeployWebapp() - Method in class com.mycila.testing.plugins.jetty.config.DefaultConfig
True to deploy a new webapp (and undeploy the old one), false to deploy a webapp only if there is no deployed one.
isDeployWebapp() - Method in interface com.mycila.testing.plugins.jetty.config.RawConfig
True to deploy a new webapp (and undeploy the old one), false to deploy a webapp only if there is no deployed one.
isSkip() - Method in class com.mycila.testing.plugins.jetty.config.DefaultConfig
True to skip starting server or deploying webapp.
isSkip() - Method in interface com.mycila.testing.plugins.jetty.config.RawConfig
True to skip starting server or deploying webapp.
isStartServer() - Method in class com.mycila.testing.plugins.jetty.config.DefaultConfig
True to start a new server (and stop the old one), false to start a server only if there is no running one.
isStartServer() - Method in interface com.mycila.testing.plugins.jetty.config.RawConfig
True to start a new server (and stop the old one), false to start a server only if there is no running one.

J

JettyRunWar - Annotation Type in com.mycila.testing.plugins.jetty
This annotation enables the loading of a packaged web application (ie: a WAR file) by a Servlet Container when used with junit runner org.junit.runner.RunWith and MycilaJunitRunner.
JettyTestPlugin - Class in com.mycila.testing.plugins.jetty
Testing plugin which load the web application specified by JettyRunWar annotation using jetty.
JettyTestPlugin() - Constructor for class com.mycila.testing.plugins.jetty.JettyTestPlugin
 

L

locate(String) - Method in interface com.mycila.testing.plugins.jetty.locator.FileLocator
 
locate(String) - Method in class com.mycila.testing.plugins.jetty.locator.StrategyFileLocator

N

NopServerLifeCycleListener - Class in com.mycila.testing.plugins.jetty
No-operation ServerLifeCycleListener.
NopServerLifeCycleListener() - Constructor for class com.mycila.testing.plugins.jetty.NopServerLifeCycleListener
 

R

RawConfig - Interface in com.mycila.testing.plugins.jetty.config
Set of configuration properties required to run the servlet container and deploy the web application.

S

ServerLifeCycleListener - Interface in com.mycila.testing.plugins.jetty
The server lifecycle listener which allow customization of the Server configuration.
ServerWebappActions - Class in com.mycila.testing.plugins.jetty
 
ServerWebappActions() - Constructor for class com.mycila.testing.plugins.jetty.ServerWebappActions
 
setServer(Server) - Method in class com.mycila.testing.plugins.jetty.ServerWebappActions
 
setWebAppContext(WebAppContext) - Method in class com.mycila.testing.plugins.jetty.ServerWebappActions
 
shutdown(TestContext) - Method in class com.mycila.testing.plugins.jetty.JettyTestPlugin
 
startServer(Config) - Method in class com.mycila.testing.plugins.jetty.ServerWebappActions
 
startWebApp(Config) - Method in class com.mycila.testing.plugins.jetty.ServerWebappActions
 
stopServer(Config) - Method in class com.mycila.testing.plugins.jetty.ServerWebappActions
 
stopWebapp(Config) - Method in class com.mycila.testing.plugins.jetty.ServerWebappActions
 
StrategyFileLocator - Class in com.mycila.testing.plugins.jetty.locator
A FileLocator which delegate to another using a strategy to choose it.
StrategyFileLocator() - Constructor for class com.mycila.testing.plugins.jetty.locator.StrategyFileLocator
 
StrategyFileLocator.Strategy - Enum in com.mycila.testing.plugins.jetty.locator
Enumeration of available file locator strategy.

T

toString() - Method in class com.mycila.testing.plugins.jetty.config.DefaultConfig

V

valueOf(String) - Static method in enum com.mycila.testing.plugins.jetty.locator.StrategyFileLocator.Strategy
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.mycila.testing.plugins.jetty.locator.StrategyFileLocator.Strategy
Returns an array containing the constants of this enum type, in the order they are declared.

W

WebappHelper - Class in com.mycila.testing.plugins.jetty
Some helper methods to deal with webapp context.
WebappHelper() - Constructor for class com.mycila.testing.plugins.jetty.WebappHelper
 
WebappLifeCycleListener - Interface in com.mycila.testing.plugins.jetty
The webapp lifecycle listener which allow customization of the WebAppContext configuration.

A B C D F G H I J L N R S T V W

Copyright © 2010-2011 Mycila. All Rights Reserved.