
public class GraphMessagingTarget extends AbstractMessagingTarget implements Prototype<GraphMessagingTarget>
Prototype.PrototypingContext| Constructor and Description |
|---|
GraphMessagingTarget() |
| Modifier and Type | Method and Description |
|---|---|
void |
after(MessageEnvelope messageEnvelope,
MessageResult messageResult,
ExecutionContext executionContext) |
void |
before(MessageEnvelope messageEnvelope,
MessageResult messageResult,
ExecutionContext executionContext) |
void |
exception(MessageEnvelope messageEnvelope,
MessageResult messageResult,
ExecutionContext executionContext,
Xdi2MessagingException ex) |
AddressHandler |
getAddressHandler(XDIAddress XDIaddress) |
Graph |
getGraph() |
GraphContextHandler |
getGraphContextHandler() |
XDIArc |
getOwnerPeerRootXDIArc()
Returns the owner peer root XRI of the messaging target.
|
StatementHandler |
getStatementHandler(XDIStatement statement) |
void |
init()
This method gets called when the messaging target is initialized.
|
GraphMessagingTarget |
instanceFor(Prototype.PrototypingContext prototypingContext) |
void |
setGraph(Graph graph) |
void |
setOwnerPeerRootXDIArc(XDIArc ownerPeerRootXDIArc) |
void |
shutdown()
This method gets called when the messaging target is no longer needed.
|
after, after, before, before, execute, execute, execute, execute, execute, getContributors, getInterceptors, setContributors, setInterceptorspublic void init()
throws Exception
MessagingTargetinit in interface MessagingTargetinit in class AbstractMessagingTargetExceptionpublic void shutdown()
throws Exception
MessagingTargetshutdown in interface MessagingTargetshutdown in class AbstractMessagingTargetExceptionpublic XDIArc getOwnerPeerRootXDIArc()
MessagingTargetgetOwnerPeerRootXDIArc in interface MessagingTargetgetOwnerPeerRootXDIArc in class AbstractMessagingTargetpublic void setOwnerPeerRootXDIArc(XDIArc ownerPeerRootXDIArc)
setOwnerPeerRootXDIArc in class AbstractMessagingTargetpublic void before(MessageEnvelope messageEnvelope, MessageResult messageResult, ExecutionContext executionContext) throws Xdi2MessagingException
before in class AbstractMessagingTargetXdi2MessagingExceptionpublic void after(MessageEnvelope messageEnvelope, MessageResult messageResult, ExecutionContext executionContext) throws Xdi2MessagingException
after in class AbstractMessagingTargetXdi2MessagingExceptionpublic void exception(MessageEnvelope messageEnvelope, MessageResult messageResult, ExecutionContext executionContext, Xdi2MessagingException ex) throws Xdi2MessagingException
exception in class AbstractMessagingTargetXdi2MessagingExceptionpublic AddressHandler getAddressHandler(XDIAddress XDIaddress) throws Xdi2MessagingException
getAddressHandler in class AbstractMessagingTargetXdi2MessagingExceptionpublic StatementHandler getStatementHandler(XDIStatement statement) throws Xdi2MessagingException
getStatementHandler in class AbstractMessagingTargetXdi2MessagingExceptionpublic GraphMessagingTarget instanceFor(Prototype.PrototypingContext prototypingContext) throws Xdi2MessagingException
instanceFor in interface Prototype<GraphMessagingTarget>Xdi2MessagingExceptionpublic Graph getGraph()
public GraphContextHandler getGraphContextHandler()
public void setGraph(Graph graph)
Copyright © 2015. All Rights Reserved.