Interface Channel.Default

All Superinterfaces:
Channel, Eligible
Enclosing interface:
Channel

public static interface Channel.Default extends Channel
This interface’s class can be used to specify the component’s channel (see Component.channel()) as criterion in handler annotations.

Using the component’s channel for comparison is the default if no channels are specified in the annotation, so specifying only this class in the handler annotation is equivalent to specifying no channel at all. This special channel type is required if you want to specify a handler that handles events fired on the component’s channel or on additional channels.