psdi.iface.router

Class BaseRouterHandler

  • java.lang.Object
    • psdi.iface.router.BaseRouterHandler
    • Field Detail

      • endPointPropVals

        protected java.util.Map endPointPropVals
        The endpoint property values map.
      • epName

        protected java.lang.String epName
      • metaData

        protected java.util.Map metaData
        the meta data for invocation. This can contain the properties that the programmer needs to override from the configured endpoint.
    • Constructor Detail

      • BaseRouterHandler

        public BaseRouterHandler(MaxEndPointInfo endPointInfo)
        Parameters:
        endPointInfo - the endpoint info object.
      • BaseRouterHandler

        public BaseRouterHandler()
        Default constructor to be used in case of 1> Getting the list of supported properties. 2> Not having any configured endpoint for invocation.
    • Method Detail

      • isPropertyOverridable

        protected boolean isPropertyOverridable(java.lang.String propName)
        Parameters:
        propName - the name of the endpoint property.
        Returns:
        if the property is overridable.
      • isOverridden

        protected boolean isOverridden(java.lang.String propName)
        Parameters:
        propName - the name of the endpoint property.
        Returns:
        if the property is overriden.
      • getOverrideValue

        protected java.lang.String getOverrideValue(java.lang.String propName)
        Parameters:
        propName - the name of the endpoint property.
        Returns:
        the override value.
      • getPropertyValue

        protected java.lang.String getPropertyValue(java.lang.String propName)
        Parameters:
        propName - the name of the endpoint property.
        Returns:
        the value of the property.
      • getBooleanPropertyValue

        protected boolean getBooleanPropertyValue(java.lang.String propName)
        Parameters:
        propName - the name of the endpoint property.
        Returns:
        the property value as a boolean.
      • getBooleanPropertyValue

        protected boolean getBooleanPropertyValue(java.lang.String propName,
                                                  boolean dflt)
        Parameters:
        propName - the name of the endpoint property.
        Returns:
        the property value as a boolean.
      • getLongPropertyValue

        protected long getLongPropertyValue(java.lang.String propName)
        Parameters:
        propName - the name of the endpoint property.
        Returns:
        the property value as a long.
      • getIntPropertyValue

        protected int getIntPropertyValue(java.lang.String propName)
        Parameters:
        propName - the name of the endpoint property.
        Returns:
        the property value as a int.
      • getDoublePropertyValue

        protected double getDoublePropertyValue(java.lang.String propName)
        Parameters:
        propName - the name of the endpoint property.
        Returns:
        the property value as a double.
      • getDatePropertyValue

        protected java.util.Date getDatePropertyValue(java.lang.String propName)
        Parameters:
        propName - the name of the endpoint property.
        Returns:
        the property value as a java.util.Date. The property value has to be in ISO 8601 format.