public class ServicePropertiesFunction extends Object implements PropertiesFunction
PropertiesFunction
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:
Constructor and Description |
---|
ServicePropertiesFunction() |
public ServicePropertiesFunction()
public String getName()
PropertiesFunction
getName
in interface PropertiesFunction
public String apply(String remainder)
PropertiesFunction
apply
in interface PropertiesFunction
remainder
- the remainder valueApache Camel