@Target(value={TYPE,METHOD}) @Retention(value=RUNTIME) @Documented public @interface WampCallListener
CallMessage and the procURI matches one of the listed values of the
annotation.
If no procURI is provided the method is accessible by the procURI
'beanName.methodName'
In the following example the method can be called by sending a CallMessage
with the procURI 'myService.doSomething'
@Service
public class MyService {
@WampCallListener
public void doSomething(CallMessage message) {
}
}
The return value of such annotated method (if any) will be sent back to the
calling client with a CallResultMessage or CallErrorMessage.public abstract String[] value
Copyright © 2014. All Rights Reserved.