Interface ConfigCode


  • public interface ConfigCode
    Allows multiple object as part of the transaction but requires manual casting.
    Author:
    Jerome Dochez
    See Also:
    Single Oject equivalent
    • Method Detail

      • run

        Object run​(ConfigBeanProxy... params)
            throws PropertyVetoException,
                   TransactionFailure
        Runs the following command passing the configration object. The code will be run within a transaction, returning true will commit the transaction, false will abort it.
        Parameters:
        params - is the list of configuration objects protected by the transaction
        Returns:
        true if the changes on param should be commited or false for abort.
        Throws:
        PropertyVetoException - if the changes cannot be applied to the configuration
        TransactionFailure