Ankh

prepare

method
ResolveableComponentModel.prototype.prepare()

Creates resolver and activator implementations, based on the
resolver and activator keys from the inner model

ResolveableComponentModel.prototype.prepare = function(kernel) {
    return kernel.promise()
        .then(function(){
            return this.createResolver(kernel, this._model.resolver())
                .then(this.resolver.bind(this))
                .then(this.createActivator.bind(this,kernel, this._model.activator()))
                .then(this.activator.bind(this))
                .then(function(){
                    return this
                }.bind(this))
        }.bind(this))
}
ResolveableComponentModel.prototype.toString = function(){
    return this._model.key + ' [' + this._model.resolver() +  ']'
}