-
Notifications
You must be signed in to change notification settings - Fork 17
Configuring XDI messaging container factories
The xdi2-server component uses its configuration files to configure XDI messaging container factories, which can be used to dynamically create messaging containers at runtime.
The Java Spring Framework and its Inversion of Control principles are used to configure the messaging container factories.
Every Spring bean in the WEB-INF/applicationContext.xml whose name starts with a slash ('/') and ends with a '/*' is expected to be a messaging container factory. The bean name becomes the relative path at which the messaging container factory is "mounted". The path also becomes the root for the messaging containers that are instantiated by the messaging container factory.
Many important classes of the XDI2 library are compatible with the Spring bean mechanism, for example implementations of the GraphFactory and Graph interfaces.
This work is licensed under a Creative Commons Attribution 4.0 International License.