
public class GraphMessagingContainer extends AbstractMessagingContainer implements Prototype<GraphMessagingContainer>
Prototype.PrototypingContext| Constructor and Description |
|---|
GraphMessagingContainer() |
GraphMessagingContainer(Graph graph) |
| Modifier and Type | Method and Description |
|---|---|
void |
after(MessageEnvelope messageEnvelope,
ExecutionContext executionContext,
ExecutionResult executionResult) |
boolean |
before(MessageEnvelope messageEnvelope,
ExecutionContext executionContext,
ExecutionResult executionResult) |
void |
exception(MessageEnvelope messageEnvelope,
ExecutionContext executionContext,
ExecutionResult executionResult,
Xdi2MessagingException ex) |
AddressHandler |
getAddressHandler(XDIAddress XDIaddress) |
Graph |
getGraph() |
XDIArc |
getOwnerPeerRootXDIArc()
Returns the owner peer root XDI arc of the messaging container.
|
XDIAddress |
getOwnerXDIAddress()
Returns the owner XDI address of the messaging container.
|
StatementHandler |
getStatementHandler(XDIStatement statement) |
void |
init()
This method gets called when the messaging container is initialized.
|
GraphMessagingContainer |
instanceFor(Prototype.PrototypingContext prototypingContext) |
void |
setGraph(Graph graph) |
void |
setOwnerPeerRootXDIArc(XDIArc ownerPeerRootXDIArc) |
void |
setOwnerXDIAddress(XDIAddress ownerXDIAddress) |
void |
shutdown()
This method gets called when the messaging container is no longer needed.
|
addStandardExtensions, after, after, before, before, execute, execute, execute, execute, execute, execute, getContributors, getInterceptors, setContributors, setInterceptorspublic GraphMessagingContainer(Graph graph)
public GraphMessagingContainer()
public void init()
throws Exception
MessagingContainerinit in interface MessagingContainerinit in class AbstractMessagingContainerExceptionpublic void shutdown()
throws Exception
MessagingContainershutdown in interface MessagingContainershutdown in class AbstractMessagingContainerExceptionpublic XDIArc getOwnerPeerRootXDIArc()
MessagingContainergetOwnerPeerRootXDIArc in interface MessagingContainergetOwnerPeerRootXDIArc in class AbstractMessagingContainerpublic void setOwnerPeerRootXDIArc(XDIArc ownerPeerRootXDIArc)
setOwnerPeerRootXDIArc in class AbstractMessagingContainerpublic XDIAddress getOwnerXDIAddress()
MessagingContainergetOwnerXDIAddress in interface MessagingContainergetOwnerXDIAddress in class AbstractMessagingContainerpublic void setOwnerXDIAddress(XDIAddress ownerXDIAddress)
setOwnerXDIAddress in class AbstractMessagingContainerpublic boolean before(MessageEnvelope messageEnvelope, ExecutionContext executionContext, ExecutionResult executionResult) throws Xdi2MessagingException
before in class AbstractMessagingContainerXdi2MessagingExceptionpublic void after(MessageEnvelope messageEnvelope, ExecutionContext executionContext, ExecutionResult executionResult) throws Xdi2MessagingException
after in class AbstractMessagingContainerXdi2MessagingExceptionpublic void exception(MessageEnvelope messageEnvelope, ExecutionContext executionContext, ExecutionResult executionResult, Xdi2MessagingException ex) throws Xdi2MessagingException
exception in class AbstractMessagingContainerXdi2MessagingExceptionpublic AddressHandler getAddressHandler(XDIAddress XDIaddress) throws Xdi2MessagingException
getAddressHandler in class AbstractMessagingContainerXdi2MessagingExceptionpublic StatementHandler getStatementHandler(XDIStatement statement) throws Xdi2MessagingException
getStatementHandler in class AbstractMessagingContainerXdi2MessagingExceptionpublic GraphMessagingContainer instanceFor(Prototype.PrototypingContext prototypingContext) throws Xdi2MessagingException
instanceFor in interface Prototype<GraphMessagingContainer>Xdi2MessagingExceptionpublic Graph getGraph()
public void setGraph(Graph graph)
Copyright © 2017. All rights reserved.