Class ConnectionStore

java.lang.Object
org.loboevolution.store.ConnectionStore
All Implemented Interfaces:
Serializable, QueryStore

public class ConnectionStore extends Object implements QueryStore, Serializable

ConnectionStore class.

See Also:
  • Constructor Details

    • ConnectionStore

      public ConnectionStore()
      Instantiates a new connection settings.
  • Method Details

    • getConnection

      public static ConnectionStore getConnection()

      getConnection.

      Returns:
      a ConnectionStore object.
    • deleteConnection

      public void deleteConnection()

      deleteConnection.

    • getPasswordAuthentication

      public PasswordAuthentication getPasswordAuthentication()
      Gets the password authentication.
      Returns:
      the password authentication
    • getProxy

      public Proxy getProxy(String host)
      Gets a non-null Proxy insteance.
      Parameters:
      host - the host
      Returns:
      the proxy
    • insertConnection

      public void insertConnection()

      insertConnection.

    • restoreDefaults

      public void restoreDefaults()
      Restore defaults.
    • setAuthenticated

      public void setAuthenticated(boolean authenticated)
      Sets the authenticated.
      Parameters:
      authenticated - the new authenticated
    • setDisableProxyForLocalAddresses

      public void setDisableProxyForLocalAddresses(boolean disableProxyForLocalAddresses)
      Sets the disable proxy for local addresses.
      Parameters:
      disableProxyForLocalAddresses - the new disable proxy for local addresses
    • setInetSocketAddress

      public void setInetSocketAddress(InetSocketAddress socketAddress)
      Sets the inet socket address.
      Parameters:
      socketAddress - the new inet socket address
    • setPassword

      public void setPassword(String password)
      Sets the password.
      Parameters:
      password - the new password
    • setProxyType

      public void setProxyType(Proxy.Type proxyType)
      Sets the proxy type.
      Parameters:
      proxyType - the new proxy type
    • setUserName

      public void setUserName(String userName)
      Sets the user name.
      Parameters:
      userName - the new user name