Package org.jboss.as.console.client.shared.flow

Examples of org.jboss.as.console.client.shared.flow.FunctionContext


                });
            }
        };

        new Async<FunctionContext>(Footer.PROGRESS_ELEMENT)
                .waterfall(new FunctionContext(), resetOutcome, new LoadDataSourcesFunction(dataSourceStore),
                        new LoadXADataSourcesFunction(dataSourceStore));
    }
View Full Code Here


                });
            }
        };

        // load subsystems for selected server
        new Async<FunctionContext>(Footer.PROGRESS_ELEMENT).waterfall(new FunctionContext(), outcome, f1, f2, f3);
    }
View Full Code Here

                List<JDBCDriver> driver = context.pop();
                callback.onSuccess(driver);
            }
        };

        new Async<FunctionContext>().waterfall(new FunctionContext(), outcome,
                new TopologyFunctions.HostsAndGroups(dispatcher), // we need only hosts here, but still better to DRY
                new TopologyFunctions.ServerConfigs(dispatcher, beanFactory),
                new DriversOnRunningServers(dispatcher, beanFactory));
    }
View Full Code Here

                });
            }
        };

        new Async<FunctionContext>(Footer.PROGRESS_ELEMENT)
                .waterfall(new FunctionContext(), resetOutcome, new LoadDataSourcesFunction(dataSourceStore),
                        new LoadXADataSourcesFunction(dataSourceStore));
    }
View Full Code Here

                    callback.onSuccess(context.<VerifyResult>pop());
                }
            };

            new Async<FunctionContext>(Footer.PROGRESS_ELEMENT)
                    .waterfall(new FunctionContext(), outcome, functions.toArray(new Function[functions.size()]));
        }
    }
View Full Code Here

                public void onSuccess(final FunctionContext context) {
                    List<HostInfo> hosts = context.pop();
                    getView().updateHosts(deriveGroups(hosts), hostIndex);
                }
            };
            new Async<FunctionContext>(Footer.PROGRESS_ELEMENT).waterfall(new FunctionContext(), outcome,
                    new TopologyFunctions.HostsAndGroups(dispatcher),
                    new TopologyFunctions.ServerConfigs(dispatcher, beanFactory),
                    new TopologyFunctions.RunningServerInstances(dispatcher));
        }
    }
View Full Code Here

        // Clear empty / unused role assignments (this could be optimized!)
        functions.add(new RoleAssignmentFunctions.Find(dispatcher));
        functions.add(new RoleAssignmentFunctions.RemoveMatching(dispatcher));

        new Async<FunctionContext>(Footer.PROGRESS_ELEMENT)
                .waterfall(new FunctionContext(), outcome, functions.toArray(new Function[functions.size()]));
    }
View Full Code Here

                functions.add(new RoleAssignmentFunctions.Find(dispatcher));
                functions.add(new RoleAssignmentFunctions.RemoveMatching(dispatcher));
                break;
        }
        new Async<FunctionContext>(Footer.PROGRESS_ELEMENT)
                .waterfall(new FunctionContext(), outcome, functions.toArray(new Function[functions.size()]));
    }
View Full Code Here

    }

    @Override
    public void execute(final Outcome<FunctionContext> outcome) {
        pending = true;
        final FunctionContext context = new FunctionContext();
        new Async<FunctionContext>(Footer.PROGRESS_ELEMENT).waterfall(context, outcome, new RolesAndMappingFunction(),
                new HostsFunction(), new ServerGroupsFunction());
    }
View Full Code Here

        // Clear empty / unused role assignments (this could be optimized!)
        functions.add(new RoleAssignmentFunctions.Find(dispatcher));
        functions.add(new RoleAssignmentFunctions.RemoveMatching(dispatcher));

        new Async<FunctionContext>(Footer.PROGRESS_ELEMENT)
                .waterfall(new FunctionContext(), outcome, functions.toArray(new Function[functions.size()]));
    }
View Full Code Here

TOP

Related Classes of org.jboss.as.console.client.shared.flow.FunctionContext

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.