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:
  • Constructor Details

    • SocketPushContextProducer

      public SocketPushContextProducer()
  • Method Details

    • produce

      @Produces public PushContext produce(InjectionPoint injectionPoint)
      Returns PushContext 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.