private void initializeRpcPlugins(final String[] pluginClassNames,
        final ImmutableList.Builder<RpcPlugin> rpcs) {
    for (final String plugin : pluginClassNames) {
      final RpcPlugin rpc = createAndInitialize(plugin, RpcPlugin.class);
      rpcs.add(rpc);
    }
  }
private void initializeRpcPlugins ( final String [ ] pluginClassNames , final ImmutableList . Builder < RpcPlugin > rpcs ) { for ( final String plugin : pluginClassNames ) { final RpcPlugin rpc = createAndInitialize ( plugin , RpcPlugin . class ) ; rpcs . add ( rpc ) ; } }
Load and init the {@link RpcPlugin}s provided as an array of
{@code pluginClassNames}.
@param pluginClassNames fully-qualified class names that are
instances of {@link RpcPlugin}s
@param rpcs a list of loaded and initialized plugins