|
Spring BlazeDS Integration | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectflex.management.ManageableComponent
flex.messaging.services.ServiceAdapter
flex.messaging.services.messaging.adapters.MessagingAdapter
org.springframework.flex.messaging.integration.IntegrationAdapter
public class IntegrationAdapter
A MessagingAdapter implementation that enables sending and receiving messages via Spring Integration Message
Channels.
| Field Summary |
|---|
| Fields inherited from class flex.messaging.services.ServiceAdapter |
|---|
LOG_CATEGORY |
| Fields inherited from class flex.management.ManageableComponent |
|---|
control, id, managed, NULL_COMPONENT_PROPERTY, parent, PROPERTY_CHANGE_AFTER_STARTUP, started, valid |
| Constructor Summary | |
|---|---|
IntegrationAdapter()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
|
void |
handleMessage(org.springframework.integration.Message<?> message)
Invoked when a Message is received from the Spring Integration channel. |
boolean |
handlesSubscriptions()
|
Object |
invoke(Message flexMessage)
Invoked when a Message is received from a Flex client. |
Object |
manage(CommandMessage commandMessage)
|
void |
setApplicationEventPublisher(ApplicationEventPublisher applicationEventPublisher)
|
void |
setBeanName(String beanName)
|
void |
setExtractPayload(boolean extractPayload)
Specify whether the Flex Message body should be extracted to be used as the payload of a Spring Integration Message. |
void |
setMessageChannel(org.springframework.integration.MessageChannel messageChannel)
Sets the Spring Integration MessageChannel for sending and receiving messages |
void |
start()
|
| Methods inherited from class flex.messaging.services.messaging.adapters.MessagingAdapter |
|---|
allowSend, allowSubscribe, getSecurityConstraintManager, initialize, setSecurityConstraintManager, validate |
| Methods inherited from class flex.messaging.services.ServiceAdapter |
|---|
getAdapterState, getDestination, getLogCategory, setAdapterState, setDestination, setupAdapterControl, stop |
| Methods inherited from class flex.management.ManageableComponent |
|---|
blockAssignmentWhileStarted, blockNullAssignment, getControl, getId, getParent, invalidate, isManaged, isStarted, isValid, setControl, setId, setManaged, setParent, setStarted, setValid |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IntegrationAdapter()
| Method Detail |
|---|
public void setExtractPayload(boolean extractPayload)
false, the entire Flex Message
will be sent as the payload. The default is true.
public void afterPropertiesSet()
afterPropertiesSet in interface InitializingBeanpublic void handleMessage(org.springframework.integration.Message<?> message)
handleMessage in interface org.springframework.integration.core.MessageHandlerpublic boolean handlesSubscriptions()
handlesSubscriptions in class ServiceAdapterpublic Object invoke(Message flexMessage)
invoke in class ServiceAdapterpublic Object manage(CommandMessage commandMessage)
manage in class ServiceAdapterpublic void setBeanName(String beanName)
setBeanName in interface BeanNameAwarepublic void setMessageChannel(org.springframework.integration.MessageChannel messageChannel)
MessageChannel for sending and receiving messages
messageChannel - the message channelpublic void start()
start in interface FlexComponentstart in class ServiceAdapterpublic void setApplicationEventPublisher(ApplicationEventPublisher applicationEventPublisher)
setApplicationEventPublisher in interface ApplicationEventPublisherAware
|
Spring BlazeDS Integration | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||