Annotation Interface WebSocketScope


@Target({TYPE,METHOD}) @Retention(RUNTIME) @Documented @Scope("websocket") public @interface WebSocketScope
@WebSocketScope is a specialization of @Scope for a component whose lifecycle is bound to the current WebSocket lifecycle.

Specifically, @WebSocketScope is a composed annotation that acts as a shortcut for @Scope("websocket") with the default proxyMode() set to TARGET_CLASS.

@WebSocketScope may be used as a meta-annotation to create custom composed annotations.

Since:
7.0
Author:
Juergen Hoeller
See Also: