Class OrderedGroupBinding

  • All Implemented Interfaces:
    AppLifeCycle.Binding

    public class OrderedGroupBinding
    extends java.lang.Object
    implements AppLifeCycle.Binding
    Provides a way of forcing the ordered execution of bindings within a declared binding target.
    • Constructor Detail

      • OrderedGroupBinding

        public OrderedGroupBinding​(java.lang.String[] bindingTargets)
    • Method Detail

      • getBindingTargets

        public java.lang.String[] getBindingTargets()
        Description copied from interface: AppLifeCycle.Binding
        Get a list of targets that this implementation should bind to.
        Specified by:
        getBindingTargets in interface AppLifeCycle.Binding
        Returns:
        the array of String node names to bind to. (use "*" to bind to all known node names)
      • processBinding

        public void processBinding​(Node node,
                                   App app)
                            throws java.lang.Exception
        Description copied from interface: AppLifeCycle.Binding
        Event called to process a AppLifeCycle binding.
        Specified by:
        processBinding in interface AppLifeCycle.Binding
        Parameters:
        node - the node being processed
        app - the app being processed
        Throws:
        java.lang.Exception - if any problem severe enough to halt the AppLifeCycle processing