Interface EnvironmentNameReader


  • public interface EnvironmentNameReader
    For use configuring the host name of the syslog audit log handler
    Author:
    Kabir Khan
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getHostName()
      Get the name of the host controller in the domain if it is a host controller or a domain mode server as given in @coHostControllerEnvironment.getHostControllerName() or ServerEnvironment.getHostControllerName() respectively.
      String getProductName()
      Get the name of the product to be used as the audit logger's app name.
      String getServerName()
      Get the name of the server if it is a server as given in ServerEnvironment.getServerName()
      boolean isServer()
      Whether this is a server
    • Method Detail

      • isServer

        boolean isServer()
        Whether this is a server
        Returns:
        true if a server, false if we are a host controller
      • getServerName

        String getServerName()
        Get the name of the server if it is a server as given in ServerEnvironment.getServerName()
        Returns:
        the name of the server
      • getHostName

        String getHostName()
        Get the name of the host controller in the domain if it is a host controller or a domain mode server as given in @coHostControllerEnvironment.getHostControllerName() or ServerEnvironment.getHostControllerName() respectively.
        Returns:
        the name of the server
      • getProductName

        String getProductName()
        Get the name of the product to be used as the audit logger's app name.
        Returns:
        the product name, or null if this is not a product.