org.springframework.flex.remoting
Annotation Type RemotingDestination


@Target(value=TYPE)
@Retention(value=RUNTIME)
@Inherited
@Documented
public @interface RemotingDestination

Indicates that an annotated Spring-managed bean should be exported as a destination for AMF-based remoting via a Spring-managed MessageBroker.

Author:
Jeremy Grelle

Optional Element Summary
 java.lang.String[] channels
          A array of ids for the BlazeDS channels over which this remoting destination should be exposed.
 java.lang.String messageBroker
          The id of the Spring-managed MessageBroker that will route messages to the exported bean.
 java.lang.String serviceAdapter
          A reference to a custom Spring-managed ServiceAdapter (usually created via a ManageableComponentFactoryBean) to be used when invoking methods on this destination.
 java.lang.String value
          The id of the remoting destination.
 

channels

public abstract java.lang.String[] channels
A array of ids for the BlazeDS channels over which this remoting destination should be exposed.

Only needed when overriding the default channels for the RemotingService.

Default:
{}

messageBroker

public abstract java.lang.String messageBroker
The id of the Spring-managed MessageBroker that will route messages to the exported bean.

Not required unless an explicit id has been specified for the MessageBroker.

Default:
"_messageBroker"

serviceAdapter

public abstract java.lang.String serviceAdapter
A reference to a custom Spring-managed ServiceAdapter (usually created via a ManageableComponentFactoryBean) to be used when invoking methods on this destination.

Default:
""

value

public abstract java.lang.String value
The id of the remoting destination. This corresponds to the "destination" property that will be set on the RemoteObject in the Flex client.

By default, this will be set to the name of the bean being exported.

Default:
""