Package org.apache.struts2.dispatcher
Class InitOperations
java.lang.Object
org.apache.struts2.dispatcher.InitOperations
Contains initialization operations
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidcleanup()protected DispatchercreateDispatcher(HostConfig filterConfig) Create aDispatcherinitDispatcher(HostConfig filterConfig) Creates and initializes the dispatcherinitStaticContentLoader(HostConfig filterConfig, Dispatcher dispatcher) Initializes the static content loader with the filter configuration
- 
Constructor Details- 
InitOperationspublic InitOperations()
 
- 
- 
Method Details- 
initDispatcherCreates and initializes the dispatcher- Parameters:
- filterConfig- host configuration
- Returns:
- the dispatcher
 
- 
initStaticContentLoaderInitializes the static content loader with the filter configuration- Parameters:
- filterConfig- host configuration
- dispatcher- the dispatcher
- Returns:
- the static content loader
 
- 
findDispatcherOnThread- Returns:
- The dispatcher on the thread.
- Throws:
- IllegalStateException- If there is no dispatcher available
 
- 
createDispatcherCreate aDispatcher- Parameters:
- filterConfig- host configuration
- Returns:
- The dispatcher on the thread.
 
- 
cleanuppublic void cleanup()
 
-