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
SocketPushContextinstance 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 PushContextproduce(InjectionPoint injectionPoint)ReturnsPushContextassociated with channel name derived from given injection point.
-
-
-
Method Detail
-
produce
@Produces public PushContext produce(InjectionPoint injectionPoint)
ReturnsPushContextassociated with channel name derived from given injection point.- Parameters:
injectionPoint- Injection point to derive channel name from.- Returns:
PushContextassociated with channel name derived from given injection point.
-
-