org.springframework.flex.config
Interface MessageBrokerConfigProcessor

All Known Implementing Classes:
AbstractServiceConfigProcessor, EndpointConfigProcessor, MessageServiceConfigProcessor, RemotingServiceConfigProcessor, SpringSecurityLoginCommand, SpringSecurityLoginCommand

public interface MessageBrokerConfigProcessor

Factory hook that allows for custom configuration of a MessageBroker when created by a MessageBrokerFactoryBean.

Author:
Jeremy Grelle
See Also:
MessageBrokerFactoryBean

Method Summary
 flex.messaging.MessageBroker processAfterStartup(flex.messaging.MessageBroker broker)
          Apply this config processor to the newly created MessageBroker after it and all of its services have been started but before it is available for use.
 flex.messaging.MessageBroker processBeforeStartup(flex.messaging.MessageBroker broker)
          Apply this config processor to the newly created MessageBroker after its intial configuration settings have been parsed from the BlazeDS XML configuration, but before it has actually been started.
 

Method Detail

processAfterStartup

flex.messaging.MessageBroker processAfterStartup(flex.messaging.MessageBroker broker)
Apply this config processor to the newly created MessageBroker after it and all of its services have been started but before it is available for use.

Parameters:
broker - the started MessageBroker instance
Returns:
the modified MessageBroker

processBeforeStartup

flex.messaging.MessageBroker processBeforeStartup(flex.messaging.MessageBroker broker)
Apply this config processor to the newly created MessageBroker after its intial configuration settings have been parsed from the BlazeDS XML configuration, but before it has actually been started.

Parameters:
broker - the new MessageBroker instance
Returns:
the modified MessageBroker