Class WorkflowCustomResourceBundleLocatorSupplier

  • All Implemented Interfaces:
    Supplier<org.hibernate.validator.spi.resourceloading.ResourceBundleLocator>

    public class WorkflowCustomResourceBundleLocatorSupplier
    extends Object
    implements Supplier<org.hibernate.validator.spi.resourceloading.ResourceBundleLocator>
    Custom resource bundle supplier for the workflow. Finds the currently selected node or trigger, and returns the resource bundle locator for that node or trigger handler. This may be a resource bundle from a workflow node or trigger plugin.

    This is used when bean validation is invoked by the JSF framework.

    Since:
    7.0.0
    Author:
    XIMA MEDIA GmbH
    • Field Detail

      • KEY

        public static final Object KEY
        Key for the custom locator where this will be registered.
    • Constructor Detail

      • WorkflowCustomResourceBundleLocatorSupplier

        public WorkflowCustomResourceBundleLocatorSupplier()
    • Method Detail

      • get

        public org.hibernate.validator.spi.resourceloading.ResourceBundleLocator get()
        Specified by:
        get in interface Supplier<org.hibernate.validator.spi.resourceloading.ResourceBundleLocator>