| java.lang.Object org.directwebremoting.annotations.AnnotationsConfigurator
AnnotationsConfigurator | public class AnnotationsConfigurator implements Configurator(Code) | | A Configurator that works off Annotations.
author: Maik Schreiber [blizzy AT blizzy DOT de] author: Joe Walker [joe at getahead dot ltd dot uk] |
Method Summary | |
public void | configure(Container container) | protected Set<Class<?>> | getClasses(Container container) | protected Map<String, String> | getParamsMap(Param[] params) Utility to turn a Param array into a Map. | protected void | processClass(Class> clazz, Container container) | protected void | processConvert(Class> clazz, DataTransferObject convertAnn, Container container) | protected void | processCreate(Class> clazz, RemoteProxy createAnn, Container container) | protected void | processFilter(Filter filterAnn, String name, Container container) | protected void | processGlobalFilter(Class> clazz, GlobalFilter globalFilterAnn, Container container) |
getClasses | protected Set<Class<?>> getClasses(Container container)(Code) | | Allow subclasses to override the default way we find out which classes
have DWR annotations for us to work with
Parameters: container - Commonly we get configuration information from here A set of classes with DWR annotations |
getParamsMap | protected Map<String, String> getParamsMap(Param[] params)(Code) | | Utility to turn a Param array into a Map.
Parameters: params - The params array from annotations A Map |
processCreate | protected void processCreate(Class> clazz, RemoteProxy createAnn, Container container)(Code) | | Process the @RemoteProxy annotation on a given class
Parameters: clazz - The class annotated with @RemoteProxy Parameters: createAnn - The annotation Parameters: container - The IoC container to configure |
processFilter | protected void processFilter(Filter filterAnn, String name, Container container)(Code) | | Process the @Filter annotaion
Parameters: filterAnn - The filter annotation Parameters: name - The Javascript name of the class to filter Parameters: container - The IoC container to configure |
|
|