@Qualifier @Retention(value=RUNTIME) @Target(value={METHOD,FIELD,PARAMETER}) public @interface Push
The CDI annotation @
Push
allows you to inject a PushContext
associated with a given
channel in any container managed artifact in WAR (not in EAR/EJB!).
@Inject @Push private PushContext channelName;
For detailed usage instructions, see Socket
javadoc.
Socket
public abstract String channel
Copyright © 2012–2022 OmniFaces. All rights reserved.