public interface ScopeAware
Scope aware. Provides functionality to check if a given component
can resolve a scope through a given ScopeDescriptor. If this holds, that component should be able to send a
Message to that Scope.| Modifier and Type | Method and Description |
|---|---|
boolean |
canResolve(ScopeDescriptor scopeDescription)
Check whether this implementation can resolve a
Scope object based on the provided scopeDescription. |
void |
send(Message<?> message,
ScopeDescriptor scopeDescription)
|
void send(Message<?> message, ScopeDescriptor scopeDescription) throws Exception
message - a Message to be send to a ScopescopeDescription - a D extending ScopeDescriptor, describing the Scope to send the
given message toException - if sending the message failed. Might occur if the message handling process throws an
exceptionboolean canResolve(ScopeDescriptor scopeDescription)
Scope object based on the provided scopeDescription. Will return true in case it should be able to resolve the Scope and false if
it cannot.scopeDescription - a ScopeDescriptor describing the Scope to be resolvedtrue in case it should be able to resolve the Scope and false if it cannotCopyright © 2010–2018. All rights reserved.