If there is registered a bean defaultBeanConfigurator
which supports registration in the config file, it is possible to do so. By default Tigase XMPP Server uses DSLBeanConfigurator
which provides support for that and registration is possible in the config file in DSL.
As registration of beans using a config file is part of the admin of the Tigase XMPP Server tasks, it is described in explained
in the Admin Guide in subsection Defining bean
of DSL file format
section.
Tip
This way allows admin to select different class for a bean. This option should be used to provide alternative implementations to the default beans which should be registered using annotations.
Warning
Works only if bean registered as defaultBeanConfigurator
supports this feature. By default Tigase XMPP Server uses DSLBeanConfigurator
which provides support for that.