org.atmosphere.config.managed
Class ManagedServiceInterceptor

java.lang.Object
  extended by org.atmosphere.cpr.AtmosphereInterceptorAdapter
      extended by org.atmosphere.config.managed.ServiceInterceptor
          extended by org.atmosphere.config.managed.ManagedServiceInterceptor
All Implemented Interfaces:
AtmosphereInterceptor, InvokationOrder

public class ManagedServiceInterceptor
extends ServiceInterceptor

Handle Singleton for ManagedService processing.

Author:
Jeanfrancois Arcand

Nested Class Summary
protected static interface ManagedServiceInterceptor.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, wildcardMapping
 
Fields inherited from interface org.atmosphere.interceptor.InvokationOrder
AFTER_DEFAULT, BEFORE_DEFAULT, FIRST_BEFORE_DEFAULT
 
Constructor Summary
ManagedServiceInterceptor()
           
 
Method Summary
protected  void injectPathParams(Object o, Map<String,String> annotatedPathVars)
           
protected  ManagedServiceInterceptor.ManagedAnnotation managed(AnnotatedProxy ap, AtmosphereResource r)
           
protected  void mapAnnotatedService(boolean reMap, String path, AtmosphereRequest request, AtmosphereFramework.AtmosphereHandlerWrapper w)
           
protected  void prepareForPathInjection(String path, String targetPath, Object o)
           
protected  AnnotatedProxy proxyHandler()
           
 String toString()
           
 
Methods inherited from class org.atmosphere.config.managed.ServiceInterceptor
configure, inspect, mapAnnotatedService, optimizeMapping, priority
 
Methods inherited from class org.atmosphere.cpr.AtmosphereInterceptorAdapter
postInspect
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ManagedServiceInterceptor

public ManagedServiceInterceptor()
Method Detail

mapAnnotatedService

protected void mapAnnotatedService(boolean reMap,
                                   String path,
                                   AtmosphereRequest request,
                                   AtmosphereFramework.AtmosphereHandlerWrapper w)
Specified by:
mapAnnotatedService in class ServiceInterceptor

proxyHandler

protected AnnotatedProxy proxyHandler()
                               throws IllegalAccessException,
                                      InstantiationException
Throws:
IllegalAccessException
InstantiationException

managed

protected ManagedServiceInterceptor.ManagedAnnotation managed(AnnotatedProxy ap,
                                                              AtmosphereResource r)

prepareForPathInjection

protected void prepareForPathInjection(String path,
                                       String targetPath,
                                       Object o)

injectPathParams

protected void injectPathParams(Object o,
                                Map<String,String> annotatedPathVars)

toString

public String toString()
Overrides:
toString in class AtmosphereInterceptorAdapter


Copyright © 2014. All Rights Reserved.