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
 Class<?> entryClass
          A STORE_MODIFY method must specify the class of the entries in the collection.
 String event
          Optional parameter if the method is a POLL method.
 String group
          The name of an api group this method is part of.
 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:
""

entryClass

public abstract Class<?> entryClass
A STORE_MODIFY method must specify the class of the entries in the collection. Defaults to ExtDirectMethod.class as a workaround, because annotations parameters can't default to null. This value behaves like the parameter entryType is null.

Default:
ch.ralscha.extdirectspring.annotation.ExtDirectMethod.class

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:
""


Copyright © 2010. All Rights Reserved.