|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.struts2.dispatcher.ng.InitOperations
public class InitOperations
Contains initialization operations
| Constructor Summary | |
|---|---|
InitOperations()
|
|
| Method Summary | |
|---|---|
List<Pattern> |
buildExcludedPatternsList(Dispatcher dispatcher)
Extract a list of patterns to exclude from request filtering |
void |
cleanup()
|
Dispatcher |
findDispatcherOnThread()
|
Dispatcher |
initDispatcher(HostConfig filterConfig)
Creates and initializes the dispatcher |
void |
initLogging(HostConfig filterConfig)
Initializes the internal Struts logging |
StaticContentLoader |
initStaticContentLoader(HostConfig filterConfig,
Dispatcher dispatcher)
Initializes the static content loader with the filter configuration |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InitOperations()
| Method Detail |
|---|
public void initLogging(HostConfig filterConfig)
public Dispatcher initDispatcher(HostConfig filterConfig)
public StaticContentLoader initStaticContentLoader(HostConfig filterConfig,
Dispatcher dispatcher)
public Dispatcher findDispatcherOnThread()
IllegalStateException - If there is no dispatcher availablepublic void cleanup()
public List<Pattern> buildExcludedPatternsList(Dispatcher dispatcher)
dispatcher - The dispatcher to check for exclude pattern configuration
StrutsConstants.STRUTS_ACTION_EXCLUDE_PATTERN
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||