Class AbstractContainerClient

    • Constructor Detail

      • AbstractContainerClient

        protected AbstractContainerClient()

        Default constructor.

      • AbstractContainerClient

        protected AbstractContainerClient​(Locale locale)

        Overloaded constructor.

        Parameters:
        locale - the Locale for this client
    • Method Detail

      • setLocale

        public final void setLocale​(Locale locale)

        Set the Locale for all sub-clients.

        Overrides:
        setLocale in class AbstractClient
        Parameters:
        locale - the Locale for this client
      • addClient

        public void addClient​(String key,
                              AbstractClient client)

        Add a sub-client to this client.

        Parameters:
        key - the key
        client - the client
        Throws:
        IllegalArgumentException - if this client adds itself as a sub-client, such that the expression this == client is true
      • getClient

        public AbstractClient getClient​(String key)

        Get a sub-client from this client.

        Parameters:
        key - the key
        Returns:
        a client which is mapped to this key