Package | org.spicefactory.parsley.core.messaging.impl |
Class | public class DefaultMessageReceiverRegistry |
Inheritance | DefaultMessageReceiverRegistry Object |
Implements | MessageReceiverRegistry |
Method | Defined By | ||
---|---|---|---|
DefaultMessageReceiverRegistry(domainManager:GlobalDomainManager)
Creates a new instance. | DefaultMessageReceiverRegistry | ||
addCommandObserver(observer:CommandObserver):void
Adds an observer for a matching command execution to this registry. | DefaultMessageReceiverRegistry | ||
addErrorHandler(errorHandler:MessageErrorHandler):void
Adds an error handler to this registry. | DefaultMessageReceiverRegistry | ||
addTarget(target:MessageTarget):void
Adds a regular target (like a MessageHandler or MessageBinding) to this registry. | DefaultMessageReceiverRegistry | ||
Returns the selection of receivers that match the specified message type. | DefaultMessageReceiverRegistry | ||
removeCommandObserver(observer:CommandObserver):void
Removes an observer for a matching command execution from this registry. | DefaultMessageReceiverRegistry | ||
removeErrorHandler(errorHandler:MessageErrorHandler):void
Removes an error handler from this registry. | DefaultMessageReceiverRegistry | ||
removeTarget(target:MessageTarget):void
Removes a regular target (like a MessageHandler or MessageBinding) from this registry. | DefaultMessageReceiverRegistry |
DefaultMessageReceiverRegistry | () | Constructor |
public function DefaultMessageReceiverRegistry(domainManager:GlobalDomainManager)
Creates a new instance.
ParametersdomainManager:GlobalDomainManager — the manager that keeps track of all ApplicationDomains currently used by one or more Contexts
|
addCommandObserver | () | method |
public function addCommandObserver(observer:CommandObserver):void
Adds an observer for a matching command execution to this registry.
Parameters
observer:CommandObserver — the observer to add to this registry
|
addErrorHandler | () | method |
public function addErrorHandler(errorHandler:MessageErrorHandler):void
Adds an error handler to this registry.
Parameters
errorHandler:MessageErrorHandler — the error handler to add to this registry
|
addTarget | () | method |
public function addTarget(target:MessageTarget):void
Adds a regular target (like a MessageHandler or MessageBinding) to this registry.
Parameters
target:MessageTarget — the target to add to this registry
|
getSelectionCache | () | method |
public function getSelectionCache(messageType:ClassInfo):DefaultMessageReceiverCache
Returns the selection of receivers that match the specified message type.
Parameters
messageType:ClassInfo — the message type to match against
|
DefaultMessageReceiverCache — the selection of receivers that match the specified message type
|
removeCommandObserver | () | method |
public function removeCommandObserver(observer:CommandObserver):void
Removes an observer for a matching command execution from this registry.
Parameters
observer:CommandObserver — the observer to remove from this registry
|
removeErrorHandler | () | method |
public function removeErrorHandler(errorHandler:MessageErrorHandler):void
Removes an error handler from this registry.
Parameters
errorHandler:MessageErrorHandler — the error handler to remove from this registry
|
removeTarget | () | method |
public function removeTarget(target:MessageTarget):void
Removes a regular target (like a MessageHandler or MessageBinding) from this registry.
Parameters
target:MessageTarget — the target to remove from this registry
|