Class SystemPropertyParameterResolver

    • Constructor Detail

      • SystemPropertyParameterResolver

        public SystemPropertyParameterResolver()
    • Method Detail

      • resolve

        public Parameter resolve​(String sName)
        Resolve Coherence system property sName
        Specified by:
        resolve in interface ParameterResolver
        sName - system property name
        a Parameter representing the value of sName or null if system property not found or if SecurityException was handled.
      • resolve

        public <T> T resolve​(String sName,
                             Class<T> clzTypeValue)
        Return property's value as requested type.
        Type Parameters:
        T - property value's target type
        sName - property name
        clzTypeValue - coerce system property's value from string to instance of this class
        null if property has no value or return property's value coerced from string to requested type. Throws exceptions listed in when coercion fails.