|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.flex.messaging.remoting.RemotingServiceConfigProcessor
public class RemotingServiceConfigProcessor
MessageBrokerConfigProcessor implementation that installs a default RemotingService if one has not already
been configured through the BlazeDS XML configuration.
Using this processor makes the traditional remoting-config.xml file in BlazeDS XML configuration unnecessary
when exclusively using Spring to configure Flex remoting destinations.
This processor is installed automatically when using the message-broker tag in the xml namespace configuration. Its
settings can be customized using the remoting-service child tag. See the XSD docs for more detail.
| Constructor Summary | |
|---|---|
RemotingServiceConfigProcessor()
|
|
| Method Summary | |
|---|---|
flex.messaging.MessageBroker |
processAfterStartup(flex.messaging.MessageBroker broker)
Error checking is done on the started MessageBroker to ensure configuration was successful. |
flex.messaging.MessageBroker |
processBeforeStartup(flex.messaging.MessageBroker broker)
The MessageBroker is checked to see if the RemotingService has already been configured via the BlazeDS XML config. |
void |
setDefaultAdapterClass(java.lang.String defaultAdapterClass)
Set the fully qualified class name for the default adapter class to be installed in the RemotingService. |
void |
setDefaultAdapterId(java.lang.String defaultAdapterId)
Set the id for the default adapter to be installed in the RemotingService. |
void |
setDefaultChannels(java.lang.String[] defaultChannels)
Set the ids of the default channels to be set on the RemotingService. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RemotingServiceConfigProcessor()
| Method Detail |
|---|
public void setDefaultAdapterId(java.lang.String defaultAdapterId)
defaultAdapterId - the id to set for the adapterpublic void setDefaultAdapterClass(java.lang.String defaultAdapterClass)
defaultAdapterClass - the class of the default adapterpublic void setDefaultChannels(java.lang.String[] defaultChannels)
defaultChannels - the ids of the default channels for the RemotingServicepublic flex.messaging.MessageBroker processAfterStartup(flex.messaging.MessageBroker broker)
processAfterStartup in interface MessageBrokerConfigProcessorbroker - the started MessageBroker instance
MessageBrokerConfigProcessor.processAfterStartup(MessageBroker)public flex.messaging.MessageBroker processBeforeStartup(flex.messaging.MessageBroker broker)
processBeforeStartup in interface MessageBrokerConfigProcessorbroker - the new MessageBroker instance
MessageBrokerConfigProcessor.processBeforeStartup(MessageBroker)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||