org.atmosphere.annotation
Interface Processor<T>
- All Known Implementing Classes:
- AsyncSupportListenerServiceProcessor, AsyncSupportServiceProcessor, AtmosphereHandlerServiceProcessor, AtmosphereInterceptorServiceProcessor, AtmosphereServiceProcessor, BroadcasterCacheInspectorServiceProcessor, BroadcasterCacheServiceProcessor, BroadcasterFactoryServiceProcessor, BroadcasterListenerServiceProcessor, BroadcasterServiceProcessor, BroadcastFilterServiceProcessor, EndpointMapperServiceProcessor, ManagedServiceProcessor, MeteorServiceProcessor, WebSocketHandlerServiceProcessor, WebSocketProcessorServiceProcessor, WebSocketProtocolServiceProcessor
public interface Processor<T>
Class annotated with AtmosphereAnnotation must implement this interface in order to get invoked
when the AtmosphereFramework.init() executes. Classes implementing this interface will
have a chance to process annotated classes and take the appropriate action.
handle
void handle(AtmosphereFramework framework,
Class<T> annotatedClass)
- Invoked by the
AnnotationHandler when an annotation is detected.
- Parameters:
framework - the AtmosphereFrameworkannotatedClass - the annotated classes.
Copyright © 2014. All Rights Reserved.