public class AppInterceptorManager extends AppServiceBase<AppInterceptorManager>
Manage interceptors at App level
Destroyable.Utillogger| 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, onAppStartAsyncapp, meaddSubResource, destroy, isDestroyed, reload, scopedebug, debug, error, error, fatal, fatal, info, info, isDebugEnabled, isTraceEnabled, trace, trace, warn, warnclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdestroy, isDestroyed, scopepublic org.osgl.mvc.result.Result handleBefore(ActionContext actionContext) throws java.lang.Exception
java.lang.Exceptionpublic org.osgl.mvc.result.Result handleAfter(org.osgl.mvc.result.Result result,
ActionContext actionContext)
throws java.lang.Exception
java.lang.Exceptionpublic void handleFinally(ActionContext actionContext) throws java.lang.Exception
java.lang.Exceptionpublic org.osgl.mvc.result.Result handleException(java.lang.Exception ex,
ActionContext actionContext)
throws java.lang.Exception
java.lang.Exceptionpublic 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.