Spring ActionScript

Reference Documentation

1.1


Preface
I. Getting Started
1. Introduction
1.1. What is Spring Actionscript?
2. The Inversion of Control (IoC) container
2.1. Introduction
2.1.1. Basics - containers and objects
2.1.1.1. The container
2.1.1.2. Instantiating a container
2.1.1.3. Embedding the XML metadata
2.1.1.4. External property files
2.1.1.5. The objects
2.1.1.6. Naming objects
2.1.1.7. Instantiating objects
2.1.1.8. Composing MXML-based configuration metadata
2.1.1.9. Using the container
2.1.2. Dependencies
2.1.2.1. Injecting dependencies
2.1.2.2. Dependencies and configuration in detail
2.1.2.3. Straight values (primitives, Strings, etc.)
2.1.2.4. References to other objects (collaborators)
2.1.2.5. Inner objects
2.1.2.6. Collections
2.1.2.7. Injecting the application context using the 'this' reference
2.1.2.8. Shortcuts and other convenience options for XML-based configuration metadata
2.1.2.9. Using depends-on
2.1.2.10. Ensuring dependency injection with dependency check
2.1.2.11. Lazily-instantiated objects
2.1.2.12. A graphical overview of the getObject() flow
2.1.2.13. A graphical overview of the wiring flow of an object
2.1.2.14. Autowiring collaborators
2.1.2.15. A graphical overview of the autowiring flow of an object
2.1.2.16. Autowiring objects using annotations
2.1.2.17. Binding an object property to a property of an object in the container
2.1.2.18. Injecting an object property with an external property value
2.1.2.19. Instantiating a Class with [Autowired] annotations
2.1.2.20. Autowiring stage components
2.1.2.21. Autowiring stage components in a pure actionscript project
2.1.2.22. Autowiring stage components using XML configuration
2.1.2.23. How to determine which stage components are eligible for configuration
2.1.2.24. How to determine which object definition to use for which stage component
2.1.2.25. Injecting stage components into other objects
2.1.2.26. Implementing custom autowiring support using the IAutowireProcessor interface
2.1.2.27. The IStageProcessor interface
2.1.2.28. The IStageDestroyer interface
2.1.2.29. A graphical overview of the initialization of the FlexXMLApplicationContext
2.1.3. Customizing the nature of an object
2.1.3.1. Initialization callbacks
2.1.4. Knowing who you are
2.1.4.1. IApplicationContextAware
2.1.5. Object definition inheritance
2.1.5.1. Handling object inheritance using interfaces
2.1.6. Object scopes
2.1.6.1. The singleton scope
2.1.6.2. The prototype scope
2.1.6.3. Singleton objecs with prototype-object dependencies
2.1.7. Customizing the nature of an object
2.1.7.1. Lifecycle callbacks
2.1.7.2. Initialization callbacks
2.1.8. Container extension points
2.1.8.1. Flex application settings
2.1.8.2. Logging target factory
2.1.8.3. Enforcing required property injections
2.1.8.4. Injecting the object factory
2.1.8.5. Injecting fields from other objects
2.1.8.6. Injecting method invocation results from other objects
2.1.8.7. Customizing objects using ObjectPostProcessors
2.1.8.8. Creating a postprocessor
2.1.8.9. Customizing instantiation logic using the IFactoryObject interface
2.1.8.10. Customizing configuration metadata with the IObjectFactoryPostProcessor interface
2.1.9. Controlling collection order
II. APIs and extensions
3. Metadata annotations handling
3.1. Introduction
3.1.1. Controlling the order of IMetadataProcessors
4. The Operation API
4.1. Introduction
4.1.1. Operations, commands, services and tasks
4.1.1.1. Operations
4.1.1.2. Commands
4.1.1.3. Services
4.1.1.4. Tasks
5. The EventBus
5.1. Introduction
5.1.1. EventBus listening
5.1.2. EventBus dispatching
5.1.3. EventBus event handling using metadata annotations
5.1.4. Routing other events through the EventBus
5.1.5. Metadata driven MVC micro-framework
5.1.5.1. Getting started
5.1.5.2. Annotating classes that dispatch MVC events
5.1.5.3. Annotating classes that act as MVC commands
6. The Component scanner and class scanning system
6.1. Introduction
6.2. [Component] metadata explained
6.2.1. Injecting constructor arguments
6.2.2. Injecting properties
6.2.3. Method invocations
6.3. Extending the class scanning system
6.3.1. The IClassScanner interface
6.3.2. Controlling the order in which class scanners are executed
7. Testing
7.1. Introduction
7.2. Integration Testing
7.2.1. Overview
7.2.1.1. Common Goals
7.2.1.2. Common Metadata
7.2.1.3. Spring ActionScript TestContext Framework
8. Spring Actionscript extensions
8.1. Introduction
8.1.1. Cairngorm 2
8.1.1.1. The ModelLocator
8.1.1.2. The FrontController
8.1.1.3. Module support in the CairngormFrontController
8.1.1.4. The ServiceLocator
8.1.1.5. The Command Factory
8.1.1.6. The Delegate Factory
8.1.1.7. The IDataTranslator interface
8.1.1.8. Event Sequences
8.1.2. PureMVC
8.1.2.1. General notes, intentions, plans and vision
8.1.2.2. Implementation notes and steps
III. Appendixes
A. XML Schema-based configuration
A.1. Introduction
A.2. XML Schema-based configuration
A.2.1. Referencing the schemas
A.3. The util schema
A.3.1. <util:constant/>
A.3.2. <util:invoke/>
A.4. The messaging schema
A.4.1. <messaging:channel-set>
A.4.2. <messaging:channel>
A.4.2.1. <messaging:amf-channel>
A.4.3. <messaging:abstract-consumer>
A.4.3.1. <messaging:consumer>
A.4.3.2. <messaging:multi-topic-consumer>
A.4.4. <messaging:producer>
A.4.4.1. <messaging:multi-topic-producer>
A.5. The RPC schema
A.6. The stage processing schema
A.6.1. <si:genericstageprocessor>
B. Extensible XML authoring
B.1. Introduction
B.2. Authoring the schema
B.3. Coding an INamespaceHandler implementation
B.4. Coding an IObjectDefinitionParser implementation
B.5. Registering the handler
B.6. Code generator
C. Forcing Actionscript class inclusion
C.1. Introduction
C.1.1. Adding an anonymous code block
C.1.2. Declaring a list of variables
C.1.3. Using the Frame metadata
C.1.4. Using a resource bundle
C.1.5. Using an ANT task as a prebuilder to generate a compiler config file
C.1.5.1. Step 1 - Add a compiler switch to your project
C.1.5.2. Step 2 – Create an XSLT ANT Task
C.1.5.3. Step 3 – Add the XSLT to your project
C.1.5.4. Step 4 – Add the ANT task as a builder
C.1.6. Using Maven
IV. Reference
9. Configuration reference
9.1. General description
10.
Spring actionscript Glossary