Package org.atmosphere.config.managed
Class ManagedServiceInterceptor
- java.lang.Object
-
- org.atmosphere.cpr.AtmosphereInterceptorAdapter
-
- org.atmosphere.config.managed.ServiceInterceptor
-
- org.atmosphere.config.managed.ManagedServiceInterceptor
-
- All Implemented Interfaces:
AtmosphereInterceptor,AtmosphereConfigAware,InvokationOrder
public class ManagedServiceInterceptor extends ServiceInterceptor
HandleSingletonforManagedServiceprocessing.- Author:
- Jeanfrancois Arcand
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static interfaceManagedServiceInterceptor.ManagedAnnotation-
Nested classes/interfaces inherited from interface org.atmosphere.interceptor.InvokationOrder
InvokationOrder.PRIORITY
-
-
Field Summary
-
Fields inherited from class org.atmosphere.config.managed.ServiceInterceptor
config
-
Fields inherited from interface org.atmosphere.interceptor.InvokationOrder
AFTER_DEFAULT, BEFORE_DEFAULT, FIRST_BEFORE_DEFAULT
-
-
Constructor Summary
Constructors Constructor Description ManagedServiceInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ManagedServiceInterceptor.ManagedAnnotationmanaged(AnnotatedProxy ap, AtmosphereResource r)protected voidmapAnnotatedService(boolean reMap, java.lang.String path, AtmosphereRequest request, AtmosphereFramework.AtmosphereHandlerWrapper w)voidpostInspect(AtmosphereResource r)Invoked after anAtmosphereResourcegets dispatched toAtmosphereHandler.protected AnnotatedProxyproxyHandler()java.lang.StringtoString()-
Methods inherited from class org.atmosphere.config.managed.ServiceInterceptor
configure, inspect, mapAnnotatedService, priority
-
Methods inherited from class org.atmosphere.cpr.AtmosphereInterceptorAdapter
destroy
-
-
-
-
Method Detail
-
mapAnnotatedService
protected void mapAnnotatedService(boolean reMap, java.lang.String path, AtmosphereRequest request, AtmosphereFramework.AtmosphereHandlerWrapper w)- Specified by:
mapAnnotatedServicein classServiceInterceptor
-
proxyHandler
protected AnnotatedProxy proxyHandler() throws java.lang.IllegalAccessException, java.lang.InstantiationException
- Throws:
java.lang.IllegalAccessExceptionjava.lang.InstantiationException
-
managed
protected ManagedServiceInterceptor.ManagedAnnotation managed(AnnotatedProxy ap, AtmosphereResource r)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classAtmosphereInterceptorAdapter
-
postInspect
public void postInspect(AtmosphereResource r)
Description copied from interface:AtmosphereInterceptorInvoked after anAtmosphereResourcegets dispatched toAtmosphereHandler.- Specified by:
postInspectin interfaceAtmosphereInterceptor- Overrides:
postInspectin classAtmosphereInterceptorAdapter- Parameters:
r- aAtmosphereResource
-
-