java.lang.Object
org.omnifaces.cdi.push.PushExtension
- All Implemented Interfaces:
Extension
This CDI extension detects @Inject @Push PushContext injection points during bean discovery.
This enables automatic registration of the SocketEndpoint and/or SseEndpoint without requiring
explicit configuration.
- Since:
- 5.2
- Author:
- Bauke Scholtz
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> voidcollect(ProcessInjectionPoint<T, PushContext> event) Collect injection points of typePushContextqualified withPushand detect whether Web Socket and/or SSE push is used.
-
Constructor Details
-
PushExtension
public PushExtension()
-
-
Method Details
-
collect
Collect injection points of typePushContextqualified withPushand detect whether Web Socket and/or SSE push is used.- Type Parameters:
T- The generic bean type.- Parameters:
event- The process injection point event.
-