org.directwebremoting.annotations
Annotation Type RemoteProxy


@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface RemoteProxy

Make a class available for remote access.

Author:
Maik Schreiber , Joe Walker [joe at getahead dot ltd dot uk]

Optional Element Summary
 java.lang.Class<? extends Creator> creator
          Creator that creates instances of the class (default: "new" creator).
 Param[] creatorParams
          Parameters for the creator.
 java.lang.String name
          Name of the JavaScript variable (default: the simple class name without package).
 ScriptScope scope
          Scope of the JavaScript variable (default: PAGE).
 

name

public abstract java.lang.String name
Name of the JavaScript variable (default: the simple class name without package).

Default:
""

creator

public abstract java.lang.Class<? extends Creator> creator
Creator that creates instances of the class (default: "new" creator).

Default:
org.directwebremoting.create.NewCreator.class

creatorParams

public abstract Param[] creatorParams
Parameters for the creator.

Default:
{}

scope

public abstract ScriptScope scope
Scope of the JavaScript variable (default: PAGE).

Default:
org.directwebremoting.annotations.ScriptScope.PAGE

Copyright 2008