public static class DataTypeResolver.Builder extends Object
| Modifier and Type | Field and Description |
|---|---|
private Map<String,List<DataTypeResolver.DataTypeEntry>> |
contextDataTypesMap |
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
DataTypeResolver |
build() |
void |
registerDataTypes(String contextClassCanonicalName,
List<DataTypeResolver.DataTypeEntry> dataTypeEntries)
Registers a data type entries, which will be used for resolving phase.
|
private final Map<String,List<DataTypeResolver.DataTypeEntry>> contextDataTypesMap
public void registerDataTypes(String contextClassCanonicalName, List<DataTypeResolver.DataTypeEntry> dataTypeEntries)
contextClassCanonicalName - canonical name of context instance, in which the data type entry will appear; may not be nulldataTypeEntries - list of DataTypeResolver.DataTypeEntry definitions; may not be nullpublic DataTypeResolver build()
Copyright © 2019 JBoss by Red Hat. All rights reserved.