Packageorg.spicefactory.parsley.properties.processor
Classpublic class PropertiesFileProcessor
InheritancePropertiesFileProcessor Inheritance flash.events.EventDispatcher
Implements AsyncConfigurationProcessor

ConfigurationProcessor implementation that loads property files and adds the properties to the registry.



Public Methods
 MethodDefined By
  
Creates a new instance.
PropertiesFileProcessor
  
cancel():void
Invoked when the configuration process gets cancelled, usually due to an associated Context having been destroyed.
PropertiesFileProcessor
  
Processes all configuration artifacts and adds object definitions to the specified registry.
PropertiesFileProcessor
Constructor Detail
PropertiesFileProcessor()Constructor
public function PropertiesFileProcessor(file:String)

Creates a new instance.

Parameters
file:String — the name of the property file to load
Method Detail
cancel()method
public function cancel():void

Invoked when the configuration process gets cancelled, usually due to an associated Context having been destroyed.

processConfiguration()method 
public function processConfiguration(registry:ObjectDefinitionRegistry):void

Processes all configuration artifacts and adds object definitions to the specified registry.

Parameters

registry:ObjectDefinitionRegistry — the registry to process