| Modifier and Type | Optional Element and Description |
|---|---|
String[] |
except
Optionally specify the actions that should not be intercepted by this finally interceptor
|
String[] |
only
Optionally specify the only actions that should be intercepted by this finally interceptor
|
int |
priority
Optionally specify
priority of the finally interceptor. |
public abstract int priority
Optionally specify priority of the finally interceptor. it’s up to the framework to decide how to interpret the priority in terms of int value
public abstract String[] only
Optionally specify the only actions that should be intercepted by this finally interceptor
Note if both only() and except()
is specified, and an action method name appears
in both only() and except(), then
it will NOT be intercepted by this finally interceptor
except()Copyright © 2014–2018 OSGL (Open Source General Library). All rights reserved.