Module org.cometd.annotation.server
Package org.cometd.annotation.server
Annotation Interface Configure
For server-side services, identifies channel configuration methods that are invoked
when a message is processed on server-side. The methods must have the same signature as
ConfigurableServerChannel.Initializer.configureChannel(ConfigurableServerChannel)
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional Elements
-
Element Details
-
value
String[] value- Returns:
- the channels which are initialised
-
errorIfExists
boolean errorIfExists- Returns:
- if true, then an IllegalStateException is thrown if the channel already exists
- Default:
true
-
configureIfExists
boolean configureIfExists- Returns:
- if true, then the configuration method is called even if it already exists
- Default:
false
-