ch.ralscha.extdirectspring.annotation
Annotation Type ExtDirectMethod


@Target(value=METHOD)
@Retention(value=RUNTIME)
@Inherited
@Documented
public @interface ExtDirectMethod

Annotation for methods whose implement a call

Author:
Ralph Schaer

Optional Element Summary
 String event
          Optional parameter if the method is a POLL method.
 String group
          The name of an api group this method is part of.
 boolean synchronizeOnSession
          Optional parameter.
 ExtDirectMethodType value
          Specifies the type of the remote method.
 

value

public abstract ExtDirectMethodType value
Specifies the type of the remote method. Defaults to simple method call.

Default:
ch.ralscha.extdirectspring.annotation.ExtDirectMethodType.SIMPLE

group

public abstract String group
The name of an api group this method is part of.

Default:
""

event

public abstract String event
Optional parameter if the method is a POLL method. The name of the event this method is sending messages to If parameter is empty the name of the method will be used as event name

Default:
""

synchronizeOnSession

public abstract boolean synchronizeOnSession
Optional parameter. If true execution of the method is synchronized on the session, to serialize parallel invocations from the same client. Not feasible for FORM_POST methods

Default:
false


Copyright © 2010-2011. All Rights Reserved.