public class AppEntityTCGroupHandlingTypeAdapter extends DefaultDelegatingConfigTypeAdapter<ApplicationEntity,Map>
| Modifier and Type | Field and Description |
|---|---|
private static Logger |
log |
private TCGroupsProvider |
tcGroupsProvider |
| Constructor and Description |
|---|
AppEntityTCGroupHandlingTypeAdapter(TCGroupsProvider tcGroupsProvider) |
| Modifier and Type | Method and Description |
|---|---|
private void |
addTC(ApplicationEntity applicationEntity,
TCConfiguration tcConfig,
Map.Entry<String,TCGroupConfigAEExtension.TCGroupDetails> tcGroupRefEntry,
TransferCapability.Role role) |
ApplicationEntity |
fromConfigNode(Map configNode,
ConfigProperty property,
LoadingContext ctx,
Object parent)
Converts serialized configuration representation to the type provided by this adaptor.
|
Map |
toConfigNode(ApplicationEntity object,
ConfigProperty property,
SavingContext ctx)
Creates a serialized configuration representation for a provided object.
|
getDefaultTypeAdapter, getSchema, normalizeprivate TCGroupsProvider tcGroupsProvider
public AppEntityTCGroupHandlingTypeAdapter(TCGroupsProvider tcGroupsProvider)
public ApplicationEntity fromConfigNode(Map configNode, ConfigProperty property, LoadingContext ctx, Object parent) throws ConfigurationException
ConfigTypeAdapterfromConfigNode in interface ConfigTypeAdapter<ApplicationEntity,Map>fromConfigNode in class DefaultDelegatingConfigTypeAdapter<ApplicationEntity,Map>property - the property which is going to be assigned the returned value (Can be null)ConfigurationExceptionpublic Map toConfigNode(ApplicationEntity object, ConfigProperty property, SavingContext ctx) throws ConfigurationException
ConfigTypeAdapterCreates a serialized configuration representation for a provided object. Throws ConfigurationUnserializableException when the object allows configuration with setters in which case it is impossible to trace the parameters used in the setters back.
toConfigNode in interface ConfigTypeAdapter<ApplicationEntity,Map>toConfigNode in class DefaultDelegatingConfigTypeAdapter<ApplicationEntity,Map>ctx - @returnConfigurationExceptionprivate void addTC(ApplicationEntity applicationEntity, TCConfiguration tcConfig, Map.Entry<String,TCGroupConfigAEExtension.TCGroupDetails> tcGroupRefEntry, TransferCapability.Role role) throws ConfigurationException
ConfigurationExceptionCopyright © 2017 dcm4che.org. All rights reserved.