| Package | org.spicefactory.parsley.metadata |
| Class | public class MetadataDecoratorAssembler |
| Inheritance | MetadataDecoratorAssembler Object |
| Implements | DecoratorAssembler |
| Method | Defined By | ||
|---|---|---|---|
Creates a new instance. | MetadataDecoratorAssembler | ||
Assembles the definition decorators for the specified class. | MetadataDecoratorAssembler | ||
initialize():void [static]
Initializes the metadata tag registrations for all builtin metadata tags. | MetadataDecoratorAssembler | ||
replaceTag(builtinTag:Class, replacement:Class):void [static]
Replaces one of the framework's builtin metadata tags with a custom one. | MetadataDecoratorAssembler | ||
| MetadataDecoratorAssembler | () | Constructor |
public function MetadataDecoratorAssembler()Creates a new instance.
| assemble | () | method |
public function assemble(type:ClassInfo):Array
Assembles the definition decorators for the specified class.
The returned array contains instances of the ObjectDefinitionDecorator interface.
Parameters
type:ClassInfo — the class to assemble all decorators for
|
Array — decorators for the specified class
|
| initialize | () | method |
public static function initialize():voidInitializes the metadata tag registrations for all builtin metadata tags. Will usually be called by the framework and does not need to be called by an application.
| replaceTag | () | method |
public static function replaceTag(builtinTag:Class, replacement:Class):voidReplaces one of the framework's builtin metadata tags with a custom one. Any previous replacements for the same type would get overwritten. This method must be called before starting to create the first Context of the application.
Parameters
builtinTag:Class — the builtin tag that should be replaced
| |
replacement:Class — the actual replacement
|