Class BinderConfiguration


  • public class BinderConfiguration
    extends Object
    Configuration for a binder instance, associating a BinderType with its configuration Properties. An application may contain multiple BinderConfigurations per BinderType, when connecting to multiple systems of the same type.
    Author:
    Marius Bogoevici, Oleg Zhurakousky
    • Constructor Detail

      • BinderConfiguration

        public BinderConfiguration​(String binderType,
                                   Map<String,​Object> properties,
                                   boolean inheritEnvironment,
                                   boolean defaultCandidate)
        Parameters:
        binderType - the binder type used by this configuration
        properties - the properties for setting up the binder
        inheritEnvironment - whether the binder should inherit the environment of the application
        defaultCandidate - whether the binder should be considered as a candidate when determining a default
    • Method Detail

      • getBinderType

        public String getBinderType()
      • isInheritEnvironment

        public boolean isInheritEnvironment()
      • isDefaultCandidate

        public boolean isDefaultCandidate()