org.cometd.java.annotation
Annotation Type Configure
@Target(value=METHOD)
@Retention(value=RUNTIME)
@Documented
public @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)
- See Also:
Subscription
value
public abstract String[] value
- Returns:
- the list of channels which are initialised
errorIfExists
public abstract boolean errorIfExists
- Returns:
- if true, then an IllegalStateException is thrown if the channel already exists
- Default:
- true
configureIfExists
public abstract boolean configureIfExists
- Returns:
- if true, then the configuration method is called even if it already exists
- Default:
- false
Copyright © 2008-2011 Dojo Foundation. All Rights Reserved.