You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
338 B
17 lines
338 B
package core.thrift;
|
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
import org.springframework.stereotype.Component;
|
|
|
|
@Component
|
|
public class SocketConfig {
|
|
@Value("${thrift.ip}")
|
|
public String ip;
|
|
|
|
@Value("${thrift.port}")
|
|
public Integer port;
|
|
|
|
@Value("${thrift.timeout}")
|
|
public Integer timeout;
|
|
|
|
}
|
|
|