@Override public void init() { super.init(); constructed = true; exampleAppConstructed = true; } @Override public void start(Collection<? extends Location> locations) {
@Override public void init() { // Set the default name *before* calling super.init(), and only do so if we don't have an // explicit default. This is a belt-and-braces fix: before we overwrote the defaultDisplayName // that was inferred from the catalog item name. if (Strings.isBlank(getConfig(DEFAULT_DISPLAY_NAME))) { setDefaultDisplayName("Application ("+getId()+")"); } super.init(); }
@Override public void init() { // Code below copied from BasicAppliationImpl. // Set the default name *before* calling super.init(), and only do so if we don't have an // explicit default. This is a belt-and-braces fix: before we overwrote the defaultDisplayName // that was inferred from the catalog item name. if (Strings.isBlank(getConfig(DEFAULT_DISPLAY_NAME))) { setDefaultDisplayName("Application ("+getId()+")"); } super.init(); }
LOG.info("Starting Mesos cluster id {}", getId()); registerLocationResolver(); super.init();
@Override public void init() { super.init();