public class RemotingServiceConfigProcessor extends AbstractServiceConfigProcessor
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.
AbstractServiceConfigProcessor.CustomSpringAdapter| Constructor and Description |
|---|
RemotingServiceConfigProcessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
findDefaultChannel(flex.messaging.MessageBroker broker,
flex.messaging.services.Service service)
Try to find a sensible default AMF channel for the default RemotingService
If a application-level default is set on the MessageBroker, that will be used.
|
protected String |
getServiceAdapterClassName()
Returns the class name of the default
ServiceAdapter for the Service |
protected String |
getServiceAdapterId()
Returns the default
ServiceAdapter id for the Service |
protected String |
getServiceClassName()
Returns the class name of the specific
Service implementation being configured |
protected String |
getServiceId()
Returns the default id for the
Service being configured |
processAfterStartup, processBeforeStartup, setBeanFactory, setDefaultAdapterId, setDefaultChannelspublic void findDefaultChannel(flex.messaging.MessageBroker broker,
flex.messaging.services.Service service)
findDefaultChannel in class AbstractServiceConfigProcessorbroker - service - protected String getServiceAdapterClassName()
ServiceAdapter for the ServicegetServiceAdapterClassName in class AbstractServiceConfigProcessorprotected String getServiceAdapterId()
ServiceAdapter id for the ServicegetServiceAdapterId in class AbstractServiceConfigProcessorprotected String getServiceClassName()
Service implementation being configuredgetServiceClassName in class AbstractServiceConfigProcessorprotected String getServiceId()
Service being configuredgetServiceId in class AbstractServiceConfigProcessorCopyright © 2014. All rights reserved.