/** * Creates a new multiplexed {@link ThriftCallService} with the specified service implementations. * * @param implementations a {@link Map} whose key is service name and value is the implementation of * {@code *.Iface} or {@code *.AsyncIface} service interface generated by * the Apache Thrift compiler */ public static ThriftCallService of(Map<String, ?> implementations) { return new ThriftCallService(implementations); }
/** * Creates a new {@link ThriftCallService} with the specified service implementation. * * @param implementation an implementation of {@code *.Iface} or {@code *.AsyncIface} service interface * generated by the Apache Thrift compiler */ public static ThriftCallService of(Object implementation) { return new ThriftCallService(ImmutableMap.of("", implementation)); }
/** * Creates a new multiplexed {@link ThriftCallService} with the specified service implementations. * * @param implementations a {@link Map} whose key is service name and value is the implementation of * {@code *.Iface} or {@code *.AsyncIface} service interface generated by * the Apache Thrift compiler */ public static ThriftCallService of(Map<String, ?> implementations) { return new ThriftCallService(implementations); }
/** * Creates a new multiplexed {@link ThriftCallService} with the specified service implementations. * * @param implementations a {@link Map} whose key is service name and value is the implementation of * {@code *.Iface} or {@code *.AsyncIface} service interface generated by * the Apache Thrift compiler */ public static ThriftCallService of(Map<String, ?> implementations) { return new ThriftCallService(implementations); }
/** * Creates a new multiplexed {@link ThriftCallService} with the specified service implementations. * * @param implementations a {@link Map} whose key is service name and value is the implementation of * {@code *.Iface} or {@code *.AsyncIface} service interface generated by * the Apache Thrift compiler */ public static ThriftCallService of(Map<String, ?> implementations) { return new ThriftCallService(implementations); }
/** * Creates a new {@link ThriftCallService} with the specified service implementation. * * @param implementation an implementation of {@code *.Iface} or {@code *.AsyncIface} service interface * generated by the Apache Thrift compiler */ public static ThriftCallService of(Object implementation) { return new ThriftCallService(ImmutableMap.of("", implementation)); }
/** * Creates a new {@link ThriftCallService} with the specified service implementation. * * @param implementation an implementation of {@code *.Iface} or {@code *.AsyncIface} service interface * generated by the Apache Thrift compiler */ public static ThriftCallService of(Object implementation) { return new ThriftCallService(ImmutableMap.of("", implementation)); }
/** * Creates a new {@link ThriftCallService} with the specified service implementation. * * @param implementation an implementation of {@code *.Iface} or {@code *.AsyncIface} service interface * generated by the Apache Thrift compiler */ public static ThriftCallService of(Object implementation) { return new ThriftCallService(ImmutableMap.of("", implementation)); }