public class AppInterceptorManager extends AppServiceBase<AppInterceptorManager>
Manage interceptors at App level
Destroyable.Util
logger
Modifier and Type | Method and Description |
---|---|
org.osgl.mvc.result.Result |
handleAfter(org.osgl.mvc.result.Result result,
ActionContext actionContext) |
org.osgl.mvc.result.Result |
handleBefore(ActionContext actionContext) |
org.osgl.mvc.result.Result |
handleException(java.lang.Exception ex,
ActionContext actionContext) |
void |
handleFinally(ActionContext actionContext) |
void |
registerInterceptor(AfterInterceptor interceptor) |
void |
registerInterceptor(BeforeInterceptor interceptor) |
void |
registerInterceptor(ExceptionInterceptor interceptor) |
void |
registerInterceptor(FinallyInterceptor interceptor) |
protected void |
releaseResources() |
app, onAppStart, onAppStartAsync
app, me
addSubResource, destroy, isDestroyed, reload, scope
debug, debug, error, error, fatal, fatal, info, info, isDebugEnabled, isTraceEnabled, trace, trace, warn, warn
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
destroy, isDestroyed, scope
public org.osgl.mvc.result.Result handleBefore(ActionContext actionContext) throws java.lang.Exception
java.lang.Exception
public org.osgl.mvc.result.Result handleAfter(org.osgl.mvc.result.Result result, ActionContext actionContext) throws java.lang.Exception
java.lang.Exception
public void handleFinally(ActionContext actionContext) throws java.lang.Exception
java.lang.Exception
public org.osgl.mvc.result.Result handleException(java.lang.Exception ex, ActionContext actionContext) throws java.lang.Exception
java.lang.Exception
public void registerInterceptor(BeforeInterceptor interceptor)
public void registerInterceptor(AfterInterceptor interceptor)
public void registerInterceptor(FinallyInterceptor interceptor)
public void registerInterceptor(ExceptionInterceptor interceptor)
protected void releaseResources()
releaseResources
in class AppServiceBase<AppInterceptorManager>
Copyright © 2014–2017 ActFramework. All rights reserved.