Packageorg.spicefactory.parsley.context
Classpublic class ScopeExtensionsBuilder
InheritanceScopeExtensionsBuilder Inheritance Object
Implements org.spicefactory.parsley.context.SetupPart

Builder for registering scope extensions.



Public Methods
 MethodDefined By
  
Specifies the implementation of a scope extension.
ScopeExtensionsBuilder
Method Detail
forType()method
public function forType(type:Class):ServiceBuilder

Specifies the implementation of a scope extension. A new instance of the extension will be created for each scope that gets created.

Parameters

type:Class — the type of the extension

Returns
ServiceBuilder — the builder for specifying the implementation or decorators for the scope extension