Class BaseTransaction

    • Field Detail

      • logmon

        protected static final Logger logmon
      • DEBUG

        protected static final boolean DEBUG
    • Constructor Detail

      • BaseTransaction

        public BaseTransaction()
    • Method Detail

      • getProperty

        public String getProperty​(String key)
        Searches for the property with the specified key in the specific Transaction property list. If the key is not found in this property list, the Configuration property list is then checked. The property list is then updated. The method returns null if the property is not found.
        Specified by:
        getProperty in interface Transaction
        Parameters:
        key - the property key.
        Returns:
        the value corresponding to the specified key value.
      • getProperty

        public String getProperty​(String key,
                                  String defaultValue)
        Searches for the property with the specified key in the specific Transaction property list. If the key is not found in this property list, the Configuration property list is then checked. The method returns the default value argument if the property is not found.
        Specified by:
        getProperty in interface Transaction
        Parameters:
        key - the property key.
        defaultValue - a default value.
        Returns:
        the value corresponding to the specified key value.
      • getInteger

        public Integer getInteger​(String key)
        Determines the integer value of the property with the specified name.
        Specified by:
        getInteger in interface Transaction
        Parameters:
        key - property name.
        Returns:
        the Integer value of the property.
      • getInteger

        public Integer getInteger​(String key,
                                  int value)
        Determines the integer value of the property with the specified name.
        Specified by:
        getInteger in interface Transaction
        Parameters:
        key - property name.
        value - a default value.
        Returns:
        the Integer value of the property.
      • getBoolean

        public boolean getBoolean​(String key)
        Returns true if and only if the corresponding property exists and is equal to the string "true".
        Specified by:
        getBoolean in interface Transaction
        Parameters:
        key - the property name.
        Returns:
        the boolean value of the property.
      • dumpObjectList

        public String dumpObjectList​(String prefix)
        JMX operation. This operation sorts the resulting array and filters out the prefix identical for each object name.
        Specified by:
        dumpObjectList in interface Transaction
        Parameters:
        prefix -
        Returns: