Class ServicePortFunction


  • public final class ServicePortFunction
    extends Object
    A function that lookup the property value from OS environment variables using the service idiom.

    A service is defined using two environment variables where name is name of the service:

    • NAME_SERVICE_HOST
    • NAME_SERVICE_PORT
    in other words the service uses _SERVICE_HOST and _SERVICE_PORT as prefix.

    This implementation is to return the port part only.

    • Method Detail