Package com.day.cq.wcm.msm.api
Interface LiveActionFactory<Type extends LiveAction>
- Type Parameters:
Type- The type of LiveAction created by this factory
- All Known Implementing Classes:
BaseActionFactory,FilteredActionFactoryBase
public interface LiveActionFactory<Type extends LiveAction>
An Factory used to create LiveActions.
Used to register LiveAction implementations with the ServiceComponentRegistration
It enables to create LiveActions with a Configuration given by a Resource
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe Service Registration Property reporting the name of LiveActions this factory can create -
Method Summary
-
Field Details
-
LIVE_ACTION_NAME
The Service Registration Property reporting the name of LiveActions this factory can create- See Also:
-
-
Method Details
-
createsAction
String createsAction()- Returns:
- name of the LiveAction to create. It must match
getName() of LiveAction - See Also:
-
createAction
- Parameters:
resource- containing configuration values- Returns:
- the action instance or
null, if given resource does not suited to created an Action - Throws:
WCMException- in case of error
-