@Override protected OnlineManagementClient createLazy(OnlineOptions options) { return new LazyOnlineManagementClient(options); } });
@Override public ServerVersion version() throws IOException { ensureInitialized(); return delegate.version(); }
@Override public void executeCli(String cliOperation) throws CliException, IOException { ensureInitialized(); delegate.executeCli(cliOperation); }
@Override public FailuresAllowedBlock allowFailures() throws IOException { ensureInitialized(); return delegate.allowFailures(); }
@Override public ModelNodeResult execute(ModelNode operation) throws IOException { ensureInitialized(); return delegate.execute(operation); }
@Override public ModelNodeResult execute(Operation operation) throws IOException { ensureInitialized(); return delegate.execute(operation); }
@Override public ModelNodeResult execute(String operation) throws CliException, IOException { ensureInitialized(); return delegate.execute(operation); }
@Override public void apply(Iterable<OnlineCommand> commands) throws CommandFailedException { try { ensureInitialized(); } catch (IOException e) { throw new CommandFailedException("Failed to create underlying OnlineManagementClient", e); } delegate.apply(commands); }
@Override public void apply(OnlineCommand... commands) throws CommandFailedException { try { ensureInitialized(); } catch (IOException e) { throw new CommandFailedException("Failed to create underlying OnlineManagementClient", e); } delegate.apply(commands); }