Interface CreationDecorator<T extends ConfigBeanProxy>

    • Method Detail

      • decorate

        void decorate​(AdminCommandContext context,
                      T instance)
               throws TransactionFailure,
                      PropertyVetoException
        The element instance has been created and added to the parent, it can be customized. This method is called within a Transaction and instance is therefore a writeable view on the configuration component.
        Parameters:
        context - administration command context
        instance - newly created configuration element
        Throws:
        TransactionFailure - if the transaction should be rollbacked
        PropertyVetoException - if one of the listener of is throwing a veto exception