Class BindAddressPolicyImpl

  • All Implemented Interfaces:
    BindAddressPolicy
    Direct Known Subclasses:
    BindAddressPolicyImpl

    public class BindAddressPolicyImpl
    extends java.lang.Object
    implements BindAddressPolicy
    This class takes responsibility for providing information about default. This class is for internal use only and you should not rely on it for other purpose.
    Since:
    7.1
    • Constructor Summary

      Constructors 
      Constructor Description
      BindAddressPolicyImpl​(java.util.Properties propFile)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.net.InetAddress getBindAddress()
      Provides the bind address to connect to.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • PROP_COM_IBM_DI_DEFAULT_BIND_ADDRESS

        public static final java.lang.String PROP_COM_IBM_DI_DEFAULT_BIND_ADDRESS
        Property name used to specify the default bind address.
        See Also:
        Constant Field Values
    • Constructor Detail

      • BindAddressPolicyImpl

        public BindAddressPolicyImpl​(java.util.Properties propFile)
        Constructor
        Parameters:
        propFile - Properties file that bind addresses will be obtained from.
    • Method Detail

      • getBindAddress

        public java.net.InetAddress getBindAddress()
        Provides the bind address to connect to. * means bind to all available network interfaces. Mind that only one IP address value should be provided for the related property. No host names are accepted - only IP addresses.
        Specified by:
        getBindAddress in interface BindAddressPolicy