Package org.omnifaces.cdi.push
Class SocketPushContextProducer
- java.lang.Object
-
- org.omnifaces.cdi.push.SocketPushContextProducer
-
@Dependent public class SocketPushContextProducer extends Object
This producer prepares the
SocketPushContext
instance for injection by@
Push
.- Since:
- 2.3
- Author:
- Bauke Scholtz
- See Also:
Push
-
-
Constructor Summary
Constructors Constructor Description SocketPushContextProducer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PushContext
produce(InjectionPoint injectionPoint)
ReturnsPushContext
associated with channel name derived from given injection point.
-
-
-
Method Detail
-
produce
@Produces public PushContext produce(InjectionPoint injectionPoint)
ReturnsPushContext
associated with channel name derived from given injection point.- Parameters:
injectionPoint
- Injection point to derive channel name from.- Returns:
PushContext
associated with channel name derived from given injection point.
-
-