Class PushContextProducer

java.lang.Object
org.omnifaces.cdi.push.PushContextProducer
Direct Known Subclasses:
SocketPushContextProducer

@Dependent public class PushContextProducer extends Object

This CDI producer prepares the PushContext instance for injection by @Push.

Since:
5.2
Author:
Bauke Scholtz
See Also:
  • Constructor Details

    • PushContextProducer

      public PushContextProducer()
  • 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.