Class AppLifeCycle

    • Constructor Detail

      • AppLifeCycle

        public AppLifeCycle()
    • Method Detail

      • getBindings

        public java.util.Set<AppLifeCycle.Binding> getBindings()
        Get all Node bound objects.
        Returns:
        Set of Object(s) for all lifecycle bindings. never null.
      • getBindings

        public java.util.Set<AppLifeCycle.Binding> getBindings​(Node node)
        Get all objects bound to a specific Node
        Parameters:
        node - the deployment graph node
        Returns:
        Set of Object(s) for specific lifecycle bindings. never null.
      • getBindings

        public java.util.Set<AppLifeCycle.Binding> getBindings​(java.lang.String nodeName)
        Get all objects bound to a specific Node
        Parameters:
        nodeName - the node name
        Returns:
        Set of Object(s) for specific lifecycle bindings. never null.
      • runBindings

        public void runBindings​(Node node,
                                App app,
                                DeploymentManager deploymentManager)
                         throws java.lang.Throwable
        Throws:
        java.lang.Throwable