If you know that bean is defined and you do not want to change it’s activity or class then you can just pass properties to configure bean in following way:
beanName { # scope of bean properties test = true }
where beanName
is name of bean to configure and test
is name of property to set to true
in this bean.