-
Notifications
You must be signed in to change notification settings - Fork 17
GraphMessagingContainer
Markus Sabadello edited this page Feb 6, 2017
·
3 revisions
This [messaging container](Messaging containers) can expose a native XDI graph from the xdi2-core component at an XDI endpoint.
- graph: The XDI graph to expose.
The following configuration sets up the GraphMessagingContainer at the relative path /mem-graph/:
<bean id="graphfactory1" class="xdi2.core.impl.memory.MemoryGraphFactory" />
<bean id="graph1" factory-bean="graphfactory1" factory-method="openGraph" />
<bean name="/mem-graph" class="xdi2.messaging.container.impl.graph.GraphMessagingContainer">
<property name="graph" ref="graph1" />
</bean>
This work is licensed under a Creative Commons Attribution 4.0 International License.