org.loom.mapping
Class RestActionMappingFactory

java.lang.Object
  extended by org.loom.mapping.RestActionMappingFactory
All Implemented Interfaces:
ActionMappingFactory

public class RestActionMappingFactory
extends java.lang.Object
implements ActionMappingFactory

Creates a RESTful ActionMapping for an Action


Constructor Summary
RestActionMappingFactory()
           
 
Method Summary
 ActionMapping create(java.lang.Class<? extends Action> actionClass)
          Create an ActionMapping
protected  Event createEvent(ActionMapping mapping, java.lang.reflect.Method method)
           
 java.lang.String createHandle(java.lang.Class<? extends Action> actionClass)
           
 void initEvents(ActionMapping mapping)
           
 void setAnnotationProcessorRepository(AnnotationProcessorRepository annotationProcessorRepository)
           
 void setConverterFactory(ConverterFactory converterFactory)
           
 void setItemMetadataFactory(ItemMetadataFactory itemMetadataFactory)
           
 void setPropertyBinderFactory(PropertyBinderFactory propertyBinderFactory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RestActionMappingFactory

public RestActionMappingFactory()
Method Detail

create

public ActionMapping create(java.lang.Class<? extends Action> actionClass)
Description copied from interface: ActionMappingFactory
Create an ActionMapping

Specified by:
create in interface ActionMappingFactory
Parameters:
actionClass - the action class
Returns:
the created ActionMapping instance

initEvents

public void initEvents(ActionMapping mapping)

createHandle

public java.lang.String createHandle(java.lang.Class<? extends Action> actionClass)

createEvent

protected Event createEvent(ActionMapping mapping,
                            java.lang.reflect.Method method)

setPropertyBinderFactory

public void setPropertyBinderFactory(PropertyBinderFactory propertyBinderFactory)

setAnnotationProcessorRepository

public void setAnnotationProcessorRepository(AnnotationProcessorRepository annotationProcessorRepository)

setConverterFactory

public void setConverterFactory(ConverterFactory converterFactory)

setItemMetadataFactory

public void setItemMetadataFactory(ItemMetadataFactory itemMetadataFactory)