Package org.eclipse.jetty.webapp
Class CloneConfiguration
java.lang.Object
org.eclipse.jetty.webapp.AbstractConfiguration
org.eclipse.jetty.webapp.CloneConfiguration
- All Implemented Interfaces:
Configuration
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.webapp.Configuration
Configuration.ClassList, Configuration.Wrapper, Configuration.WrapperFunction
-
Field Summary
FieldsFields inherited from interface org.eclipse.jetty.webapp.Configuration
ATTR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(WebAppContext context) Configure WebApp.void
deconfigure
(WebAppContext context) DeConfigure WebApp.Methods inherited from class org.eclipse.jetty.webapp.AbstractConfiguration
cloneConfigure, destroy, postConfigure, preConfigure
-
Field Details
-
_template
-
-
Constructor Details
-
CloneConfiguration
CloneConfiguration(WebAppContext template)
-
-
Method Details
-
configure
Description copied from interface:Configuration
Configure WebApp.Typically this step applies the discovered configuration resources to either the
WebAppContext
or the associatedMetaData
.- Specified by:
configure
in interfaceConfiguration
- Overrides:
configure
in classAbstractConfiguration
- Parameters:
context
- The context to configure- Throws:
Exception
- if unable to configure
-
deconfigure
Description copied from interface:Configuration
DeConfigure WebApp. This method is called to undo all configuration done. This is called to allow the context to work correctly over a stop/start cycle- Specified by:
deconfigure
in interfaceConfiguration
- Overrides:
deconfigure
in classAbstractConfiguration
- Parameters:
context
- The context to configure- Throws:
Exception
- if unable to deconfigure
-