Collection of Behaviors that are stored within the registry.
Empty behavior to be returned whenever a request for an invalid behavior is made.
Used to add a new behavior to the registry.
The name used to access the behavior in the registry.
An array of commands that define the behavior's actions.
An (optional) event that can will trigger the behavior.
Used to retreive a stored behavior from the registry. If the behavior does not exist then a dummy behavior is returned.
The name of the behavior to be retrieved.
Loads a collection of behaviors from config. Behaviors are stored in a 'behaviors' object, which stores a collection of arrays of commands. Returns an array of the behavior names so that the module can remove them from the registry when it is destroyed.
The scope of the calling function - used to ensure that behaviors are only loaded from modules.
The configuration for the associated module.
Used to remove a behavior from the registry. Also unsubscribes the behavior from its event and clears run commands.
The name used to access the behavior in the registry.
Instance of the {@link application.Application} that this registry belongs to.