Skip to content

Move to Hoxton.SR4 and Thrift Client Beans Support

Compare
Choose a tag to compare
@aatarasoff aatarasoff released this 14 May 09:15
· 17 commits to master since this release

Thrift clients can also be used as regular beans

(which can be configured through app properties)

class Service {
    @Autowired
    private TGreetingService.Client client;
}
class Service {
    private final TGreetingService.Client client;
    @Autowired
    public Service(TGreetingService.Client client) {
        this.client = client;
    }
}