public final class DatabindingPatternRegistration
extends java.lang.Object
Main entry point for registration of patterns configuration files, model providers,
and other related entities of the ADF databinding pattern framework.
This registration also allows for some customization in the way the entities are
registered. For instance, to restrict the type of patterns are to be registered
via their properties, the caller can do the following:
DatabindingPatternRegistration.create()
.withoutPatternProperties("foo", "bar")
.register();
This is a convenience class used primarily to register many patterns and model
providers using the same restrictions. Some convenience functions pass through
information to the RegistrationConfiguration although this object
can be retrieved directly and manipulated prior to the register() call.
If the same RegistrationConfiguration is to be used for all patterns,
then using:
DatabindingFrameworkRegistration.setDefaultRegistrationConfiguration(...)
is an option.
Returns the RegistrationConfiguration to be used in the register call if a more
fine grained approach is required.
register
public void register()
Registers all entities as determined by the source. A source must only
be registered once, subsequent tries will lead to an exception. All
configurations must occur before register() is called.