Improved reactive type descriptor support

ReactiveTypeDescriptor is now a top-level type with named constructors.
It also contains and provides a getter for the actual type.

Issue: SPR-14902
This commit is contained in:
Rossen Stoyanchev
2016-11-24 15:56:50 -05:00
parent 4f37fdb133
commit 2e7d16df04
5 changed files with 184 additions and 102 deletions

View File

@@ -43,11 +43,13 @@ public class ReactiveAdapterRegistryTests {
private ReactiveAdapterRegistry adapterRegistry;
@Before
public void setUp() throws Exception {
this.adapterRegistry = new ReactiveAdapterRegistry();
}
@Test
public void getDefaultAdapters() throws Exception {
testMonoAdapter(Mono.class);