There are three meanings for Universal:
- The Universal ElementFactory can act as all the extended BasicElementFactory,
for example, InvokerFactory and FormatFactory. It parses the extended BasicElementFactory
by FactoryPlugins.
- It is suggested to use only one instance of Universal ElementFactory in
your application, instead of using the static factory for components such
as Invoker and Formatter. This instance should be kept in your application
scope in Web module, as a static reference in stand alone Java application,
or in your plugin Activator if in eclipse plugin environment. It can also
be constructed as a tree that represents the application level, for example,
UniversalElementFactory in Web module can access to UniversalElementFactory
in its referenced EJB module.
- Besides creating Element, Universal ElementFactory provides
functions such as MessageResource that can handle i18n problem.