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:
    LiveAction
    • Field Detail

      • LIVE_ACTION_NAME

        static final java.lang.String LIVE_ACTION_NAME
        The Service Registration Property reporting the name of LiveActions this factory can create
        See Also:
        Constant Field Values
    • Method Detail

      • createAction

        Type createAction​(Resource resource)
                   throws WCMException
        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