org.loom.mapping
Class RestActionMappingFactory
java.lang.Object
org.loom.mapping.RestActionMappingFactory
- All Implemented Interfaces:
- ActionMappingFactory
public class RestActionMappingFactory
- extends java.lang.Object
- implements ActionMappingFactory
Creates a RESTful ActionMapping for an Action
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RestActionMappingFactory
public RestActionMappingFactory()
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)