Skip to content

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.

Interfaces and Classes

Properties

  • graph: The XDI graph to expose.

Example Configuration

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>
Clone this wiki locally