public class ImportRule extends AbstractRule implements AlarmListener
Modifier and Type | Class and Description |
---|---|
static class |
ImportRule.RewriteImportAdmin |
AbstractRule.RewriteRuleAdmin
Modifier | Constructor and Description |
---|---|
protected |
ImportRule(RewriteDispatch rewriteDispatch) |
Modifier and Type | Method and Description |
---|---|
protected AbstractRule.RewriteRuleAdmin |
createAdmin() |
void |
destroy() |
long |
getDependencyCheckInterval() |
java.lang.String |
getRedeployError() |
java.lang.String |
getTagName() |
void |
handleAlarm(Alarm alarm)
Handles a callback from an alarm.
|
void |
init() |
FilterChain |
map(java.lang.String uri,
java.lang.String query,
FilterChain accept) |
void |
setDependencyCheckInterval(Period dependencyCheckInterval) |
void |
setFailFilterChainMapper(FilterChainMapper failFilterChainMapper) |
void |
setOptional(boolean isOptional) |
void |
setPassFilterChainMapper(FilterChainMapper passFilterChainMapper) |
void |
setPath(Path path) |
clearCache, getFailFilterChainMapper, getLogPrefix, getName, getPassFilterChainMapper, getRewriteDispatch, isEnabled, register, setDisableAt, setEnableAt, setEnabled, setLogPrefix, setName, unregister
protected ImportRule(RewriteDispatch rewriteDispatch)
public java.lang.String getTagName()
getTagName
in interface Rule
public void setDependencyCheckInterval(Period dependencyCheckInterval)
public long getDependencyCheckInterval()
public java.lang.String getRedeployError()
public void setOptional(boolean isOptional)
public void setPath(Path path)
@PostConstruct public void init()
init
in class AbstractRule
protected AbstractRule.RewriteRuleAdmin createAdmin()
createAdmin
in class AbstractRule
public void setPassFilterChainMapper(FilterChainMapper passFilterChainMapper)
setPassFilterChainMapper
in interface Rule
setPassFilterChainMapper
in class AbstractRule
public void setFailFilterChainMapper(FilterChainMapper failFilterChainMapper)
setFailFilterChainMapper
in interface Rule
setFailFilterChainMapper
in class AbstractRule
public FilterChain map(java.lang.String uri, java.lang.String query, FilterChain accept) throws ServletException
map
in interface FilterChainMapper
ServletException
public void handleAlarm(Alarm alarm)
AlarmListener
handleAlarm
in interface AlarmListener
public void destroy()
destroy
in interface Rule
destroy
in class AbstractRule