Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Configuring XDI messaging container factories
Clone this wiki locally
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.