├── LICENSE ├── README.adoc ├── README.md ├── pom.xml ├── spring-actionscript-core ├── pom.xml └── src │ ├── main │ ├── actionscript │ │ └── org │ │ │ └── springextensions │ │ │ └── actionscript │ │ │ ├── context │ │ │ ├── ContextShareSettings.as │ │ │ ├── IApplicationContext.as │ │ │ ├── IApplicationContextAware.as │ │ │ ├── IApplicationContextInitializer.as │ │ │ ├── IChildContextManager.as │ │ │ ├── config │ │ │ │ ├── IConfigurationPackage.as │ │ │ │ └── impl │ │ │ │ │ ├── FullConfigurationPackage.as │ │ │ │ │ ├── metadata │ │ │ │ │ └── FullMetadataConfigurationPackage.as │ │ │ │ │ └── xml │ │ │ │ │ └── FullXMLConfigurationPackage.as │ │ │ ├── event │ │ │ │ ├── ChildContextEvent.as │ │ │ │ └── ContextEvent.as │ │ │ └── impl │ │ │ │ ├── ApplicationContext.as │ │ │ │ ├── DefaultApplicationContext.as │ │ │ │ ├── DefaultApplicationContextInitializer.as │ │ │ │ ├── DefaultChildContextManager.as │ │ │ │ ├── metadata │ │ │ │ └── MetadataApplicationContext.as │ │ │ │ └── xml │ │ │ │ └── XMLApplicationContext.as │ │ │ ├── eventbus │ │ │ ├── EventBusShareKind.as │ │ │ ├── EventBusShareSettings.as │ │ │ ├── IEventBusShareManager.as │ │ │ ├── IEventBusUserRegistry.as │ │ │ ├── IEventBusUserRegistryAware.as │ │ │ ├── impl │ │ │ │ ├── ClassEntry.as │ │ │ │ ├── DefaultEventBusShareManager.as │ │ │ │ ├── DefaultEventBusUserRegistry.as │ │ │ │ ├── DependencyInjectingEventInterceptor.as │ │ │ │ ├── EventBusRegistryEntry.as │ │ │ │ └── EventTypeEntry.as │ │ │ └── process │ │ │ │ ├── AbstractEventBusMetadataProcessor.as │ │ │ │ ├── EventBusAwareObjectPostProcessor.as │ │ │ │ ├── EventHandlerMetadataDestroyer.as │ │ │ │ ├── EventHandlerMetadataProcessor.as │ │ │ │ ├── EventHandlerProxy.as │ │ │ │ ├── EventInterceptorMetadataDestroyer.as │ │ │ │ ├── EventInterceptorMetadataProcessor.as │ │ │ │ ├── RouteEventsMetaDataDestroyer.as │ │ │ │ └── RouteEventsMetaDataProcessor.as │ │ │ ├── ioc │ │ │ ├── Constants.as │ │ │ ├── IDependencyChecker.as │ │ │ ├── IDependencyInjector.as │ │ │ ├── ILazyDependencyManager.as │ │ │ ├── IObjectDestroyer.as │ │ │ ├── SpringConstants.as │ │ │ ├── autowire │ │ │ │ ├── AutowireMode.as │ │ │ │ ├── IAutowireProcessor.as │ │ │ │ ├── IAutowireProcessorAware.as │ │ │ │ └── impl │ │ │ │ │ ├── AutowireError.as │ │ │ │ │ └── DefaultAutowireProcessor.as │ │ │ ├── config │ │ │ │ ├── IObjectDefinitionsProvider.as │ │ │ │ ├── IObjectReference.as │ │ │ │ ├── ITextFilesLoader.as │ │ │ │ ├── impl │ │ │ │ │ ├── AbstractObjectDefinitionsProvider.as │ │ │ │ │ ├── AsyncObjectDefinitionProviderResultOperation.as │ │ │ │ │ ├── RuntimeObjectReference.as │ │ │ │ │ ├── TextFilesLoader.as │ │ │ │ │ ├── metadata │ │ │ │ │ │ ├── ConfigurationClassScanner.as │ │ │ │ │ │ ├── ICustomConfigurationClassScanner.as │ │ │ │ │ │ ├── ILoaderInfoAware.as │ │ │ │ │ │ ├── MetadataObjectDefinitionsProvider.as │ │ │ │ │ │ ├── WaitingOperation.as │ │ │ │ │ │ ├── customscanner │ │ │ │ │ │ │ ├── AbstractCustomConfigurationClassScanner.as │ │ │ │ │ │ │ ├── eventbus │ │ │ │ │ │ │ │ ├── EventHandlerCustomConfigurationClassScanner.as │ │ │ │ │ │ │ │ ├── EventInterceptorCustomConfigurationClassScanner.as │ │ │ │ │ │ │ │ ├── EventListenerInterceptorCustomConfigurationClassScanner.as │ │ │ │ │ │ │ │ └── RouteEventsInterceptorCustomConfigurationClassScanner.as │ │ │ │ │ │ │ └── util │ │ │ │ │ │ │ │ └── FactoryObjectCustomConfigurationClassScanner.as │ │ │ │ │ │ └── util │ │ │ │ │ │ │ └── MetadataConfigUtils.as │ │ │ │ │ └── xml │ │ │ │ │ │ ├── XMLObjectDefinitionsProvider.as │ │ │ │ │ │ ├── namespacehandler │ │ │ │ │ │ ├── INamespaceHandler.as │ │ │ │ │ │ ├── IObjectDefinitionParser.as │ │ │ │ │ │ └── impl │ │ │ │ │ │ │ ├── AbstractNamespaceHandler.as │ │ │ │ │ │ │ ├── AbstractObjectDefinitionParser.as │ │ │ │ │ │ │ ├── AttributeToPropertyMapping.as │ │ │ │ │ │ │ ├── ParsingUtils.as │ │ │ │ │ │ │ ├── eventbus │ │ │ │ │ │ │ ├── EventBusNamespaceHandler.as │ │ │ │ │ │ │ ├── customconfiguration │ │ │ │ │ │ │ │ ├── AbstractEventBusCustomConfigurator.as │ │ │ │ │ │ │ │ ├── AbstractInterceptorCustomConfigurator.as │ │ │ │ │ │ │ │ ├── EventHandlerCustomConfigurator.as │ │ │ │ │ │ │ │ ├── EventInterceptorCustomConfigurator.as │ │ │ │ │ │ │ │ ├── EventListenerInterceptorCustomConfigurator.as │ │ │ │ │ │ │ │ └── RouteEventsCustomConfigurator.as │ │ │ │ │ │ │ └── nodeparser │ │ │ │ │ │ │ │ ├── AbstractEventBusNodeParser.as │ │ │ │ │ │ │ │ ├── EventHandlerNodeParser.as │ │ │ │ │ │ │ │ ├── EventInterceptorNodeParser.as │ │ │ │ │ │ │ │ ├── EventListenerInterceptorNodeParser.as │ │ │ │ │ │ │ │ └── EventRouterNodeParser.as │ │ │ │ │ │ │ ├── stageprocessing │ │ │ │ │ │ │ ├── StageProcessingNamespaceHandler.as │ │ │ │ │ │ │ └── nodeparser │ │ │ │ │ │ │ │ ├── AutowiringStageProcessorNodeParser.as │ │ │ │ │ │ │ │ ├── GenericStageProcessorNodeParser.as │ │ │ │ │ │ │ │ └── StageProcessorNodeParser.as │ │ │ │ │ │ │ ├── task │ │ │ │ │ │ │ ├── TaskElementsPreprocessor.as │ │ │ │ │ │ │ ├── TaskNamespaceHandler.as │ │ │ │ │ │ │ └── nodeparser │ │ │ │ │ │ │ │ ├── AbstractOperationNodeParser.as │ │ │ │ │ │ │ │ ├── AbstractTaskDefinitionParser.as │ │ │ │ │ │ │ │ ├── BlockNodeParser.as │ │ │ │ │ │ │ │ ├── CompositeCommandNodeParser.as │ │ │ │ │ │ │ │ ├── CountProviderNodeParser.as │ │ │ │ │ │ │ │ ├── IfNodeParser.as │ │ │ │ │ │ │ │ ├── LoadURLNodeParser.as │ │ │ │ │ │ │ │ ├── LoadURLStreamNodeParser.as │ │ │ │ │ │ │ │ ├── NullReturningNodeParser.as │ │ │ │ │ │ │ │ ├── PauseCommandNodeParser.as │ │ │ │ │ │ │ │ └── TaskNodeParser.as │ │ │ │ │ │ │ └── util │ │ │ │ │ │ │ ├── UtilNamespaceHandler.as │ │ │ │ │ │ │ ├── customconfiguration │ │ │ │ │ │ │ └── FactoryObjectCustomConfigurator.as │ │ │ │ │ │ │ └── nodeparser │ │ │ │ │ │ │ ├── ConstantNodeParser.as │ │ │ │ │ │ │ ├── FactoryNodeParser.as │ │ │ │ │ │ │ └── InvokeNodeParser.as │ │ │ │ │ │ ├── ns │ │ │ │ │ │ ├── spring_actionscript_eventbus.as │ │ │ │ │ │ ├── spring_actionscript_objects.as │ │ │ │ │ │ ├── spring_actionscript_stageprocessing.as │ │ │ │ │ │ ├── spring_actionscript_task.as │ │ │ │ │ │ └── spring_actionscript_util.as │ │ │ │ │ │ ├── parser │ │ │ │ │ │ ├── INodeParser.as │ │ │ │ │ │ ├── IXMLObjectDefinitionsParser.as │ │ │ │ │ │ └── impl │ │ │ │ │ │ │ ├── XMLObjectDefinitionsParser.as │ │ │ │ │ │ │ └── nodeparser │ │ │ │ │ │ │ ├── AbstractNodeParser.as │ │ │ │ │ │ │ ├── ArrayCollectionNodeParser.as │ │ │ │ │ │ │ ├── ArrayNodeParser.as │ │ │ │ │ │ │ ├── DictionaryNodeParser.as │ │ │ │ │ │ │ ├── KeyValueNodeParser.as │ │ │ │ │ │ │ ├── NanNodeParser.as │ │ │ │ │ │ │ ├── NullNodeParser.as │ │ │ │ │ │ │ ├── ObjectNodeParser.as │ │ │ │ │ │ │ ├── RefNodeParser.as │ │ │ │ │ │ │ ├── UndefinedNodeParser.as │ │ │ │ │ │ │ └── VectorNodeParser.as │ │ │ │ │ │ └── preprocess │ │ │ │ │ │ ├── IXMLObjectDefinitionsPreprocessor.as │ │ │ │ │ │ └── impl │ │ │ │ │ │ ├── AttributeToElementPreprocessor.as │ │ │ │ │ │ ├── IdAttributePreprocessor.as │ │ │ │ │ │ ├── InnerObjectsPreprocessor.as │ │ │ │ │ │ ├── PropertyElementsPreprocessor.as │ │ │ │ │ │ ├── PropertyImportPreprocessor.as │ │ │ │ │ │ ├── ScopeAttributePreprocessor.as │ │ │ │ │ │ └── SpringNamesPreprocessor.as │ │ │ │ └── property │ │ │ │ │ ├── IPropertiesParser.as │ │ │ │ │ ├── IPropertiesProvider.as │ │ │ │ │ ├── IPropertyPlaceholderResolver.as │ │ │ │ │ ├── TextFileURI.as │ │ │ │ │ ├── error │ │ │ │ │ └── PropertyPlaceholderResolverError.as │ │ │ │ │ └── impl │ │ │ │ │ ├── KeyValuePropertiesParser.as │ │ │ │ │ ├── Properties.as │ │ │ │ │ └── PropertyPlaceholderResolver.as │ │ │ ├── error │ │ │ │ ├── ObjectContainerError.as │ │ │ │ ├── ObjectFactoryError.as │ │ │ │ ├── ResolveReferenceError.as │ │ │ │ └── UnsatisfiedDependencyError.as │ │ │ ├── event │ │ │ │ ├── LazyPropertyPlaceholderResolveEvent.as │ │ │ │ └── WireEvent.as │ │ │ ├── factory │ │ │ │ ├── IFactoryObject.as │ │ │ │ ├── IInitializingObject.as │ │ │ │ ├── IInstanceCache.as │ │ │ │ ├── IObjectFactory.as │ │ │ │ ├── IObjectFactoryAware.as │ │ │ │ ├── IReferenceResolver.as │ │ │ │ ├── NoSuchObjectDefinitionError.as │ │ │ │ ├── error │ │ │ │ │ └── CachedInstanceNotFoundError.as │ │ │ │ ├── event │ │ │ │ │ ├── InstanceCacheEvent.as │ │ │ │ │ └── ObjectFactoryEvent.as │ │ │ │ ├── impl │ │ │ │ │ ├── AbstractFactoryObject.as │ │ │ │ │ ├── AbstractReferenceResolver.as │ │ │ │ │ ├── DefaultInstanceCache.as │ │ │ │ │ ├── DefaultObjectFactory.as │ │ │ │ │ ├── FieldRetrievingFactoryObject.as │ │ │ │ │ ├── GenericFactoryObject.as │ │ │ │ │ ├── MethodInvokingFactoryObject.as │ │ │ │ │ └── referenceresolver │ │ │ │ │ │ ├── ArrayCollectionReferenceResolver.as │ │ │ │ │ │ ├── ArrayReferenceResolver.as │ │ │ │ │ │ ├── DictionaryReferenceResolver.as │ │ │ │ │ │ ├── ObjectReferenceResolver.as │ │ │ │ │ │ ├── ThisReferenceResolver.as │ │ │ │ │ │ └── VectorReferenceResolver.as │ │ │ │ └── process │ │ │ │ │ ├── IObjectFactoryPostProcessor.as │ │ │ │ │ ├── IObjectPostProcessor.as │ │ │ │ │ └── impl │ │ │ │ │ ├── factory │ │ │ │ │ ├── AbstractOrderedFactoryPostProcessor.as │ │ │ │ │ ├── ClassScannerObjectFactoryPostProcessor.as │ │ │ │ │ ├── FactoryObjectFactoryPostProcessor.as │ │ │ │ │ ├── ObjectDefinitionFactoryPostProcessor.as │ │ │ │ │ ├── ObjectDestroyerObjectFactoryPostProcessor.as │ │ │ │ │ ├── PropertyPlaceholderConfigurerFactoryPostProcessor.as │ │ │ │ │ ├── RegisterObjectFactoryPostProcessorsFactoryPostProcessor.as │ │ │ │ │ └── RegisterObjectPostProcessorsFactoryPostProcessor.as │ │ │ │ │ └── object │ │ │ │ │ ├── ApplicationContextAwareObjectPostProcessor.as │ │ │ │ │ ├── ApplicationDomainAwarePostProcessor.as │ │ │ │ │ ├── BaseApplicationDomainAwareObjectPostProcessor.as │ │ │ │ │ ├── ObjectDefinitionRegistryAwareObjectPostProcessor.as │ │ │ │ │ └── ObjectFactoryAwarePostProcessor.as │ │ │ ├── impl │ │ │ │ ├── DefaultDependencyChecker.as │ │ │ │ ├── DefaultDependencyInjector.as │ │ │ │ ├── DefaultLazyDependencyManager.as │ │ │ │ ├── DefaultObjectDestroyer.as │ │ │ │ └── LazyDependencyCheckResult.as │ │ │ └── objectdefinition │ │ │ │ ├── ChildContextObjectDefinitionAccess.as │ │ │ │ ├── DependencyCheckMode.as │ │ │ │ ├── IBaseObjectDefinition.as │ │ │ │ ├── ICustomConfigurator.as │ │ │ │ ├── IObjectDefinition.as │ │ │ │ ├── IObjectDefinitionRegistry.as │ │ │ │ ├── IObjectDefinitionRegistryAware.as │ │ │ │ ├── ObjectDefinitionScope.as │ │ │ │ ├── error │ │ │ │ └── ObjectDefinitionNotFoundError.as │ │ │ │ ├── event │ │ │ │ └── ObjectDefinitionEvent.as │ │ │ │ └── impl │ │ │ │ ├── ArgumentDefinition.as │ │ │ │ ├── BaseObjectDefinition.as │ │ │ │ ├── DefaultObjectDefinitionRegistry.as │ │ │ │ ├── MethodInvocation.as │ │ │ │ ├── ObjectDefinition.as │ │ │ │ ├── ObjectDefinitionBuilder.as │ │ │ │ └── PropertyDefinition.as │ │ │ ├── metadata │ │ │ ├── IClassScanner.as │ │ │ ├── IMetadataDestroyer.as │ │ │ ├── IMetadataProcessorObjectPostProcessor.as │ │ │ ├── ISpringMetadaProcessor.as │ │ │ ├── MetadataProcessorObjectFactoryPostProcessor.as │ │ │ ├── MetadataProcessorObjectPostProcessor.as │ │ │ └── processor │ │ │ │ ├── AbstractSpringMetadataProcessor.as │ │ │ │ ├── PostConstructMetadataProcessor.as │ │ │ │ └── PreDestroyMetadataProcessor.as │ │ │ ├── object │ │ │ ├── IPropertyEditor.as │ │ │ ├── IPropertyEditorRegistry.as │ │ │ ├── ITypeConverter.as │ │ │ ├── PropertyEditorRegistrySupport.as │ │ │ ├── SimpleTypeConverter.as │ │ │ └── propertyeditor │ │ │ │ ├── AbstractPropertyEditor.as │ │ │ │ ├── BooleanPropertyEditor.as │ │ │ │ ├── ClassPropertyEditor.as │ │ │ │ └── NumberPropertyEditor.as │ │ │ ├── stage │ │ │ ├── DefaultAutowiringStageProcessor.as │ │ │ ├── DefaultObjectDefinitionResolver.as │ │ │ ├── DefaultSpringObjectSelector.as │ │ │ ├── DefaultStageObjectDestroyer.as │ │ │ ├── GenericStageProcessor.as │ │ │ ├── IObjectDefinitionResolver.as │ │ │ ├── PopupAndTooltipWireManager.as │ │ │ ├── SpringStageObjectProcessorRegistry.as │ │ │ └── StageProcessorFactoryPostprocessor.as │ │ │ └── util │ │ │ ├── ContextUtils.as │ │ │ ├── Environment.as │ │ │ ├── MultilineString.as │ │ │ └── TypeUtils.as │ ├── assembly │ │ └── sources.xml │ └── resources │ │ └── metadata.xml │ └── test │ ├── actionscript │ ├── integration │ │ ├── context │ │ │ └── DefaultApplicationIntegrationTest.as │ │ ├── eventbus │ │ │ └── EventBusUserRegistryIntegrationTest.as │ │ ├── objectfactory │ │ │ └── ObjectFactoryIntegrationTest.as │ │ ├── testtypes │ │ │ ├── AllAwareInterfaces.as │ │ │ ├── DummyEvent.as │ │ │ └── DummyEventInterceptor.as │ │ └── xmlapplicationcontext │ │ │ └── XMLApplicationContextTest.as │ └── org │ │ └── springextensions │ │ └── actionscript │ │ ├── context │ │ └── impl │ │ │ ├── ApplicationContextTest.as │ │ │ ├── DefaultApplicationContextInitializerTest.as │ │ │ └── DefaultChildContextManagerTest.as │ │ ├── eventbus │ │ ├── EventBusShareKindTest.as │ │ ├── EventBusShareSettingsTest.as │ │ └── impl │ │ │ └── DefaultEventBusUserRegistryTest.as │ │ ├── ioc │ │ ├── autowire │ │ │ ├── AutowireModeTest.as │ │ │ └── impl │ │ │ │ └── DefaultAutowireProcessorTest.as │ │ ├── config │ │ │ ├── impl │ │ │ │ ├── TextFilesLoaderTest.as │ │ │ │ ├── metadata │ │ │ │ │ ├── ConfigurationClassScannerTest.as │ │ │ │ │ └── MetadataObjectDefinitionsProviderTest.as │ │ │ │ └── xml │ │ │ │ │ ├── XMLObjectDefinitionsProviderTest.as │ │ │ │ │ ├── namespacehandler │ │ │ │ │ └── impl │ │ │ │ │ │ ├── ParsingUtilsTest.as │ │ │ │ │ │ ├── eventbus │ │ │ │ │ │ ├── customconfiguration │ │ │ │ │ │ │ ├── EventHandlerCustomConfiguratorTest.as │ │ │ │ │ │ │ ├── EventInterceptorCustomConfiguratorTest.as │ │ │ │ │ │ │ ├── EventListenerInterceptorCustomConfiguratorTest.as │ │ │ │ │ │ │ └── RouteEventsCustomConfiguratorTest.as │ │ │ │ │ │ └── nodeparser │ │ │ │ │ │ │ ├── EventHandlerNodeParserTest.as │ │ │ │ │ │ │ ├── EventInterceptorNodeParserTest.as │ │ │ │ │ │ │ ├── EventListenerInterceptorNodeParserTest.as │ │ │ │ │ │ │ ├── EventRouterNodeParserTest.as │ │ │ │ │ │ │ └── NodeParserTestBase.as │ │ │ │ │ │ ├── stageprocessing │ │ │ │ │ │ └── nodeparser │ │ │ │ │ │ │ ├── AutowiringStageProcessorNodeParserTest.as │ │ │ │ │ │ │ ├── GenericStageProcessorNodeParserTest.as │ │ │ │ │ │ │ └── StageProcessorNodeParserTest.as │ │ │ │ │ │ ├── task │ │ │ │ │ │ ├── TaskElementsPreprocessorTest.as │ │ │ │ │ │ ├── TaskNamespaceHandlerTest.as │ │ │ │ │ │ └── nodeparser │ │ │ │ │ │ │ ├── BlockNodeParserTest.as │ │ │ │ │ │ │ ├── CompositeCommandNodeParserTest.as │ │ │ │ │ │ │ ├── CountProviderNodeParserTest.as │ │ │ │ │ │ │ ├── IfNodeParserTest.as │ │ │ │ │ │ │ ├── LoadURLNodeParsertest.as │ │ │ │ │ │ │ ├── LoadURLStreamNodeParserTest.as │ │ │ │ │ │ │ ├── PauseCommandNodeParserTest.as │ │ │ │ │ │ │ └── TaskNodeParserTest.as │ │ │ │ │ │ └── util │ │ │ │ │ │ ├── customconfiguration │ │ │ │ │ │ └── FactoryObjectCustomConfiguratorTest.as │ │ │ │ │ │ └── nodeparser │ │ │ │ │ │ ├── ConstantNodeParserTest.as │ │ │ │ │ │ ├── FactoryNodeParserTest.as │ │ │ │ │ │ └── InvokeNodeParserTest.as │ │ │ │ │ ├── parser │ │ │ │ │ └── impl │ │ │ │ │ │ ├── XmlObjectDefinitionsParserTest.as │ │ │ │ │ │ └── nodeparser │ │ │ │ │ │ ├── ArrayCollectionNodeParserTest.as │ │ │ │ │ │ ├── ArrayNodeParserTest.as │ │ │ │ │ │ ├── DictionaryNodeParserTest.as │ │ │ │ │ │ ├── KeyValueNodeParserTest.as │ │ │ │ │ │ ├── NanNodeParserTest.as │ │ │ │ │ │ ├── NullNodeParserTest.as │ │ │ │ │ │ ├── ObjectNodeParserTest.as │ │ │ │ │ │ ├── RefNodeParserTest.as │ │ │ │ │ │ ├── UndefinedNodeParserTest.as │ │ │ │ │ │ └── VectorNodeParserTest.as │ │ │ │ │ └── preprocess │ │ │ │ │ └── impl │ │ │ │ │ ├── AttributeToElementPreprocessorTest.as │ │ │ │ │ ├── IdAttributePreprocessorTest.as │ │ │ │ │ ├── InnerObjectsPreprocessorTest.as │ │ │ │ │ ├── PropertyElementsPreprocessorTest.as │ │ │ │ │ ├── PropertyImportPreprocessorTest.as │ │ │ │ │ ├── ScopeAttributePreprocessorTest.as │ │ │ │ │ └── SpringNamesPreprocessorTest.as │ │ │ └── property │ │ │ │ └── impl │ │ │ │ ├── KeyValuePropertiesParserTest.as │ │ │ │ ├── PropertiesTest.as │ │ │ │ └── PropertyPlaceholderResolverTest.as │ │ ├── factory │ │ │ ├── impl │ │ │ │ ├── DefaultInstanceCacheTest.as │ │ │ │ ├── DefaultObjectFactoryTest.as │ │ │ │ ├── FieldRetrievingFactoryObjectTest.as │ │ │ │ ├── GenericFactoryObjectTest.as │ │ │ │ ├── MethodInvokingFactoryObjectTest.as │ │ │ │ └── referenceresolver │ │ │ │ │ ├── ArrayCollectionReferenceResolverTest.as │ │ │ │ │ ├── ArrayReferenceResolverTest.as │ │ │ │ │ ├── DictionaryReferenceResolverTest.as │ │ │ │ │ ├── ObjectReferenceResolverTest.as │ │ │ │ │ ├── ReferenceResolverTestBase.as │ │ │ │ │ ├── ThisReferenceResolverTest.as │ │ │ │ │ └── VectorReferenceResolverTest.as │ │ │ └── process │ │ │ │ └── impl │ │ │ │ ├── factory │ │ │ │ ├── ClassScannerObjectFactoryPostProcessorTest.as │ │ │ │ ├── FactoryObjectFactoryPostProcessorTest.as │ │ │ │ ├── ObjectDefinitonFactoryPostProcessorTest.as │ │ │ │ ├── RegisterObjectFactoryPostProcessorsFactoryPostProcessorTest.as │ │ │ │ └── RegisterObjectPostProcessorsFactoryPostProcessorTest.as │ │ │ │ └── object │ │ │ │ ├── ApplicationContextAwareObjectPostProcessorTest.as │ │ │ │ ├── ApplicationDomainAwarePostProcessorTest.as │ │ │ │ └── ObjectFactoryAwarePostProcessorTest.as │ │ ├── impl │ │ │ ├── DefaultDependencyCheckerTest.as │ │ │ ├── DefaultDependencyInjectorTest.as │ │ │ └── DefaultLazyDependencyManagerTest.as │ │ └── objectdefinition │ │ │ ├── ChildContextObjectDefinitionAccessTest.as │ │ │ ├── DependencyCheckModeTest.as │ │ │ ├── ObjectDefinitionScopeTest.as │ │ │ └── impl │ │ │ ├── DefaultObjectDefinitionRegistryTest.as │ │ │ ├── MethodInvocationTest.as │ │ │ ├── ObjectDefinitionBuilderTest.as │ │ │ ├── ObjectDefinitionTest.as │ │ │ └── PropertyDefinitionTest.as │ │ ├── metadata │ │ ├── MetadataProcessorObjectFactoryPostProcessorTest.as │ │ └── MetadataProcessorObjectPostProcessorTest.as │ │ ├── object │ │ ├── SimpleTypeConverterTest.as │ │ └── propertyeditor │ │ │ ├── BooleanPropertyEditorTest.as │ │ │ ├── ClassPropertyEditorTest.as │ │ │ └── NumberPropertyEditorTest.as │ │ ├── stage │ │ └── DefaultSpringObjectSelectorTest.as │ │ ├── test │ │ ├── SpringTestSuite.as │ │ └── testtypes │ │ │ ├── AutowiredAnnotatedClass.as │ │ │ ├── AutowiredExternalPropertyAnnotatedClass.as │ │ │ ├── ClassWithStaticFactoryMethod.as │ │ │ ├── EmbeddedContexts.as │ │ │ ├── EmbeddedEmptyContext.xml │ │ │ ├── IAutowireProcessorAwareObjectFactory.as │ │ │ ├── MockDefinitionProviderResultOperation.as │ │ │ ├── Person.as │ │ │ ├── TestClassFactory.as │ │ │ ├── TestClassWithMetadata.as │ │ │ ├── TestFactoryObject.as │ │ │ ├── TestInjectionClass.as │ │ │ ├── TestInvalidFactoryObject.as │ │ │ ├── eventbus │ │ │ ├── IEventBusAndListener.as │ │ │ └── TestEventHandler.as │ │ │ ├── metadatascan │ │ │ ├── AnnotatedComponent.as │ │ │ ├── AnnotatedComponentInOtherPackage.as │ │ │ ├── AnnotatedComponentWithAutowired.as │ │ │ ├── AnnotatedComponentWithConstructor.as │ │ │ ├── AnnotatedComponentWithDependencyCheck.as │ │ │ ├── AnnotatedComponentWithDependsOn.as │ │ │ ├── AnnotatedComponentWithDestroyMethod.as │ │ │ ├── AnnotatedComponentWithMethodInvocations.as │ │ │ ├── AnnotatedComponentWithPrimaryLazyInitAndFactoryMethod.as │ │ │ ├── AnnotatedComponentWithPropertiesWithExplicitValues.as │ │ │ ├── AnnotatedComponentWithPropertiesWithPlaceholders.as │ │ │ ├── AnnotatedComponentWithPropertiesWithRefs.as │ │ │ ├── AnnotatedComponentWithSkips.as │ │ │ ├── AnnotatedLazyInitPrototypeComponent.as │ │ │ ├── AnnotatedNamedComponent.as │ │ │ ├── AnnotatedNamedComponent2.as │ │ │ ├── AnnotatedScopedComponent.as │ │ │ ├── ComponentWithConstructorArguments.as │ │ │ ├── ComponentWithConstructorArgumentsTypedToInterface.as │ │ │ ├── ComponentWithProperties.as │ │ │ ├── IAnnotatedComponent.as │ │ │ └── TestConfigurationClass.as │ │ │ └── stage │ │ │ └── DummyStageProcessor.as │ │ └── util │ │ ├── ContextUtilsTest.as │ │ ├── MultilineStringTest.as │ │ └── TypeUtilsTest.as │ └── resources │ ├── context-with-task.xml │ ├── simple-context.xml │ ├── testfile1.txt │ ├── testfile2.txt │ └── testfile3.txt ├── spring-actionscript-flex ├── pom.xml └── src │ ├── main │ ├── actionscript │ │ └── org │ │ │ └── springextensions │ │ │ └── actionscript │ │ │ ├── context │ │ │ ├── IMXMLApplicationContext.as │ │ │ ├── config │ │ │ │ └── impl │ │ │ │ │ └── xml │ │ │ │ │ └── FullFlexXMLConfigurationPackage.as │ │ │ └── impl │ │ │ │ └── mxml │ │ │ │ ├── MXMLApplicationContext.as │ │ │ │ ├── MXMLApplicationContextBase.as │ │ │ │ ├── event │ │ │ │ └── MXMLContextEvent.as │ │ │ │ ├── metadata │ │ │ │ └── FlexMetadataApplicationContext.as │ │ │ │ └── xml │ │ │ │ └── FlexXMLApplicationContext.as │ │ │ ├── ioc │ │ │ ├── config │ │ │ │ └── impl │ │ │ │ │ ├── mxml │ │ │ │ │ ├── ICustomObjectDefinitionComponent.as │ │ │ │ │ ├── ISpringConfigurationComponent.as │ │ │ │ │ ├── MXMLObjectDefinitionsProvider.as │ │ │ │ │ ├── component │ │ │ │ │ │ ├── AbstractMXMLObject.as │ │ │ │ │ │ ├── Arg.as │ │ │ │ │ │ ├── ConstructorArg.as │ │ │ │ │ │ ├── CustomConfigurator.as │ │ │ │ │ │ ├── Interface.as │ │ │ │ │ │ ├── MXMLObjectDefinition.as │ │ │ │ │ │ ├── MethodInvocation.as │ │ │ │ │ │ ├── Property.as │ │ │ │ │ │ ├── PropertyPlaceholder.as │ │ │ │ │ │ └── SASObjects.as │ │ │ │ │ └── custom │ │ │ │ │ │ ├── AbstractCustomObjectDefinitionComponent.as │ │ │ │ │ │ ├── bootstrap │ │ │ │ │ │ ├── Bootstrap.as │ │ │ │ │ │ ├── BootstrapItemBase.as │ │ │ │ │ │ ├── BootstrapModuleBase.as │ │ │ │ │ │ ├── Module.as │ │ │ │ │ │ ├── ResourceBundle.as │ │ │ │ │ │ ├── ResourceModule.as │ │ │ │ │ │ ├── StyleModule.as │ │ │ │ │ │ └── customconfiguration │ │ │ │ │ │ │ └── BootstrapCustomConfigurator.as │ │ │ │ │ │ ├── eventbus │ │ │ │ │ │ ├── AbstractEventBusComponent.as │ │ │ │ │ │ ├── EventHandler.as │ │ │ │ │ │ ├── EventHandlerMethod.as │ │ │ │ │ │ ├── EventInterceptor.as │ │ │ │ │ │ ├── EventListenerInterceptor.as │ │ │ │ │ │ ├── EventRouter.as │ │ │ │ │ │ ├── EventRouterConfiguration.as │ │ │ │ │ │ ├── InterceptionConfiguration.as │ │ │ │ │ │ └── ListenerInterceptionConfiguration.as │ │ │ │ │ │ ├── stage │ │ │ │ │ │ ├── StageAutowireProcessor.as │ │ │ │ │ │ └── StageObjectProcessor.as │ │ │ │ │ │ └── util │ │ │ │ │ │ └── FactorObjectDefinition.as │ │ │ │ │ └── xml │ │ │ │ │ ├── namespacehandler │ │ │ │ │ └── impl │ │ │ │ │ │ ├── messaging │ │ │ │ │ │ ├── MessagingNamespaceHandler.as │ │ │ │ │ │ └── nodeparser │ │ │ │ │ │ │ ├── AMFChannelNodeParser.as │ │ │ │ │ │ │ ├── AbstractConsumerNodeParser.as │ │ │ │ │ │ │ ├── AbstractProducerNodeParser.as │ │ │ │ │ │ │ ├── ChannelNodeParser.as │ │ │ │ │ │ │ ├── ChannelSetNodeParser.as │ │ │ │ │ │ │ ├── ConsumerNodeParser.as │ │ │ │ │ │ │ ├── MessageAgentNodeParser.as │ │ │ │ │ │ │ ├── MultiTopicConsumerNodeParser.as │ │ │ │ │ │ │ ├── MultiTopicProducerNodeParser.as │ │ │ │ │ │ │ ├── ProducerNodeParser.as │ │ │ │ │ │ │ ├── SecureAMFChannelNodeParser.as │ │ │ │ │ │ │ ├── SecureStreamingAMFChannelNodeParser.as │ │ │ │ │ │ │ ├── StreamingAMFChannelNodeParser.as │ │ │ │ │ │ │ └── SubscriptionInfoNodeParser.as │ │ │ │ │ │ ├── rpc │ │ │ │ │ │ ├── RPCNamespaceHandler.as │ │ │ │ │ │ └── nodeparser │ │ │ │ │ │ │ ├── AbstractServiceNodeParser.as │ │ │ │ │ │ │ ├── RemoteObjectNodeParser.as │ │ │ │ │ │ │ └── WebServiceNodeParser.as │ │ │ │ │ │ └── task │ │ │ │ │ │ ├── FlexTaskNamespaceHandler.as │ │ │ │ │ │ └── nodeparser │ │ │ │ │ │ ├── LoadModuleNodeParser.as │ │ │ │ │ │ ├── LoadResourceModuleNodeParser.as │ │ │ │ │ │ └── LoadStyleModuleNodeParser.as │ │ │ │ │ ├── ns │ │ │ │ │ ├── spring_actionscript_messaging.as │ │ │ │ │ └── spring_actionscript_rpc.as │ │ │ │ │ └── xsd │ │ │ │ │ ├── spring-actionscript-messaging-2.0.xsd │ │ │ │ │ └── spring-actionscript-rpc-2.0.xsd │ │ │ └── factory │ │ │ │ └── process │ │ │ │ └── impl │ │ │ │ └── ApplicationPropertiesObjectFactoryPostProcessor.as │ │ │ ├── localization │ │ │ └── LocalizationStageProcessor.as │ │ │ ├── module │ │ │ └── ModulePolicy.as │ │ │ └── stage │ │ │ ├── DefaultFlexAutowiringStageProcessor.as │ │ │ └── IgnoreModuleObjectSelector.as │ └── resources │ │ ├── design.xml │ │ └── manifest.xml │ └── test │ └── actionscript │ └── org │ └── springextensions │ └── actionscript │ ├── context │ └── impl │ │ └── mxml │ │ └── MXMLApplicationContextTest.as │ ├── ioc │ └── config │ │ └── impl │ │ └── mxml │ │ ├── MXMLObjectDefinitionsProviderTest.as │ │ ├── component │ │ ├── InterfaceTest.as │ │ ├── MXMLObjectDefinitionTest.as │ │ ├── MethodInvocationTest.as │ │ └── PropertyTest.as │ │ └── custom │ │ ├── eventbus │ │ ├── EventHandlerTest.as │ │ ├── EventInterceptorTest.as │ │ ├── EventListenerInterceptorTest.as │ │ └── EventRouterTest.as │ │ └── stage │ │ └── StageAutowireProcessorTest.as │ └── test │ ├── SpringTestSuite.as │ └── testtypes │ ├── IApplicationContextEventBusRegistryAware.as │ ├── MXMLConfig.mxml │ └── MXMLConfig2.mxml ├── spring-actionscript-mvc ├── pom.xml └── src │ └── main │ └── actionscript │ └── org │ └── springextensions │ └── actionscript │ └── mvc │ ├── IController.as │ ├── IMVCEventObjectPostProcessor.as │ ├── event │ ├── ControllerEvent.as │ ├── ControllerRegistrationEvent.as │ └── MVCEvent.as │ ├── impl │ ├── CommandProxy.as │ ├── CommandRegistration.as │ └── Controller.as │ └── processor │ ├── MVCControllerObjectFactoryPostProcessor.as │ └── MVCRouteEventsMetaDataProcessor.as ├── spring-actionscript-samples ├── cafe-townsend-bootstrap │ └── src │ │ └── main │ │ ├── actionscript │ │ └── org │ │ │ └── springextensions │ │ │ └── actionscript │ │ │ ├── Main.mxml │ │ │ ├── configuration │ │ │ └── AppConfig.mxml │ │ │ ├── domain │ │ │ ├── BaseObject.as │ │ │ ├── Entity.as │ │ │ ├── ICopyFrom.as │ │ │ ├── IEntity.as │ │ │ ├── INamed.as │ │ │ ├── ManagedEntity.as │ │ │ ├── NamedEntity.as │ │ │ └── util │ │ │ │ ├── EntityUtil.as │ │ │ │ └── NamedUtil.as │ │ │ └── samples │ │ │ └── cafetownsend │ │ │ ├── ITownsendView.as │ │ │ ├── application │ │ │ ├── ApplicationController.as │ │ │ ├── ApplicationEvents.as │ │ │ └── service │ │ │ │ └── IAuthenticationService.as │ │ │ ├── domain │ │ │ ├── Employee.as │ │ │ └── service │ │ │ │ └── IEmployeeService.as │ │ │ ├── infrastructure │ │ │ └── service │ │ │ │ ├── InMemoryAuthenticationService.as │ │ │ │ └── InMemoryEmployeeService.as │ │ │ ├── module │ │ │ └── MainModule.mxml │ │ │ ├── presentation │ │ │ ├── EmployeeDetail.mxml │ │ │ ├── EmployeeDetailPresentationModel.as │ │ │ ├── EmployeeList.mxml │ │ │ ├── EmployeeListPresentationModel.as │ │ │ ├── EmployeeLogin.mxml │ │ │ ├── EmployeeLoginPresentationModel.as │ │ │ ├── MainView.mxml │ │ │ └── MainViewPresentationModel.as │ │ │ └── stage │ │ │ └── TownsendViewSelector.as │ │ └── resources │ │ ├── assets │ │ ├── Employees.xml │ │ └── header.jpg │ │ └── mainstyle.css ├── cafe-townsend-metadata-config │ └── src │ │ └── main │ │ ├── actionscript │ │ ├── Main.mxml │ │ └── org │ │ │ └── springextensions │ │ │ └── actionscript │ │ │ ├── configuration │ │ │ └── AppConfig.as │ │ │ ├── domain │ │ │ ├── BaseObject.as │ │ │ ├── Entity.as │ │ │ ├── ICopyFrom.as │ │ │ ├── IEntity.as │ │ │ ├── INamed.as │ │ │ ├── ManagedEntity.as │ │ │ ├── NamedEntity.as │ │ │ └── util │ │ │ │ ├── EntityUtil.as │ │ │ │ └── NamedUtil.as │ │ │ └── samples │ │ │ └── cafetownsend │ │ │ ├── application │ │ │ ├── ApplicationController.as │ │ │ ├── ApplicationEvents.as │ │ │ └── service │ │ │ │ └── IAuthenticationService.as │ │ │ ├── domain │ │ │ ├── Employee.as │ │ │ └── service │ │ │ │ └── IEmployeeService.as │ │ │ ├── infrastructure │ │ │ └── service │ │ │ │ ├── InMemoryAuthenticationService.as │ │ │ │ └── InMemoryEmployeeService.as │ │ │ └── presentation │ │ │ ├── EmployeeDetail.mxml │ │ │ ├── EmployeeDetailPresentationModel.as │ │ │ ├── EmployeeList.mxml │ │ │ ├── EmployeeListPresentationModel.as │ │ │ ├── EmployeeLogin.mxml │ │ │ ├── EmployeeLoginPresentationModel.as │ │ │ ├── MainView.mxml │ │ │ └── MainViewPresentationModel.as │ │ └── resources │ │ └── assets │ │ ├── Employees.xml │ │ ├── header.jpg │ │ └── main.css ├── cafe-townsend-multi-module │ └── src │ │ └── main │ │ ├── actionscript │ │ ├── Main.mxml │ │ └── org │ │ │ └── springextensions │ │ │ └── actionscript │ │ │ ├── configuration │ │ │ ├── AppConfig.mxml │ │ │ └── ModuleConfig.mxml │ │ │ ├── domain │ │ │ ├── BaseObject.as │ │ │ ├── Entity.as │ │ │ ├── ICopyFrom.as │ │ │ ├── IEntity.as │ │ │ ├── INamed.as │ │ │ ├── ManagedEntity.as │ │ │ ├── NamedEntity.as │ │ │ └── util │ │ │ │ ├── EntityUtil.as │ │ │ │ └── NamedUtil.as │ │ │ ├── modules │ │ │ └── ApplicationModule.mxml │ │ │ └── samples │ │ │ └── cafetownsend │ │ │ ├── ITownsendView.as │ │ │ ├── application │ │ │ ├── ApplicationController.as │ │ │ ├── ApplicationEvents.as │ │ │ └── service │ │ │ │ └── IAuthenticationService.as │ │ │ ├── domain │ │ │ ├── Employee.as │ │ │ └── service │ │ │ │ └── IEmployeeService.as │ │ │ ├── infrastructure │ │ │ └── service │ │ │ │ ├── InMemoryAuthenticationService.as │ │ │ │ └── InMemoryEmployeeService.as │ │ │ ├── presentation │ │ │ ├── EmployeeDetail.mxml │ │ │ ├── EmployeeDetailPresentationModel.as │ │ │ ├── EmployeeList.mxml │ │ │ ├── EmployeeListPresentationModel.as │ │ │ ├── EmployeeLogin.mxml │ │ │ ├── EmployeeLoginPresentationModel.as │ │ │ ├── MainView.mxml │ │ │ └── MainViewPresentationModel.as │ │ │ └── stage │ │ │ └── TownsendViewSelector.as │ │ └── resources │ │ └── assets │ │ ├── Employees.xml │ │ ├── header.jpg │ │ └── main.css ├── cafe-townsend-mxml-config │ └── src │ │ └── main │ │ ├── actionscript │ │ ├── Main.mxml │ │ └── org │ │ │ └── springextensions │ │ │ └── actionscript │ │ │ ├── configuration │ │ │ └── AppConfig.mxml │ │ │ ├── domain │ │ │ ├── BaseObject.as │ │ │ ├── Entity.as │ │ │ ├── ICopyFrom.as │ │ │ ├── IEntity.as │ │ │ ├── INamed.as │ │ │ ├── ManagedEntity.as │ │ │ ├── NamedEntity.as │ │ │ └── util │ │ │ │ ├── EntityUtil.as │ │ │ │ └── NamedUtil.as │ │ │ └── samples │ │ │ └── cafetownsend │ │ │ ├── ITownsendView.as │ │ │ ├── application │ │ │ ├── ApplicationController.as │ │ │ ├── ApplicationEvents.as │ │ │ └── service │ │ │ │ └── IAuthenticationService.as │ │ │ ├── domain │ │ │ ├── Employee.as │ │ │ └── service │ │ │ │ └── IEmployeeService.as │ │ │ ├── infrastructure │ │ │ └── service │ │ │ │ ├── InMemoryAuthenticationService.as │ │ │ │ └── InMemoryEmployeeService.as │ │ │ ├── presentation │ │ │ ├── EmployeeDetail.mxml │ │ │ ├── EmployeeDetailPresentationModel.as │ │ │ ├── EmployeeList.mxml │ │ │ ├── EmployeeListPresentationModel.as │ │ │ ├── EmployeeLogin.mxml │ │ │ ├── EmployeeLoginPresentationModel.as │ │ │ ├── MainView.mxml │ │ │ └── MainViewPresentationModel.as │ │ │ └── stage │ │ │ └── TownsendViewSelector.as │ │ └── resources │ │ └── assets │ │ ├── Employees.xml │ │ ├── header.jpg │ │ └── main.css └── cafe-townsend │ └── src │ └── main │ ├── actionscript │ ├── Main.mxml │ └── org │ │ └── springextensions │ │ └── actionscript │ │ ├── domain │ │ ├── BaseObject.as │ │ ├── Entity.as │ │ ├── ICopyFrom.as │ │ ├── IEntity.as │ │ ├── INamed.as │ │ ├── ManagedEntity.as │ │ ├── NamedEntity.as │ │ └── util │ │ │ ├── EntityUtil.as │ │ │ └── NamedUtil.as │ │ └── samples │ │ └── cafetownsend │ │ ├── ITownsendView.as │ │ ├── application │ │ ├── ApplicationController.as │ │ ├── ApplicationEvents.as │ │ └── service │ │ │ └── IAuthenticationService.as │ │ ├── domain │ │ ├── Employee.as │ │ └── service │ │ │ └── IEmployeeService.as │ │ ├── infrastructure │ │ └── service │ │ │ ├── InMemoryAuthenticationService.as │ │ │ └── InMemoryEmployeeService.as │ │ ├── presentation │ │ ├── EmployeeDetail.mxml │ │ ├── EmployeeDetailPresentationModel.as │ │ ├── EmployeeList.mxml │ │ ├── EmployeeListPresentationModel.as │ │ ├── EmployeeLogin.mxml │ │ ├── EmployeeLoginPresentationModel.as │ │ ├── MainView.mxml │ │ └── MainViewPresentationModel.as │ │ └── stage │ │ └── TownsendViewSelector.as │ └── resources │ ├── application-context.xml │ └── assets │ ├── Employees.xml │ ├── header.jpg │ └── main.css ├── spring-actionscript-security ├── pom.xml └── src │ └── main │ └── actionscript │ └── org │ └── springextensions │ └── actionscript │ └── security │ ├── AccessStrategy.as │ ├── IMembershipOwner.as │ ├── ISecurityManager.as │ ├── ISecurityManagerFactory.as │ ├── MembershipAccessData.as │ ├── impl │ ├── SimpleMembershipOwner.as │ ├── SimpleSecurityManagerFactory.as │ └── SimpleStageSecurityManager.as │ └── processor │ └── SimpleSecurityStageProcessor.as ├── src ├── changes │ └── changes.xml ├── docbkx │ ├── advanced-context-features.xml │ ├── autowiring.xml │ ├── class-inclusion.xml │ ├── configuration-types.xml │ ├── eventbus-integration.xml │ ├── extending-configuration-types.xml │ ├── extending-the-application-context.xml │ ├── extensible-xml-authoring.xml │ ├── getting-started.xml │ ├── graphs.xml │ ├── integrations.xml │ ├── introduction.xml │ ├── object-definitions.xml │ ├── resources │ │ ├── GraphMLViewer │ │ │ └── GraphMLViewer.swf │ │ ├── asdoctemplate │ │ │ ├── AC_OETags.js │ │ │ ├── ASDoc_Config_Base.xml │ │ │ ├── ASDoc_terms.xml │ │ │ ├── ClassHeader.xslt │ │ │ ├── Classes.xslt │ │ │ ├── Overviews_Base.xml │ │ │ ├── PostProcessing.xslt │ │ │ ├── all-classes.xslt │ │ │ ├── all-index.xslt │ │ │ ├── asdoc-util.xslt │ │ │ ├── asdoc.js │ │ │ ├── class-files.xslt │ │ │ ├── class-list.xslt │ │ │ ├── class-parts.xslt │ │ │ ├── class-summary.xslt │ │ │ ├── cookies.js │ │ │ ├── effectsSummary.xslt │ │ │ ├── eventsGeneratedSummary.xslt │ │ │ ├── fieldSummary.xslt │ │ │ ├── help.js │ │ │ ├── images │ │ │ │ ├── AirIcon12x12.gif │ │ │ │ ├── P_AlternativeMetadataIndicator_30x28_N.png │ │ │ │ ├── collapsed.gif │ │ │ │ ├── detailHeaderRule.jpg │ │ │ │ ├── detailSectionHeader.jpg │ │ │ │ ├── expanded.gif │ │ │ │ ├── fisheye_header_logo.png │ │ │ │ ├── inherit-arrow.gif │ │ │ │ ├── inheritedSummary.gif │ │ │ │ ├── logo.jpg │ │ │ │ ├── subversion_logo_notxt-16m.png │ │ │ │ ├── titleTableBottom.jpg │ │ │ │ ├── titleTableMiddle.jpg │ │ │ │ └── titleTableTop.jpg │ │ │ ├── index-list.html │ │ │ ├── index.html │ │ │ ├── merge_dita_xml.xslt │ │ │ ├── methodSummary.xslt │ │ │ ├── mxml-tags.html │ │ │ ├── override.css │ │ │ ├── package-detail.xslt │ │ │ ├── package-frame.html │ │ │ ├── package-list.xslt │ │ │ ├── package-summary.xslt │ │ │ ├── package.xslt │ │ │ ├── print.css │ │ │ ├── processHTML.xslt │ │ │ ├── style.css │ │ │ ├── stylesSummary.xslt │ │ │ └── title-bar.html │ │ ├── css │ │ │ └── html.css │ │ ├── graphs │ │ │ ├── getobject_flow.graphml │ │ │ └── objectwiring_flow.graphml │ │ ├── html │ │ │ └── index.html │ │ ├── images │ │ │ ├── autowiringflow.png │ │ │ ├── flexappcontextwiringflow.png │ │ │ ├── getobjectflow.png │ │ │ ├── i21-banner-rhs.jpg │ │ │ ├── objectwiringflow.png │ │ │ ├── prebuilder_step1.png │ │ │ ├── prebuilder_step2.png │ │ │ ├── prebuilder_step3.png │ │ │ ├── prebuilder_step4.png │ │ │ ├── prebuilder_step5.png │ │ │ ├── s2-banner-rhs.png │ │ │ ├── s2_box_logo.png │ │ │ ├── stageprocessingflow.png │ │ │ └── xdev-spring_logo.jpg │ │ ├── js │ │ │ ├── GraphMLViewer.js │ │ │ ├── jquery.js │ │ │ ├── springas.js │ │ │ └── wtooltip-min.js │ │ ├── xsd │ │ │ ├── spring-actionscript-eventbus-2.0.xsd │ │ │ ├── spring-actionscript-messaging-1.0.xsd │ │ │ ├── spring-actionscript-messaging-2.0.xsd │ │ │ ├── spring-actionscript-objects-1.0.xsd │ │ │ ├── spring-actionscript-objects-2.0.xsd │ │ │ ├── spring-actionscript-rpc-1.0.xsd │ │ │ ├── spring-actionscript-rpc-2.0.xsd │ │ │ ├── spring-actionscript-stageprocessing-1.0.xsd │ │ │ ├── spring-actionscript-stageprocessing-2.0.xsd │ │ │ ├── spring-actionscript-task-1.0.xsd │ │ │ ├── spring-actionscript-task-1.1.xsd │ │ │ ├── spring-actionscript-task-2.0.xsd │ │ │ ├── spring-actionscript-util-1.0.xsd │ │ │ └── spring-actionscript-util-2.0.xsd │ │ ├── xsl │ │ │ ├── configuration-reference.xsl │ │ │ ├── fopdf-asdoclinkresolver.xsl │ │ │ ├── fopdf.xsl │ │ │ ├── html-asdoclinkresolver.xsl │ │ │ ├── html.xsl │ │ │ └── html_chunk.xsl │ │ └── xslthl │ │ │ ├── README │ │ │ ├── actionscript-hl.xml │ │ │ ├── c-hl.xml │ │ │ ├── common.xsl │ │ │ ├── cpp-hl.xml │ │ │ ├── csharp-hl.xml │ │ │ ├── delphi-hl.xml │ │ │ ├── ini-hl.xml │ │ │ ├── java-hl.xml │ │ │ ├── javascript-hl.xml │ │ │ ├── m2-hl.xml │ │ │ ├── myxml-hl.xml │ │ │ ├── perl-hl.xml │ │ │ ├── php-hl.xml │ │ │ ├── python-hl.xml │ │ │ ├── ruby-hl.xml │ │ │ ├── tcl-hl.xml │ │ │ └── xslthl-config.xml │ ├── springactionscript.xml │ └── xml-schema-based-configuration.xml ├── main │ └── assembly │ │ ├── distribution-with-dependencies.xml │ │ ├── distribution.xml │ │ └── sources.xml └── site │ ├── fml │ └── faq.fml │ ├── resources │ ├── crossdomain.xml │ ├── js │ │ ├── jquery.corner.js │ │ └── springas-site.js │ ├── maven │ │ └── spring-actionscript-prebuild-mojo.zip │ └── sourcemate │ │ └── spring-as-metadata.xml │ ├── site.vm │ ├── site.xml │ └── xdoc │ ├── developer_resources.xml │ ├── index.xml │ └── samples.xml └── toplevel_files.xml /README.adoc: -------------------------------------------------------------------------------- 1 | # spring-actionscript is no longer actively maintained by VMware, Inc. 2 | 3 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | **Spring ActionScript** is an offshoot of the Java-based Spring Framework written in ActionScript 3. It is targeted for the Flash, Flex and AIR platforms. The framework contains a versatile Inversion of Control Container. 2 | 3 | The master contains the code for the 2.x version. For previous 1.x versions, see the branches. 4 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/main/actionscript/org/springextensions/actionscript/context/IApplicationContextAware.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.context { 17 | 18 | /** 19 | * Interface to be implemented by any object that wishes to be notified 20 | * of the IApplicationContext that it runs in. 21 | * 22 | * @author Christophe Herreman 23 | * @productionversion SpringActionscript 2.0 24 | */ 25 | public interface IApplicationContextAware { 26 | 27 | /** 28 | * Sets the IApplicationContext that this object runs in. 29 | * @param value the IApplicationContext that this object runs in 30 | */ 31 | function get applicationContext():IApplicationContext; 32 | 33 | /** 34 | * @param value 35 | */ 36 | function set applicationContext(value:IApplicationContext):void; 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/main/actionscript/org/springextensions/actionscript/context/config/IConfigurationPackage.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.context.config { 17 | import org.springextensions.actionscript.context.IApplicationContext; 18 | 19 | /** 20 | * Describes an object that is capable of configuring an IApplicationContext. 21 | * @author Roland Zwaga 22 | * @productionversion SpringActionscript 2.0 23 | */ 24 | public interface IConfigurationPackage { 25 | /** 26 | * @param applicationContext The specified IApplicationContext that will be configured by the current IConfigurationPackage. 27 | */ 28 | function execute(applicationContext:IApplicationContext):void; 29 | } 30 | } -------------------------------------------------------------------------------- /spring-actionscript-core/src/main/actionscript/org/springextensions/actionscript/eventbus/IEventBusShareManager.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.eventbus { 17 | import org.as3commons.eventbus.IEventBus; 18 | import org.springextensions.actionscript.context.IApplicationContext; 19 | 20 | /** 21 | * Describes an object that handles the logic of linking up two eventbuses between application contexts. 22 | * @author Roland Zwaga 23 | * @productionversion SpringActionscript 2.0 24 | */ 25 | public interface IEventBusShareManager { 26 | 27 | /** 28 | * 29 | * @param childContext 30 | * @param parentEventBus 31 | * @param settings 32 | */ 33 | function addChildContextEventBusListener(childContext:IApplicationContext, parentEventBus:IEventBus, settings:EventBusShareSettings):void; 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/main/actionscript/org/springextensions/actionscript/eventbus/IEventBusUserRegistryAware.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.eventbus { 17 | 18 | /** 19 | * 20 | * @author Roland Zwaga 21 | * @productionversion SpringActionscript 2.0 22 | */ 23 | public interface IEventBusUserRegistryAware { 24 | function get eventBusUserRegistry():IEventBusUserRegistry; 25 | function set eventBusUserRegistry(value:IEventBusUserRegistry):void; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/main/actionscript/org/springextensions/actionscript/eventbus/impl/ClassEntry.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.eventbus.impl { 17 | 18 | 19 | /** 20 | * 21 | * @author Roland Zwaga 22 | * @productionversion SpringActionscript 2.0 23 | */ 24 | public class ClassEntry { 25 | 26 | private var _clazz:Class; 27 | private var _topic:Object; 28 | 29 | /** 30 | * Creates a new ClassEntry instance. 31 | * @param clazz 32 | * @param topic 33 | */ 34 | public function ClassEntry(clazz:Class, topic:Object=null) { 35 | super(); 36 | _clazz = clazz; 37 | _topic = topic; 38 | } 39 | 40 | /** 41 | * 42 | */ 43 | public function get clazz():Class { 44 | return _clazz; 45 | } 46 | 47 | /** 48 | * 49 | */ 50 | public function get topic():Object { 51 | return _topic; 52 | } 53 | 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/main/actionscript/org/springextensions/actionscript/eventbus/impl/EventTypeEntry.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.eventbus.impl { 17 | 18 | 19 | /** 20 | * 21 | * @author Roland Zwaga 22 | * @productionversion SpringActionscript 2.0 23 | */ 24 | public class EventTypeEntry { 25 | 26 | private var _eventType:String; 27 | private var _topic:Object; 28 | 29 | /** 30 | * Creates a new EventTypeEntry instance. 31 | * @param type 32 | * @param topic 33 | */ 34 | public function EventTypeEntry(type:String, topic:Object=null) { 35 | super(); 36 | _eventType = type; 37 | _topic = topic; 38 | } 39 | 40 | /** 41 | * 42 | */ 43 | public function get eventType():String { 44 | return _eventType; 45 | } 46 | 47 | /** 48 | * 49 | */ 50 | public function get topic():Object { 51 | return _topic; 52 | } 53 | 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/main/actionscript/org/springextensions/actionscript/ioc/Constants.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.ioc { 17 | 18 | /** 19 | * @author Christophe Herreman 20 | * @productionversion SpringActionscript 2.0 21 | */ 22 | public class Constants { 23 | public static const OBJECTS:String = "objects"; 24 | public static const OBJECT:String = "object"; 25 | public static const INTERFACE:String = "interface"; 26 | public static const PROPERTY:String = "property"; 27 | public static const ID_ATTRIBUTE:String = "id"; 28 | public static const SCOPE_ATTRIBUTE:String = "scope"; 29 | public static const SINGLETON_ATTRIBUTE:String = "singleton"; 30 | public static const LAZYINIT_ATTRIBUTE:String = "lazy-init"; 31 | public static const CLASS_ATTRIBUTE:String = "class"; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/main/actionscript/org/springextensions/actionscript/ioc/ILazyDependencyManager.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2012 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.ioc { 17 | import flash.events.IEventDispatcher; 18 | 19 | import org.springextensions.actionscript.ioc.objectdefinition.impl.PropertyDefinition; 20 | 21 | /** 22 | * 23 | * @author Roland Zwaga 24 | * @productionversion SpringActionscript 2.0 25 | */ 26 | public interface ILazyDependencyManager extends IEventDispatcher { 27 | /** 28 | * 29 | * @param objectName 30 | * @param property 31 | * @param instance 32 | */ 33 | function registerLazyInjection(objectName:String, property:PropertyDefinition, instance:*):void; 34 | /** 35 | * 36 | * @param dependencyName 37 | * @param dependencyInstance 38 | */ 39 | function updateInjections(dependencyName:String, dependencyInstance:*):void; 40 | 41 | 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/main/actionscript/org/springextensions/actionscript/ioc/SpringConstants.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.ioc { 17 | 18 | /** 19 | * @author Christophe Herreman 20 | */ 21 | public final class SpringConstants { 22 | public static const BEANS:String = "beans"; 23 | public static const BEAN:String = "bean"; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/main/actionscript/org/springextensions/actionscript/ioc/autowire/IAutowireProcessorAware.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.ioc.autowire { 17 | 18 | /** 19 | * Interface to be implemented by all objects that need a reference to 20 | * an IAutowireProcessor instance. 21 | * @author Roland Zwaga 22 | * @productionversion SpringActionscript 2.0 23 | */ 24 | public interface IAutowireProcessorAware { 25 | 26 | /** 27 | * @param autowireProcessor the IAutowireProcessor instance 28 | */ 29 | function get autowireProcessor():IAutowireProcessor; 30 | /** 31 | * @private 32 | */ 33 | function set autowireProcessor(value:IAutowireProcessor):void; 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/main/actionscript/org/springextensions/actionscript/ioc/config/IObjectReference.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.ioc.config { 17 | 18 | /** 19 | * Exposes a reference to an object by its name. 20 | * @author Christophe Herreman 21 | */ 22 | public interface IObjectReference { 23 | 24 | /** 25 | * Returns the object name that this reference refers to. 26 | */ 27 | function get objectName():String; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/main/actionscript/org/springextensions/actionscript/ioc/config/ITextFilesLoader.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.ioc.config { 17 | 18 | import org.as3commons.async.operation.IOperation; 19 | import org.as3commons.async.operation.IOperationQueue; 20 | import org.springextensions.actionscript.ioc.config.property.TextFileURI; 21 | 22 | public interface ITextFilesLoader extends IOperationQueue { 23 | 24 | function addURIs(URIs:Vector.):void; 25 | 26 | function addURI(URI:String, preventCache:Boolean=true, isRequired:Boolean=true):void; 27 | 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/main/actionscript/org/springextensions/actionscript/ioc/config/impl/metadata/ICustomConfigurationClassScanner.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.ioc.config.impl.metadata { 17 | import org.as3commons.reflect.Metadata; 18 | import org.springextensions.actionscript.context.IApplicationContext; 19 | import org.springextensions.actionscript.ioc.objectdefinition.IObjectDefinition; 20 | import org.springextensions.actionscript.ioc.objectdefinition.IObjectDefinitionRegistry; 21 | 22 | /** 23 | * 24 | * @author Roland Zwaga 25 | * @productionversion SpringActionscript 2.0 26 | */ 27 | public interface ICustomConfigurationClassScanner { 28 | 29 | function get metadataNames():Vector.; 30 | 31 | function execute(metadata:Metadata, objectName:String, objectDefinition:IObjectDefinition, objectDefinitionsRegistry:IObjectDefinitionRegistry, applicationContext:IApplicationContext):void; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/main/actionscript/org/springextensions/actionscript/ioc/config/impl/metadata/ILoaderInfoAware.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.ioc.config.impl.metadata { 17 | import flash.display.LoaderInfo; 18 | 19 | /** 20 | * Describes an object that needs a reference to a LoaderInfo instance. 21 | * @author Roland Zwaga 22 | * @productionversion SpringActionscript 2.0 23 | */ 24 | public interface ILoaderInfoAware { 25 | function get loaderInfo():LoaderInfo; 26 | function set loaderInfo(value:LoaderInfo):void; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/main/actionscript/org/springextensions/actionscript/ioc/config/impl/metadata/WaitingOperation.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.ioc.config.impl.metadata { 17 | 18 | import org.as3commons.async.operation.impl.AbstractOperation; 19 | 20 | /** 21 | * 22 | * @author Roland Zwaga 23 | * @productionversion SpringActionscript 2.0 24 | */ 25 | public class WaitingOperation extends AbstractOperation { 26 | /** 27 | * Creates a new WaitingOperation instance. 28 | */ 29 | public function WaitingOperation() { 30 | super(); 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/main/actionscript/org/springextensions/actionscript/ioc/config/impl/xml/namespacehandler/impl/task/nodeparser/AbstractTaskDefinitionParser.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.ioc.config.impl.xml.namespacehandler.impl.task.nodeparser { 17 | import org.springextensions.actionscript.ioc.config.impl.xml.namespacehandler.impl.AbstractObjectDefinitionParser; 18 | import org.springextensions.actionscript.ioc.config.impl.xml.ns.spring_actionscript_task; 19 | 20 | use namespace spring_actionscript_task; 21 | 22 | /** 23 | * Base class for definition parsers dealing with task elements 24 | * @author Roland 25 | */ 26 | public class AbstractTaskDefinitionParser extends AbstractObjectDefinitionParser { 27 | 28 | /** 29 | * Creates a new AbstractTaskDefinitionParser instance. 30 | */ 31 | public function AbstractTaskDefinitionParser() { 32 | super(); 33 | } 34 | 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/main/actionscript/org/springextensions/actionscript/ioc/config/impl/xml/ns/spring_actionscript_eventbus.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.ioc.config.impl.xml.ns { 17 | 18 | /** 19 | * XML namespace used for eventbus specific handling. 20 | * @author Roland Zwaga 21 | * @productionversion SpringActionscript 2.0 22 | */ 23 | public namespace spring_actionscript_eventbus = "http://www.springactionscript.org/schema/eventbus"; 24 | } 25 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/main/actionscript/org/springextensions/actionscript/ioc/config/impl/xml/ns/spring_actionscript_objects.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.ioc.config.impl.xml.ns { 17 | 18 | /** 19 | * XML namespace used in context files. 20 | * 21 | * @author Christophe Herreman 22 | */ 23 | public namespace spring_actionscript_objects = "http://www.springactionscript.org/schema/objects"; 24 | } 25 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/main/actionscript/org/springextensions/actionscript/ioc/config/impl/xml/ns/spring_actionscript_stageprocessing.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.ioc.config.impl.xml.ns { 17 | 18 | /** 19 | * XML stage processing namespace 20 | * @author Roland Zwaga 21 | * @productionversion SpringActionscript 2.0 22 | * @docref xml-schema-based-configuration.html#the_stage_processing_schema 23 | */ 24 | public namespace spring_actionscript_stageprocessing = "http://www.springactionscript.org/schema/stageprocessing"; 25 | } 26 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/main/actionscript/org/springextensions/actionscript/ioc/config/impl/xml/ns/spring_actionscript_task.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.ioc.config.impl.xml.ns { 17 | 18 | /** 19 | * namespace for Task specific markup 20 | * @author Roland Zwaga 21 | * @productionversion SpringActionscript 2.0 22 | */ 23 | public namespace spring_actionscript_task = "http://www.springactionscript.org/schema/task"; 24 | } 25 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/main/actionscript/org/springextensions/actionscript/ioc/config/impl/xml/ns/spring_actionscript_util.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.ioc.config.impl.xml.ns { 17 | 18 | /** 19 | * XML util namespace 20 | * 21 | * @author Christophe Herreman 22 | */ 23 | public namespace spring_actionscript_util = "http://www.springactionscript.org/schema/util"; 24 | } 25 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/main/actionscript/org/springextensions/actionscript/ioc/config/property/IPropertiesParser.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.ioc.config.property { 17 | 18 | /** 19 | * 20 | * @author Roland Zwaga 21 | * @productionversion SpringActionscript 2.0 22 | */ 23 | public interface IPropertiesParser { 24 | function parseProperties(source:*, provider:IPropertiesProvider):void; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/main/actionscript/org/springextensions/actionscript/ioc/config/property/IPropertiesProvider.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.ioc.config.property { 17 | 18 | public interface IPropertiesProvider { 19 | 20 | function get content():Object; 21 | 22 | function get propertyNames():Vector.; 23 | 24 | function get length():uint; 25 | 26 | function hasProperty(key:String):Boolean; 27 | 28 | function getProperty(key:String):*; 29 | 30 | function merge(properties:IPropertiesProvider, overrideProperty:Boolean=false):void; 31 | 32 | function setProperty(key:String, value:String):void; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/main/actionscript/org/springextensions/actionscript/ioc/config/property/error/PropertyPlaceholderResolverError.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.ioc.config.property.error { 17 | 18 | 19 | /** 20 | * 21 | * @author Roland Zwaga 22 | * @productionversion SpringActionscript 2.0 23 | */ 24 | public class PropertyPlaceholderResolverError extends Error { 25 | 26 | /** 27 | * Creates a new PropertyPlaceholderResolverError instance. 28 | * @param message 29 | * @param id 30 | * 31 | */ 32 | public function PropertyPlaceholderResolverError(message:*="", id:*=0) { 33 | super(message, id); 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/main/actionscript/org/springextensions/actionscript/ioc/error/ObjectFactoryError.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.ioc.error { 17 | 18 | 19 | /** 20 | * 21 | * @author Roland Zwaga 22 | * @productionversion SpringActionscript 2.0 23 | */ 24 | public class ObjectFactoryError extends Error { 25 | 26 | public static const FACTORY_NOT_READY:String = "objectFactoryNotReady"; 27 | public static const CANNOT_INSTANTIATE_INTERFACE:String = "cannotInstantiateInterface"; 28 | 29 | public function ObjectFactoryError(message:*="", id:*=0) { 30 | super(message, id); 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/main/actionscript/org/springextensions/actionscript/ioc/error/ResolveReferenceError.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.ioc.error { 17 | 18 | /** 19 | * Thrown to indicate that a reference could not be resolved. 20 | * 21 | *

22 | * Author: Erik Westra
23 | * Version: $Revision: 21 $, $Date: 2008-11-01 22:58:42 +0100 (za, 01 nov 2008) $, $Author: dmurat $
24 | * Since: 0.1 25 | *

26 | */ 27 | public class ResolveReferenceError extends ReferenceError { 28 | 29 | /** 30 | * Constructs a new ResolveReferenceError 31 | * 32 | * @param message The message describing the reference error 33 | */ 34 | public function ResolveReferenceError(message:String = "") { 35 | super(message); 36 | } 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/main/actionscript/org/springextensions/actionscript/ioc/factory/IInitializingObject.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.ioc.factory { 17 | 18 | /** 19 | * Objects that should execute behavior after their properties have been 20 | * set, should implement this interface. 21 | * 22 | * @author Christophe Herreman 23 | * @productionversion SpringActionscript 2.0 24 | */ 25 | public interface IInitializingObject { 26 | 27 | /** 28 | * Invoked by an object factory after all properties of an object 29 | * have been set. 30 | */ 31 | function afterPropertiesSet():void; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/main/actionscript/org/springextensions/actionscript/ioc/factory/IObjectFactoryAware.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.ioc.factory { 17 | 18 | /** 19 | * Interface to be implemented by all objects that want to know what 20 | * container they run in. 21 | * 22 | * @author Christophe Herreman 23 | * @productionversion SpringActionscript 2.0 24 | */ 25 | public interface IObjectFactoryAware { 26 | /** 27 | * @param objectFactory the IObjectFactory instance 28 | */ 29 | function set objectFactory(objectFactory:IObjectFactory):void; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/main/actionscript/org/springextensions/actionscript/ioc/factory/error/CachedInstanceNotFoundError.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2012 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.ioc.factory.error { 17 | 18 | /** 19 | * 20 | * @author Roland Zwaga 21 | * @productionversion SpringActionscript 2.0 22 | */ 23 | public class CachedInstanceNotFoundError extends Error { 24 | 25 | /** 26 | * Creates a new CachedInstanceNotFoundError instance. 27 | */ 28 | public function CachedInstanceNotFoundError(cacheName:String) { 29 | super(cacheName); 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/main/actionscript/org/springextensions/actionscript/ioc/factory/process/IObjectFactoryPostProcessor.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.ioc.factory.process { 17 | import org.as3commons.async.operation.IOperation; 18 | import org.springextensions.actionscript.ioc.factory.IObjectFactory; 19 | 20 | /** 21 | * @author Christophe Herreman 22 | * @author Roland Zwaga 23 | * @productionversion SpringActionscript 2.0 24 | */ 25 | public interface IObjectFactoryPostProcessor { 26 | /** 27 | * 28 | * @param objectFactory 29 | */ 30 | function postProcessObjectFactory(objectFactory:IObjectFactory):IOperation; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/main/actionscript/org/springextensions/actionscript/ioc/objectdefinition/ICustomConfigurator.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.ioc.objectdefinition { 17 | 18 | /** 19 | * Describes an object that can perform custom configuration on an instance that cannot be expressed with an IObjectDefinition. 20 | * @author Roland Zwaga 21 | * @productionversion SpringActionscript 2.0 22 | */ 23 | public interface ICustomConfigurator { 24 | function execute(instance:*, objectDefinition:IObjectDefinition):*; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/main/actionscript/org/springextensions/actionscript/ioc/objectdefinition/IObjectDefinitionRegistryAware.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.ioc.objectdefinition { 17 | 18 | /** 19 | * Describes an object that needs a reference to an IObjectDefinitionRegistry instance. 20 | * @author Roland Zwaga 21 | * @productionversion SpringActionscript 2.0 22 | */ 23 | public interface IObjectDefinitionRegistryAware { 24 | function get objectDefinitionRegistry():IObjectDefinitionRegistry; 25 | function set objectDefinitionRegistry(value:IObjectDefinitionRegistry):void; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/main/actionscript/org/springextensions/actionscript/ioc/objectdefinition/error/ObjectDefinitionNotFoundError.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.ioc.objectdefinition.error { 17 | 18 | /** 19 | *

This error is thrown by the AbstractObjectFactory when the given name for 20 | * an IObjectDefinition could not be found in the configuration while the getObject() 21 | * method is invoked.

22 | * @author Christophe Herreman 23 | * @productionversion SpringActionscript 2.0 24 | * @see org.springextensions.actionscript.ioc.factory.impl.ObjectFactory#getObject() ObjectFactory.getObject() 25 | */ 26 | public class ObjectDefinitionNotFoundError extends Error { 27 | 28 | /** 29 | * Constructs a new ObjectDefinitionNotFoundError instance. 30 | */ 31 | public function ObjectDefinitionNotFoundError(message:String="") { 32 | super(message); 33 | } 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/main/actionscript/org/springextensions/actionscript/metadata/IClassScanner.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.metadata { 17 | import org.as3commons.metadata.process.IMetadataProcessor; 18 | 19 | /** 20 | * Describes an object that examines one or more classes and performs custom logic accordingly. 21 | * 22 | * @author Roland Zwaga 23 | * @author Christophe Herreman 24 | * @productionversion SpringActionscript 2.0 25 | */ 26 | public interface IClassScanner extends IMetadataProcessor { 27 | 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/main/actionscript/org/springextensions/actionscript/metadata/IMetadataDestroyer.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.metadata { 17 | 18 | import org.as3commons.metadata.process.IMetadataProcessor; 19 | 20 | /** 21 | * Marker interface that indicates an IMetadataProcessor that needs to be invoked in the destruction 22 | * phase of an object's lifecycle. 23 | * @author Roland Zwaga 24 | * @productionversion SpringActionscript 2.0 25 | */ 26 | public interface IMetadataDestroyer extends IMetadataProcessor { 27 | 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/main/actionscript/org/springextensions/actionscript/metadata/ISpringMetadaProcessor.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.metadata { 17 | 18 | import org.as3commons.metadata.process.IMetadataProcessor; 19 | 20 | /** 21 | * 22 | * @author Roland Zwaga 23 | * @productionversion SpringActionscript 2.0 24 | */ 25 | public interface ISpringMetadaProcessor extends IMetadataProcessor { 26 | function get processBeforeInitialization():Boolean; 27 | function set processBeforeInitialization(value:Boolean):void; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/main/actionscript/org/springextensions/actionscript/object/IPropertyEditor.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.object { 17 | 18 | /** 19 | * A property editor converts strings to typed objects. 20 | * Typically these strings are found in the Spring Actionscript configuration XML. 21 | * @author Christophe Herreman 22 | * @productionversion SpringActionscript 2.0 23 | */ 24 | public interface IPropertyEditor { 25 | 26 | /** 27 | * The string that will be converted into an object. For example: org.springextensions.actionscript.collections.TypedCollection 28 | */ 29 | function get text():String; 30 | /** 31 | * @private 32 | */ 33 | function set text(value:String):void; 34 | 35 | /** 36 | * The result of the string-to-object conversion. 37 | */ 38 | function get value():*; 39 | /** 40 | * @private 41 | */ 42 | function set value(v:*):void; 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/main/actionscript/org/springextensions/actionscript/object/IPropertyEditorRegistry.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.object { 17 | 18 | /** 19 | * Defines a registry for property editors. 20 | * 21 | * @author Christophe Herreman 22 | * @productionversion SpringActionscript 2.0 23 | */ 24 | public interface IPropertyEditorRegistry { 25 | 26 | /** 27 | * Registers the given property editor for the given type. 28 | * 29 | * @param requiredType the type of the property 30 | * @param propertyEditor the property editor to register 31 | */ 32 | function registerCustomEditor(requiredType:Class, propertyEditor:IPropertyEditor):void; 33 | 34 | /** 35 | * Finds a property editor that was registered against the given type. 36 | * 37 | * @param requiredType the type of the property 38 | */ 39 | function findCustomEditor(requiredType:Class):IPropertyEditor; 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/main/actionscript/org/springextensions/actionscript/object/ITypeConverter.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.object { 17 | 18 | /** 19 | * Converts a string value to a typed object. 20 | * 21 | * @author Christophe Herreman 22 | * @productionversion SpringActionscript 2.0 23 | */ 24 | public interface ITypeConverter { 25 | 26 | /** 27 | * Convert the given value to the required type. 28 | * 29 | * @param value the value to convert 30 | * @param requiredType the type to convert to 31 | */ 32 | function convertIfNecessary(value:*, requiredType:Class=null):*; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/main/actionscript/org/springextensions/actionscript/object/propertyeditor/NumberPropertyEditor.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.object.propertyeditor { 17 | 18 | /** 19 | * Converts a number represented by a string to a number object. 20 | * 21 | * @author Christophe Herreman 22 | * @productionversion SpringActionscript 2.0 23 | */ 24 | public class NumberPropertyEditor extends AbstractPropertyEditor { 25 | 26 | /** 27 | * Creates a new NumberPropertyEditor instance 28 | * 29 | */ 30 | public function NumberPropertyEditor() { 31 | super(this); 32 | } 33 | 34 | override public function set text(val:String):void { 35 | value = Number(val); 36 | } 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/main/assembly/sources.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | sources 8 | false 9 | 10 | zip 11 | 12 | 13 | 14 | src/main/actionscript 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/test/actionscript/integration/testtypes/DummyEvent.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package integration.testtypes { 17 | 18 | import flash.events.Event; 19 | 20 | /** 21 | * 22 | * @author Roland Zwaga 23 | * @productionversion SpringActionscript 2.0 24 | */ 25 | public class DummyEvent extends Event { 26 | 27 | public static const TEST_TYPE:String = "testType"; 28 | 29 | /** 30 | * Creates a new TestEvent instance. 31 | */ 32 | public function DummyEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false) { 33 | super(type, bubbles, cancelable); 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/test/actionscript/org/springextensions/actionscript/ioc/config/impl/xml/preprocess/impl/SpringNamesPreprocessorTest.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.ioc.config.impl.xml.preprocess.impl { 17 | import org.flexunit.asserts.assertEquals; 18 | import org.springextensions.actionscript.ioc.config.impl.xml.preprocess.IXMLObjectDefinitionsPreprocessor; 19 | 20 | 21 | public class SpringNamesPreprocessorTest { 22 | 23 | public function SpringNamesPreprocessorTest() { 24 | super(); 25 | } 26 | 27 | [Test] 28 | public function testPreprocess():void { 29 | var input:XML = new XML(''); 30 | var processor:IXMLObjectDefinitionsPreprocessor = new SpringNamesPreprocessor(); 31 | input = processor.preprocess(input); 32 | assertEquals("objects", input.localName()); 33 | assertEquals("object", input.children()[0].localName()); 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/test/actionscript/org/springextensions/actionscript/ioc/factory/impl/MethodInvokingFactoryObjectTest.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2012 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.ioc.factory.impl { 17 | import org.flexunit.asserts.assertFalse; 18 | import org.flexunit.asserts.assertNull; 19 | 20 | public class MethodInvokingFactoryObjectTest { 21 | 22 | public function MethodInvokingFactoryObjectTest() { 23 | } 24 | 25 | [Test] 26 | public function testGetObjectType():void { 27 | var o:MethodInvokingFactoryObject = new MethodInvokingFactoryObject(); 28 | assertNull(o.getObjectType()); 29 | } 30 | 31 | [Test] 32 | public function testIsSingleton():void { 33 | var o:MethodInvokingFactoryObject = new MethodInvokingFactoryObject(); 34 | assertFalse(o.isSingleton); 35 | } 36 | 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/test/actionscript/org/springextensions/actionscript/test/testtypes/AutowiredAnnotatedClass.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.test.testtypes { 17 | import org.springextensions.actionscript.ioc.autowire.impl.DefaultAutowireProcessor; 18 | 19 | 20 | public class AutowiredAnnotatedClass { 21 | 22 | [Ignore] 23 | [Test(description="This test is being ignored")] 24 | public function testDummy():void { 25 | } 26 | 27 | public function AutowiredAnnotatedClass() { 28 | super(); 29 | } 30 | 31 | [Autowired] 32 | public var autowiredProperty:String; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/test/actionscript/org/springextensions/actionscript/test/testtypes/AutowiredExternalPropertyAnnotatedClass.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.test.testtypes { 17 | 18 | 19 | public class AutowiredExternalPropertyAnnotatedClass { 20 | 21 | [Ignore] 22 | [Test(description="This test is being ignored")] 23 | public function testDummy():void { 24 | } 25 | 26 | public function AutowiredExternalPropertyAnnotatedClass() { 27 | super(); 28 | } 29 | 30 | [Autowired(externalProperty='testProperty')] 31 | public var injectedExternalProperty:String; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/test/actionscript/org/springextensions/actionscript/test/testtypes/ClassWithStaticFactoryMethod.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.test.testtypes { 17 | 18 | 19 | public class ClassWithStaticFactoryMethod { 20 | 21 | [Ignore] 22 | [Test(description="This test is being ignored")] 23 | public function testDummy():void { 24 | } 25 | 26 | public function ClassWithStaticFactoryMethod() { 27 | super(); 28 | } 29 | 30 | public var createdByStaticMethod:Boolean = true; 31 | 32 | public static function newInstance():ClassWithStaticFactoryMethod { 33 | return new ClassWithStaticFactoryMethod(); 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/test/actionscript/org/springextensions/actionscript/test/testtypes/EmbeddedContexts.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.test.testtypes { 17 | 18 | 19 | public final class EmbeddedContexts { 20 | 21 | [Ignore] 22 | [Test(description="This test is being ignored")] 23 | public function testDummy():void { 24 | } 25 | 26 | [Embed(source="EmbeddedEmptyContext.xml", mimeType="application/octet-stream")] 27 | public static var embeddedEmptyContext:Class; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/test/actionscript/org/springextensions/actionscript/test/testtypes/EmbeddedEmptyContext.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/test/actionscript/org/springextensions/actionscript/test/testtypes/IAutowireProcessorAwareObjectFactory.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.test.testtypes { 17 | 18 | import org.springextensions.actionscript.ioc.autowire.IAutowireProcessorAware; 19 | import org.springextensions.actionscript.ioc.factory.IObjectFactory; 20 | 21 | 22 | public interface IAutowireProcessorAwareObjectFactory extends IObjectFactory, IAutowireProcessorAware { 23 | 24 | } 25 | } -------------------------------------------------------------------------------- /spring-actionscript-core/src/test/actionscript/org/springextensions/actionscript/test/testtypes/MockDefinitionProviderResultOperation.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.test.testtypes { 17 | import org.as3commons.async.operation.impl.AbstractOperation; 18 | 19 | public class MockDefinitionProviderResultOperation extends AbstractOperation { 20 | 21 | [Ignore] 22 | [Test(description="This test is being ignored")] 23 | public function testDummy():void { 24 | } 25 | 26 | public function MockDefinitionProviderResultOperation() { 27 | super(); 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/test/actionscript/org/springextensions/actionscript/test/testtypes/TestClassFactory.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.test.testtypes { 17 | 18 | 19 | public class TestClassFactory { 20 | 21 | [Ignore] 22 | [Test(description="This test is being ignored")] 23 | public function testDummy():void { 24 | } 25 | 26 | public function TestClassFactory() { 27 | super(); 28 | } 29 | 30 | public function newInstance():ClassWithStaticFactoryMethod { 31 | var result:ClassWithStaticFactoryMethod = ClassWithStaticFactoryMethod.newInstance(); 32 | result.createdByStaticMethod = false; 33 | return result; 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/test/actionscript/org/springextensions/actionscript/test/testtypes/TestClassWithMetadata.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.test.testtypes { 17 | 18 | [Mock] 19 | public class TestClassWithMetadata { 20 | 21 | [Ignore] 22 | [Test(description="This test is being ignored")] 23 | public function testDummy():void { 24 | } 25 | 26 | public function TestClassWithMetadata() { 27 | super(); 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/test/actionscript/org/springextensions/actionscript/test/testtypes/TestFactoryObject.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.test.testtypes { 17 | 18 | [Factory(factoryMethod="createInstance")] 19 | /** 20 | * 21 | * @author Roland Zwaga 22 | */ 23 | public class TestFactoryObject { 24 | /** 25 | * Creates a new TestFactoryObject instance. 26 | */ 27 | public function TestFactoryObject() { 28 | super(); 29 | } 30 | 31 | public function createInstance():Object { 32 | return {}; 33 | } 34 | 35 | [Ignore] 36 | [Test] 37 | public function testDummy():void { 38 | 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/test/actionscript/org/springextensions/actionscript/test/testtypes/TestInvalidFactoryObject.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.test.testtypes { 17 | 18 | [Factory] 19 | /** 20 | * 21 | * @author Roland Zwaga 22 | */ 23 | public class TestInvalidFactoryObject { 24 | /** 25 | * Creates a new TestFactoryObject instance. 26 | */ 27 | public function TestInvalidFactoryObject() { 28 | super(); 29 | } 30 | 31 | public function createInstance():Object { 32 | return {}; 33 | } 34 | 35 | [Ignore] 36 | [Test] 37 | public function testDummy():void { 38 | 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/test/actionscript/org/springextensions/actionscript/test/testtypes/eventbus/IEventBusAndListener.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.test.testtypes.eventbus { 17 | 18 | import org.as3commons.eventbus.IEventBus; 19 | import org.as3commons.eventbus.IEventBusListener; 20 | 21 | /** 22 | * 23 | * @author Roland Zwaga 24 | * @productionversion SpringActionscript 2.0 25 | */ 26 | public interface IEventBusAndListener extends IEventBusListener, IEventBus { 27 | 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/test/actionscript/org/springextensions/actionscript/test/testtypes/eventbus/TestEventHandler.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.test.testtypes.eventbus { 17 | import flash.events.Event; 18 | 19 | /** 20 | * 21 | * @author Roland Zwaga 22 | */ 23 | public class TestEventHandler { 24 | /** 25 | * Creates a new EventHandler instance. 26 | */ 27 | public function TestEventHandler() { 28 | super(); 29 | } 30 | 31 | [Ignore] 32 | [Test] 33 | public function testDummy():void { 34 | 35 | } 36 | 37 | public function methodHandler(event:Event):void { 38 | 39 | } 40 | 41 | public var topic:String = "testTopicPropertyValue"; 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/test/actionscript/org/springextensions/actionscript/test/testtypes/metadatascan/AnnotatedComponent.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2010 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.test.testtypes.metadatascan { 17 | 18 | [Component] 19 | public class AnnotatedComponent implements IAnnotatedComponent { 20 | 21 | [Ignore] 22 | [Test(description="This test is being ignored")] 23 | public function testDummy():void { 24 | } 25 | 26 | public function AnnotatedComponent() { 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/test/actionscript/org/springextensions/actionscript/test/testtypes/metadatascan/AnnotatedComponentInOtherPackage.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2010 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.test.testtypes.metadatascan { 17 | 18 | [Component(id="annotatedComponentInOtherPackage", initMethod="init")] 19 | public class AnnotatedComponentInOtherPackage { 20 | 21 | [Ignore] 22 | [Test(description="This test is being ignored")] 23 | public function testDummy():void { 24 | } 25 | 26 | public function AnnotatedComponentInOtherPackage() { 27 | } 28 | 29 | public function init():void { 30 | 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/test/actionscript/org/springextensions/actionscript/test/testtypes/metadatascan/AnnotatedComponentWithAutowired.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2010 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.test.testtypes.metadatascan { 17 | 18 | [Component(autowire="byName")] 19 | public class AnnotatedComponentWithAutowired { 20 | 21 | [Ignore] 22 | [Test(description="This test is being ignored")] 23 | public function testDummy():void { 24 | } 25 | 26 | public function AnnotatedComponentWithAutowired() { 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/test/actionscript/org/springextensions/actionscript/test/testtypes/metadatascan/AnnotatedComponentWithConstructor.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2010 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.test.testtypes.metadatascan { 17 | 18 | [Constructor(args="ref=objectName1")] 19 | [Component] 20 | public class AnnotatedComponentWithConstructor { 21 | 22 | [Ignore] 23 | [Test(description="This test is being ignored")] 24 | public function testDummy():void { 25 | } 26 | 27 | public function AnnotatedComponentWithConstructor(obj:Object) { 28 | super(); 29 | } 30 | 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/test/actionscript/org/springextensions/actionscript/test/testtypes/metadatascan/AnnotatedComponentWithDependencyCheck.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2010 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.test.testtypes.metadatascan { 17 | 18 | [Component(dependencyCheck="simple")] 19 | public class AnnotatedComponentWithDependencyCheck { 20 | 21 | [Ignore] 22 | [Test(description="This test is being ignored")] 23 | public function testDummy():void { 24 | } 25 | 26 | public function AnnotatedComponentWithDependencyCheck() { 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/test/actionscript/org/springextensions/actionscript/test/testtypes/metadatascan/AnnotatedComponentWithDependsOn.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2010 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.test.testtypes.metadatascan { 17 | 18 | [Component(dependsOn="objectName1, objectName2")] 19 | public class AnnotatedComponentWithDependsOn { 20 | 21 | [Ignore] 22 | [Test(description="This test is being ignored")] 23 | public function testDummy():void { 24 | } 25 | 26 | public function AnnotatedComponentWithDependsOn() { 27 | super(); 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/test/actionscript/org/springextensions/actionscript/test/testtypes/metadatascan/AnnotatedComponentWithDestroyMethod.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2010 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.test.testtypes.metadatascan { 17 | 18 | [Component(destroyMethod="dispose")] 19 | public class AnnotatedComponentWithDestroyMethod { 20 | 21 | [Ignore] 22 | [Test(description="This test is being ignored")] 23 | public function testDummy():void { 24 | } 25 | 26 | public function AnnotatedComponentWithDestroyMethod() { 27 | } 28 | 29 | public function dispose():void { 30 | 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/test/actionscript/org/springextensions/actionscript/test/testtypes/metadatascan/AnnotatedComponentWithMethodInvocations.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2010 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.test.testtypes.metadatascan { 17 | 18 | [Component] 19 | public class AnnotatedComponentWithMethodInvocations { 20 | 21 | [Ignore] 22 | [Test(description="This test is being ignored")] 23 | public function testDummy():void { 24 | } 25 | 26 | public function AnnotatedComponentWithMethodInvocations() { 27 | super(); 28 | } 29 | 30 | [Invoke(args="ref=objectName1, value=10")] 31 | public function someFunction(obj:Object, count:int):void { 32 | 33 | } 34 | 35 | [Invoke(args="ref=objectName2")] 36 | public function someOtherFunction(obj:Object):void { 37 | 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/test/actionscript/org/springextensions/actionscript/test/testtypes/metadatascan/AnnotatedComponentWithPrimaryLazyInitAndFactoryMethod.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2010 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.test.testtypes.metadatascan { 17 | 18 | [Component(primary="true", factoryMethod="createNew", factoryObjectName="factoryName", lazyInit="true")] 19 | public class AnnotatedComponentWithPrimaryLazyInitAndFactoryMethod { 20 | 21 | [Ignore] 22 | [Test(description="This test is being ignored")] 23 | public function testDummy():void { 24 | } 25 | 26 | public function AnnotatedComponentWithPrimaryLazyInitAndFactoryMethod() { 27 | } 28 | 29 | public static function createNew():AnnotatedComponentWithPrimaryLazyInitAndFactoryMethod { 30 | return new AnnotatedComponentWithPrimaryLazyInitAndFactoryMethod(); 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/test/actionscript/org/springextensions/actionscript/test/testtypes/metadatascan/AnnotatedComponentWithPropertiesWithExplicitValues.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2010 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.test.testtypes.metadatascan { 17 | 18 | [Component] 19 | public class AnnotatedComponentWithPropertiesWithExplicitValues { 20 | 21 | [Ignore] 22 | [Test(description="This test is being ignored")] 23 | public function testDummy():void { 24 | } 25 | 26 | public function AnnotatedComponentWithPropertiesWithExplicitValues() { 27 | } 28 | 29 | [Property(value="ThisValue")] 30 | public var someProperty:String; 31 | 32 | [Property(value="10")] 33 | public var someOtherProperty:uint; 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/test/actionscript/org/springextensions/actionscript/test/testtypes/metadatascan/AnnotatedComponentWithPropertiesWithPlaceholders.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2010 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.test.testtypes.metadatascan { 17 | 18 | [Component] 19 | public class AnnotatedComponentWithPropertiesWithPlaceholders { 20 | 21 | [Ignore] 22 | [Test(description="This test is being ignored")] 23 | public function testDummy():void { 24 | } 25 | 26 | public function AnnotatedComponentWithPropertiesWithPlaceholders() { 27 | } 28 | 29 | [Property(value="${replaceMe1}")] 30 | public var someProperty:String; 31 | 32 | [Property(value="${replaceMe2}")] 33 | public var someOtherProperty:uint; 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/test/actionscript/org/springextensions/actionscript/test/testtypes/metadatascan/AnnotatedComponentWithPropertiesWithRefs.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2010 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.test.testtypes.metadatascan { 17 | 18 | [Component] 19 | public class AnnotatedComponentWithPropertiesWithRefs { 20 | 21 | [Ignore] 22 | [Test(description="This test is being ignored")] 23 | public function testDummy():void { 24 | } 25 | 26 | public function AnnotatedComponentWithPropertiesWithRefs() { 27 | } 28 | 29 | [Property(ref="objectName1")] 30 | public var someProperty:String; 31 | 32 | [Property(ref="objectName2")] 33 | public var someOtherProperty:uint; 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/test/actionscript/org/springextensions/actionscript/test/testtypes/metadatascan/AnnotatedComponentWithSkips.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2010 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.test.testtypes.metadatascan { 17 | 18 | [Component(skipMetaData="true", skipPostProcessors="true")] 19 | public class AnnotatedComponentWithSkips { 20 | 21 | [Ignore] 22 | [Test(description="This test is being ignored")] 23 | public function testDummy():void { 24 | } 25 | 26 | public function AnnotatedComponentWithSkips() { 27 | super(); 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/test/actionscript/org/springextensions/actionscript/test/testtypes/metadatascan/AnnotatedLazyInitPrototypeComponent.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2010 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.test.testtypes.metadatascan { 17 | 18 | [Component(lazyInit="true", scope="prototype")] 19 | public class AnnotatedLazyInitPrototypeComponent { 20 | 21 | [Ignore] 22 | [Test(description="This test is being ignored")] 23 | public function testDummy():void { 24 | } 25 | 26 | public function AnnotatedLazyInitPrototypeComponent() { 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/test/actionscript/org/springextensions/actionscript/test/testtypes/metadatascan/AnnotatedNamedComponent.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2010 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.test.testtypes.metadatascan { 17 | 18 | [Component("annotatedNamedComponent")] 19 | public class AnnotatedNamedComponent { 20 | 21 | [Ignore] 22 | [Test(description="This test is being ignored")] 23 | public function testDummy():void { 24 | } 25 | 26 | public function AnnotatedNamedComponent() { 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/test/actionscript/org/springextensions/actionscript/test/testtypes/metadatascan/AnnotatedNamedComponent2.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2010 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.test.testtypes.metadatascan { 17 | 18 | [Component(id="annotatedNamedComponent2")] 19 | public class AnnotatedNamedComponent2 { 20 | 21 | [Ignore] 22 | [Test(description="This test is being ignored")] 23 | public function testDummy():void { 24 | } 25 | 26 | public function AnnotatedNamedComponent2() { 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/test/actionscript/org/springextensions/actionscript/test/testtypes/metadatascan/AnnotatedScopedComponent.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2010 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.test.testtypes.metadatascan { 17 | 18 | [Component(scope="prototype")] 19 | public class AnnotatedScopedComponent { 20 | 21 | [Ignore] 22 | [Test(description="This test is being ignored")] 23 | public function testDummy():void { 24 | } 25 | 26 | public function AnnotatedScopedComponent() { 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/test/actionscript/org/springextensions/actionscript/test/testtypes/metadatascan/ComponentWithProperties.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2010 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.test.testtypes.metadatascan { 17 | 18 | /** 19 | * @author Christophe Herreman 20 | */ 21 | [Component] 22 | public class ComponentWithProperties { 23 | 24 | [Ignore] 25 | [Test(description="This test is being ignored")] 26 | public function testDummy():void { 27 | } 28 | 29 | public var property1:AnnotatedComponent; 30 | public var property2:AnnotatedNamedComponent; 31 | 32 | public function ComponentWithProperties() { 33 | } 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/test/actionscript/org/springextensions/actionscript/test/testtypes/metadatascan/IAnnotatedComponent.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2010 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.test.testtypes.metadatascan { 17 | 18 | [Component] 19 | /** 20 | * @author Christophe Herreman 21 | */ 22 | public interface IAnnotatedComponent { 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/test/actionscript/org/springextensions/actionscript/test/testtypes/stage/DummyStageProcessor.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.test.testtypes.stage { 17 | 18 | import flash.display.DisplayObject; 19 | 20 | import org.as3commons.stageprocessing.IStageObjectProcessor; 21 | 22 | /** 23 | * 24 | * @author Roland Zwaga 25 | */ 26 | public class DummyStageProcessor implements IStageObjectProcessor { 27 | 28 | public function DummyStageProcessor() { 29 | super(); 30 | } 31 | 32 | public function process(displayObject:DisplayObject):DisplayObject { 33 | return displayObject; 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/test/resources/context-with-task.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/test/resources/simple-context.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /spring-actionscript-core/src/test/resources/testfile1.txt: -------------------------------------------------------------------------------- 1 | test1 -------------------------------------------------------------------------------- /spring-actionscript-core/src/test/resources/testfile2.txt: -------------------------------------------------------------------------------- 1 | test2 -------------------------------------------------------------------------------- /spring-actionscript-core/src/test/resources/testfile3.txt: -------------------------------------------------------------------------------- 1 | test3 -------------------------------------------------------------------------------- /spring-actionscript-flex/src/main/actionscript/org/springextensions/actionscript/ioc/config/impl/mxml/ICustomObjectDefinitionComponent.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.ioc.config.impl.mxml { 17 | 18 | import mx.core.IMXMLObject; 19 | 20 | import org.springextensions.actionscript.context.IApplicationContext; 21 | import org.springextensions.actionscript.ioc.objectdefinition.IBaseObjectDefinition; 22 | import org.springextensions.actionscript.ioc.objectdefinition.IObjectDefinition; 23 | 24 | /** 25 | * 26 | * @author Roland Zwaga 27 | * @productionversion SpringActionscript 2.0 28 | */ 29 | public interface ICustomObjectDefinitionComponent extends ISpringConfigurationComponent { 30 | function execute(applicationContext:IApplicationContext, objectDefinitions:Object, defaultDefinition:IBaseObjectDefinition=null, parentDefinition:IObjectDefinition=null, parentId:String=null):void; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /spring-actionscript-flex/src/main/actionscript/org/springextensions/actionscript/ioc/config/impl/mxml/ISpringConfigurationComponent.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2012 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.ioc.config.impl.mxml { 17 | import flash.events.IEventDispatcher; 18 | 19 | /** 20 | * 21 | * @author Roland Zwaga 22 | * @productionversion SpringActionscript 2.0 23 | */ 24 | public interface ISpringConfigurationComponent extends IEventDispatcher { 25 | 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /spring-actionscript-flex/src/main/actionscript/org/springextensions/actionscript/ioc/config/impl/mxml/component/ConstructorArg.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.ioc.config.impl.mxml.component { 17 | 18 | /** 19 | * This subclass exists only as an alias to clarify MXML markup 20 | * @author Roland Zwaga 21 | * @productionversion SpringActionscript 2.0 22 | */ 23 | public class ConstructorArg extends Arg { 24 | 25 | /** 26 | * Creates a new ConstructorArg instance 27 | */ 28 | public function ConstructorArg() { 29 | super(); 30 | } 31 | 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /spring-actionscript-flex/src/main/actionscript/org/springextensions/actionscript/ioc/config/impl/xml/ns/spring_actionscript_messaging.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.ioc.config.impl.xml.ns { 17 | 18 | /** 19 | * XML messaging namespace 20 | * @docref xml-schema-based-configuration.html#the_messaging_schema 21 | * @author Christophe Herreman 22 | * @productionversion SpringActionscript 2.0 23 | */ 24 | public namespace spring_actionscript_messaging = "http://www.springactionscript.org/schema/messaging"; 25 | } 26 | -------------------------------------------------------------------------------- /spring-actionscript-flex/src/main/actionscript/org/springextensions/actionscript/ioc/config/impl/xml/ns/spring_actionscript_rpc.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.ioc.config.impl.xml.ns { 17 | 18 | /** 19 | * XML RPC namespace 20 | * 21 | * @author Christophe Herreman 22 | * @productionversion SpringActionscript 2.0 23 | */ 24 | public namespace spring_actionscript_rpc = "http://www.springactionscript.org/schema/rpc"; 25 | } 26 | -------------------------------------------------------------------------------- /spring-actionscript-flex/src/main/actionscript/org/springextensions/actionscript/stage/IgnoreModuleObjectSelector.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.stage { 17 | 18 | import org.as3commons.stageprocessing.IObjectSelector; 19 | 20 | /** 21 | * 22 | * @author Roland Zwaga 23 | * @productionversion SpringActionscript 2.0 24 | */ 25 | public class IgnoreModuleObjectSelector implements IObjectSelector { 26 | 27 | /** 28 | * Creates a new IgnoreModuleObjectSelector instance. 29 | */ 30 | public function IgnoreModuleObjectSelector() { 31 | super(); 32 | } 33 | 34 | public function approve(object:Object):Boolean { 35 | return false; 36 | } 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /spring-actionscript-flex/src/test/actionscript/org/springextensions/actionscript/ioc/config/impl/mxml/component/InterfaceTest.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.ioc.config.impl.mxml.component { 17 | import org.flexunit.asserts.assertEquals; 18 | 19 | /** 20 | * 21 | * @author Roland Zwaga 22 | * @productionversion SpringActionscript 2.0 23 | */ 24 | public class InterfaceTest { 25 | /** 26 | * Creates a new InterfaceTest instance. 27 | */ 28 | public function InterfaceTest() { 29 | super(); 30 | } 31 | 32 | [Test] 33 | public function testIsInterface():void { 34 | var intf:Interface = new Interface(); 35 | intf.initializeComponent(null, null); 36 | intf.parse(); 37 | assertEquals(true, intf.definition.isInterface); 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /spring-actionscript-flex/src/test/actionscript/org/springextensions/actionscript/test/testtypes/IApplicationContextEventBusRegistryAware.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.test.testtypes { 17 | 18 | import org.springextensions.actionscript.context.IApplicationContext; 19 | import org.springextensions.actionscript.eventbus.IEventBusUserRegistryAware; 20 | 21 | /** 22 | * 23 | * @author Roland Zwaga 24 | * @productionversion SpringActionscript 2.0 25 | */ 26 | public interface IApplicationContextEventBusRegistryAware extends IApplicationContext, IEventBusUserRegistryAware { 27 | 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /spring-actionscript-flex/src/test/actionscript/org/springextensions/actionscript/test/testtypes/MXMLConfig.mxml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 12 | 13 | 14 | 15 | 16 | 17 | 19 | 20 | 22 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /spring-actionscript-flex/src/test/actionscript/org/springextensions/actionscript/test/testtypes/MXMLConfig2.mxml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 9 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /spring-actionscript-mvc/src/main/actionscript/org/springextensions/actionscript/mvc/IMVCEventObjectPostProcessor.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.mvc { 17 | import org.springextensions.actionscript.ioc.factory.process.IObjectPostProcessor; 18 | 19 | /** 20 | * Marker interface for an object postprocessor that processes [RouteEvent] metadata 21 | * used by an IController interface. 22 | * @author Roland Zwaga 23 | */ 24 | public interface IMVCEventObjectPostProcessor extends IObjectPostProcessor { 25 | 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend-bootstrap/src/main/actionscript/org/springextensions/actionscript/Main.mxml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 24 | 25 | 26 | 30 | 31 | 34 | 35 | -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend-bootstrap/src/main/actionscript/org/springextensions/actionscript/domain/ICopyFrom.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.domain { 17 | 18 | /** 19 | * Interface to be implemented by all classes that want to provide "copy from" functionality. 20 | * 21 | * @author Christophe Herreman 22 | */ 23 | public interface ICopyFrom { 24 | 25 | /** 26 | * Copies the properties from the given object into this object. 27 | */ 28 | function copyFrom(other:*):void; 29 | 30 | } 31 | } -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend-bootstrap/src/main/actionscript/org/springextensions/actionscript/domain/IEntity.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.domain { 17 | 18 | import org.as3commons.lang.ICloneable; 19 | import org.as3commons.lang.IEquals; 20 | 21 | /** 22 | * Describes an entity. 23 | * 24 | *

25 | * Author: Christophe Herreman
26 | * Version: $Revision: 21 $, $Date: 2008-11-01 22:58:42 +0100 (za, 01 nov 2008) $, $Author: dmurat $
27 | * Since: 0.1 28 | *

29 | */ 30 | public interface IEntity extends IEquals, ICloneable, ICopyFrom { 31 | 32 | /** 33 | * Returns the id of the entity. 34 | */ 35 | function get id():*; 36 | 37 | /** 38 | * Sets the id of the entity. 39 | */ 40 | function set id(value:*):void; 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend-bootstrap/src/main/actionscript/org/springextensions/actionscript/domain/INamed.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.domain { 17 | 18 | /** 19 | * Interface to be implemented by objects that provide a "name" property. 20 | * 21 | * @author Christophe Herreman 22 | */ 23 | public interface INamed { 24 | 25 | /** 26 | * Returns the name of the object. 27 | */ 28 | function get name():String; 29 | 30 | } 31 | } -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend-bootstrap/src/main/actionscript/org/springextensions/actionscript/samples/cafetownsend/ITownsendView.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.samples.cafetownsend { 17 | 18 | /** 19 | * 20 | * @author Roland Zwaga 21 | */ 22 | public interface ITownsendView { 23 | 24 | } 25 | } -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend-bootstrap/src/main/actionscript/org/springextensions/actionscript/samples/cafetownsend/application/ApplicationEvents.as: -------------------------------------------------------------------------------- 1 | package org.springextensions.actionscript.samples.cafetownsend.application { 2 | 3 | /** 4 | * The names of the application events. 5 | * 6 | * @author Christophe Herreman 7 | */ 8 | public class ApplicationEvents { 9 | 10 | /** Dispatched when the user has successfully logged in. */ 11 | public static const LOGGED_IN:String = "loggedIn"; 12 | 13 | /** Dispatched when the user has successfully logged out. */ 14 | public static const LOGGED_OUT:String = "loggedOut"; 15 | 16 | /** Dispatched upon a request to log out. */ 17 | public static const LOGOUT:String = "logout"; 18 | 19 | } 20 | } -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend-bootstrap/src/main/actionscript/org/springextensions/actionscript/samples/cafetownsend/application/service/IAuthenticationService.as: -------------------------------------------------------------------------------- 1 | package org.springextensions.actionscript.samples.cafetownsend.application.service { 2 | import org.as3commons.async.operation.IOperation; 3 | 4 | /** 5 | * Service interface for logging in and out of the application. 6 | * 7 | * @author Christophe Herreman 8 | */ 9 | public interface IAuthenticationService { 10 | 11 | function login(username:String, password:String):IOperation; 12 | 13 | function logout():IOperation; 14 | 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend-bootstrap/src/main/actionscript/org/springextensions/actionscript/samples/cafetownsend/domain/service/IEmployeeService.as: -------------------------------------------------------------------------------- 1 | package org.springextensions.actionscript.samples.cafetownsend.domain.service { 2 | 3 | import org.as3commons.async.operation.IOperation; 4 | import org.springextensions.actionscript.samples.cafetownsend.domain.Employee; 5 | 6 | /** 7 | * Defines a service for working with Employee objects. 8 | * 9 | * @author Christophe Herreman 10 | */ 11 | public interface IEmployeeService { 12 | 13 | /** 14 | * Returns all employees. 15 | * 16 | * @return 17 | */ 18 | function getEmployees():IOperation; 19 | 20 | /** 21 | * Saves the given employee. 22 | * 23 | * @param employee 24 | * @return 25 | */ 26 | function saveEmployee(employee:Employee):IOperation; 27 | 28 | /** 29 | * Deletes the given employee. 30 | * 31 | * @param employee 32 | * @return 33 | */ 34 | function deleteEmployee(employee:Employee):IOperation; 35 | 36 | } 37 | } -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend-bootstrap/src/main/actionscript/org/springextensions/actionscript/samples/cafetownsend/infrastructure/service/InMemoryAuthenticationService.as: -------------------------------------------------------------------------------- 1 | package org.springextensions.actionscript.samples.cafetownsend.infrastructure.service { 2 | 3 | import org.as3commons.async.operation.IOperation; 4 | import org.as3commons.async.operation.impl.MockOperation; 5 | import org.springextensions.actionscript.samples.cafetownsend.application.service.IAuthenticationService; 6 | 7 | /** 8 | * In-memory implementation of the IAuthenticationService interface. 9 | * 10 | * @author Christophe Herreman 11 | */ 12 | public class InMemoryAuthenticationService implements IAuthenticationService { 13 | 14 | // -------------------------------------------------------------------- 15 | // 16 | // Constructor 17 | // 18 | // -------------------------------------------------------------------- 19 | 20 | public function InMemoryAuthenticationService() { 21 | } 22 | 23 | // -------------------------------------------------------------------- 24 | // 25 | // Implementation: IAuthenticationService 26 | // 27 | // -------------------------------------------------------------------- 28 | 29 | public function login(username:String, password:String):IOperation { 30 | if ((username == "Flex") && (password == "Spring")) { 31 | return new MockOperation(true); 32 | } 33 | return new MockOperation(false); 34 | } 35 | 36 | public function logout():IOperation { 37 | return new MockOperation(true); 38 | } 39 | } 40 | } -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend-bootstrap/src/main/actionscript/org/springextensions/actionscript/samples/cafetownsend/module/MainModule.mxml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 10 | 11 | 13 | 14 | -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend-bootstrap/src/main/actionscript/org/springextensions/actionscript/samples/cafetownsend/presentation/MainView.mxml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 12 | 13 | 14 | 16 | 17 | 23 | 26 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend-bootstrap/src/main/actionscript/org/springextensions/actionscript/samples/cafetownsend/stage/TownsendViewSelector.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.samples.cafetownsend.stage { 17 | 18 | import org.as3commons.stageprocessing.IObjectSelector; 19 | import org.springextensions.actionscript.samples.cafetownsend.ITownsendView; 20 | 21 | /** 22 | * 23 | * @author Roland Zwaga 24 | */ 25 | public class TownsendViewSelector implements IObjectSelector { 26 | /** 27 | * Creates a new TownsendViewSelector instance. 28 | */ 29 | public function TownsendViewSelector() { 30 | super(); 31 | } 32 | 33 | public function approve(object:Object):Boolean { 34 | return (object is ITownsendView); 35 | } 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend-bootstrap/src/main/resources/assets/Employees.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 1 6 | Sue 7 | Hove 8 | shove@cafetownsend.com 9 | 01/07/2006 10 | 11 | 12 | 13 | 2 14 | Matt 15 | Boles 16 | mboles@cafetownsend.com 17 | 02/17/2006 18 | 19 | 20 | 21 | 3 22 | Mike 23 | Kollen 24 | mkollen@cafetownsend.com 25 | 03/01/2006 26 | 27 | 28 | 29 | 4 30 | Jennifer 31 | Jaegel 32 | jjaegel@cafetownsend.com 33 | 04/01/2006 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend-bootstrap/src/main/resources/assets/header.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-actionscript/331099c4cc1e084304992d34ce8bf705950d0bc2/spring-actionscript-samples/cafe-townsend-bootstrap/src/main/resources/assets/header.jpg -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend-bootstrap/src/main/resources/mainstyle.css: -------------------------------------------------------------------------------- 1 | /* CSS file */ 2 | .foodTitle { 3 | font-weight: bold; text-align: center 4 | } 5 | 6 | Panel { 7 | cornerRadius: 4; 8 | 9 | borderStyle: undefined; 10 | highlightAlphas: 0.67, 0; 11 | headerColors: #000000, #993333; 12 | font-weight: bold; 13 | borderAlpha: 1; 14 | text-align: center; 15 | titleStyleName: "myPanelStyle"; 16 | roundedBottomCorners: true; 17 | } 18 | 19 | Alert { 20 | background-color: #FFFFFF; 21 | color: #000000; 22 | } 23 | 24 | Form, Label, TextInput { 25 | color: #000000; 26 | font-weight: normal; 27 | } 28 | 29 | FormItem, List { 30 | font-weight: bold; 31 | text-align: left; 32 | } 33 | 34 | .myPanelStyle { 35 | font-size: 12; 36 | color: #FFFFFF; 37 | } 38 | 39 | .panelText { 40 | color: #000000; 41 | font-weight: none; 42 | text-align: left; 43 | } -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend-metadata-config/src/main/actionscript/org/springextensions/actionscript/configuration/AppConfig.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.configuration { 17 | import org.springextensions.actionscript.eventbus.process.EventHandlerMetadataProcessor; 18 | import org.springextensions.actionscript.eventbus.process.RouteEventsMetaDataProcessor; 19 | import org.springextensions.actionscript.stage.DefaultAutowiringStageProcessor; 20 | 21 | [Configuration] 22 | /** 23 | * 24 | * @author Roland Zwaga 25 | */ 26 | public final class AppConfig { 27 | public var stageAutowireProcessor:DefaultAutowiringStageProcessor; 28 | public var eventHandlerMetadataProcessor:EventHandlerMetadataProcessor; 29 | public var routeEventsMetadataProcessor:RouteEventsMetaDataProcessor; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend-metadata-config/src/main/actionscript/org/springextensions/actionscript/domain/ICopyFrom.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.domain { 17 | 18 | /** 19 | * Interface to be implemented by all classes that want to provide "copy from" functionality. 20 | * 21 | * @author Christophe Herreman 22 | */ 23 | public interface ICopyFrom { 24 | 25 | /** 26 | * Copies the properties from the given object into this object. 27 | */ 28 | function copyFrom(other:*):void; 29 | 30 | } 31 | } -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend-metadata-config/src/main/actionscript/org/springextensions/actionscript/domain/IEntity.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.domain { 17 | 18 | import org.as3commons.lang.ICloneable; 19 | import org.as3commons.lang.IEquals; 20 | 21 | /** 22 | * Describes an entity. 23 | * 24 | *

25 | * Author: Christophe Herreman
26 | * Version: $Revision: 21 $, $Date: 2008-11-01 22:58:42 +0100 (za, 01 nov 2008) $, $Author: dmurat $
27 | * Since: 0.1 28 | *

29 | */ 30 | public interface IEntity extends IEquals, ICloneable, ICopyFrom { 31 | 32 | /** 33 | * Returns the id of the entity. 34 | */ 35 | function get id():*; 36 | 37 | /** 38 | * Sets the id of the entity. 39 | */ 40 | function set id(value:*):void; 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend-metadata-config/src/main/actionscript/org/springextensions/actionscript/domain/INamed.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.domain { 17 | 18 | /** 19 | * Interface to be implemented by objects that provide a "name" property. 20 | * 21 | * @author Christophe Herreman 22 | */ 23 | public interface INamed { 24 | 25 | /** 26 | * Returns the name of the object. 27 | */ 28 | function get name():String; 29 | 30 | } 31 | } -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend-metadata-config/src/main/actionscript/org/springextensions/actionscript/samples/cafetownsend/application/ApplicationEvents.as: -------------------------------------------------------------------------------- 1 | package org.springextensions.actionscript.samples.cafetownsend.application { 2 | 3 | /** 4 | * The names of the application events. 5 | * 6 | * @author Christophe Herreman 7 | */ 8 | public class ApplicationEvents { 9 | 10 | /** Dispatched when the user has successfully logged in. */ 11 | public static const LOGGED_IN:String = "loggedIn"; 12 | 13 | /** Dispatched when the user has successfully logged out. */ 14 | public static const LOGGED_OUT:String = "loggedOut"; 15 | 16 | /** Dispatched upon a request to log out. */ 17 | public static const LOGOUT:String = "logout"; 18 | 19 | } 20 | } -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend-metadata-config/src/main/actionscript/org/springextensions/actionscript/samples/cafetownsend/application/service/IAuthenticationService.as: -------------------------------------------------------------------------------- 1 | package org.springextensions.actionscript.samples.cafetownsend.application.service { 2 | import org.as3commons.async.operation.IOperation; 3 | 4 | 5 | 6 | /** 7 | * Service interface for logging in and out of the application. 8 | * 9 | * @author Christophe Herreman 10 | */ 11 | public interface IAuthenticationService { 12 | 13 | function login(username:String, password:String):IOperation; 14 | 15 | function logout():IOperation; 16 | 17 | } 18 | } -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend-metadata-config/src/main/actionscript/org/springextensions/actionscript/samples/cafetownsend/domain/service/IEmployeeService.as: -------------------------------------------------------------------------------- 1 | package org.springextensions.actionscript.samples.cafetownsend.domain.service { 2 | 3 | import org.as3commons.async.operation.IOperation; 4 | import org.springextensions.actionscript.samples.cafetownsend.domain.Employee; 5 | 6 | /** 7 | * Defines a service for working with Employee objects. 8 | * 9 | * @author Christophe Herreman 10 | */ 11 | public interface IEmployeeService { 12 | 13 | /** 14 | * Returns all employees. 15 | * 16 | * @return 17 | */ 18 | function getEmployees():IOperation; 19 | 20 | /** 21 | * Saves the given employee. 22 | * 23 | * @param employee 24 | * @return 25 | */ 26 | function saveEmployee(employee:Employee):IOperation; 27 | 28 | /** 29 | * Deletes the given employee. 30 | * 31 | * @param employee 32 | * @return 33 | */ 34 | function deleteEmployee(employee:Employee):IOperation; 35 | 36 | } 37 | } -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend-metadata-config/src/main/actionscript/org/springextensions/actionscript/samples/cafetownsend/infrastructure/service/InMemoryAuthenticationService.as: -------------------------------------------------------------------------------- 1 | package org.springextensions.actionscript.samples.cafetownsend.infrastructure.service { 2 | 3 | import org.as3commons.async.operation.IOperation; 4 | import org.as3commons.async.operation.impl.MockOperation; 5 | import org.springextensions.actionscript.samples.cafetownsend.application.service.IAuthenticationService; 6 | 7 | /** 8 | * In-memory implementation of the IAuthenticationService interface. 9 | * 10 | * @author Christophe Herreman 11 | */ 12 | [Component] 13 | public class InMemoryAuthenticationService implements IAuthenticationService { 14 | 15 | // -------------------------------------------------------------------- 16 | // 17 | // Constructor 18 | // 19 | // -------------------------------------------------------------------- 20 | 21 | public function InMemoryAuthenticationService() { 22 | } 23 | 24 | // -------------------------------------------------------------------- 25 | // 26 | // Implementation: IAuthenticationService 27 | // 28 | // -------------------------------------------------------------------- 29 | 30 | public function login(username:String, password:String):IOperation { 31 | if ((username == "Flex") && (password == "Spring")) { 32 | return new MockOperation(true); 33 | } 34 | return new MockOperation(false); 35 | } 36 | 37 | public function logout():IOperation { 38 | return new MockOperation(true); 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend-metadata-config/src/main/actionscript/org/springextensions/actionscript/samples/cafetownsend/presentation/MainView.mxml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 13 | 14 | 15 | 16 | 17 | 20 | 21 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend-metadata-config/src/main/resources/assets/Employees.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 1 6 | Sue 7 | Hove 8 | shove@cafetownsend.com 9 | 01/07/2006 10 | 11 | 12 | 13 | 2 14 | Matt 15 | Boles 16 | mboles@cafetownsend.com 17 | 02/17/2006 18 | 19 | 20 | 21 | 3 22 | Mike 23 | Kollen 24 | mkollen@cafetownsend.com 25 | 03/01/2006 26 | 27 | 28 | 29 | 4 30 | Jennifer 31 | Jaegel 32 | jjaegel@cafetownsend.com 33 | 04/01/2006 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend-metadata-config/src/main/resources/assets/header.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-actionscript/331099c4cc1e084304992d34ce8bf705950d0bc2/spring-actionscript-samples/cafe-townsend-metadata-config/src/main/resources/assets/header.jpg -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend-metadata-config/src/main/resources/assets/main.css: -------------------------------------------------------------------------------- 1 | /* CSS file */ 2 | .foodTitle { 3 | font-weight: bold; text-align: center 4 | } 5 | 6 | Panel { 7 | cornerRadius: 4; 8 | 9 | borderStyle: undefined; 10 | highlightAlphas: 0.67, 0; 11 | headerColors: #000000, #993333; 12 | font-weight: bold; 13 | borderAlpha: 1; 14 | text-align: center; 15 | titleStyleName: "myPanelStyle"; 16 | roundedBottomCorners: true; 17 | } 18 | 19 | Alert { 20 | background-color: #FFFFFF; 21 | color: #000000; 22 | } 23 | 24 | Form, Label, TextInput { 25 | color: #000000; 26 | font-weight: normal; 27 | } 28 | 29 | FormItem, List { 30 | font-weight: bold; 31 | text-align: left; 32 | } 33 | 34 | .myPanelStyle { 35 | font-size: 12; 36 | color: #FFFFFF; 37 | } 38 | 39 | .panelText { 40 | color: #000000; 41 | font-weight: none; 42 | text-align: left; 43 | } -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend-multi-module/src/main/actionscript/org/springextensions/actionscript/domain/ICopyFrom.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.domain { 17 | 18 | /** 19 | * Interface to be implemented by all classes that want to provide "copy from" functionality. 20 | * 21 | * @author Christophe Herreman 22 | */ 23 | public interface ICopyFrom { 24 | 25 | /** 26 | * Copies the properties from the given object into this object. 27 | */ 28 | function copyFrom(other:*):void; 29 | 30 | } 31 | } -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend-multi-module/src/main/actionscript/org/springextensions/actionscript/domain/IEntity.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.domain { 17 | 18 | import org.as3commons.lang.ICloneable; 19 | import org.as3commons.lang.IEquals; 20 | 21 | /** 22 | * Describes an entity. 23 | * 24 | *

25 | * Author: Christophe Herreman
26 | * Version: $Revision: 21 $, $Date: 2008-11-01 22:58:42 +0100 (za, 01 nov 2008) $, $Author: dmurat $
27 | * Since: 0.1 28 | *

29 | */ 30 | public interface IEntity extends IEquals, ICloneable, ICopyFrom { 31 | 32 | /** 33 | * Returns the id of the entity. 34 | */ 35 | function get id():*; 36 | 37 | /** 38 | * Sets the id of the entity. 39 | */ 40 | function set id(value:*):void; 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend-multi-module/src/main/actionscript/org/springextensions/actionscript/domain/INamed.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.domain { 17 | 18 | /** 19 | * Interface to be implemented by objects that provide a "name" property. 20 | * 21 | * @author Christophe Herreman 22 | */ 23 | public interface INamed { 24 | 25 | /** 26 | * Returns the name of the object. 27 | */ 28 | function get name():String; 29 | 30 | } 31 | } -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend-multi-module/src/main/actionscript/org/springextensions/actionscript/samples/cafetownsend/ITownsendView.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.samples.cafetownsend { 17 | 18 | /** 19 | * 20 | * @author Roland Zwaga 21 | */ 22 | public interface ITownsendView { 23 | 24 | } 25 | } -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend-multi-module/src/main/actionscript/org/springextensions/actionscript/samples/cafetownsend/application/ApplicationController.as: -------------------------------------------------------------------------------- 1 | package org.springextensions.actionscript.samples.cafetownsend.application { 2 | 3 | import flash.events.Event; 4 | 5 | import org.as3commons.async.operation.IOperation; 6 | import org.as3commons.eventbus.IEventBus; 7 | import org.as3commons.eventbus.IEventBusAware; 8 | import org.as3commons.lang.Assert; 9 | import org.springextensions.actionscript.samples.cafetownsend.application.service.IAuthenticationService; 10 | 11 | /** 12 | * Controller for global application actions. 13 | * @author Christophe Herreman 14 | */ 15 | public class ApplicationController implements IEventBusAware { 16 | 17 | private var _authenticationService:IAuthenticationService; 18 | 19 | private var _eventBus:IEventBus; 20 | 21 | public function ApplicationController(authenticationService:IAuthenticationService) { 22 | Assert.notNull("The authentication service should not be null"); 23 | _authenticationService = authenticationService; 24 | } 25 | 26 | public function logout():void { 27 | var operation:IOperation = _authenticationService.logout(); 28 | operation.addCompleteListener(logout_completeHandler); 29 | } 30 | 31 | private function logout_completeHandler(event:Event):void { 32 | eventBus.dispatch(ApplicationEvents.LOGGED_OUT); 33 | } 34 | 35 | public function get eventBus():IEventBus { 36 | return _eventBus; 37 | } 38 | 39 | public function set eventBus(value:IEventBus):void { 40 | _eventBus = value; 41 | } 42 | 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend-multi-module/src/main/actionscript/org/springextensions/actionscript/samples/cafetownsend/application/ApplicationEvents.as: -------------------------------------------------------------------------------- 1 | package org.springextensions.actionscript.samples.cafetownsend.application { 2 | 3 | /** 4 | * The names of the application events. 5 | * 6 | * @author Christophe Herreman 7 | */ 8 | public class ApplicationEvents { 9 | 10 | /** Dispatched when the user has successfully logged in. */ 11 | public static const LOGGED_IN:String = "loggedIn"; 12 | 13 | /** Dispatched when the user has successfully logged out. */ 14 | public static const LOGGED_OUT:String = "loggedOut"; 15 | 16 | /** Dispatched upon a request to log out. */ 17 | public static const LOGOUT:String = "logout"; 18 | 19 | } 20 | } -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend-multi-module/src/main/actionscript/org/springextensions/actionscript/samples/cafetownsend/application/service/IAuthenticationService.as: -------------------------------------------------------------------------------- 1 | package org.springextensions.actionscript.samples.cafetownsend.application.service { 2 | import org.as3commons.async.operation.IOperation; 3 | 4 | /** 5 | * Service interface for logging in and out of the application. 6 | * 7 | * @author Christophe Herreman 8 | */ 9 | public interface IAuthenticationService { 10 | 11 | function login(username:String, password:String):IOperation; 12 | 13 | function logout():IOperation; 14 | 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend-multi-module/src/main/actionscript/org/springextensions/actionscript/samples/cafetownsend/domain/service/IEmployeeService.as: -------------------------------------------------------------------------------- 1 | package org.springextensions.actionscript.samples.cafetownsend.domain.service { 2 | 3 | import org.as3commons.async.operation.IOperation; 4 | import org.springextensions.actionscript.samples.cafetownsend.domain.Employee; 5 | 6 | /** 7 | * Defines a service for working with Employee objects. 8 | * 9 | * @author Christophe Herreman 10 | */ 11 | public interface IEmployeeService { 12 | 13 | /** 14 | * Returns all employees. 15 | * 16 | * @return 17 | */ 18 | function getEmployees():IOperation; 19 | 20 | /** 21 | * Saves the given employee. 22 | * 23 | * @param employee 24 | * @return 25 | */ 26 | function saveEmployee(employee:Employee):IOperation; 27 | 28 | /** 29 | * Deletes the given employee. 30 | * 31 | * @param employee 32 | * @return 33 | */ 34 | function deleteEmployee(employee:Employee):IOperation; 35 | 36 | } 37 | } -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend-multi-module/src/main/actionscript/org/springextensions/actionscript/samples/cafetownsend/infrastructure/service/InMemoryAuthenticationService.as: -------------------------------------------------------------------------------- 1 | package org.springextensions.actionscript.samples.cafetownsend.infrastructure.service { 2 | 3 | import org.as3commons.async.operation.IOperation; 4 | import org.as3commons.async.operation.impl.MockOperation; 5 | import org.springextensions.actionscript.samples.cafetownsend.application.service.IAuthenticationService; 6 | 7 | /** 8 | * In-memory implementation of the IAuthenticationService interface. 9 | * 10 | * @author Christophe Herreman 11 | */ 12 | public class InMemoryAuthenticationService implements IAuthenticationService { 13 | 14 | // -------------------------------------------------------------------- 15 | // 16 | // Constructor 17 | // 18 | // -------------------------------------------------------------------- 19 | 20 | public function InMemoryAuthenticationService() { 21 | } 22 | 23 | // -------------------------------------------------------------------- 24 | // 25 | // Implementation: IAuthenticationService 26 | // 27 | // -------------------------------------------------------------------- 28 | 29 | public function login(username:String, password:String):IOperation { 30 | if ((username == "Flex") && (password == "Spring")) { 31 | return new MockOperation(true); 32 | } 33 | return new MockOperation(false); 34 | } 35 | 36 | public function logout():IOperation { 37 | return new MockOperation(true); 38 | } 39 | } 40 | } -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend-multi-module/src/main/actionscript/org/springextensions/actionscript/samples/cafetownsend/stage/TownsendViewSelector.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.samples.cafetownsend.stage { 17 | 18 | import org.as3commons.stageprocessing.IObjectSelector; 19 | import org.springextensions.actionscript.samples.cafetownsend.ITownsendView; 20 | 21 | /** 22 | * 23 | * @author Roland Zwaga 24 | */ 25 | public class TownsendViewSelector implements IObjectSelector { 26 | /** 27 | * Creates a new TownsendViewSelector instance. 28 | */ 29 | public function TownsendViewSelector() { 30 | super(); 31 | } 32 | 33 | public function approve(object:Object):Boolean { 34 | return (object is ITownsendView); 35 | } 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend-multi-module/src/main/resources/assets/Employees.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 1 6 | Sue 7 | Hove 8 | shove@cafetownsend.com 9 | 01/07/2006 10 | 11 | 12 | 13 | 2 14 | Matt 15 | Boles 16 | mboles@cafetownsend.com 17 | 02/17/2006 18 | 19 | 20 | 21 | 3 22 | Mike 23 | Kollen 24 | mkollen@cafetownsend.com 25 | 03/01/2006 26 | 27 | 28 | 29 | 4 30 | Jennifer 31 | Jaegel 32 | jjaegel@cafetownsend.com 33 | 04/01/2006 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend-multi-module/src/main/resources/assets/header.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-actionscript/331099c4cc1e084304992d34ce8bf705950d0bc2/spring-actionscript-samples/cafe-townsend-multi-module/src/main/resources/assets/header.jpg -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend-multi-module/src/main/resources/assets/main.css: -------------------------------------------------------------------------------- 1 | /* CSS file */ 2 | .foodTitle { 3 | font-weight: bold; text-align: center 4 | } 5 | 6 | Panel { 7 | cornerRadius: 4; 8 | 9 | borderStyle: undefined; 10 | highlightAlphas: 0.67, 0; 11 | headerColors: #000000, #993333; 12 | font-weight: bold; 13 | borderAlpha: 1; 14 | text-align: center; 15 | titleStyleName: "myPanelStyle"; 16 | roundedBottomCorners: true; 17 | } 18 | 19 | Alert { 20 | background-color: #FFFFFF; 21 | color: #000000; 22 | } 23 | 24 | Form, Label, TextInput { 25 | color: #000000; 26 | font-weight: normal; 27 | } 28 | 29 | FormItem, List { 30 | font-weight: bold; 31 | text-align: left; 32 | } 33 | 34 | .myPanelStyle { 35 | font-size: 12; 36 | color: #FFFFFF; 37 | } 38 | 39 | .panelText { 40 | color: #000000; 41 | font-weight: none; 42 | text-align: left; 43 | } -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend-mxml-config/src/main/actionscript/org/springextensions/actionscript/domain/ICopyFrom.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.domain { 17 | 18 | /** 19 | * Interface to be implemented by all classes that want to provide "copy from" functionality. 20 | * 21 | * @author Christophe Herreman 22 | */ 23 | public interface ICopyFrom { 24 | 25 | /** 26 | * Copies the properties from the given object into this object. 27 | */ 28 | function copyFrom(other:*):void; 29 | 30 | } 31 | } -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend-mxml-config/src/main/actionscript/org/springextensions/actionscript/domain/IEntity.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.domain { 17 | 18 | import org.as3commons.lang.ICloneable; 19 | import org.as3commons.lang.IEquals; 20 | 21 | /** 22 | * Describes an entity. 23 | * 24 | *

25 | * Author: Christophe Herreman
26 | * Version: $Revision: 21 $, $Date: 2008-11-01 22:58:42 +0100 (za, 01 nov 2008) $, $Author: dmurat $
27 | * Since: 0.1 28 | *

29 | */ 30 | public interface IEntity extends IEquals, ICloneable, ICopyFrom { 31 | 32 | /** 33 | * Returns the id of the entity. 34 | */ 35 | function get id():*; 36 | 37 | /** 38 | * Sets the id of the entity. 39 | */ 40 | function set id(value:*):void; 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend-mxml-config/src/main/actionscript/org/springextensions/actionscript/domain/INamed.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.domain { 17 | 18 | /** 19 | * Interface to be implemented by objects that provide a "name" property. 20 | * 21 | * @author Christophe Herreman 22 | */ 23 | public interface INamed { 24 | 25 | /** 26 | * Returns the name of the object. 27 | */ 28 | function get name():String; 29 | 30 | } 31 | } -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend-mxml-config/src/main/actionscript/org/springextensions/actionscript/samples/cafetownsend/ITownsendView.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.samples.cafetownsend { 17 | 18 | /** 19 | * 20 | * @author Roland Zwaga 21 | */ 22 | public interface ITownsendView { 23 | 24 | } 25 | } -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend-mxml-config/src/main/actionscript/org/springextensions/actionscript/samples/cafetownsend/application/ApplicationEvents.as: -------------------------------------------------------------------------------- 1 | package org.springextensions.actionscript.samples.cafetownsend.application { 2 | 3 | /** 4 | * The names of the application events. 5 | * 6 | * @author Christophe Herreman 7 | */ 8 | public class ApplicationEvents { 9 | 10 | /** Dispatched when the user has successfully logged in. */ 11 | public static const LOGGED_IN:String = "loggedIn"; 12 | 13 | /** Dispatched when the user has successfully logged out. */ 14 | public static const LOGGED_OUT:String = "loggedOut"; 15 | 16 | /** Dispatched upon a request to log out. */ 17 | public static const LOGOUT:String = "logout"; 18 | 19 | } 20 | } -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend-mxml-config/src/main/actionscript/org/springextensions/actionscript/samples/cafetownsend/application/service/IAuthenticationService.as: -------------------------------------------------------------------------------- 1 | package org.springextensions.actionscript.samples.cafetownsend.application.service { 2 | import org.as3commons.async.operation.IOperation; 3 | 4 | /** 5 | * Service interface for logging in and out of the application. 6 | * 7 | * @author Christophe Herreman 8 | */ 9 | public interface IAuthenticationService { 10 | 11 | function login(username:String, password:String):IOperation; 12 | 13 | function logout():IOperation; 14 | 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend-mxml-config/src/main/actionscript/org/springextensions/actionscript/samples/cafetownsend/domain/service/IEmployeeService.as: -------------------------------------------------------------------------------- 1 | package org.springextensions.actionscript.samples.cafetownsend.domain.service { 2 | 3 | import org.as3commons.async.operation.IOperation; 4 | import org.springextensions.actionscript.samples.cafetownsend.domain.Employee; 5 | 6 | /** 7 | * Defines a service for working with Employee objects. 8 | * 9 | * @author Christophe Herreman 10 | */ 11 | public interface IEmployeeService { 12 | 13 | /** 14 | * Returns all employees. 15 | * 16 | * @return 17 | */ 18 | function getEmployees():IOperation; 19 | 20 | /** 21 | * Saves the given employee. 22 | * 23 | * @param employee 24 | * @return 25 | */ 26 | function saveEmployee(employee:Employee):IOperation; 27 | 28 | /** 29 | * Deletes the given employee. 30 | * 31 | * @param employee 32 | * @return 33 | */ 34 | function deleteEmployee(employee:Employee):IOperation; 35 | 36 | } 37 | } -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend-mxml-config/src/main/actionscript/org/springextensions/actionscript/samples/cafetownsend/infrastructure/service/InMemoryAuthenticationService.as: -------------------------------------------------------------------------------- 1 | package org.springextensions.actionscript.samples.cafetownsend.infrastructure.service { 2 | 3 | import org.as3commons.async.operation.IOperation; 4 | import org.as3commons.async.operation.impl.MockOperation; 5 | import org.springextensions.actionscript.samples.cafetownsend.application.service.IAuthenticationService; 6 | 7 | /** 8 | * In-memory implementation of the IAuthenticationService interface. 9 | * 10 | * @author Christophe Herreman 11 | */ 12 | public class InMemoryAuthenticationService implements IAuthenticationService { 13 | 14 | // -------------------------------------------------------------------- 15 | // 16 | // Constructor 17 | // 18 | // -------------------------------------------------------------------- 19 | 20 | public function InMemoryAuthenticationService() { 21 | } 22 | 23 | // -------------------------------------------------------------------- 24 | // 25 | // Implementation: IAuthenticationService 26 | // 27 | // -------------------------------------------------------------------- 28 | 29 | public function login(username:String, password:String):IOperation { 30 | if ((username == "Flex") && (password == "Spring")) { 31 | return new MockOperation(true); 32 | } 33 | return new MockOperation(false); 34 | } 35 | 36 | public function logout():IOperation { 37 | return new MockOperation(true); 38 | } 39 | } 40 | } -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend-mxml-config/src/main/actionscript/org/springextensions/actionscript/samples/cafetownsend/presentation/MainView.mxml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 12 | 13 | 14 | 16 | 17 | 23 | 26 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend-mxml-config/src/main/actionscript/org/springextensions/actionscript/samples/cafetownsend/stage/TownsendViewSelector.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.samples.cafetownsend.stage { 17 | 18 | import org.as3commons.stageprocessing.IObjectSelector; 19 | import org.springextensions.actionscript.samples.cafetownsend.ITownsendView; 20 | 21 | /** 22 | * 23 | * @author Roland Zwaga 24 | */ 25 | public class TownsendViewSelector implements IObjectSelector { 26 | /** 27 | * Creates a new TownsendViewSelector instance. 28 | */ 29 | public function TownsendViewSelector() { 30 | super(); 31 | } 32 | 33 | public function approve(object:Object):Boolean { 34 | return (object is ITownsendView); 35 | } 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend-mxml-config/src/main/resources/assets/Employees.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 1 6 | Sue 7 | Hove 8 | shove@cafetownsend.com 9 | 01/07/2006 10 | 11 | 12 | 13 | 2 14 | Matt 15 | Boles 16 | mboles@cafetownsend.com 17 | 02/17/2006 18 | 19 | 20 | 21 | 3 22 | Mike 23 | Kollen 24 | mkollen@cafetownsend.com 25 | 03/01/2006 26 | 27 | 28 | 29 | 4 30 | Jennifer 31 | Jaegel 32 | jjaegel@cafetownsend.com 33 | 04/01/2006 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend-mxml-config/src/main/resources/assets/header.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-actionscript/331099c4cc1e084304992d34ce8bf705950d0bc2/spring-actionscript-samples/cafe-townsend-mxml-config/src/main/resources/assets/header.jpg -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend-mxml-config/src/main/resources/assets/main.css: -------------------------------------------------------------------------------- 1 | /* CSS file */ 2 | .foodTitle { 3 | font-weight: bold; text-align: center 4 | } 5 | 6 | Panel { 7 | cornerRadius: 4; 8 | 9 | borderStyle: undefined; 10 | highlightAlphas: 0.67, 0; 11 | headerColors: #000000, #993333; 12 | font-weight: bold; 13 | borderAlpha: 1; 14 | text-align: center; 15 | titleStyleName: "myPanelStyle"; 16 | roundedBottomCorners: true; 17 | } 18 | 19 | Alert { 20 | background-color: #FFFFFF; 21 | color: #000000; 22 | } 23 | 24 | Form, Label, TextInput { 25 | color: #000000; 26 | font-weight: normal; 27 | } 28 | 29 | FormItem, List { 30 | font-weight: bold; 31 | text-align: left; 32 | } 33 | 34 | .myPanelStyle { 35 | font-size: 12; 36 | color: #FFFFFF; 37 | } 38 | 39 | .panelText { 40 | color: #000000; 41 | font-weight: none; 42 | text-align: left; 43 | } -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend/src/main/actionscript/org/springextensions/actionscript/domain/ICopyFrom.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.domain { 17 | 18 | /** 19 | * Interface to be implemented by all classes that want to provide "copy from" functionality. 20 | * 21 | * @author Christophe Herreman 22 | */ 23 | public interface ICopyFrom { 24 | 25 | /** 26 | * Copies the properties from the given object into this object. 27 | */ 28 | function copyFrom(other:*):void; 29 | 30 | } 31 | } -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend/src/main/actionscript/org/springextensions/actionscript/domain/IEntity.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.domain { 17 | 18 | import org.as3commons.lang.ICloneable; 19 | import org.as3commons.lang.IEquals; 20 | 21 | /** 22 | * Describes an entity. 23 | * 24 | *

25 | * Author: Christophe Herreman
26 | * Version: $Revision: 21 $, $Date: 2008-11-01 22:58:42 +0100 (za, 01 nov 2008) $, $Author: dmurat $
27 | * Since: 0.1 28 | *

29 | */ 30 | public interface IEntity extends IEquals, ICloneable, ICopyFrom { 31 | 32 | /** 33 | * Returns the id of the entity. 34 | */ 35 | function get id():*; 36 | 37 | /** 38 | * Sets the id of the entity. 39 | */ 40 | function set id(value:*):void; 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend/src/main/actionscript/org/springextensions/actionscript/domain/INamed.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.domain { 17 | 18 | /** 19 | * Interface to be implemented by objects that provide a "name" property. 20 | * 21 | * @author Christophe Herreman 22 | */ 23 | public interface INamed { 24 | 25 | /** 26 | * Returns the name of the object. 27 | */ 28 | function get name():String; 29 | 30 | } 31 | } -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend/src/main/actionscript/org/springextensions/actionscript/samples/cafetownsend/ITownsendView.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.samples.cafetownsend { 17 | 18 | /** 19 | * 20 | * @author Roland Zwaga 21 | */ 22 | public interface ITownsendView { 23 | 24 | } 25 | } -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend/src/main/actionscript/org/springextensions/actionscript/samples/cafetownsend/application/ApplicationEvents.as: -------------------------------------------------------------------------------- 1 | package org.springextensions.actionscript.samples.cafetownsend.application { 2 | 3 | /** 4 | * The names of the application events. 5 | * 6 | * @author Christophe Herreman 7 | */ 8 | public class ApplicationEvents { 9 | 10 | /** Dispatched when the user has successfully logged in. */ 11 | public static const LOGGED_IN:String = "loggedIn"; 12 | 13 | /** Dispatched when the user has successfully logged out. */ 14 | public static const LOGGED_OUT:String = "loggedOut"; 15 | 16 | /** Dispatched upon a request to log out. */ 17 | public static const LOGOUT:String = "logout"; 18 | 19 | } 20 | } -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend/src/main/actionscript/org/springextensions/actionscript/samples/cafetownsend/application/service/IAuthenticationService.as: -------------------------------------------------------------------------------- 1 | package org.springextensions.actionscript.samples.cafetownsend.application.service { 2 | import org.as3commons.async.operation.IOperation; 3 | 4 | /** 5 | * Service interface for logging in and out of the application. 6 | * 7 | * @author Christophe Herreman 8 | */ 9 | public interface IAuthenticationService { 10 | 11 | function login(username:String, password:String):IOperation; 12 | 13 | function logout():IOperation; 14 | 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend/src/main/actionscript/org/springextensions/actionscript/samples/cafetownsend/domain/service/IEmployeeService.as: -------------------------------------------------------------------------------- 1 | package org.springextensions.actionscript.samples.cafetownsend.domain.service { 2 | 3 | import org.as3commons.async.operation.IOperation; 4 | import org.springextensions.actionscript.samples.cafetownsend.domain.Employee; 5 | 6 | /** 7 | * Defines a service for working with Employee objects. 8 | * 9 | * @author Christophe Herreman 10 | */ 11 | public interface IEmployeeService { 12 | 13 | /** 14 | * Returns all employees. 15 | * 16 | * @return 17 | */ 18 | function getEmployees():IOperation; 19 | 20 | /** 21 | * Saves the given employee. 22 | * 23 | * @param employee 24 | * @return 25 | */ 26 | function saveEmployee(employee:Employee):IOperation; 27 | 28 | /** 29 | * Deletes the given employee. 30 | * 31 | * @param employee 32 | * @return 33 | */ 34 | function deleteEmployee(employee:Employee):IOperation; 35 | 36 | } 37 | } -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend/src/main/actionscript/org/springextensions/actionscript/samples/cafetownsend/infrastructure/service/InMemoryAuthenticationService.as: -------------------------------------------------------------------------------- 1 | package org.springextensions.actionscript.samples.cafetownsend.infrastructure.service { 2 | 3 | import org.as3commons.async.operation.IOperation; 4 | import org.as3commons.async.operation.impl.MockOperation; 5 | import org.springextensions.actionscript.samples.cafetownsend.application.service.IAuthenticationService; 6 | 7 | /** 8 | * In-memory implementation of the IAuthenticationService interface. 9 | * 10 | * @author Christophe Herreman 11 | */ 12 | public class InMemoryAuthenticationService implements IAuthenticationService { 13 | 14 | // -------------------------------------------------------------------- 15 | // 16 | // Constructor 17 | // 18 | // -------------------------------------------------------------------- 19 | 20 | public function InMemoryAuthenticationService() { 21 | } 22 | 23 | // -------------------------------------------------------------------- 24 | // 25 | // Implementation: IAuthenticationService 26 | // 27 | // -------------------------------------------------------------------- 28 | 29 | public function login(username:String, password:String):IOperation { 30 | if ((username == "Flex") && (password == "Spring")) { 31 | return new MockOperation(true); 32 | } 33 | return new MockOperation(false); 34 | } 35 | 36 | public function logout():IOperation { 37 | return new MockOperation(true); 38 | } 39 | } 40 | } -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend/src/main/actionscript/org/springextensions/actionscript/samples/cafetownsend/presentation/MainView.mxml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 12 | 13 | 14 | 16 | 17 | 23 | 26 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend/src/main/actionscript/org/springextensions/actionscript/samples/cafetownsend/stage/TownsendViewSelector.as: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2011 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springextensions.actionscript.samples.cafetownsend.stage { 17 | 18 | import org.as3commons.stageprocessing.IObjectSelector; 19 | import org.springextensions.actionscript.samples.cafetownsend.ITownsendView; 20 | 21 | /** 22 | * 23 | * @author Roland Zwaga 24 | */ 25 | public class TownsendViewSelector implements IObjectSelector { 26 | /** 27 | * Creates a new TownsendViewSelector instance. 28 | */ 29 | public function TownsendViewSelector() { 30 | super(); 31 | } 32 | 33 | public function approve(object:Object):Boolean { 34 | return (object is ITownsendView); 35 | } 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend/src/main/resources/assets/Employees.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 1 6 | Sue 7 | Hove 8 | shove@cafetownsend.com 9 | 01/07/2006 10 | 11 | 12 | 13 | 2 14 | Matt 15 | Boles 16 | mboles@cafetownsend.com 17 | 02/17/2006 18 | 19 | 20 | 21 | 3 22 | Mike 23 | Kollen 24 | mkollen@cafetownsend.com 25 | 03/01/2006 26 | 27 | 28 | 29 | 4 30 | Jennifer 31 | Jaegel 32 | jjaegel@cafetownsend.com 33 | 04/01/2006 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend/src/main/resources/assets/header.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-actionscript/331099c4cc1e084304992d34ce8bf705950d0bc2/spring-actionscript-samples/cafe-townsend/src/main/resources/assets/header.jpg -------------------------------------------------------------------------------- /spring-actionscript-samples/cafe-townsend/src/main/resources/assets/main.css: -------------------------------------------------------------------------------- 1 | /* CSS file */ 2 | .foodTitle { 3 | font-weight: bold; text-align: center 4 | } 5 | 6 | Panel { 7 | cornerRadius: 4; 8 | 9 | borderStyle: undefined; 10 | highlightAlphas: 0.67, 0; 11 | headerColors: #000000, #993333; 12 | font-weight: bold; 13 | borderAlpha: 1; 14 | text-align: center; 15 | titleStyleName: "myPanelStyle"; 16 | roundedBottomCorners: true; 17 | } 18 | 19 | Alert { 20 | background-color: #FFFFFF; 21 | color: #000000; 22 | } 23 | 24 | Form, Label, TextInput { 25 | color: #000000; 26 | font-weight: normal; 27 | } 28 | 29 | FormItem, List { 30 | font-weight: bold; 31 | text-align: left; 32 | } 33 | 34 | .myPanelStyle { 35 | font-size: 12; 36 | color: #FFFFFF; 37 | } 38 | 39 | .panelText { 40 | color: #000000; 41 | font-weight: none; 42 | text-align: left; 43 | } -------------------------------------------------------------------------------- /src/docbkx/extending-configuration-types.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | Extending Configuration types 6 | 7 | 8 | Extending configurations 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/docbkx/graphs.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | Graphical overviews 6 | 7 | 8 | Some graphical overviews of Spring Actionscript processes 9 | 10 | 11 | Overview of the object creation flow 12 | 13 | getobject_flow.graphml 14 | 15 | 16 | 17 | Overview of the object wiring flow 18 | 19 | objectwiring_flow.graphml 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /src/docbkx/integrations.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | Integrations 7 | 8 | 9 | A list of integrations 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/docbkx/introduction.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | Introduction 7 | 8 | 9 | What is Spring Actionscript? 10 | 11 | Spring ActionScript is an offshoot of the Java-based Spring Framework written in 12 | ActionScript 3. It is targeted for the Flash, Flex and AIR platforms. The framework contains 13 | an extremely versatile Inversion of Control Container, a metadata handling system, a micro MVC 14 | library and extensions for the Cairngorm and PureMVC frameworks. The container may be 15 | configured with XML, MXML, metadata or actionscript, or even 16 | a combination of these. 17 | 18 | 19 | -------------------------------------------------------------------------------- /src/docbkx/resources/GraphMLViewer/GraphMLViewer.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-actionscript/331099c4cc1e084304992d34ce8bf705950d0bc2/src/docbkx/resources/GraphMLViewer/GraphMLViewer.swf -------------------------------------------------------------------------------- /src/docbkx/resources/asdoctemplate/Overviews_Base.xml: -------------------------------------------------------------------------------- 1 | 11 | 12 | 14 | 15 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 37 | 38 | -------------------------------------------------------------------------------- /src/docbkx/resources/asdoctemplate/images/AirIcon12x12.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-actionscript/331099c4cc1e084304992d34ce8bf705950d0bc2/src/docbkx/resources/asdoctemplate/images/AirIcon12x12.gif -------------------------------------------------------------------------------- /src/docbkx/resources/asdoctemplate/images/P_AlternativeMetadataIndicator_30x28_N.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-actionscript/331099c4cc1e084304992d34ce8bf705950d0bc2/src/docbkx/resources/asdoctemplate/images/P_AlternativeMetadataIndicator_30x28_N.png -------------------------------------------------------------------------------- /src/docbkx/resources/asdoctemplate/images/collapsed.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-actionscript/331099c4cc1e084304992d34ce8bf705950d0bc2/src/docbkx/resources/asdoctemplate/images/collapsed.gif -------------------------------------------------------------------------------- /src/docbkx/resources/asdoctemplate/images/detailHeaderRule.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-actionscript/331099c4cc1e084304992d34ce8bf705950d0bc2/src/docbkx/resources/asdoctemplate/images/detailHeaderRule.jpg -------------------------------------------------------------------------------- /src/docbkx/resources/asdoctemplate/images/detailSectionHeader.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-actionscript/331099c4cc1e084304992d34ce8bf705950d0bc2/src/docbkx/resources/asdoctemplate/images/detailSectionHeader.jpg -------------------------------------------------------------------------------- /src/docbkx/resources/asdoctemplate/images/expanded.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-actionscript/331099c4cc1e084304992d34ce8bf705950d0bc2/src/docbkx/resources/asdoctemplate/images/expanded.gif -------------------------------------------------------------------------------- /src/docbkx/resources/asdoctemplate/images/fisheye_header_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-actionscript/331099c4cc1e084304992d34ce8bf705950d0bc2/src/docbkx/resources/asdoctemplate/images/fisheye_header_logo.png -------------------------------------------------------------------------------- /src/docbkx/resources/asdoctemplate/images/inherit-arrow.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-actionscript/331099c4cc1e084304992d34ce8bf705950d0bc2/src/docbkx/resources/asdoctemplate/images/inherit-arrow.gif -------------------------------------------------------------------------------- /src/docbkx/resources/asdoctemplate/images/inheritedSummary.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-actionscript/331099c4cc1e084304992d34ce8bf705950d0bc2/src/docbkx/resources/asdoctemplate/images/inheritedSummary.gif -------------------------------------------------------------------------------- /src/docbkx/resources/asdoctemplate/images/logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-actionscript/331099c4cc1e084304992d34ce8bf705950d0bc2/src/docbkx/resources/asdoctemplate/images/logo.jpg -------------------------------------------------------------------------------- /src/docbkx/resources/asdoctemplate/images/subversion_logo_notxt-16m.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-actionscript/331099c4cc1e084304992d34ce8bf705950d0bc2/src/docbkx/resources/asdoctemplate/images/subversion_logo_notxt-16m.png -------------------------------------------------------------------------------- /src/docbkx/resources/asdoctemplate/images/titleTableBottom.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-actionscript/331099c4cc1e084304992d34ce8bf705950d0bc2/src/docbkx/resources/asdoctemplate/images/titleTableBottom.jpg -------------------------------------------------------------------------------- /src/docbkx/resources/asdoctemplate/images/titleTableMiddle.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-actionscript/331099c4cc1e084304992d34ce8bf705950d0bc2/src/docbkx/resources/asdoctemplate/images/titleTableMiddle.jpg -------------------------------------------------------------------------------- /src/docbkx/resources/asdoctemplate/images/titleTableTop.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-actionscript/331099c4cc1e084304992d34ce8bf705950d0bc2/src/docbkx/resources/asdoctemplate/images/titleTableTop.jpg -------------------------------------------------------------------------------- /src/docbkx/resources/asdoctemplate/merge_dita_xml.xslt: -------------------------------------------------------------------------------- 1 | 2 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /src/docbkx/resources/asdoctemplate/mxml-tags.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | MXML Only Components - Adobe Flex 3 Language Reference 5 | 6 | 7 | 8 |

MXML Only Components

9 | <mx:Binding>
10 | <mx:Component>
11 | <mx:Metadata>
12 | <mx:Model>
13 | <mx:Script>
14 | <mx:Style>
15 | <mx:XML>
16 | <mx:XMLList>
17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/docbkx/resources/asdoctemplate/override.css: -------------------------------------------------------------------------------- 1 | /* 2 | //////////////////////////////////////////////////////////////////////////////// 3 | // 4 | // ADOBE SYSTEMS INCORPORATED 5 | // Copyright 2008 Adobe Systems Incorporated 6 | // All Rights Reserved. 7 | // 8 | // NOTICE: Adobe permits you to use, modify, and distribute this file 9 | // in accordance with the terms of the license agreement accompanying it. 10 | // 11 | //////////////////////////////////////////////////////////////////////////////// 12 | */ -------------------------------------------------------------------------------- /src/docbkx/resources/asdoctemplate/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | ActionScript 3.0 Language and Components Reference 4 | 5 | 6 | 7 | 8 | 9 | <body> 10 | <h2>Frame Alert</h2> 11 | <p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. 12 | <br /> 13 | Link to<a href="package-summary.html">Non-frame version.</a> 14 | </p> 15 | </body> 16 | 17 | 18 | -------------------------------------------------------------------------------- /src/docbkx/resources/html/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Spring Actionscript - Reference documetation 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /src/docbkx/resources/images/autowiringflow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-actionscript/331099c4cc1e084304992d34ce8bf705950d0bc2/src/docbkx/resources/images/autowiringflow.png -------------------------------------------------------------------------------- /src/docbkx/resources/images/flexappcontextwiringflow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-actionscript/331099c4cc1e084304992d34ce8bf705950d0bc2/src/docbkx/resources/images/flexappcontextwiringflow.png -------------------------------------------------------------------------------- /src/docbkx/resources/images/getobjectflow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-actionscript/331099c4cc1e084304992d34ce8bf705950d0bc2/src/docbkx/resources/images/getobjectflow.png -------------------------------------------------------------------------------- /src/docbkx/resources/images/i21-banner-rhs.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-actionscript/331099c4cc1e084304992d34ce8bf705950d0bc2/src/docbkx/resources/images/i21-banner-rhs.jpg -------------------------------------------------------------------------------- /src/docbkx/resources/images/objectwiringflow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-actionscript/331099c4cc1e084304992d34ce8bf705950d0bc2/src/docbkx/resources/images/objectwiringflow.png -------------------------------------------------------------------------------- /src/docbkx/resources/images/prebuilder_step1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-actionscript/331099c4cc1e084304992d34ce8bf705950d0bc2/src/docbkx/resources/images/prebuilder_step1.png -------------------------------------------------------------------------------- /src/docbkx/resources/images/prebuilder_step2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-actionscript/331099c4cc1e084304992d34ce8bf705950d0bc2/src/docbkx/resources/images/prebuilder_step2.png -------------------------------------------------------------------------------- /src/docbkx/resources/images/prebuilder_step3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-actionscript/331099c4cc1e084304992d34ce8bf705950d0bc2/src/docbkx/resources/images/prebuilder_step3.png -------------------------------------------------------------------------------- /src/docbkx/resources/images/prebuilder_step4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-actionscript/331099c4cc1e084304992d34ce8bf705950d0bc2/src/docbkx/resources/images/prebuilder_step4.png -------------------------------------------------------------------------------- /src/docbkx/resources/images/prebuilder_step5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-actionscript/331099c4cc1e084304992d34ce8bf705950d0bc2/src/docbkx/resources/images/prebuilder_step5.png -------------------------------------------------------------------------------- /src/docbkx/resources/images/s2-banner-rhs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-actionscript/331099c4cc1e084304992d34ce8bf705950d0bc2/src/docbkx/resources/images/s2-banner-rhs.png -------------------------------------------------------------------------------- /src/docbkx/resources/images/s2_box_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-actionscript/331099c4cc1e084304992d34ce8bf705950d0bc2/src/docbkx/resources/images/s2_box_logo.png -------------------------------------------------------------------------------- /src/docbkx/resources/images/stageprocessingflow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-actionscript/331099c4cc1e084304992d34ce8bf705950d0bc2/src/docbkx/resources/images/stageprocessingflow.png -------------------------------------------------------------------------------- /src/docbkx/resources/images/xdev-spring_logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-actionscript/331099c4cc1e084304992d34ce8bf705950d0bc2/src/docbkx/resources/images/xdev-spring_logo.jpg -------------------------------------------------------------------------------- /src/docbkx/resources/js/springas.js: -------------------------------------------------------------------------------- 1 | $(init); 2 | 3 | function init() 4 | { 5 | $("a.asclass").each(createTooltip); 6 | $("a.asclassdetail").each(createTooltip); 7 | } 8 | 9 | function createTooltip() 10 | { 11 | if ($(this).children().length > 0) 12 | { 13 | var sibl = $(this).children()[0]; 14 | if (sibl.className == "toolTipContent") 15 | { 16 | $(this).wTooltip({ 17 | delay: 500, 18 | content: true, 19 | fadeIn: 600, 20 | fadeOut: "slow", 21 | callBefore: function(tooltip) { 22 | $(tooltip).html($(sibl).text()); 23 | } 24 | }); 25 | } 26 | } 27 | } -------------------------------------------------------------------------------- /src/docbkx/resources/xsd/spring-actionscript-stageprocessing-1.0.xsd: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /src/docbkx/resources/xslthl/README: -------------------------------------------------------------------------------- 1 | To use the syntax higlighting extension with DocBook-XSL 1.74.3+, you must: 2 | 1. Use a processor that works with the extension: Saxon 6 or Xalan-J. 3 | 2. Add the latest version of xslthl-2.X.X.jar to your classpath. 4 | 3. Set the highlight.source parameter to 1. 5 | 4. Import into your customization one of the following stylesheet module: 6 | * html/highlight.xsl 7 | * xhtml/highlight.xsl 8 | * xhtml-1_1/highlight.xsl 9 | * fo/highlight.xsl 10 | 5. Use that customiztion layer. 11 | 12 | 13 | Note: Saxon 8.5 or later is also supported, but since it is an XSLT 2.0 14 | processor it is not guaranteed to work with DocBook-XSL in all 15 | circumstances. 16 | 17 | -------------------------------------------------------------------------------- /src/main/assembly/sources.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | sources 9 | -------------------------------------------------------------------------------- /src/site/resources/crossdomain.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /src/site/resources/js/springas-site.js: -------------------------------------------------------------------------------- 1 | $(initCorners); 2 | 3 | function initCorners() { 4 | $('div#leftColumn').corner('round 8px br'); 5 | $('pre').corner('round 8px'); 6 | } -------------------------------------------------------------------------------- /src/site/resources/maven/spring-actionscript-prebuild-mojo.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-actionscript/331099c4cc1e084304992d34ce8bf705950d0bc2/src/site/resources/maven/spring-actionscript-prebuild-mojo.zip -------------------------------------------------------------------------------- /src/site/xdoc/samples.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | Roland Zwaga 8 | 9 | 10 | 11 | Sample applications 12 | 13 | 14 | 15 |
16 | 22 |
23 | 24 |
25 | -------------------------------------------------------------------------------- /toplevel_files.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | /target/site/asdoc/toplevel.xml 4 | /target/site/asdoc/toplevel.xml 5 | /target/site/asdoc/toplevel.xml 6 | /target/site/asdoc/toplevel.xml 7 | 8 | 9 | /target/site/asdoc/toplevel_classes.xml 10 | /target/site/asdoc/toplevel_classes.xml 11 | /target/site/asdoc/toplevel_classes.xml 12 | /target/site/asdoc/toplevel_classes.xml 13 | 14 | --------------------------------------------------------------------------------