Interface EntryPointBuilder


public interface EntryPointBuilder
Builder of EntryPoint.
  • Method Details

    • build

      EntryPoint build()
      Build a EntryPoint. If there is an EntryPoint that has already been initialized, an AlreadyInitializedException is thrown.
      Returns:
      EntryPoint instance
      Throws:
      AlreadyInitializedException - When EntryPoint has already been initialized
    • serverEnvFile

      EntryPointBuilder serverEnvFile(String serverEnvFile)
      Specify the path of the property file where the iPLAss Bootstrap property is specified. If serverEnvFile is not specified, system properties are used as Bootstrap properties.
      Parameters:
      serverEnvFile -
      Returns:
    • serverId

      EntryPointBuilder serverId(String serverId)
      Specify the serverId of this iPLAsss instance. If not specified, the Host name will be serverId.
      Parameters:
      serverId -
      Returns:
    • serverRole

      EntryPointBuilder serverRole(String... serverRole)
      Specify the serverRole of this iPLAsss instance as needed.
      Parameters:
      serverRole -
      Returns:
    • config

      EntryPointBuilder config(String configFileName)
      Specify the path of the configuration file (service-config.xml). If not specified, the default value is "/mtp-service-config.xml".
      Parameters:
      configFileName -
      Returns:
    • crypt

      EntryPointBuilder crypt(String configCryptFileName)
      To encrypt service-config.xml, specify the path of the encryption configuration file (crypt.properties).
      Parameters:
      configCryptFileName -
      Returns:
    • loader

      EntryPointBuilder loader(String loaderClassName)
      Specify the ConfigLoader class name to load the configuration file. If not specified, the default loader will be used.
      Parameters:
      loaderClassName -
      Returns:
    • property

      EntryPointBuilder property(String name, String value)
      Set the iPLAss Bootstrap property.
      Parameters:
      name -
      value -
      Returns: