BinderManager source

A blueprint binder manager is a singleton that is responsible for loading and dispaching binders and blueprints.

Specializes Montage

Properties

binderForName source

Gets the blueprint binder associated with the name.

binders :Array.<Binder> source

Return the list of binder registered on the manager.

defaultBinder :Property source

Return the default blueprint object property</br> This is the last resort property declaration object.

defaultBlueprintObjectProperty :Property source

Return the default blueprint object property</br> This is the last resort property declaration object.

Methods

addBinder(binder) source

Add a new blueprint binder.

Parameters:
Name Type Description
binder Property

TODO

blueprintForPrototype(prototypeName, moduleId) source

Search through the binders for a blueprint that extends that prototype.

Parameters:
Name Type Description
prototypeName Property

TODO

moduleId Property

TODO

Returns:

The requested blueprint or null if this prototype is not managed.

callDelegateMethod(name) source

This method calls the method named with the identifier prefix if it exists. Example: If the name parameter is "shouldDoSomething" and the caller's identifier is "bob", then this method will try and call "bobShouldDoSomething"

Parameters:
Name Type Description
name string
Inherited From:

equals(anObject) → {boolean} source

Returns true if two objects are equal, otherwise returns false.

Parameters:
Name Type Description
anObject Object

The object to compare for equality.

Inherited From:
Returns: boolean

Returns true if the calling object and anObject are identical and their uuid properties are also equal. Otherwise, returns false.

removeBinder(binder) source

Parameters:
Name Type Description
binder Property

TODO

Generated from a4679af

comments powered by Disqus

More help?

Can't find what you are looking for? Get in touch, we're more than happy in helping answer your questions.