├── .gitignore ├── spring-flex-samples └── spring-flex-testdrive │ ├── testdrive │ ├── .settings │ │ ├── org.eclipse.wst.jsdt.ui.superType.name │ │ ├── org.eclipse.wst.jsdt.ui.superType.container │ │ ├── org.eclipse.ltk.core.refactoring.prefs │ │ ├── org.eclipse.jdt.core.prefs │ │ ├── org.eclipse.wst.common.project.facet.core.xml │ │ ├── .jsdtscope │ │ └── com.springsource.sts.config.flow.prefs │ ├── src │ │ └── main │ │ │ ├── webapp │ │ │ ├── favicon.ico │ │ │ ├── chat │ │ │ │ ├── playerProductInstall.swf │ │ │ │ └── history │ │ │ │ │ ├── history.css │ │ │ │ │ └── historyFrame.html │ │ │ ├── insync01 │ │ │ │ ├── playerProductInstall.swf │ │ │ │ └── history │ │ │ │ │ ├── history.css │ │ │ │ │ └── historyFrame.html │ │ │ ├── insync02 │ │ │ │ ├── playerProductInstall.swf │ │ │ │ └── history │ │ │ │ │ ├── history.css │ │ │ │ │ └── historyFrame.html │ │ │ ├── insync03 │ │ │ │ ├── playerProductInstall.swf │ │ │ │ └── history │ │ │ │ │ ├── history.css │ │ │ │ │ └── historyFrame.html │ │ │ ├── insync04 │ │ │ │ ├── playerProductInstall.swf │ │ │ │ └── history │ │ │ │ │ ├── history.css │ │ │ │ │ └── historyFrame.html │ │ │ ├── insync05 │ │ │ │ ├── playerProductInstall.swf │ │ │ │ └── history │ │ │ │ │ ├── history.css │ │ │ │ │ └── historyFrame.html │ │ │ ├── insync06 │ │ │ │ ├── playerProductInstall.swf │ │ │ │ └── history │ │ │ │ │ ├── history.css │ │ │ │ │ └── historyFrame.html │ │ │ ├── jmschat │ │ │ │ ├── playerProductInstall.swf │ │ │ │ └── history │ │ │ │ │ ├── history.css │ │ │ │ │ └── historyFrame.html │ │ │ ├── secured │ │ │ │ ├── playerProductInstall.swf │ │ │ │ └── history │ │ │ │ │ ├── history.css │ │ │ │ │ └── historyFrame.html │ │ │ ├── companymgr │ │ │ │ ├── playerProductInstall.swf │ │ │ │ └── history │ │ │ │ │ ├── history.css │ │ │ │ │ └── historyFrame.html │ │ │ ├── feedstarter │ │ │ │ ├── playerProductInstall.swf │ │ │ │ └── history │ │ │ │ │ ├── history.css │ │ │ │ │ └── historyFrame.html │ │ │ ├── insync-rest │ │ │ │ ├── playerProductInstall.swf │ │ │ │ └── history │ │ │ │ │ ├── history.css │ │ │ │ │ └── historyFrame.html │ │ │ ├── simplepush │ │ │ │ ├── playerProductInstall.swf │ │ │ │ └── history │ │ │ │ │ ├── history.css │ │ │ │ │ └── historyFrame.html │ │ │ ├── collaboration │ │ │ │ ├── playerProductInstall.swf │ │ │ │ └── history │ │ │ │ │ ├── history.css │ │ │ │ │ └── historyFrame.html │ │ │ ├── traderdesktop │ │ │ │ ├── playerProductInstall.swf │ │ │ │ └── history │ │ │ │ │ ├── history.css │ │ │ │ │ └── historyFrame.html │ │ │ ├── spring-messaging │ │ │ │ ├── playerProductInstall.swf │ │ │ │ └── history │ │ │ │ │ ├── history.css │ │ │ │ │ └── historyFrame.html │ │ │ ├── spring-blazeds-101 │ │ │ │ ├── playerProductInstall.swf │ │ │ │ └── history │ │ │ │ │ ├── history.css │ │ │ │ │ └── historyFrame.html │ │ │ ├── .gitignore │ │ │ └── WEB-INF │ │ │ │ └── spring │ │ │ │ └── integration-config.xml │ │ │ ├── java │ │ │ └── org │ │ │ │ └── springframework │ │ │ │ └── flex │ │ │ │ └── samples │ │ │ │ ├── secured │ │ │ │ └── Security3Helper.java │ │ │ │ ├── util │ │ │ │ └── LoggingExceptionTranslator.java │ │ │ │ ├── company │ │ │ │ └── ICompanyDAO.java │ │ │ │ ├── contact │ │ │ │ └── IContactDAO.java │ │ │ │ ├── product │ │ │ │ └── IProductDAO.java │ │ │ │ ├── industry │ │ │ │ └── IIndustryDAO.java │ │ │ │ ├── rest │ │ │ │ └── HandlerAdapterPostProcessor.java │ │ │ │ └── dao │ │ │ │ └── IGenericDAO.java │ │ │ └── resources │ │ │ └── log4j.xml │ ├── build.properties │ ├── .springBeans │ ├── jmschat.launch │ └── .project │ ├── .gitignore │ ├── chat │ └── .project │ ├── companymgr │ ├── src │ │ └── main │ │ │ └── flex │ │ │ ├── Industry.as │ │ │ ├── Company.as │ │ │ ├── CompanyEvent.as │ │ │ └── BindableComboBox.as │ └── .project │ ├── insync02 │ └── .project │ ├── insync03 │ ├── .project │ └── src │ │ └── main │ │ └── flex │ │ └── Contact.as │ ├── insync04 │ ├── .project │ └── src │ │ └── main │ │ └── flex │ │ └── Contact.as │ ├── insync05 │ ├── .project │ └── src │ │ └── main │ │ └── flex │ │ └── Contact.as │ ├── insync06 │ ├── .project │ └── src │ │ └── main │ │ └── flex │ │ ├── Contact.as │ │ └── ContactEvent.as │ ├── jmschat │ └── .project │ ├── secured │ └── .project │ ├── feedstarter │ └── .project │ ├── insync-rest │ ├── .project │ └── src │ │ └── main │ │ └── flex │ │ ├── Contact.as │ │ └── ContactEvent.as │ ├── insync01 │ ├── .project │ └── src │ │ └── main │ │ └── flex │ │ └── insync01.mxml │ ├── simplepush │ └── .project │ ├── collaboration │ ├── .project │ └── src │ │ └── main │ │ └── flex │ │ └── Customer.as │ ├── traderdesktop │ ├── .project │ └── src │ │ └── main │ │ └── flex │ │ ├── org │ │ └── springframework │ │ │ └── flex │ │ │ └── samples │ │ │ └── marketfeed │ │ │ └── Stock.as │ │ ├── ColorRenderer.as │ │ └── BackgroundColorRenderer.as │ ├── spring-messaging │ └── .project │ └── spring-blazeds-101 │ ├── .project │ └── src │ └── main │ └── flex │ └── main.mxml ├── docbkx └── resources │ ├── images │ ├── logo.png │ ├── admons │ │ ├── home.gif │ │ ├── home.png │ │ ├── next.gif │ │ ├── next.png │ │ ├── note.gif │ │ ├── note.png │ │ ├── note.tif │ │ ├── prev.gif │ │ ├── prev.png │ │ ├── tip.gif │ │ ├── tip.png │ │ ├── tip.tif │ │ ├── up.gif │ │ ├── up.png │ │ ├── blank.png │ │ ├── draft.png │ │ ├── caution.gif │ │ ├── caution.png │ │ ├── caution.tif │ │ ├── important.gif │ │ ├── important.png │ │ ├── important.tif │ │ ├── toc-blank.png │ │ ├── toc-minus.png │ │ ├── toc-plus.png │ │ ├── warning.gif │ │ ├── warning.png │ │ └── warning.tif │ ├── callouts │ │ ├── 1.png │ │ ├── 10.png │ │ ├── 11.png │ │ ├── 12.png │ │ ├── 13.png │ │ ├── 14.png │ │ ├── 15.png │ │ ├── 2.png │ │ ├── 3.png │ │ ├── 4.png │ │ ├── 5.png │ │ ├── 6.png │ │ ├── 7.png │ │ ├── 8.png │ │ └── 9.png │ └── xdev-spring_logo.jpg │ └── css │ └── highlight.css ├── spring-flex-integration ├── flex-rds-server.jar ├── build.properties └── src │ └── main │ ├── java │ └── org │ │ └── springframework │ │ └── flex │ │ └── integration │ │ ├── util │ │ └── DbInitializer.java │ │ └── service │ │ ├── PersonService.java │ │ ├── MessageSender.java │ │ ├── Ping.java │ │ ├── HibernatePersonService.java │ │ └── FooService.java │ ├── webapp │ ├── index.html │ └── WEB-INF │ │ ├── flex │ │ ├── messaging-config.xml │ │ └── proxy-config.xml │ │ └── spring │ │ └── security-context.xml │ └── resources │ └── log4j.xml ├── spring-flex-core └── src │ ├── main │ ├── resources │ │ └── META-INF │ │ │ ├── spring.handlers │ │ │ └── spring.schemas │ └── java │ │ └── org │ │ ├── springframework │ │ └── flex │ │ │ ├── config │ │ │ ├── package.html │ │ │ ├── xml │ │ │ │ └── package.html │ │ │ └── json │ │ │ │ └── package.html │ │ │ ├── security3 │ │ │ └── package.html │ │ │ ├── core │ │ │ ├── io │ │ │ │ └── package.html │ │ │ ├── package.html │ │ │ └── EndpointAdvisor.java │ │ │ ├── messaging │ │ │ ├── package.html │ │ │ ├── jms │ │ │ │ └── package.html │ │ │ ├── integration │ │ │ │ └── package.html │ │ │ └── AsyncMessageCreator.java │ │ │ ├── http │ │ │ └── package.html │ │ │ ├── remoting │ │ │ └── package.html │ │ │ └── servlet │ │ │ └── package.html │ │ └── overview.html │ └── test │ ├── resources │ ├── org │ │ └── springframework │ │ │ └── flex │ │ │ ├── core │ │ │ ├── channels.xml │ │ │ ├── channels │ │ │ │ ├── channels1.xml │ │ │ │ └── channels2.xml │ │ │ ├── remoting-config.xml │ │ │ ├── messaging-config.xml │ │ │ └── proxy-config.xml │ │ │ ├── config │ │ │ ├── annotated-remote-bean-context.xml │ │ │ ├── invalid-remote-service.xml │ │ │ ├── default-message-broker.xml │ │ │ ├── messaging-config.xml │ │ │ ├── invalid-remote-service-decorator.xml │ │ │ ├── invalid-message-broker.xml │ │ │ └── secured-message-broker.xml │ │ │ ├── remoting │ │ │ ├── inferred-default-channels-config.xml │ │ │ └── default-channels-config.xml │ │ │ └── messaging │ │ │ ├── MessageDestinationProps.json │ │ │ ├── inferred-default-channels-config.xml │ │ │ └── default-channels-config.xml │ ├── custom-remoting-config.xml │ ├── custom-services-config.xml │ └── log4j.xml │ └── java │ └── org │ └── springframework │ └── flex │ ├── core │ └── io │ │ └── domain │ │ ├── MaritalStatus.java │ │ ├── AddressNP.java │ │ ├── PersonNP.java │ │ ├── IgnorablePropsObject.java │ │ └── ImmutableValueObject.java │ └── config │ ├── NoDefaultConstructorFactoryBean.java │ ├── AnnotatedAutowiredScopedProxyRemoteBean.java │ ├── AbstractFlexConfigurationTests.java │ └── AnnotatedRemoteBean.java ├── spring-flexunit-tests ├── .settings │ └── org.eclipse.core.resources.prefs ├── .flexProperties ├── .FlexUnitSettings │ └── FlexUnitApplicationLastRun.xml ├── src │ ├── ClientAuthTestSuite1.as │ ├── ClientAuthTestSuite2.as │ ├── Person.as │ ├── Main.mxml │ ├── IntegrationTestSuite.as │ ├── FlexUnitCompilerApplication.mxml │ └── FlexUnitApplication.mxml └── .project ├── spring-flex-hibernate3 └── src │ └── test │ ├── java │ └── org │ │ └── springframework │ │ └── flex │ │ └── hibernate3 │ │ ├── domain │ │ ├── CompanyNP.java │ │ ├── PrimitiveCompanyNP.java │ │ ├── EmbeddedFloorNP.java │ │ ├── MaritalStatus.java │ │ ├── EmbeddedAddressNP.java │ │ ├── EmbeddedFloorAttributes.java │ │ ├── EmbeddedFloorAttributesNP.java │ │ ├── ContactInfoNP.java │ │ ├── AddressNP.java │ │ ├── BuildingNP.java │ │ ├── PrimitiveCompany.java │ │ ├── EmbeddedFloor.java │ │ ├── Company.java │ │ ├── BankAccount.java │ │ ├── CreditCard.java │ │ ├── BillingDetails.java │ │ ├── PersonNP.java │ │ ├── IgnorablePropsObject.java │ │ ├── ImmutableValueObject.java │ │ └── Building.java │ │ └── config │ │ └── AbstractFlexConfigurationTests.java │ └── resources │ ├── org │ └── springframework │ │ └── flex │ │ └── hibernate3 │ │ ├── core │ │ ├── channels.xml │ │ ├── channels │ │ │ ├── channels1.xml │ │ │ └── channels2.xml │ │ ├── remoting-config.xml │ │ ├── messaging-config.xml │ │ └── proxy-config.xml │ │ ├── remoting │ │ ├── inferred-default-channels-config.xml │ │ └── default-channels-config.xml │ │ ├── config │ │ ├── annotated-remote-bean-context.xml │ │ ├── messaging-config.xml │ │ ├── invalid-remote-service.xml │ │ ├── default-message-broker.xml │ │ ├── jpa-message-broker.xml │ │ ├── hibernate-message-broker.xml │ │ ├── invalid-remote-service-decorator.xml │ │ ├── invalid-message-broker.xml │ │ └── secured-message-broker.xml │ │ ├── messaging │ │ ├── MessageDestinationProps.json │ │ ├── inferred-default-channels-config.xml │ │ └── default-channels-config.xml │ │ ├── persistence.xml │ │ ├── mappings.hbm.xml │ │ ├── jpa-multi-entity-manager-context.xml │ │ └── hibernate-jpa-context.xml │ ├── custom-remoting-config.xml │ ├── custom-services-config.xml │ └── log4j.xml ├── spring-flex-hibernate4 └── src │ └── test │ ├── java │ └── org │ │ └── springframework │ │ └── flex │ │ └── hibernate4 │ │ ├── domain │ │ ├── CompanyNP.java │ │ ├── PrimitiveCompanyNP.java │ │ ├── EmbeddedFloorNP.java │ │ ├── MaritalStatus.java │ │ ├── EmbeddedAddressNP.java │ │ ├── EmbeddedFloorAttributes.java │ │ ├── EmbeddedFloorAttributesNP.java │ │ ├── ContactInfoNP.java │ │ ├── AddressNP.java │ │ ├── BuildingNP.java │ │ ├── PrimitiveCompany.java │ │ ├── EmbeddedFloor.java │ │ ├── Company.java │ │ ├── BankAccount.java │ │ ├── CreditCard.java │ │ ├── BillingDetails.java │ │ ├── PersonNP.java │ │ ├── IgnorablePropsObject.java │ │ ├── ImmutableValueObject.java │ │ └── Building.java │ │ └── config │ │ └── AbstractFlexConfigurationTests.java │ └── resources │ ├── org │ └── springframework │ │ └── flex │ │ └── hibernate4 │ │ ├── core │ │ ├── channels.xml │ │ ├── channels │ │ │ ├── channels1.xml │ │ │ └── channels2.xml │ │ ├── remoting-config.xml │ │ ├── messaging-config.xml │ │ └── proxy-config.xml │ │ ├── remoting │ │ ├── inferred-default-channels-config.xml │ │ └── default-channels-config.xml │ │ ├── config │ │ ├── annotated-remote-bean-context.xml │ │ ├── messaging-config.xml │ │ ├── invalid-remote-service.xml │ │ ├── default-message-broker.xml │ │ ├── jpa-message-broker.xml │ │ ├── hibernate-message-broker.xml │ │ ├── invalid-remote-service-decorator.xml │ │ ├── invalid-message-broker.xml │ │ └── secured-message-broker.xml │ │ ├── messaging │ │ ├── MessageDestinationProps.json │ │ ├── inferred-default-channels-config.xml │ │ └── default-channels-config.xml │ │ ├── jpa-multi-entity-manager-context.xml │ │ ├── persistence.xml │ │ ├── hibernate-multi-session-factory-context.xml │ │ └── mappings.hbm.xml │ ├── custom-remoting-config.xml │ ├── custom-services-config.xml │ └── log4j.xml ├── assembly └── docs.xml └── notice.txt /.gitignore: -------------------------------------------------------------------------------- 1 | .idea/ 2 | target/ 3 | *.iml 4 | .DS_Store 5 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/.settings/org.eclipse.wst.jsdt.ui.superType.name: -------------------------------------------------------------------------------- 1 | Window -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/.gitignore: -------------------------------------------------------------------------------- 1 | **/html-template/ 2 | **/.actionScriptProperties 3 | **/.flexProperties -------------------------------------------------------------------------------- /docbkx/resources/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/docbkx/resources/images/logo.png -------------------------------------------------------------------------------- /docbkx/resources/images/admons/home.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/docbkx/resources/images/admons/home.gif -------------------------------------------------------------------------------- /docbkx/resources/images/admons/home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/docbkx/resources/images/admons/home.png -------------------------------------------------------------------------------- /docbkx/resources/images/admons/next.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/docbkx/resources/images/admons/next.gif -------------------------------------------------------------------------------- /docbkx/resources/images/admons/next.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/docbkx/resources/images/admons/next.png -------------------------------------------------------------------------------- /docbkx/resources/images/admons/note.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/docbkx/resources/images/admons/note.gif -------------------------------------------------------------------------------- /docbkx/resources/images/admons/note.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/docbkx/resources/images/admons/note.png -------------------------------------------------------------------------------- /docbkx/resources/images/admons/note.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/docbkx/resources/images/admons/note.tif -------------------------------------------------------------------------------- /docbkx/resources/images/admons/prev.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/docbkx/resources/images/admons/prev.gif -------------------------------------------------------------------------------- /docbkx/resources/images/admons/prev.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/docbkx/resources/images/admons/prev.png -------------------------------------------------------------------------------- /docbkx/resources/images/admons/tip.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/docbkx/resources/images/admons/tip.gif -------------------------------------------------------------------------------- /docbkx/resources/images/admons/tip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/docbkx/resources/images/admons/tip.png -------------------------------------------------------------------------------- /docbkx/resources/images/admons/tip.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/docbkx/resources/images/admons/tip.tif -------------------------------------------------------------------------------- /docbkx/resources/images/admons/up.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/docbkx/resources/images/admons/up.gif -------------------------------------------------------------------------------- /docbkx/resources/images/admons/up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/docbkx/resources/images/admons/up.png -------------------------------------------------------------------------------- /docbkx/resources/images/callouts/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/docbkx/resources/images/callouts/1.png -------------------------------------------------------------------------------- /docbkx/resources/images/callouts/10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/docbkx/resources/images/callouts/10.png -------------------------------------------------------------------------------- /docbkx/resources/images/callouts/11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/docbkx/resources/images/callouts/11.png -------------------------------------------------------------------------------- /docbkx/resources/images/callouts/12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/docbkx/resources/images/callouts/12.png -------------------------------------------------------------------------------- /docbkx/resources/images/callouts/13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/docbkx/resources/images/callouts/13.png -------------------------------------------------------------------------------- /docbkx/resources/images/callouts/14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/docbkx/resources/images/callouts/14.png -------------------------------------------------------------------------------- /docbkx/resources/images/callouts/15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/docbkx/resources/images/callouts/15.png -------------------------------------------------------------------------------- /docbkx/resources/images/callouts/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/docbkx/resources/images/callouts/2.png -------------------------------------------------------------------------------- /docbkx/resources/images/callouts/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/docbkx/resources/images/callouts/3.png -------------------------------------------------------------------------------- /docbkx/resources/images/callouts/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/docbkx/resources/images/callouts/4.png -------------------------------------------------------------------------------- /docbkx/resources/images/callouts/5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/docbkx/resources/images/callouts/5.png -------------------------------------------------------------------------------- /docbkx/resources/images/callouts/6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/docbkx/resources/images/callouts/6.png -------------------------------------------------------------------------------- /docbkx/resources/images/callouts/7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/docbkx/resources/images/callouts/7.png -------------------------------------------------------------------------------- /docbkx/resources/images/callouts/8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/docbkx/resources/images/callouts/8.png -------------------------------------------------------------------------------- /docbkx/resources/images/callouts/9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/docbkx/resources/images/callouts/9.png -------------------------------------------------------------------------------- /docbkx/resources/images/admons/blank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/docbkx/resources/images/admons/blank.png -------------------------------------------------------------------------------- /docbkx/resources/images/admons/draft.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/docbkx/resources/images/admons/draft.png -------------------------------------------------------------------------------- /docbkx/resources/images/admons/caution.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/docbkx/resources/images/admons/caution.gif -------------------------------------------------------------------------------- /docbkx/resources/images/admons/caution.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/docbkx/resources/images/admons/caution.png -------------------------------------------------------------------------------- /docbkx/resources/images/admons/caution.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/docbkx/resources/images/admons/caution.tif -------------------------------------------------------------------------------- /docbkx/resources/images/admons/important.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/docbkx/resources/images/admons/important.gif -------------------------------------------------------------------------------- /docbkx/resources/images/admons/important.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/docbkx/resources/images/admons/important.png -------------------------------------------------------------------------------- /docbkx/resources/images/admons/important.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/docbkx/resources/images/admons/important.tif -------------------------------------------------------------------------------- /docbkx/resources/images/admons/toc-blank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/docbkx/resources/images/admons/toc-blank.png -------------------------------------------------------------------------------- /docbkx/resources/images/admons/toc-minus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/docbkx/resources/images/admons/toc-minus.png -------------------------------------------------------------------------------- /docbkx/resources/images/admons/toc-plus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/docbkx/resources/images/admons/toc-plus.png -------------------------------------------------------------------------------- /docbkx/resources/images/admons/warning.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/docbkx/resources/images/admons/warning.gif -------------------------------------------------------------------------------- /docbkx/resources/images/admons/warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/docbkx/resources/images/admons/warning.png -------------------------------------------------------------------------------- /docbkx/resources/images/admons/warning.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/docbkx/resources/images/admons/warning.tif -------------------------------------------------------------------------------- /docbkx/resources/images/xdev-spring_logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/docbkx/resources/images/xdev-spring_logo.jpg -------------------------------------------------------------------------------- /spring-flex-integration/flex-rds-server.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/spring-flex-integration/flex-rds-server.jar -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/.settings/org.eclipse.wst.jsdt.ui.superType.container: -------------------------------------------------------------------------------- 1 | org.eclipse.wst.jsdt.launching.baseBrowserLibrary -------------------------------------------------------------------------------- /spring-flex-core/src/main/resources/META-INF/spring.handlers: -------------------------------------------------------------------------------- 1 | http\://www.springframework.org/schema/flex=org.springframework.flex.config.xml.FlexNamespaceHandler -------------------------------------------------------------------------------- /spring-flexunit-tests/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | #Fri May 07 16:18:45 PDT 2010 2 | eclipse.preferences.version=1 3 | encoding/=utf-8 4 | -------------------------------------------------------------------------------- /spring-flex-core/src/main/java/org/springframework/flex/config/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

4 | Configuration support. 5 |

6 | 7 | 8 | -------------------------------------------------------------------------------- /spring-flex-core/src/main/java/org/springframework/flex/config/xml/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

4 | XML namespace configuration support. 5 |

6 | 7 | 8 | -------------------------------------------------------------------------------- /spring-flex-core/src/main/java/org/springframework/flex/security3/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

4 | Integration support for Spring Security. 5 |

6 | 7 | 8 | -------------------------------------------------------------------------------- /spring-flex-integration/build.properties: -------------------------------------------------------------------------------- 1 | #Flex Properties 2 | flex.sdk.dir=${basedir}/../flex_sdk_3 3 | test.flex.dir=${basedir}/src/test/flex 4 | flex.output.dir=${basedir}/target/classes/MODULE-INF 5 | 6 | 7 | -------------------------------------------------------------------------------- /spring-flex-core/src/main/java/org/springframework/flex/core/io/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

4 | Enhanced AMF serialization/deserialization customization support. 5 |

6 | 7 | 8 | -------------------------------------------------------------------------------- /spring-flex-core/src/main/java/org/springframework/flex/messaging/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

4 | Support for creating Spring-managed BlazeDS message destinations. 5 |

6 | 7 | 8 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/favicon.ico -------------------------------------------------------------------------------- /spring-flex-core/src/main/java/org/springframework/flex/http/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

4 | Support for using AMF as the content type with Spring MVC's REST model. 5 |

6 | 7 | 8 | -------------------------------------------------------------------------------- /spring-flex-core/src/main/java/org/springframework/flex/config/json/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

4 | Support for handling configuration properties specified as a JSON structure. 5 |

6 | 7 | 8 | -------------------------------------------------------------------------------- /spring-flex-core/src/main/java/org/springframework/flex/messaging/jms/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

4 | Bridge layer for exposing JMS destinations as BlazeDS message destinations. 5 |

6 | 7 | 8 | -------------------------------------------------------------------------------- /spring-flex-core/src/main/java/org/springframework/flex/remoting/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

4 | Support for exposing Spring-managed services for remoting from a Flex client. 5 |

6 | 7 | 8 | -------------------------------------------------------------------------------- /spring-flex-integration/src/main/java/org/springframework/flex/integration/util/DbInitializer.java: -------------------------------------------------------------------------------- 1 | package org.springframework.flex.integration.util; 2 | 3 | 4 | public interface DbInitializer { 5 | 6 | void init(); 7 | 8 | } 9 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/.settings/org.eclipse.ltk.core.refactoring.prefs: -------------------------------------------------------------------------------- 1 | #Fri Feb 04 15:32:19 PST 2011 2 | eclipse.preferences.version=1 3 | org.eclipse.ltk.core.refactoring.enable.project.refactoring.history=false 4 | -------------------------------------------------------------------------------- /spring-flexunit-tests/.flexProperties: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /spring-flex-core/src/main/java/org/overview.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

4 | The public Java Documentation for Spring BlazeDS Integration, a framework for building Spring-powered RIAs with Adobe Flex. 5 |

6 | 7 | -------------------------------------------------------------------------------- /spring-flex-core/src/main/java/org/springframework/flex/core/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

4 | Foundational infrastructure for configuring and bootstrapping BlazeDS in a Spring WebApplicationContext. 5 |

6 | 7 | 8 | -------------------------------------------------------------------------------- /spring-flex-core/src/main/java/org/springframework/flex/servlet/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

4 | Support for routing HTTP-based messages to a Spring-managed MessageBroker through the Java Servlet API. 5 |

6 | 7 | 8 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/chat/playerProductInstall.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/chat/playerProductInstall.swf -------------------------------------------------------------------------------- /spring-flex-core/src/main/java/org/springframework/flex/messaging/integration/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

4 | Bridge layer for exposing Spring Integration message channels as BlazeDS message destinations. 5 |

6 | 7 | 8 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/insync01/playerProductInstall.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/insync01/playerProductInstall.swf -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/insync02/playerProductInstall.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/insync02/playerProductInstall.swf -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/insync03/playerProductInstall.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/insync03/playerProductInstall.swf -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/insync04/playerProductInstall.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/insync04/playerProductInstall.swf -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/insync05/playerProductInstall.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/insync05/playerProductInstall.swf -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/insync06/playerProductInstall.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/insync06/playerProductInstall.swf -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/jmschat/playerProductInstall.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/jmschat/playerProductInstall.swf -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/secured/playerProductInstall.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/secured/playerProductInstall.swf -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/companymgr/playerProductInstall.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/companymgr/playerProductInstall.swf -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/feedstarter/playerProductInstall.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/feedstarter/playerProductInstall.swf -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/insync-rest/playerProductInstall.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/insync-rest/playerProductInstall.swf -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/simplepush/playerProductInstall.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/simplepush/playerProductInstall.swf -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/collaboration/playerProductInstall.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/collaboration/playerProductInstall.swf -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/traderdesktop/playerProductInstall.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/traderdesktop/playerProductInstall.swf -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/spring-messaging/playerProductInstall.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/spring-messaging/playerProductInstall.swf -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/spring-blazeds-101/playerProductInstall.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-flex/HEAD/spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/spring-blazeds-101/playerProductInstall.swf -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/build.properties: -------------------------------------------------------------------------------- 1 | #Flex Properties 2 | flex.sdk.dir=${basedir}/../../../flex_sdk_3 3 | src.flex.dir=${basedir}/../ 4 | flex.output.dir=${basedir}/src/main/webapp 5 | 6 | #Overridden WAR properties 7 | war.staging.dir=${basedir}/target/testdrive -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/chat/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | chat 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/companymgr/src/main/flex/Industry.as: -------------------------------------------------------------------------------- 1 | package 2 | { 3 | [Bindable] 4 | [RemoteClass(alias="org.springframework.flex.samples.industry.Industry")] 5 | public class Industry 6 | { 7 | public var id:int; 8 | public var name:String; 9 | } 10 | } -------------------------------------------------------------------------------- /spring-flexunit-tests/.FlexUnitSettings/FlexUnitApplicationLastRun.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | #Fri Jun 24 16:54:55 PDT 2011 2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 3 | eclipse.preferences.version=1 4 | org.eclipse.jdt.core.compiler.source=1.5 5 | org.eclipse.jdt.core.compiler.compliance=1.5 6 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/insync02/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | insync02 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/insync03/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | insync03 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/insync04/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | insync04 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/insync05/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | insync05 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/insync06/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | insync06 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/jmschat/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | jmschat 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/secured/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | secured 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /spring-flexunit-tests/src/ClientAuthTestSuite1.as: -------------------------------------------------------------------------------- 1 | package { 2 | 3 | import net.digitalprimates.fluint.tests.TestSuite; 4 | 5 | public class ClientAuthTestSuite1 extends TestSuite { 6 | 7 | public function ClientAuthTestSuite1() { 8 | addTestCase(new LoginClientTest1()); 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /spring-flexunit-tests/src/ClientAuthTestSuite2.as: -------------------------------------------------------------------------------- 1 | package { 2 | 3 | import net.digitalprimates.fluint.tests.TestSuite; 4 | 5 | public class ClientAuthTestSuite2 extends TestSuite { 6 | 7 | public function ClientAuthTestSuite2() { 8 | addTestCase(new LoginClientTest2()); 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /spring-flex-core/src/test/resources/org/springframework/flex/core/channels.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /spring-flex-hibernate3/src/test/java/org/springframework/flex/hibernate3/domain/CompanyNP.java: -------------------------------------------------------------------------------- 1 | package org.springframework.flex.hibernate3.domain; 2 | 3 | 4 | 5 | public class CompanyNP { 6 | 7 | public Integer id; 8 | 9 | public Integer version; 10 | 11 | public String name; 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-flex-hibernate4/src/test/java/org/springframework/flex/hibernate4/domain/CompanyNP.java: -------------------------------------------------------------------------------- 1 | package org.springframework.flex.hibernate4.domain; 2 | 3 | 4 | 5 | public class CompanyNP { 6 | 7 | public Integer id; 8 | 9 | public Integer version; 10 | 11 | public String name; 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/companymgr/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | companymgr 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/feedstarter/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | feedstarter 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/insync-rest/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | insync01 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/insync01/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | insync-rest 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/simplepush/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | simplepush 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /spring-flex-hibernate3/src/test/java/org/springframework/flex/hibernate3/domain/PrimitiveCompanyNP.java: -------------------------------------------------------------------------------- 1 | package org.springframework.flex.hibernate3.domain; 2 | 3 | 4 | public class PrimitiveCompanyNP { 5 | 6 | public int id; 7 | 8 | public int version; 9 | 10 | public String name; 11 | 12 | } 13 | -------------------------------------------------------------------------------- /spring-flex-hibernate4/src/test/java/org/springframework/flex/hibernate4/domain/PrimitiveCompanyNP.java: -------------------------------------------------------------------------------- 1 | package org.springframework.flex.hibernate4.domain; 2 | 3 | 4 | public class PrimitiveCompanyNP { 5 | 6 | public int id; 7 | 8 | public int version; 9 | 10 | public String name; 11 | 12 | } 13 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/collaboration/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | collaboration 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/traderdesktop/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | traderdesktop 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/spring-messaging/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | spring-messaging 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /spring-flex-core/src/test/resources/org/springframework/flex/core/channels/channels1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /spring-flex-core/src/test/resources/org/springframework/flex/core/channels/channels2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/spring-blazeds-101/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | spring-blazeds-101 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /spring-flex-hibernate3/src/test/resources/org/springframework/flex/hibernate3/core/channels.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /spring-flex-hibernate4/src/test/resources/org/springframework/flex/hibernate4/core/channels.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /spring-flex-integration/src/main/webapp/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Index 6 | 7 | 8 |

Welcome!

9 | 10 | -------------------------------------------------------------------------------- /spring-flex-hibernate3/src/test/resources/org/springframework/flex/hibernate3/core/channels/channels1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /spring-flex-hibernate3/src/test/resources/org/springframework/flex/hibernate3/core/channels/channels2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /spring-flex-hibernate4/src/test/resources/org/springframework/flex/hibernate4/core/channels/channels1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /spring-flex-hibernate4/src/test/resources/org/springframework/flex/hibernate4/core/channels/channels2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /spring-flex-hibernate3/src/test/java/org/springframework/flex/hibernate3/domain/EmbeddedFloorNP.java: -------------------------------------------------------------------------------- 1 | package org.springframework.flex.hibernate3.domain; 2 | 3 | import javax.persistence.Embeddable; 4 | 5 | @Embeddable 6 | public class EmbeddedFloorNP { 7 | 8 | public Integer units; 9 | 10 | public EmbeddedFloorAttributesNP embeddedFloorAttributes; 11 | } 12 | -------------------------------------------------------------------------------- /spring-flex-hibernate4/src/test/java/org/springframework/flex/hibernate4/domain/EmbeddedFloorNP.java: -------------------------------------------------------------------------------- 1 | package org.springframework.flex.hibernate4.domain; 2 | 3 | import javax.persistence.Embeddable; 4 | 5 | @Embeddable 6 | public class EmbeddedFloorNP { 7 | 8 | public Integer units; 9 | 10 | public EmbeddedFloorAttributesNP embeddedFloorAttributes; 11 | } 12 | -------------------------------------------------------------------------------- /spring-flex-integration/src/main/java/org/springframework/flex/integration/service/PersonService.java: -------------------------------------------------------------------------------- 1 | package org.springframework.flex.integration.service; 2 | 3 | import org.springframework.flex.integration.domain.Person; 4 | 5 | public interface PersonService { 6 | 7 | Person loadPerson(Integer id); 8 | 9 | 10 | Person loadPersonAndChildren(Integer id); 11 | } 12 | -------------------------------------------------------------------------------- /spring-flexunit-tests/src/Person.as: -------------------------------------------------------------------------------- 1 | package 2 | { 3 | 4 | [RemoteClass(alias="org.springframework.flex.integration.domain.Person"] 5 | public class Person 6 | { 7 | public var id : int; 8 | public var spouse : Person; 9 | public var name : String; 10 | public var children : ArrayCollection; 11 | 12 | public function Person() 13 | { 14 | } 15 | } 16 | } -------------------------------------------------------------------------------- /spring-flex-core/src/test/resources/custom-remoting-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /spring-flex-hibernate3/src/test/resources/custom-remoting-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /spring-flex-hibernate4/src/test/resources/custom-remoting-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /spring-flex-core/src/main/resources/META-INF/spring.schemas: -------------------------------------------------------------------------------- 1 | http\://www.springframework.org/schema/flex/spring-flex-1.5.xsd=org/springframework/flex/config/xml/spring-flex-1.5.xsd 2 | http\://www.springframework.org/schema/flex/spring-flex-1.6.xsd=org/springframework/flex/config/xml/spring-flex-1.6.xsd 3 | http\://www.springframework.org/schema/flex/spring-flex.xsd=org/springframework/flex/config/xml/spring-flex-1.6.xsd -------------------------------------------------------------------------------- /spring-flexunit-tests/src/Main.mxml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /spring-flex-core/src/test/java/org/springframework/flex/core/io/domain/MaritalStatus.java: -------------------------------------------------------------------------------- 1 | package org.springframework.flex.core.io.domain; 2 | 3 | 4 | public enum MaritalStatus { 5 | 6 | SINGLE, MARRIED, DIVORCED; 7 | 8 | public String value() { 9 | return name(); 10 | } 11 | 12 | public static MaritalStatus fromValue(String v) { 13 | return valueOf(v); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /spring-flex-hibernate3/src/test/java/org/springframework/flex/hibernate3/domain/MaritalStatus.java: -------------------------------------------------------------------------------- 1 | package org.springframework.flex.hibernate3.domain; 2 | 3 | 4 | public enum MaritalStatus { 5 | 6 | SINGLE, MARRIED, DIVORCED; 7 | 8 | public String value() { 9 | return name(); 10 | } 11 | 12 | public static MaritalStatus fromValue(String v) { 13 | return valueOf(v); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /spring-flex-hibernate4/src/test/java/org/springframework/flex/hibernate4/domain/MaritalStatus.java: -------------------------------------------------------------------------------- 1 | package org.springframework.flex.hibernate4.domain; 2 | 3 | 4 | public enum MaritalStatus { 5 | 6 | SINGLE, MARRIED, DIVORCED; 7 | 8 | public String value() { 9 | return name(); 10 | } 11 | 12 | public static MaritalStatus fromValue(String v) { 13 | return valueOf(v); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /spring-flexunit-tests/src/IntegrationTestSuite.as: -------------------------------------------------------------------------------- 1 | package { 2 | 3 | import net.digitalprimates.fluint.tests.TestSuite; 4 | 5 | public class IntegrationTestSuite extends TestSuite { 6 | 7 | public function IntegrationTestSuite() { 8 | addTestCase(new RemoteServiceTests()); 9 | //addTestCase(new SecureDestinationTests()); 10 | //addTestCase(new SecureRemoteObjectTests()); 11 | //addTestCase(new MessageServiceTests()); 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /spring-flex-core/src/test/java/org/springframework/flex/core/io/domain/AddressNP.java: -------------------------------------------------------------------------------- 1 | 2 | package org.springframework.flex.core.io.domain; 3 | 4 | import java.util.Date; 5 | 6 | public class AddressNP { 7 | 8 | public Integer id; 9 | 10 | public String street; 11 | 12 | public String city; 13 | 14 | public String state; 15 | 16 | public String zipcode; 17 | 18 | public Integer rooms; 19 | 20 | public Date moveInDate; 21 | } 22 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/collaboration/src/main/flex/Customer.as: -------------------------------------------------------------------------------- 1 | package 2 | { 3 | [Bindable] 4 | public class Customer 5 | { 6 | public var firstName:String; 7 | public var lastName:String; 8 | public var usCitizen:Boolean; 9 | public var address:String; 10 | public var city:String; 11 | public var state:String; 12 | public var zip:String; 13 | public var officePhone:String; 14 | public var cellPhone:String; 15 | } 16 | } -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/chat/history/history.css: -------------------------------------------------------------------------------- 1 | /* This CSS stylesheet defines styles used by required elements in a flex application page that supports browser history */ 2 | 3 | #ie_historyFrame { width: 0px; height: 0px; display:none } 4 | #firefox_anchorDiv { width: 0px; height: 0px; display:none } 5 | #safari_formDiv { width: 0px; height: 0px; display:none } 6 | #safari_rememberDiv { width: 0px; height: 0px; display:none } 7 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/insync-rest/history/history.css: -------------------------------------------------------------------------------- 1 | /* This CSS stylesheet defines styles used by required elements in a flex application page that supports browser history */ 2 | 3 | #ie_historyFrame { width: 0px; height: 0px; display:none } 4 | #firefox_anchorDiv { width: 0px; height: 0px; display:none } 5 | #safari_formDiv { width: 0px; height: 0px; display:none } 6 | #safari_rememberDiv { width: 0px; height: 0px; display:none } 7 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/companymgr/history/history.css: -------------------------------------------------------------------------------- 1 | /* This CSS stylesheet defines styles used by required elements in a flex application page that supports browser history */ 2 | 3 | #ie_historyFrame { width: 0px; height: 0px; display:none } 4 | #firefox_anchorDiv { width: 0px; height: 0px; display:none } 5 | #safari_formDiv { width: 0px; height: 0px; display:none } 6 | #safari_rememberDiv { width: 0px; height: 0px; display:none } 7 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/insync01/history/history.css: -------------------------------------------------------------------------------- 1 | /* This CSS stylesheet defines styles used by required elements in a flex application page that supports browser history */ 2 | 3 | #ie_historyFrame { width: 0px; height: 0px; display:none } 4 | #firefox_anchorDiv { width: 0px; height: 0px; display:none } 5 | #safari_formDiv { width: 0px; height: 0px; display:none } 6 | #safari_rememberDiv { width: 0px; height: 0px; display:none } 7 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/insync02/history/history.css: -------------------------------------------------------------------------------- 1 | /* This CSS stylesheet defines styles used by required elements in a flex application page that supports browser history */ 2 | 3 | #ie_historyFrame { width: 0px; height: 0px; display:none } 4 | #firefox_anchorDiv { width: 0px; height: 0px; display:none } 5 | #safari_formDiv { width: 0px; height: 0px; display:none } 6 | #safari_rememberDiv { width: 0px; height: 0px; display:none } 7 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/insync03/history/history.css: -------------------------------------------------------------------------------- 1 | /* This CSS stylesheet defines styles used by required elements in a flex application page that supports browser history */ 2 | 3 | #ie_historyFrame { width: 0px; height: 0px; display:none } 4 | #firefox_anchorDiv { width: 0px; height: 0px; display:none } 5 | #safari_formDiv { width: 0px; height: 0px; display:none } 6 | #safari_rememberDiv { width: 0px; height: 0px; display:none } 7 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/insync04/history/history.css: -------------------------------------------------------------------------------- 1 | /* This CSS stylesheet defines styles used by required elements in a flex application page that supports browser history */ 2 | 3 | #ie_historyFrame { width: 0px; height: 0px; display:none } 4 | #firefox_anchorDiv { width: 0px; height: 0px; display:none } 5 | #safari_formDiv { width: 0px; height: 0px; display:none } 6 | #safari_rememberDiv { width: 0px; height: 0px; display:none } 7 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/insync05/history/history.css: -------------------------------------------------------------------------------- 1 | /* This CSS stylesheet defines styles used by required elements in a flex application page that supports browser history */ 2 | 3 | #ie_historyFrame { width: 0px; height: 0px; display:none } 4 | #firefox_anchorDiv { width: 0px; height: 0px; display:none } 5 | #safari_formDiv { width: 0px; height: 0px; display:none } 6 | #safari_rememberDiv { width: 0px; height: 0px; display:none } 7 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/insync06/history/history.css: -------------------------------------------------------------------------------- 1 | /* This CSS stylesheet defines styles used by required elements in a flex application page that supports browser history */ 2 | 3 | #ie_historyFrame { width: 0px; height: 0px; display:none } 4 | #firefox_anchorDiv { width: 0px; height: 0px; display:none } 5 | #safari_formDiv { width: 0px; height: 0px; display:none } 6 | #safari_rememberDiv { width: 0px; height: 0px; display:none } 7 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/jmschat/history/history.css: -------------------------------------------------------------------------------- 1 | /* This CSS stylesheet defines styles used by required elements in a flex application page that supports browser history */ 2 | 3 | #ie_historyFrame { width: 0px; height: 0px; display:none } 4 | #firefox_anchorDiv { width: 0px; height: 0px; display:none } 5 | #safari_formDiv { width: 0px; height: 0px; display:none } 6 | #safari_rememberDiv { width: 0px; height: 0px; display:none } 7 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/secured/history/history.css: -------------------------------------------------------------------------------- 1 | /* This CSS stylesheet defines styles used by required elements in a flex application page that supports browser history */ 2 | 3 | #ie_historyFrame { width: 0px; height: 0px; display:none } 4 | #firefox_anchorDiv { width: 0px; height: 0px; display:none } 5 | #safari_formDiv { width: 0px; height: 0px; display:none } 6 | #safari_rememberDiv { width: 0px; height: 0px; display:none } 7 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/simplepush/history/history.css: -------------------------------------------------------------------------------- 1 | /* This CSS stylesheet defines styles used by required elements in a flex application page that supports browser history */ 2 | 3 | #ie_historyFrame { width: 0px; height: 0px; display:none } 4 | #firefox_anchorDiv { width: 0px; height: 0px; display:none } 5 | #safari_formDiv { width: 0px; height: 0px; display:none } 6 | #safari_rememberDiv { width: 0px; height: 0px; display:none } 7 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/.springBeans: -------------------------------------------------------------------------------- 1 | 2 | 3 | 1 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/collaboration/history/history.css: -------------------------------------------------------------------------------- 1 | /* This CSS stylesheet defines styles used by required elements in a flex application page that supports browser history */ 2 | 3 | #ie_historyFrame { width: 0px; height: 0px; display:none } 4 | #firefox_anchorDiv { width: 0px; height: 0px; display:none } 5 | #safari_formDiv { width: 0px; height: 0px; display:none } 6 | #safari_rememberDiv { width: 0px; height: 0px; display:none } 7 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/feedstarter/history/history.css: -------------------------------------------------------------------------------- 1 | /* This CSS stylesheet defines styles used by required elements in a flex application page that supports browser history */ 2 | 3 | #ie_historyFrame { width: 0px; height: 0px; display:none } 4 | #firefox_anchorDiv { width: 0px; height: 0px; display:none } 5 | #safari_formDiv { width: 0px; height: 0px; display:none } 6 | #safari_rememberDiv { width: 0px; height: 0px; display:none } 7 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/traderdesktop/history/history.css: -------------------------------------------------------------------------------- 1 | /* This CSS stylesheet defines styles used by required elements in a flex application page that supports browser history */ 2 | 3 | #ie_historyFrame { width: 0px; height: 0px; display:none } 4 | #firefox_anchorDiv { width: 0px; height: 0px; display:none } 5 | #safari_formDiv { width: 0px; height: 0px; display:none } 6 | #safari_rememberDiv { width: 0px; height: 0px; display:none } 7 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/java/org/springframework/flex/samples/secured/Security3Helper.java: -------------------------------------------------------------------------------- 1 | package org.springframework.flex.samples.secured; 2 | 3 | import java.util.Map; 4 | 5 | import org.springframework.flex.security3.AuthenticationResultUtils; 6 | 7 | 8 | public class Security3Helper { 9 | 10 | public Map getAuthentication() { 11 | return AuthenticationResultUtils.getAuthenticationResult(); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/spring-blazeds-101/history/history.css: -------------------------------------------------------------------------------- 1 | /* This CSS stylesheet defines styles used by required elements in a flex application page that supports browser history */ 2 | 3 | #ie_historyFrame { width: 0px; height: 0px; display:none } 4 | #firefox_anchorDiv { width: 0px; height: 0px; display:none } 5 | #safari_formDiv { width: 0px; height: 0px; display:none } 6 | #safari_rememberDiv { width: 0px; height: 0px; display:none } 7 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/spring-messaging/history/history.css: -------------------------------------------------------------------------------- 1 | /* This CSS stylesheet defines styles used by required elements in a flex application page that supports browser history */ 2 | 3 | #ie_historyFrame { width: 0px; height: 0px; display:none } 4 | #firefox_anchorDiv { width: 0px; height: 0px; display:none } 5 | #safari_formDiv { width: 0px; height: 0px; display:none } 6 | #safari_rememberDiv { width: 0px; height: 0px; display:none } 7 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/companymgr/src/main/flex/Company.as: -------------------------------------------------------------------------------- 1 | package 2 | { 3 | [Bindable] 4 | [RemoteClass(alias="org.springframework.flex.samples.company.Company")] 5 | public class Company 6 | { 7 | public var id:int; 8 | public var name:String; 9 | public var address:String; 10 | public var city:String; 11 | public var state:String; 12 | public var zip:String; 13 | public var phone:String; 14 | public var industry:Industry; 15 | } 16 | } -------------------------------------------------------------------------------- /spring-flex-core/src/test/resources/org/springframework/flex/config/annotated-remote-bean-context.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /spring-flex-core/src/test/resources/org/springframework/flex/core/remoting-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-flex-core/src/test/resources/org/springframework/flex/remoting/inferred-default-channels-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /spring-flex-hibernate3/src/test/resources/org/springframework/flex/hibernate3/core/remoting-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-flex-hibernate4/src/test/resources/org/springframework/flex/hibernate4/core/remoting-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-flex-integration/src/main/webapp/WEB-INF/flex/messaging-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/insync-rest/src/main/flex/Contact.as: -------------------------------------------------------------------------------- 1 | package 2 | { 3 | [Bindable] 4 | [RemoteClass(alias="org.springframework.flex.samples.contact.Contact")] 5 | public class Contact 6 | { 7 | public var id:int; 8 | public var firstName:String; 9 | public var lastName:String; 10 | public var email:String; 11 | public var phone:String; 12 | public var address:String; 13 | public var city:String; 14 | public var state:String; 15 | public var zip:String; 16 | } 17 | } -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/insync03/src/main/flex/Contact.as: -------------------------------------------------------------------------------- 1 | package 2 | { 3 | [Bindable] 4 | [RemoteClass(alias="org.springframework.flex.samples.contact.Contact")] 5 | public class Contact 6 | { 7 | public var id:int; 8 | public var firstName:String; 9 | public var lastName:String; 10 | public var email:String; 11 | public var phone:String; 12 | public var address:String; 13 | public var city:String; 14 | public var state:String; 15 | public var zip:String; 16 | } 17 | } -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/insync04/src/main/flex/Contact.as: -------------------------------------------------------------------------------- 1 | package 2 | { 3 | [Bindable] 4 | [RemoteClass(alias="org.springframework.flex.samples.contact.Contact")] 5 | public class Contact 6 | { 7 | public var id:int; 8 | public var firstName:String; 9 | public var lastName:String; 10 | public var email:String; 11 | public var phone:String; 12 | public var address:String; 13 | public var city:String; 14 | public var state:String; 15 | public var zip:String; 16 | } 17 | } -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/insync05/src/main/flex/Contact.as: -------------------------------------------------------------------------------- 1 | package 2 | { 3 | [Bindable] 4 | [RemoteClass(alias="org.springframework.flex.samples.contact.Contact")] 5 | public class Contact 6 | { 7 | public var id:int; 8 | public var firstName:String; 9 | public var lastName:String; 10 | public var email:String; 11 | public var phone:String; 12 | public var address:String; 13 | public var city:String; 14 | public var state:String; 15 | public var zip:String; 16 | } 17 | } -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/insync06/src/main/flex/Contact.as: -------------------------------------------------------------------------------- 1 | package 2 | { 3 | [Bindable] 4 | [RemoteClass(alias="org.springframework.flex.samples.contact.Contact")] 5 | public class Contact 6 | { 7 | public var id:int; 8 | public var firstName:String; 9 | public var lastName:String; 10 | public var email:String; 11 | public var phone:String; 12 | public var address:String; 13 | public var city:String; 14 | public var state:String; 15 | public var zip:String; 16 | } 17 | } -------------------------------------------------------------------------------- /spring-flex-hibernate3/src/test/java/org/springframework/flex/hibernate3/domain/EmbeddedAddressNP.java: -------------------------------------------------------------------------------- 1 | 2 | package org.springframework.flex.hibernate3.domain; 3 | 4 | import java.util.Date; 5 | 6 | import javax.persistence.Embeddable; 7 | 8 | @Embeddable 9 | public class EmbeddedAddressNP { 10 | 11 | public String street; 12 | 13 | public String city; 14 | 15 | public String state; 16 | 17 | public String zipcode; 18 | 19 | public Integer rooms; 20 | 21 | public Date moveInDate; 22 | 23 | } 24 | -------------------------------------------------------------------------------- /spring-flex-hibernate4/src/test/java/org/springframework/flex/hibernate4/domain/EmbeddedAddressNP.java: -------------------------------------------------------------------------------- 1 | 2 | package org.springframework.flex.hibernate4.domain; 3 | 4 | import java.util.Date; 5 | 6 | import javax.persistence.Embeddable; 7 | 8 | @Embeddable 9 | public class EmbeddedAddressNP { 10 | 11 | public String street; 12 | 13 | public String city; 14 | 15 | public String state; 16 | 17 | public String zipcode; 18 | 19 | public Integer rooms; 20 | 21 | public Date moveInDate; 22 | 23 | } 24 | -------------------------------------------------------------------------------- /spring-flex-core/src/test/resources/org/springframework/flex/messaging/MessageDestinationProps.json: -------------------------------------------------------------------------------- 1 | { 2 | "network" : { 3 | "subscription-timeout-minutes" : 1, 4 | "throttle-inbound" : {"max-frequency" : 500, "policy" : "ERROR"}, 5 | "throttle-outbound" : {"max-frequency" : 500, "policy" : "IGNORE"} 6 | }, 7 | "server" : { 8 | "allow-subtopics" : true, 9 | "cluster-message-routing" : "broadcast", 10 | "disallow-wildcard-subtopics": false, 11 | "message-time-to-live" : 1, 12 | "subtopic-separator" : "/" 13 | } 14 | } -------------------------------------------------------------------------------- /spring-flex-core/src/test/resources/org/springframework/flex/core/messaging-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /spring-flex-hibernate3/src/test/resources/org/springframework/flex/hibernate3/core/messaging-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /spring-flex-hibernate4/src/test/resources/org/springframework/flex/hibernate4/core/messaging-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /spring-flex-hibernate3/src/test/resources/org/springframework/flex/hibernate3/remoting/inferred-default-channels-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /spring-flex-hibernate4/src/test/resources/org/springframework/flex/hibernate4/remoting/inferred-default-channels-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /assembly/docs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | . 6 | 7 | readme.txt 8 | license.txt 9 | notice.txt 10 | changelog.txt 11 | 12 | 13 | dos 14 | 15 | 16 | -------------------------------------------------------------------------------- /spring-flex-hibernate3/src/test/java/org/springframework/flex/hibernate3/domain/EmbeddedFloorAttributes.java: -------------------------------------------------------------------------------- 1 | package org.springframework.flex.hibernate3.domain; 2 | 3 | import javax.persistence.Embeddable; 4 | 5 | @Embeddable 6 | public class EmbeddedFloorAttributes { 7 | 8 | private Integer emergencyExits; 9 | 10 | public void setEmergencyExits(Integer emergencyExits) { 11 | this.emergencyExits = emergencyExits; 12 | } 13 | 14 | public Integer getEmergencyExits() { 15 | return emergencyExits; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /spring-flex-hibernate3/src/test/resources/org/springframework/flex/hibernate3/config/annotated-remote-bean-context.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /spring-flex-hibernate4/src/test/java/org/springframework/flex/hibernate4/domain/EmbeddedFloorAttributes.java: -------------------------------------------------------------------------------- 1 | package org.springframework.flex.hibernate4.domain; 2 | 3 | import javax.persistence.Embeddable; 4 | 5 | @Embeddable 6 | public class EmbeddedFloorAttributes { 7 | 8 | private Integer emergencyExits; 9 | 10 | public void setEmergencyExits(Integer emergencyExits) { 11 | this.emergencyExits = emergencyExits; 12 | } 13 | 14 | public Integer getEmergencyExits() { 15 | return emergencyExits; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /spring-flex-hibernate4/src/test/resources/org/springframework/flex/hibernate4/config/annotated-remote-bean-context.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/.gitignore: -------------------------------------------------------------------------------- 1 | chat/chat.swf 2 | collaboration/collaboration.swf 3 | companymgr/companymgr.swf 4 | feedstarter/feedstarter.swf 5 | insync-rest/rest.swf 6 | insync01/insync01.swf 7 | insync02/insync02.swf 8 | insync03/insync03.swf 9 | insync04/insync04.swf 10 | insync05/insync05.swf 11 | insync06/insync06.swf 12 | jmschat/jmschat.swf 13 | secured/secured.swf 14 | simplepush/simplepush.swf 15 | spring-blazeds-101/main.swf 16 | spring-messaging/messaging.swf 17 | traderdesktop/traderdesktop.swf 18 | -------------------------------------------------------------------------------- /spring-flexunit-tests/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | spring-flexunit-tests 4 | 5 | 6 | 7 | 8 | 9 | com.adobe.flexbuilder.project.flexbuilder 10 | 11 | 12 | 13 | 14 | 15 | com.adobe.flexbuilder.project.flexnature 16 | com.adobe.flexbuilder.project.actionscriptnature 17 | 18 | 19 | -------------------------------------------------------------------------------- /spring-flex-core/src/test/java/org/springframework/flex/core/io/domain/PersonNP.java: -------------------------------------------------------------------------------- 1 | 2 | package org.springframework.flex.core.io.domain; 3 | 4 | import java.util.Set; 5 | import javax.xml.bind.annotation.XmlRootElement; 6 | 7 | @XmlRootElement 8 | public class PersonNP { 9 | 10 | public Integer id; 11 | 12 | public Integer version; 13 | 14 | public String name; 15 | 16 | public PersonNP spouse; 17 | 18 | public AddressNP address; 19 | 20 | public Set previousAddresses; 21 | 22 | public Set children; 23 | 24 | } 25 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/traderdesktop/src/main/flex/org/springframework/flex/samples/marketfeed/Stock.as: -------------------------------------------------------------------------------- 1 | package org.springframework.flex.samples.marketfeed 2 | { 3 | [RemoteClass(alias="org.springframework.flex.samples.marketfeed.Stock")] 4 | [Bindable] 5 | public class Stock 6 | { 7 | public var symbol:String; 8 | public var name:String; 9 | public var low:Number; 10 | public var high:Number; 11 | public var open:Number; 12 | public var last:Number; 13 | public var change:Number = 0; 14 | public var date:Date; 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /docbkx/resources/css/highlight.css: -------------------------------------------------------------------------------- 1 | /* 2 | code highlight CSS resemblign the Eclipse IDE default color schema 3 | @author Costin Leau 4 | */ 5 | 6 | .hl-keyword { 7 | color: #7F0055; 8 | font-weight: bold; 9 | } 10 | 11 | .hl-comment { 12 | color: #3F5F5F; 13 | font-style: italic; 14 | } 15 | 16 | .hl-multiline-comment { 17 | color: #3F5FBF; 18 | font-style: italic; 19 | } 20 | 21 | .hl-tag { 22 | color: #3F7F7F; 23 | } 24 | 25 | .hl-attribute { 26 | color: #7F007F; 27 | } 28 | 29 | .hl-value { 30 | color: #2A00FF; 31 | } 32 | 33 | .hl-string { 34 | color: #2A00FF; 35 | } -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/.settings/.jsdtscope: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-flex-hibernate3/src/test/resources/org/springframework/flex/hibernate3/messaging/MessageDestinationProps.json: -------------------------------------------------------------------------------- 1 | { 2 | "network" : { 3 | "subscription-timeout-minutes" : 1, 4 | "throttle-inbound" : {"max-frequency" : 500, "policy" : "ERROR"}, 5 | "throttle-outbound" : {"max-frequency" : 500, "policy" : "IGNORE"} 6 | }, 7 | "server" : { 8 | "allow-subtopics" : true, 9 | "cluster-message-routing" : "broadcast", 10 | "disallow-wildcard-subtopics": false, 11 | "message-time-to-live" : 1, 12 | "subtopic-separator" : "/" 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /spring-flex-hibernate4/src/test/resources/org/springframework/flex/hibernate4/messaging/MessageDestinationProps.json: -------------------------------------------------------------------------------- 1 | { 2 | "network" : { 3 | "subscription-timeout-minutes" : 1, 4 | "throttle-inbound" : {"max-frequency" : 500, "policy" : "ERROR"}, 5 | "throttle-outbound" : {"max-frequency" : 500, "policy" : "IGNORE"} 6 | }, 7 | "server" : { 8 | "allow-subtopics" : true, 9 | "cluster-message-routing" : "broadcast", 10 | "disallow-wildcard-subtopics": false, 11 | "message-time-to-live" : 1, 12 | "subtopic-separator" : "/" 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /spring-flex-hibernate3/src/test/resources/custom-services-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /spring-flex-hibernate4/src/test/resources/custom-services-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /spring-flex-core/src/test/resources/custom-services-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /spring-flex-core/src/test/resources/org/springframework/flex/config/invalid-remote-service.xml: -------------------------------------------------------------------------------- 1 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /spring-flex-core/src/test/resources/org/springframework/flex/config/default-message-broker.xml: -------------------------------------------------------------------------------- 1 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /spring-flex-core/src/test/resources/org/springframework/flex/config/messaging-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/insync06/src/main/flex/ContactEvent.as: -------------------------------------------------------------------------------- 1 | package 2 | { 3 | import flash.events.Event; 4 | 5 | public class ContactEvent extends Event 6 | { 7 | public static const CREATED:String = "contactCreated"; 8 | public static const UPDATED:String = "contactUpdated"; 9 | public static const DELETED:String = "contactDeleted"; 10 | 11 | public var contact:Contact; 12 | 13 | public function ContactEvent(type:String, contact:Contact, bubbles:Boolean = true, cancelable:Boolean = false) 14 | { 15 | this.contact = contact; 16 | super(type, bubbles, cancelable); 17 | } 18 | } 19 | } -------------------------------------------------------------------------------- /spring-flex-hibernate3/src/test/resources/org/springframework/flex/hibernate3/config/messaging-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /spring-flex-hibernate4/src/test/resources/org/springframework/flex/hibernate4/config/messaging-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/companymgr/src/main/flex/CompanyEvent.as: -------------------------------------------------------------------------------- 1 | package 2 | { 3 | import flash.events.Event; 4 | 5 | public class CompanyEvent extends Event 6 | { 7 | public static const CREATED:String = "companyCreated"; 8 | public static const UPDATED:String = "companyUpdated"; 9 | public static const DELETED:String = "companyDeleted"; 10 | 11 | public var company:Company; 12 | 13 | public function CompanyEvent(type:String, company:Company, bubbles:Boolean = true, cancelable:Boolean = false) 14 | { 15 | this.company = company; 16 | super(type, bubbles, cancelable); 17 | } 18 | } 19 | } -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/insync-rest/src/main/flex/ContactEvent.as: -------------------------------------------------------------------------------- 1 | package 2 | { 3 | import flash.events.Event; 4 | 5 | public class ContactEvent extends Event 6 | { 7 | public static const CREATED:String = "contactCreated"; 8 | public static const UPDATED:String = "contactUpdated"; 9 | public static const DELETED:String = "contactDeleted"; 10 | 11 | public var contact:Contact; 12 | 13 | public function ContactEvent(type:String, contact:Contact, bubbles:Boolean = true, cancelable:Boolean = false) 14 | { 15 | this.contact = contact; 16 | super(type, bubbles, cancelable); 17 | } 18 | } 19 | } -------------------------------------------------------------------------------- /spring-flex-core/src/test/java/org/springframework/flex/config/NoDefaultConstructorFactoryBean.java: -------------------------------------------------------------------------------- 1 | package org.springframework.flex.config; 2 | 3 | import org.springframework.beans.factory.FactoryBean; 4 | 5 | 6 | public class NoDefaultConstructorFactoryBean implements FactoryBean { 7 | 8 | public NoDefaultConstructorFactoryBean(String foo) { 9 | 10 | } 11 | 12 | public Object getObject() throws Exception { 13 | return null; 14 | } 15 | 16 | public Class getObjectType() { 17 | return null; 18 | } 19 | 20 | public boolean isSingleton() { 21 | return false; 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /spring-flex-hibernate3/src/test/resources/org/springframework/flex/hibernate3/config/invalid-remote-service.xml: -------------------------------------------------------------------------------- 1 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /spring-flex-hibernate4/src/test/resources/org/springframework/flex/hibernate4/config/invalid-remote-service.xml: -------------------------------------------------------------------------------- 1 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /spring-flex-hibernate3/src/test/resources/org/springframework/flex/hibernate3/config/default-message-broker.xml: -------------------------------------------------------------------------------- 1 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-flex-hibernate4/src/test/resources/org/springframework/flex/hibernate4/config/default-message-broker.xml: -------------------------------------------------------------------------------- 1 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/traderdesktop/src/main/flex/ColorRenderer.as: -------------------------------------------------------------------------------- 1 | package { 2 | 3 | import mx.controls.Label; 4 | import mx.controls.dataGridClasses.*; 5 | 6 | public class ColorRenderer extends Label { 7 | 8 | override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void 9 | { 10 | super.updateDisplayList(unscaledWidth, unscaledHeight); 11 | if (data && listData && data[DataGridListData(listData).dataField] < 0) 12 | { 13 | setStyle("color", 0xFF0000); 14 | } 15 | else 16 | { 17 | setStyle("color", 0x009900); 18 | } 19 | } 20 | } 21 | 22 | } -------------------------------------------------------------------------------- /spring-flex-core/src/test/resources/org/springframework/flex/config/invalid-remote-service-decorator.xml: -------------------------------------------------------------------------------- 1 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-flex-hibernate3/src/test/java/org/springframework/flex/hibernate3/domain/EmbeddedFloorAttributesNP.java: -------------------------------------------------------------------------------- 1 | package org.springframework.flex.hibernate3.domain; 2 | 3 | import javax.persistence.Embeddable; 4 | 5 | @Embeddable 6 | public class EmbeddedFloorAttributesNP { 7 | 8 | //Hibernate complains if this one doesn't have getters and setters - thinking that's a Hibernate bug 9 | 10 | public Integer emergencyExits; 11 | 12 | 13 | public Integer getEmergencyExits() { 14 | return emergencyExits; 15 | } 16 | 17 | 18 | public void setEmergencyExits(Integer emergencyExits) { 19 | this.emergencyExits = emergencyExits; 20 | } 21 | 22 | 23 | 24 | } 25 | -------------------------------------------------------------------------------- /spring-flex-hibernate4/src/test/java/org/springframework/flex/hibernate4/domain/EmbeddedFloorAttributesNP.java: -------------------------------------------------------------------------------- 1 | package org.springframework.flex.hibernate4.domain; 2 | 3 | import javax.persistence.Embeddable; 4 | 5 | @Embeddable 6 | public class EmbeddedFloorAttributesNP { 7 | 8 | //Hibernate complains if this one doesn't have getters and setters - thinking that's a Hibernate bug 9 | 10 | public Integer emergencyExits; 11 | 12 | 13 | public Integer getEmergencyExits() { 14 | return emergencyExits; 15 | } 16 | 17 | 18 | public void setEmergencyExits(Integer emergencyExits) { 19 | this.emergencyExits = emergencyExits; 20 | } 21 | 22 | 23 | 24 | } 25 | -------------------------------------------------------------------------------- /spring-flex-core/src/test/resources/org/springframework/flex/messaging/inferred-default-channels-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | true 9 | 4 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /spring-flex-hibernate3/src/test/java/org/springframework/flex/hibernate3/domain/ContactInfoNP.java: -------------------------------------------------------------------------------- 1 | package org.springframework.flex.hibernate3.domain; 2 | 3 | import javax.persistence.Column; 4 | import javax.persistence.Entity; 5 | import javax.persistence.GeneratedValue; 6 | import javax.persistence.GenerationType; 7 | import javax.persistence.Id; 8 | import javax.persistence.Version; 9 | 10 | @Entity 11 | public class ContactInfoNP { 12 | 13 | @Id 14 | @GeneratedValue(strategy = GenerationType.AUTO) 15 | public int id; 16 | 17 | @Version 18 | @Column(name = "version") 19 | public int version; 20 | 21 | public String phone; 22 | 23 | public String email; 24 | 25 | } 26 | -------------------------------------------------------------------------------- /spring-flex-hibernate3/src/test/resources/org/springframework/flex/hibernate3/config/jpa-message-broker.xml: -------------------------------------------------------------------------------- 1 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /spring-flex-hibernate4/src/test/java/org/springframework/flex/hibernate4/domain/ContactInfoNP.java: -------------------------------------------------------------------------------- 1 | package org.springframework.flex.hibernate4.domain; 2 | 3 | import javax.persistence.Column; 4 | import javax.persistence.Entity; 5 | import javax.persistence.GeneratedValue; 6 | import javax.persistence.GenerationType; 7 | import javax.persistence.Id; 8 | import javax.persistence.Version; 9 | 10 | @Entity 11 | public class ContactInfoNP { 12 | 13 | @Id 14 | @GeneratedValue(strategy = GenerationType.AUTO) 15 | public int id; 16 | 17 | @Version 18 | @Column(name = "version") 19 | public int version; 20 | 21 | public String phone; 22 | 23 | public String email; 24 | 25 | } 26 | -------------------------------------------------------------------------------- /spring-flex-hibernate4/src/test/resources/org/springframework/flex/hibernate4/config/jpa-message-broker.xml: -------------------------------------------------------------------------------- 1 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /spring-flex-hibernate3/src/test/java/org/springframework/flex/hibernate3/domain/AddressNP.java: -------------------------------------------------------------------------------- 1 | 2 | package org.springframework.flex.hibernate3.domain; 3 | 4 | import java.util.Date; 5 | 6 | import javax.persistence.Entity; 7 | import javax.persistence.GeneratedValue; 8 | import javax.persistence.GenerationType; 9 | import javax.persistence.Id; 10 | 11 | @Entity 12 | public class AddressNP { 13 | 14 | @Id 15 | @GeneratedValue(strategy = GenerationType.AUTO) 16 | public Integer id; 17 | 18 | public String street; 19 | 20 | public String city; 21 | 22 | public String state; 23 | 24 | public String zipcode; 25 | 26 | public Integer rooms; 27 | 28 | public Date moveInDate; 29 | } 30 | -------------------------------------------------------------------------------- /spring-flex-hibernate3/src/test/resources/org/springframework/flex/hibernate3/config/hibernate-message-broker.xml: -------------------------------------------------------------------------------- 1 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /spring-flex-hibernate4/src/test/java/org/springframework/flex/hibernate4/domain/AddressNP.java: -------------------------------------------------------------------------------- 1 | 2 | package org.springframework.flex.hibernate4.domain; 3 | 4 | import java.util.Date; 5 | 6 | import javax.persistence.Entity; 7 | import javax.persistence.GeneratedValue; 8 | import javax.persistence.GenerationType; 9 | import javax.persistence.Id; 10 | 11 | @Entity 12 | public class AddressNP { 13 | 14 | @Id 15 | @GeneratedValue(strategy = GenerationType.AUTO) 16 | public Integer id; 17 | 18 | public String street; 19 | 20 | public String city; 21 | 22 | public String state; 23 | 24 | public String zipcode; 25 | 26 | public Integer rooms; 27 | 28 | public Date moveInDate; 29 | } 30 | -------------------------------------------------------------------------------- /spring-flex-hibernate4/src/test/resources/org/springframework/flex/hibernate4/config/hibernate-message-broker.xml: -------------------------------------------------------------------------------- 1 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /spring-flex-hibernate3/src/test/resources/org/springframework/flex/hibernate3/config/invalid-remote-service-decorator.xml: -------------------------------------------------------------------------------- 1 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /spring-flex-hibernate4/src/test/java/org/springframework/flex/hibernate4/domain/BuildingNP.java: -------------------------------------------------------------------------------- 1 | package org.springframework.flex.hibernate4.domain; 2 | 3 | import java.util.Set; 4 | 5 | import javax.persistence.ElementCollection; 6 | import javax.persistence.Embedded; 7 | import javax.persistence.Entity; 8 | import javax.persistence.GeneratedValue; 9 | import javax.persistence.GenerationType; 10 | import javax.persistence.Id; 11 | 12 | @Entity 13 | public class BuildingNP { 14 | 15 | @Id 16 | @GeneratedValue(strategy = GenerationType.AUTO) 17 | public Integer id; 18 | 19 | @Embedded 20 | public EmbeddedAddressNP address; 21 | 22 | @ElementCollection 23 | public Set floors; 24 | } 25 | -------------------------------------------------------------------------------- /spring-flex-hibernate4/src/test/resources/org/springframework/flex/hibernate4/config/invalid-remote-service-decorator.xml: -------------------------------------------------------------------------------- 1 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/jmschat.launch: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /spring-flex-hibernate3/src/test/resources/org/springframework/flex/hibernate3/messaging/inferred-default-channels-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | true 9 | 4 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /spring-flex-hibernate4/src/test/resources/org/springframework/flex/hibernate4/messaging/inferred-default-channels-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | true 9 | 4 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /spring-flex-hibernate3/src/test/java/org/springframework/flex/hibernate3/domain/BuildingNP.java: -------------------------------------------------------------------------------- 1 | package org.springframework.flex.hibernate3.domain; 2 | 3 | import java.util.Set; 4 | 5 | import javax.persistence.Embedded; 6 | import javax.persistence.Entity; 7 | import javax.persistence.GeneratedValue; 8 | import javax.persistence.GenerationType; 9 | import javax.persistence.Id; 10 | 11 | @Entity 12 | public class BuildingNP { 13 | 14 | @Id 15 | @GeneratedValue(strategy = GenerationType.AUTO) 16 | public Integer id; 17 | 18 | @Embedded 19 | public EmbeddedAddressNP address; 20 | 21 | @SuppressWarnings("deprecation") 22 | @org.hibernate.annotations.CollectionOfElements 23 | public Set floors; 24 | } 25 | -------------------------------------------------------------------------------- /spring-flex-core/src/test/resources/org/springframework/flex/config/invalid-message-broker.xml: -------------------------------------------------------------------------------- 1 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/resources/log4j.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /spring-flex-hibernate3/src/test/resources/org/springframework/flex/hibernate3/config/invalid-message-broker.xml: -------------------------------------------------------------------------------- 1 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-flex-hibernate4/src/test/resources/org/springframework/flex/hibernate4/config/invalid-message-broker.xml: -------------------------------------------------------------------------------- 1 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-flex-hibernate4/src/test/resources/org/springframework/flex/hibernate4/jpa-multi-entity-manager-context.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/insync01/src/main/flex/insync01.mxml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/java/org/springframework/flex/samples/util/LoggingExceptionTranslator.java: -------------------------------------------------------------------------------- 1 | package org.springframework.flex.samples.util; 2 | 3 | import org.apache.commons.logging.Log; 4 | import org.apache.commons.logging.LogFactory; 5 | import org.springframework.flex.core.ExceptionTranslator; 6 | 7 | import flex.messaging.MessageException; 8 | 9 | 10 | public class LoggingExceptionTranslator implements ExceptionTranslator { 11 | 12 | private static final Log log = LogFactory.getLog(LoggingExceptionTranslator.class); 13 | 14 | public boolean handles(Class clazz) { 15 | return true; 16 | } 17 | 18 | public MessageException translate(Throwable t) { 19 | log.error("Uncaught Exception thrown: ", t); 20 | return null; 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /spring-flex-core/src/test/resources/org/springframework/flex/config/secured-message-broker.xml: -------------------------------------------------------------------------------- 1 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/.project: -------------------------------------------------------------------------------- 1 | 2 | testdrive 3 | 4 | 5 | 6 | 7 | org.eclipse.jdt.core.javabuilder 8 | 9 | 10 | org.eclipse.wst.common.project.facet.core.builder 11 | 12 | 13 | org.eclipse.wst.validation.validationbuilder 14 | 15 | 16 | 17 | org.eclipse.wst.common.project.facet.core.nature 18 | org.eclipse.jdt.core.javanature 19 | org.eclipse.wst.common.modulecore.ModuleCoreNature 20 | org.eclipse.jem.workbench.JavaEMFNature 21 | 22 | -------------------------------------------------------------------------------- /spring-flex-hibernate3/src/test/java/org/springframework/flex/hibernate3/domain/PrimitiveCompany.java: -------------------------------------------------------------------------------- 1 | package org.springframework.flex.hibernate3.domain; 2 | 3 | 4 | public class PrimitiveCompany { 5 | 6 | private int id; 7 | 8 | private int version; 9 | 10 | private String name; 11 | 12 | 13 | public int getId() { 14 | return id; 15 | } 16 | 17 | 18 | public void setId(int id) { 19 | this.id = id; 20 | } 21 | 22 | 23 | public int getVersion() { 24 | return version; 25 | } 26 | 27 | 28 | public void setVersion(int version) { 29 | this.version = version; 30 | } 31 | 32 | 33 | public String getName() { 34 | return name; 35 | } 36 | 37 | 38 | public void setName(String name) { 39 | this.name = name; 40 | } 41 | 42 | } 43 | -------------------------------------------------------------------------------- /spring-flex-hibernate4/src/test/java/org/springframework/flex/hibernate4/domain/PrimitiveCompany.java: -------------------------------------------------------------------------------- 1 | package org.springframework.flex.hibernate4.domain; 2 | 3 | 4 | public class PrimitiveCompany { 5 | 6 | private int id; 7 | 8 | private int version; 9 | 10 | private String name; 11 | 12 | 13 | public int getId() { 14 | return id; 15 | } 16 | 17 | 18 | public void setId(int id) { 19 | this.id = id; 20 | } 21 | 22 | 23 | public int getVersion() { 24 | return version; 25 | } 26 | 27 | 28 | public void setVersion(int version) { 29 | this.version = version; 30 | } 31 | 32 | 33 | public String getName() { 34 | return name; 35 | } 36 | 37 | 38 | public void setName(String name) { 39 | this.name = name; 40 | } 41 | 42 | } 43 | -------------------------------------------------------------------------------- /spring-flex-hibernate3/src/test/java/org/springframework/flex/hibernate3/domain/EmbeddedFloor.java: -------------------------------------------------------------------------------- 1 | package org.springframework.flex.hibernate3.domain; 2 | 3 | import javax.persistence.Embeddable; 4 | 5 | @Embeddable 6 | public class EmbeddedFloor { 7 | 8 | private Integer units; 9 | 10 | private EmbeddedFloorAttributes embeddedFloorAttributes; 11 | 12 | public Integer getUnits() { 13 | return units; 14 | } 15 | 16 | public void setUnits(Integer units) { 17 | this.units = units; 18 | } 19 | 20 | public void setEmbeddedFloorAttributes(EmbeddedFloorAttributes embeddedFloorAttributes) { 21 | this.embeddedFloorAttributes = embeddedFloorAttributes; 22 | } 23 | 24 | public EmbeddedFloorAttributes getEmbeddedFloorAttributes() { 25 | return embeddedFloorAttributes; 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /spring-flex-hibernate4/src/test/java/org/springframework/flex/hibernate4/domain/EmbeddedFloor.java: -------------------------------------------------------------------------------- 1 | package org.springframework.flex.hibernate4.domain; 2 | 3 | import javax.persistence.Embeddable; 4 | 5 | @Embeddable 6 | public class EmbeddedFloor { 7 | 8 | private Integer units; 9 | 10 | private EmbeddedFloorAttributes embeddedFloorAttributes; 11 | 12 | public Integer getUnits() { 13 | return units; 14 | } 15 | 16 | public void setUnits(Integer units) { 17 | this.units = units; 18 | } 19 | 20 | public void setEmbeddedFloorAttributes(EmbeddedFloorAttributes embeddedFloorAttributes) { 21 | this.embeddedFloorAttributes = embeddedFloorAttributes; 22 | } 23 | 24 | public EmbeddedFloorAttributes getEmbeddedFloorAttributes() { 25 | return embeddedFloorAttributes; 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /spring-flex-hibernate3/src/test/resources/org/springframework/flex/hibernate3/config/secured-message-broker.xml: -------------------------------------------------------------------------------- 1 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /spring-flex-hibernate4/src/test/resources/org/springframework/flex/hibernate4/config/secured-message-broker.xml: -------------------------------------------------------------------------------- 1 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /spring-flex-hibernate3/src/test/java/org/springframework/flex/hibernate3/domain/Company.java: -------------------------------------------------------------------------------- 1 | package org.springframework.flex.hibernate3.domain; 2 | 3 | 4 | 5 | public class Company { 6 | 7 | private Integer id; 8 | 9 | private Integer version; 10 | 11 | private String name; 12 | 13 | 14 | public Integer getId() { 15 | return id; 16 | } 17 | 18 | 19 | public void setId(Integer id) { 20 | this.id = id; 21 | } 22 | 23 | 24 | public Integer getVersion() { 25 | return version; 26 | } 27 | 28 | 29 | public void setVersion(Integer version) { 30 | this.version = version; 31 | } 32 | 33 | 34 | public String getName() { 35 | return name; 36 | } 37 | 38 | 39 | public void setName(String name) { 40 | this.name = name; 41 | } 42 | 43 | 44 | } 45 | -------------------------------------------------------------------------------- /spring-flex-hibernate4/src/test/java/org/springframework/flex/hibernate4/domain/Company.java: -------------------------------------------------------------------------------- 1 | package org.springframework.flex.hibernate4.domain; 2 | 3 | 4 | 5 | public class Company { 6 | 7 | private Integer id; 8 | 9 | private Integer version; 10 | 11 | private String name; 12 | 13 | 14 | public Integer getId() { 15 | return id; 16 | } 17 | 18 | 19 | public void setId(Integer id) { 20 | this.id = id; 21 | } 22 | 23 | 24 | public Integer getVersion() { 25 | return version; 26 | } 27 | 28 | 29 | public void setVersion(Integer version) { 30 | this.version = version; 31 | } 32 | 33 | 34 | public String getName() { 35 | return name; 36 | } 37 | 38 | 39 | public void setName(String name) { 40 | this.name = name; 41 | } 42 | 43 | 44 | } 45 | -------------------------------------------------------------------------------- /spring-flex-core/src/test/java/org/springframework/flex/config/AnnotatedAutowiredScopedProxyRemoteBean.java: -------------------------------------------------------------------------------- 1 | package org.springframework.flex.config; 2 | 3 | import org.springframework.beans.factory.annotation.Autowired; 4 | import org.springframework.context.annotation.Scope; 5 | import org.springframework.flex.config.RemotingAnnotationPostProcessorTests.MyDependency; 6 | import org.springframework.flex.remoting.RemotingDestination; 7 | import org.springframework.stereotype.Service; 8 | import org.springframework.util.Assert; 9 | 10 | @RemotingDestination 11 | @Service 12 | @Scope(value="request") 13 | public class AnnotatedAutowiredScopedProxyRemoteBean { 14 | 15 | public AnnotatedAutowiredScopedProxyRemoteBean() {} 16 | 17 | @Autowired 18 | public AnnotatedAutowiredScopedProxyRemoteBean(MyDependency dependency) { 19 | Assert.notNull(dependency); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /spring-flex-core/src/test/resources/org/springframework/flex/messaging/default-channels-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /spring-flex-core/src/test/resources/org/springframework/flex/remoting/default-channels-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /spring-flex-integration/src/main/java/org/springframework/flex/integration/service/MessageSender.java: -------------------------------------------------------------------------------- 1 | package org.springframework.flex.integration.service; 2 | 3 | import org.springframework.flex.messaging.AsyncMessageCreator; 4 | import org.springframework.flex.messaging.MessageTemplate; 5 | 6 | import flex.messaging.messages.AsyncMessage; 7 | 8 | public class MessageSender { 9 | 10 | private MessageTemplate template; 11 | 12 | public void doSend() { 13 | final Stock stock = new Stock(); 14 | template.send(new AsyncMessageCreator() { 15 | 16 | public AsyncMessage createMessage() { 17 | AsyncMessage msg = template.createMessageForDestination("market-data-feed"); 18 | msg.setHeader("DSSubtopic", stock.getSymbol()); 19 | msg.setBody(stock); 20 | return msg; 21 | } 22 | 23 | }); 24 | } 25 | 26 | private class Stock { 27 | 28 | public String getSymbol() { return "JAVA";} 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /spring-flex-hibernate3/src/test/resources/org/springframework/flex/hibernate3/persistence.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | org.hibernate.ejb.HibernatePersistence 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /spring-flex-hibernate4/src/test/resources/org/springframework/flex/hibernate4/persistence.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | org.hibernate.ejb.HibernatePersistence 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /spring-flex-hibernate3/src/test/resources/org/springframework/flex/hibernate3/messaging/default-channels-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /spring-flex-hibernate3/src/test/resources/org/springframework/flex/hibernate3/remoting/default-channels-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /spring-flex-hibernate4/src/test/resources/org/springframework/flex/hibernate4/messaging/default-channels-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /spring-flex-hibernate4/src/test/resources/org/springframework/flex/hibernate4/remoting/default-channels-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /spring-flex-integration/src/main/java/org/springframework/flex/integration/service/Ping.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2002-2009 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 | 17 | package org.springframework.flex.integration.service; 18 | 19 | public interface Ping { 20 | 21 | public void fireEvent(); 22 | 23 | public String foo(); 24 | 25 | public String ping(); 26 | 27 | } 28 | -------------------------------------------------------------------------------- /spring-flex-integration/src/main/webapp/WEB-INF/flex/proxy-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 100 8 | 2 9 | 10 | true 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /spring-flexunit-tests/src/FlexUnitCompilerApplication.mxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 9 | 10 | 11 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /spring-flex-hibernate3/src/test/resources/org/springframework/flex/hibernate3/core/proxy-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 100 8 | 2 9 | 10 | true 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /spring-flex-hibernate4/src/test/resources/org/springframework/flex/hibernate4/core/proxy-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 100 8 | 2 9 | 10 | true 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /spring-flex-core/src/test/resources/org/springframework/flex/core/proxy-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 100 8 | 2 9 | 10 | true 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /spring-flex-hibernate3/src/test/java/org/springframework/flex/hibernate3/domain/BankAccount.java: -------------------------------------------------------------------------------- 1 | package org.springframework.flex.hibernate3.domain; 2 | 3 | import javax.persistence.DiscriminatorValue; 4 | import javax.persistence.Entity; 5 | 6 | @Entity 7 | @DiscriminatorValue("BA") 8 | public class BankAccount extends BillingDetails{ 9 | 10 | private String account; 11 | 12 | private String bankName; 13 | 14 | private String swift; 15 | 16 | public void setAccount(String account) { 17 | this.account = account; 18 | } 19 | 20 | public String getAccount() { 21 | return account; 22 | } 23 | 24 | public void setBankName(String bankName) { 25 | this.bankName = bankName; 26 | } 27 | 28 | public String getBankName() { 29 | return bankName; 30 | } 31 | 32 | public void setSwift(String swift) { 33 | this.swift = swift; 34 | } 35 | 36 | public String getSwift() { 37 | return swift; 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /spring-flex-hibernate4/src/test/java/org/springframework/flex/hibernate4/domain/BankAccount.java: -------------------------------------------------------------------------------- 1 | package org.springframework.flex.hibernate4.domain; 2 | 3 | import javax.persistence.DiscriminatorValue; 4 | import javax.persistence.Entity; 5 | 6 | @Entity 7 | @DiscriminatorValue("BA") 8 | public class BankAccount extends BillingDetails{ 9 | 10 | private String account; 11 | 12 | private String bankName; 13 | 14 | private String swift; 15 | 16 | public void setAccount(String account) { 17 | this.account = account; 18 | } 19 | 20 | public String getAccount() { 21 | return account; 22 | } 23 | 24 | public void setBankName(String bankName) { 25 | this.bankName = bankName; 26 | } 27 | 28 | public String getBankName() { 29 | return bankName; 30 | } 31 | 32 | public void setSwift(String swift) { 33 | this.swift = swift; 34 | } 35 | 36 | public String getSwift() { 37 | return swift; 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /spring-flex-hibernate3/src/test/java/org/springframework/flex/hibernate3/domain/CreditCard.java: -------------------------------------------------------------------------------- 1 | package org.springframework.flex.hibernate3.domain; 2 | 3 | import javax.persistence.DiscriminatorValue; 4 | import javax.persistence.Entity; 5 | 6 | @Entity 7 | @DiscriminatorValue("CC") 8 | public class CreditCard extends BillingDetails{ 9 | 10 | private String number; 11 | 12 | private String expMonth; 13 | 14 | private String expYear; 15 | 16 | public void setNumber(String number) { 17 | this.number = number; 18 | } 19 | 20 | public String getNumber() { 21 | return number; 22 | } 23 | 24 | public void setExpMonth(String expMonth) { 25 | this.expMonth = expMonth; 26 | } 27 | 28 | public String getExpMonth() { 29 | return expMonth; 30 | } 31 | 32 | public void setExpYear(String expYear) { 33 | this.expYear = expYear; 34 | } 35 | 36 | public String getExpYear() { 37 | return expYear; 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /spring-flex-hibernate4/src/test/java/org/springframework/flex/hibernate4/domain/CreditCard.java: -------------------------------------------------------------------------------- 1 | package org.springframework.flex.hibernate4.domain; 2 | 3 | import javax.persistence.DiscriminatorValue; 4 | import javax.persistence.Entity; 5 | 6 | @Entity 7 | @DiscriminatorValue("CC") 8 | public class CreditCard extends BillingDetails{ 9 | 10 | private String number; 11 | 12 | private String expMonth; 13 | 14 | private String expYear; 15 | 16 | public void setNumber(String number) { 17 | this.number = number; 18 | } 19 | 20 | public String getNumber() { 21 | return number; 22 | } 23 | 24 | public void setExpMonth(String expMonth) { 25 | this.expMonth = expMonth; 26 | } 27 | 28 | public String getExpMonth() { 29 | return expMonth; 30 | } 31 | 32 | public void setExpYear(String expYear) { 33 | this.expYear = expYear; 34 | } 35 | 36 | public String getExpYear() { 37 | return expYear; 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/insync-rest/history/historyFrame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 27 | Hidden frame for Browser History support. 28 | 29 | 30 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/traderdesktop/src/main/flex/BackgroundColorRenderer.as: -------------------------------------------------------------------------------- 1 | package { 2 | 3 | import mx.controls.Label; 4 | import flash.display.Graphics; 5 | 6 | public class BackgroundColorRenderer extends Label { 7 | 8 | public static var symbol:String; 9 | 10 | override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void 11 | { 12 | super.updateDisplayList(unscaledWidth, unscaledHeight); 13 | 14 | var g:Graphics = graphics; 15 | 16 | g.clear(); 17 | 18 | if (data && data.date && data.symbol == symbol) 19 | { 20 | if( data.change && data.change >= 0 ) 21 | { 22 | g.beginFill(0x009900, 0.5); 23 | g.drawRect(0, 0, unscaledWidth, unscaledHeight); 24 | g.endFill(); 25 | } 26 | else 27 | { 28 | g.beginFill(0xFF0000, 0.5); 29 | g.drawRect(0, 0, unscaledWidth, unscaledHeight); 30 | g.endFill(); 31 | } 32 | } 33 | 34 | } 35 | } 36 | 37 | } -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/spring-blazeds-101/src/main/flex/main.mxml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/chat/history/historyFrame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 27 | Hidden frame for Browser History support. 28 | 29 | 30 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/companymgr/history/historyFrame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 27 | Hidden frame for Browser History support. 28 | 29 | 30 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/feedstarter/history/historyFrame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 27 | Hidden frame for Browser History support. 28 | 29 | 30 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/insync01/history/historyFrame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 27 | Hidden frame for Browser History support. 28 | 29 | 30 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/insync02/history/historyFrame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 27 | Hidden frame for Browser History support. 28 | 29 | 30 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/insync03/history/historyFrame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 27 | Hidden frame for Browser History support. 28 | 29 | 30 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/insync04/history/historyFrame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 27 | Hidden frame for Browser History support. 28 | 29 | 30 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/insync05/history/historyFrame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 27 | Hidden frame for Browser History support. 28 | 29 | 30 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/insync06/history/historyFrame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 27 | Hidden frame for Browser History support. 28 | 29 | 30 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/jmschat/history/historyFrame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 27 | Hidden frame for Browser History support. 28 | 29 | 30 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/secured/history/historyFrame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 27 | Hidden frame for Browser History support. 28 | 29 | 30 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/simplepush/history/historyFrame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 27 | Hidden frame for Browser History support. 28 | 29 | 30 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/collaboration/history/historyFrame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 27 | Hidden frame for Browser History support. 28 | 29 | 30 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/spring-messaging/history/historyFrame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 27 | Hidden frame for Browser History support. 28 | 29 | 30 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/traderdesktop/history/historyFrame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 27 | Hidden frame for Browser History support. 28 | 29 | 30 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/spring-blazeds-101/history/historyFrame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 27 | Hidden frame for Browser History support. 28 | 29 | 30 | -------------------------------------------------------------------------------- /spring-flex-core/src/test/resources/log4j.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /spring-flex-core/src/main/java/org/springframework/flex/core/EndpointAdvisor.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2002-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 | 17 | package org.springframework.flex.core; 18 | 19 | import org.springframework.aop.Advisor; 20 | 21 | /** 22 | * Marker interface for Spring AOP Advisors that apply advice to BlazeDS Endpoints. 23 | * 24 | * @author Jeremy Grelle 25 | */ 26 | public interface EndpointAdvisor extends Advisor { 27 | 28 | } 29 | -------------------------------------------------------------------------------- /spring-flex-hibernate4/src/test/resources/org/springframework/flex/hibernate4/hibernate-multi-session-factory-context.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | org.hibernate.dialect.H2Dialect 15 | create 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /spring-flex-integration/src/main/resources/log4j.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/webapp/WEB-INF/spring/integration-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/java/org/springframework/flex/samples/company/ICompanyDAO.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2002-2009 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 | 17 | package org.springframework.flex.samples.company; 18 | 19 | import org.springframework.flex.samples.dao.IGenericDAO; 20 | 21 | /** 22 | * 23 | * @author Christophe Coenraets 24 | * @author Jeremy Grelle 25 | */ 26 | public interface ICompanyDAO extends IGenericDAO { 27 | 28 | } 29 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/java/org/springframework/flex/samples/contact/IContactDAO.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2002-2009 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 | 17 | package org.springframework.flex.samples.contact; 18 | 19 | import org.springframework.flex.samples.dao.IGenericDAO; 20 | 21 | /** 22 | * 23 | * @author Christophe Coenraets 24 | * @author Jeremy Grelle 25 | */ 26 | public interface IContactDAO extends IGenericDAO { 27 | 28 | } 29 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/java/org/springframework/flex/samples/product/IProductDAO.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2002-2009 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 | 17 | package org.springframework.flex.samples.product; 18 | 19 | import org.springframework.flex.samples.dao.IGenericDAO; 20 | 21 | /** 22 | * 23 | * @author Christophe Coenraets 24 | * @author Jeremy Grelle 25 | */ 26 | public interface IProductDAO extends IGenericDAO { 27 | 28 | } 29 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/java/org/springframework/flex/samples/industry/IIndustryDAO.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2002-2009 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 | 17 | package org.springframework.flex.samples.industry; 18 | 19 | import org.springframework.flex.samples.dao.IGenericDAO; 20 | 21 | /** 22 | * 23 | * @author Christophe Coenraets 24 | * @author Jeremy Grelle 25 | */ 26 | public interface IIndustryDAO extends IGenericDAO { 27 | 28 | } 29 | -------------------------------------------------------------------------------- /spring-flex-hibernate3/src/test/java/org/springframework/flex/hibernate3/domain/BillingDetails.java: -------------------------------------------------------------------------------- 1 | package org.springframework.flex.hibernate3.domain; 2 | 3 | import javax.persistence.DiscriminatorColumn; 4 | import javax.persistence.DiscriminatorType; 5 | import javax.persistence.Entity; 6 | import javax.persistence.GeneratedValue; 7 | import javax.persistence.Id; 8 | import javax.persistence.Inheritance; 9 | import javax.persistence.InheritanceType; 10 | 11 | @Entity 12 | @Inheritance(strategy=InheritanceType.SINGLE_TABLE) 13 | @DiscriminatorColumn(name="BILLING_DETAILS_TYPE", discriminatorType=DiscriminatorType.STRING) 14 | public abstract class BillingDetails { 15 | 16 | @Id 17 | @GeneratedValue 18 | private Long id = null; 19 | 20 | private String owner; 21 | 22 | public void setId(Long id) { 23 | this.id = id; 24 | } 25 | 26 | public Long getId() { 27 | return id; 28 | } 29 | 30 | public void setOwner(String owner) { 31 | this.owner = owner; 32 | } 33 | 34 | public String getOwner() { 35 | return owner; 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /spring-flex-hibernate4/src/test/java/org/springframework/flex/hibernate4/domain/BillingDetails.java: -------------------------------------------------------------------------------- 1 | package org.springframework.flex.hibernate4.domain; 2 | 3 | import javax.persistence.DiscriminatorColumn; 4 | import javax.persistence.DiscriminatorType; 5 | import javax.persistence.Entity; 6 | import javax.persistence.GeneratedValue; 7 | import javax.persistence.Id; 8 | import javax.persistence.Inheritance; 9 | import javax.persistence.InheritanceType; 10 | 11 | @Entity 12 | @Inheritance(strategy=InheritanceType.SINGLE_TABLE) 13 | @DiscriminatorColumn(name="BILLING_DETAILS_TYPE", discriminatorType=DiscriminatorType.STRING) 14 | public abstract class BillingDetails { 15 | 16 | @Id 17 | @GeneratedValue 18 | private Long id = null; 19 | 20 | private String owner; 21 | 22 | public void setId(Long id) { 23 | this.id = id; 24 | } 25 | 26 | public Long getId() { 27 | return id; 28 | } 29 | 30 | public void setOwner(String owner) { 31 | this.owner = owner; 32 | } 33 | 34 | public String getOwner() { 35 | return owner; 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /spring-flexunit-tests/src/FlexUnitApplication.mxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 8 | 9 | 10 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /notice.txt: -------------------------------------------------------------------------------- 1 | ====================================================================== 2 | == NOTICE file corresponding to section 4 d of the Apache License, == 3 | == Version 2.0, for the Spring JavaScript distribution. == 4 | ====================================================================== 5 | 6 | This product includes software developed by 7 | the Apache Software Foundation (http://www.apache.org). 8 | 9 | The end-user documentation included with a redistribution, if any, 10 | must include the following acknowledgement: 11 | 12 | "This product includes software developed by the Spring Framework 13 | Project (http://www.springframework.org)." 14 | 15 | Alternately, this acknowledgement may appear in the software itself, 16 | if and wherever such third-party acknowledgements normally appear. 17 | 18 | The names "Spring", "Spring Framework", and "Spring BlazeDS Integration" must 19 | not be used to endorse or promote products derived from this 20 | software without prior written permission. For written permission, 21 | please contact jgrelle@vmware.com. 22 | 23 | -------------------------------------------------------------------------------- /spring-flex-hibernate3/src/test/java/org/springframework/flex/hibernate3/domain/PersonNP.java: -------------------------------------------------------------------------------- 1 | 2 | package org.springframework.flex.hibernate3.domain; 3 | 4 | import java.util.Set; 5 | 6 | import javax.persistence.Column; 7 | import javax.persistence.Entity; 8 | import javax.persistence.FetchType; 9 | import javax.persistence.GeneratedValue; 10 | import javax.persistence.GenerationType; 11 | import javax.persistence.Id; 12 | import javax.persistence.ManyToMany; 13 | import javax.persistence.OneToMany; 14 | import javax.persistence.OneToOne; 15 | import javax.persistence.Version; 16 | 17 | @Entity 18 | public class PersonNP { 19 | 20 | @Id 21 | @GeneratedValue(strategy = GenerationType.AUTO) 22 | public Integer id; 23 | 24 | @Version 25 | @Column(name = "version") 26 | public Integer version; 27 | 28 | public String name; 29 | 30 | @OneToOne(fetch = FetchType.LAZY) 31 | public PersonNP spouse; 32 | 33 | @OneToOne 34 | public AddressNP address; 35 | 36 | @OneToMany 37 | public Set previousAddresses; 38 | 39 | @ManyToMany 40 | public Set children; 41 | 42 | } 43 | -------------------------------------------------------------------------------- /spring-flex-hibernate3/src/test/resources/org/springframework/flex/hibernate3/mappings.hbm.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /spring-flex-hibernate4/src/test/java/org/springframework/flex/hibernate4/domain/PersonNP.java: -------------------------------------------------------------------------------- 1 | 2 | package org.springframework.flex.hibernate4.domain; 3 | 4 | import java.util.Set; 5 | 6 | import javax.persistence.Column; 7 | import javax.persistence.Entity; 8 | import javax.persistence.FetchType; 9 | import javax.persistence.GeneratedValue; 10 | import javax.persistence.GenerationType; 11 | import javax.persistence.Id; 12 | import javax.persistence.ManyToMany; 13 | import javax.persistence.OneToMany; 14 | import javax.persistence.OneToOne; 15 | import javax.persistence.Version; 16 | 17 | @Entity 18 | public class PersonNP { 19 | 20 | @Id 21 | @GeneratedValue(strategy = GenerationType.AUTO) 22 | public Integer id; 23 | 24 | @Version 25 | @Column(name = "version") 26 | public Integer version; 27 | 28 | public String name; 29 | 30 | @OneToOne(fetch = FetchType.LAZY) 31 | public PersonNP spouse; 32 | 33 | @OneToOne 34 | public AddressNP address; 35 | 36 | @OneToMany 37 | public Set previousAddresses; 38 | 39 | @ManyToMany 40 | public Set children; 41 | 42 | } 43 | -------------------------------------------------------------------------------- /spring-flex-hibernate4/src/test/resources/org/springframework/flex/hibernate4/mappings.hbm.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /spring-flex-hibernate3/src/test/resources/log4j.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /spring-flex-hibernate3/src/test/resources/org/springframework/flex/hibernate3/jpa-multi-entity-manager-context.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /spring-flex-hibernate4/src/test/resources/log4j.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /spring-flex-integration/src/main/webapp/WEB-INF/spring/security-context.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /spring-flex-core/src/test/java/org/springframework/flex/config/AbstractFlexConfigurationTests.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2002-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 | 17 | package org.springframework.flex.config; 18 | 19 | import org.springframework.test.context.ContextConfiguration; 20 | 21 | @ContextConfiguration(locations="classpath:org/springframework/flex/config/default-message-broker.xml", loader=MessageBrokerContextLoader.class) 22 | public abstract class AbstractFlexConfigurationTests extends AbstractRuntimeEnvironmentAwareTests { 23 | 24 | } 25 | -------------------------------------------------------------------------------- /spring-flex-core/src/test/java/org/springframework/flex/core/io/domain/IgnorablePropsObject.java: -------------------------------------------------------------------------------- 1 | package org.springframework.flex.core.io.domain; 2 | 3 | import org.springframework.flex.core.io.AmfIgnore; 4 | import org.springframework.flex.core.io.AmfIgnoreField; 5 | 6 | 7 | public class IgnorablePropsObject { 8 | 9 | @AmfIgnoreField 10 | private String fooField = "unset"; 11 | 12 | @AmfIgnoreField(onDeserialization = false) 13 | private String barField = "unset"; 14 | 15 | @AmfIgnoreField(onSerialization = false) 16 | private String bazField = "unset"; 17 | 18 | @AmfIgnore 19 | public String getFoo() { 20 | return fooField; 21 | } 22 | 23 | @AmfIgnore 24 | public void setFoo(String foo) { 25 | this.fooField = foo; 26 | } 27 | 28 | @AmfIgnore 29 | public String getBar() { 30 | return barField; 31 | } 32 | 33 | public void setBar(String bar) { 34 | this.barField = bar; 35 | } 36 | 37 | public String getBaz() { 38 | return bazField; 39 | } 40 | 41 | @AmfIgnore 42 | public void setBaz(String baz) { 43 | this.bazField = baz; 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/.settings/com.springsource.sts.config.flow.prefs: -------------------------------------------------------------------------------- 1 | #Wed Feb 09 14:59:00 PST 2011 2 | //com.springsource.sts.config.flow.coordinates\:http\://www.springframework.org/schema/integration\:/testdrive/src/main/webapp/WEB-INF/spring/integration-config.xml=\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n 3 | eclipse.preferences.version=1 4 | -------------------------------------------------------------------------------- /spring-flex-hibernate3/src/test/java/org/springframework/flex/hibernate3/domain/IgnorablePropsObject.java: -------------------------------------------------------------------------------- 1 | package org.springframework.flex.hibernate3.domain; 2 | 3 | import org.springframework.flex.core.io.AmfIgnore; 4 | import org.springframework.flex.core.io.AmfIgnoreField; 5 | 6 | 7 | public class IgnorablePropsObject { 8 | 9 | @AmfIgnoreField 10 | private String fooField = "unset"; 11 | 12 | @AmfIgnoreField(onDeserialization=false) 13 | private String barField = "unset"; 14 | 15 | @AmfIgnoreField(onSerialization=false) 16 | private String bazField = "unset"; 17 | 18 | @AmfIgnore 19 | public String getFoo() { 20 | return fooField; 21 | } 22 | 23 | @AmfIgnore 24 | public void setFoo(String foo) { 25 | this.fooField = foo; 26 | } 27 | 28 | @AmfIgnore 29 | public String getBar() { 30 | return barField; 31 | } 32 | 33 | public void setBar(String bar) { 34 | this.barField = bar; 35 | } 36 | 37 | public String getBaz() { 38 | return bazField; 39 | } 40 | 41 | @AmfIgnore 42 | public void setBaz(String baz) { 43 | this.bazField = baz; 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /spring-flex-hibernate4/src/test/java/org/springframework/flex/hibernate4/domain/IgnorablePropsObject.java: -------------------------------------------------------------------------------- 1 | package org.springframework.flex.hibernate4.domain; 2 | 3 | import org.springframework.flex.core.io.AmfIgnore; 4 | import org.springframework.flex.core.io.AmfIgnoreField; 5 | 6 | 7 | public class IgnorablePropsObject { 8 | 9 | @AmfIgnoreField 10 | private String fooField = "unset"; 11 | 12 | @AmfIgnoreField(onDeserialization=false) 13 | private String barField = "unset"; 14 | 15 | @AmfIgnoreField(onSerialization=false) 16 | private String bazField = "unset"; 17 | 18 | @AmfIgnore 19 | public String getFoo() { 20 | return fooField; 21 | } 22 | 23 | @AmfIgnore 24 | public void setFoo(String foo) { 25 | this.fooField = foo; 26 | } 27 | 28 | @AmfIgnore 29 | public String getBar() { 30 | return barField; 31 | } 32 | 33 | public void setBar(String bar) { 34 | this.barField = bar; 35 | } 36 | 37 | public String getBaz() { 38 | return bazField; 39 | } 40 | 41 | @AmfIgnore 42 | public void setBaz(String baz) { 43 | this.bazField = baz; 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /spring-flex-hibernate3/src/test/java/org/springframework/flex/hibernate3/config/AbstractFlexConfigurationTests.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2002-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 | 17 | package org.springframework.flex.hibernate3.config; 18 | 19 | import org.springframework.test.context.ContextConfiguration; 20 | 21 | @ContextConfiguration(locations="classpath:org/springframework/flex/hibernate3/config/default-message-broker.xml", loader=MessageBrokerContextLoader.class) 22 | public abstract class AbstractFlexConfigurationTests extends AbstractRuntimeEnvironmentAwareTests { 23 | 24 | } 25 | -------------------------------------------------------------------------------- /spring-flex-hibernate4/src/test/java/org/springframework/flex/hibernate4/config/AbstractFlexConfigurationTests.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2002-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 | 17 | package org.springframework.flex.hibernate4.config; 18 | 19 | import org.springframework.test.context.ContextConfiguration; 20 | 21 | @ContextConfiguration(locations="classpath:org/springframework/flex/hibernate4/config/default-message-broker.xml", loader=MessageBrokerContextLoader.class) 22 | public abstract class AbstractFlexConfigurationTests extends AbstractRuntimeEnvironmentAwareTests { 23 | 24 | } 25 | -------------------------------------------------------------------------------- /spring-flex-core/src/test/java/org/springframework/flex/core/io/domain/ImmutableValueObject.java: -------------------------------------------------------------------------------- 1 | package org.springframework.flex.core.io.domain; 2 | 3 | import org.springframework.flex.core.io.AmfCreator; 4 | import org.springframework.flex.core.io.AmfProperty; 5 | 6 | 7 | public class ImmutableValueObject { 8 | 9 | final String foo; 10 | 11 | final Integer zoo; 12 | 13 | ImmutableValueObject voRef; 14 | 15 | Person personRef; 16 | 17 | @AmfCreator 18 | public ImmutableValueObject(@AmfProperty("foo") String foo, @AmfProperty("zoo") Integer zoo) { 19 | this.foo = foo; 20 | this.zoo = zoo; 21 | } 22 | 23 | public String getFoo() { 24 | return this.foo; 25 | } 26 | 27 | public Integer getZoo() { 28 | return this.zoo; 29 | } 30 | 31 | public Person getPersonRef() { 32 | return personRef; 33 | } 34 | 35 | public void setPersonRef(Person personRef) { 36 | this.personRef = personRef; 37 | } 38 | 39 | public ImmutableValueObject getVoRef() { 40 | return voRef; 41 | } 42 | 43 | public void setVoRef(ImmutableValueObject voRef) { 44 | this.voRef = voRef; 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /spring-flex-hibernate3/src/test/java/org/springframework/flex/hibernate3/domain/ImmutableValueObject.java: -------------------------------------------------------------------------------- 1 | package org.springframework.flex.hibernate3.domain; 2 | 3 | import org.springframework.flex.core.io.AmfCreator; 4 | import org.springframework.flex.core.io.AmfProperty; 5 | 6 | 7 | public class ImmutableValueObject { 8 | 9 | final String foo; 10 | 11 | final Integer zoo; 12 | 13 | ImmutableValueObject voRef; 14 | 15 | Person personRef; 16 | 17 | @AmfCreator 18 | public ImmutableValueObject(@AmfProperty("foo") String foo, @AmfProperty("zoo") Integer zoo) { 19 | this.foo = foo; 20 | this.zoo = zoo; 21 | } 22 | 23 | public String getFoo() { 24 | return this.foo; 25 | } 26 | 27 | public Integer getZoo() { 28 | return this.zoo; 29 | } 30 | 31 | public Person getPersonRef() { 32 | return personRef; 33 | } 34 | 35 | public void setPersonRef(Person personRef) { 36 | this.personRef = personRef; 37 | } 38 | 39 | public ImmutableValueObject getVoRef() { 40 | return voRef; 41 | } 42 | 43 | public void setVoRef(ImmutableValueObject voRef) { 44 | this.voRef = voRef; 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /spring-flex-hibernate4/src/test/java/org/springframework/flex/hibernate4/domain/ImmutableValueObject.java: -------------------------------------------------------------------------------- 1 | package org.springframework.flex.hibernate4.domain; 2 | 3 | import org.springframework.flex.core.io.AmfCreator; 4 | import org.springframework.flex.core.io.AmfProperty; 5 | 6 | 7 | public class ImmutableValueObject { 8 | 9 | final String foo; 10 | 11 | final Integer zoo; 12 | 13 | ImmutableValueObject voRef; 14 | 15 | Person personRef; 16 | 17 | @AmfCreator 18 | public ImmutableValueObject(@AmfProperty("foo") String foo, @AmfProperty("zoo") Integer zoo) { 19 | this.foo = foo; 20 | this.zoo = zoo; 21 | } 22 | 23 | public String getFoo() { 24 | return this.foo; 25 | } 26 | 27 | public Integer getZoo() { 28 | return this.zoo; 29 | } 30 | 31 | public Person getPersonRef() { 32 | return personRef; 33 | } 34 | 35 | public void setPersonRef(Person personRef) { 36 | this.personRef = personRef; 37 | } 38 | 39 | public ImmutableValueObject getVoRef() { 40 | return voRef; 41 | } 42 | 43 | public void setVoRef(ImmutableValueObject voRef) { 44 | this.voRef = voRef; 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /spring-flex-core/src/test/java/org/springframework/flex/config/AnnotatedRemoteBean.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2002-2009 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 | 17 | package org.springframework.flex.config; 18 | 19 | import javax.annotation.PostConstruct; 20 | 21 | import org.springframework.flex.remoting.RemotingDestination; 22 | import org.springframework.stereotype.Service; 23 | 24 | @Service 25 | @RemotingDestination(channels = { "my-amf", "my-secure-amf" }) 26 | public class AnnotatedRemoteBean { 27 | 28 | boolean initInvoked = false; 29 | 30 | @PostConstruct 31 | public void init() { 32 | this.initInvoked = true; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /spring-flex-hibernate4/src/test/java/org/springframework/flex/hibernate4/domain/Building.java: -------------------------------------------------------------------------------- 1 | package org.springframework.flex.hibernate4.domain; 2 | 3 | import java.util.Set; 4 | 5 | import javax.persistence.ElementCollection; 6 | import javax.persistence.Embedded; 7 | import javax.persistence.Entity; 8 | import javax.persistence.GeneratedValue; 9 | import javax.persistence.GenerationType; 10 | import javax.persistence.Id; 11 | 12 | @Entity 13 | public class Building { 14 | 15 | @Id 16 | @GeneratedValue(strategy = GenerationType.AUTO) 17 | private Integer id; 18 | 19 | @Embedded 20 | private EmbeddedAddress address; 21 | 22 | @ElementCollection 23 | private Set floors; 24 | 25 | public Integer getId() { 26 | return id; 27 | } 28 | 29 | public void setId(Integer id) { 30 | this.id = id; 31 | } 32 | 33 | public EmbeddedAddress getAddress() { 34 | return address; 35 | } 36 | 37 | public void setAddress(EmbeddedAddress address) { 38 | this.address = address; 39 | } 40 | 41 | public void setFloors(Set floors) { 42 | this.floors = floors; 43 | } 44 | 45 | public Set getFloors() { 46 | return floors; 47 | } 48 | 49 | } 50 | -------------------------------------------------------------------------------- /spring-flex-hibernate3/src/test/java/org/springframework/flex/hibernate3/domain/Building.java: -------------------------------------------------------------------------------- 1 | package org.springframework.flex.hibernate3.domain; 2 | 3 | import java.util.Set; 4 | 5 | import javax.persistence.Embedded; 6 | import javax.persistence.Entity; 7 | import javax.persistence.GeneratedValue; 8 | import javax.persistence.GenerationType; 9 | import javax.persistence.Id; 10 | 11 | @Entity 12 | public class Building { 13 | 14 | @Id 15 | @GeneratedValue(strategy = GenerationType.AUTO) 16 | private Integer id; 17 | 18 | @Embedded 19 | private EmbeddedAddress address; 20 | 21 | @SuppressWarnings("deprecation") 22 | @org.hibernate.annotations.CollectionOfElements 23 | private Set floors; 24 | 25 | public Integer getId() { 26 | return id; 27 | } 28 | 29 | public void setId(Integer id) { 30 | this.id = id; 31 | } 32 | 33 | public EmbeddedAddress getAddress() { 34 | return address; 35 | } 36 | 37 | public void setAddress(EmbeddedAddress address) { 38 | this.address = address; 39 | } 40 | 41 | public void setFloors(Set floors) { 42 | this.floors = floors; 43 | } 44 | 45 | public Set getFloors() { 46 | return floors; 47 | } 48 | 49 | } 50 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/java/org/springframework/flex/samples/rest/HandlerAdapterPostProcessor.java: -------------------------------------------------------------------------------- 1 | package org.springframework.flex.samples.rest; 2 | 3 | import org.springframework.beans.BeansException; 4 | import org.springframework.beans.factory.config.BeanPostProcessor; 5 | import org.springframework.flex.http.AmfHttpMessageConverter; 6 | import org.springframework.http.converter.HttpMessageConverter; 7 | import org.springframework.util.ObjectUtils; 8 | import org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter; 9 | 10 | public class HandlerAdapterPostProcessor implements BeanPostProcessor { 11 | 12 | public Object postProcessBeforeInitialization(Object bean, String beanName) 13 | throws BeansException { 14 | return bean; 15 | } 16 | 17 | public Object postProcessAfterInitialization(Object bean, String beanName) 18 | throws BeansException { 19 | if (bean instanceof AnnotationMethodHandlerAdapter) { 20 | AnnotationMethodHandlerAdapter adapter = (AnnotationMethodHandlerAdapter) bean; 21 | HttpMessageConverter[] converters = adapter.getMessageConverters(); 22 | adapter.setMessageConverters((HttpMessageConverter[]) ObjectUtils.addObjectToArray(converters, new AmfHttpMessageConverter())); 23 | } 24 | return bean; 25 | } 26 | 27 | } 28 | -------------------------------------------------------------------------------- /spring-flex-core/src/main/java/org/springframework/flex/messaging/AsyncMessageCreator.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2002-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 | 17 | package org.springframework.flex.messaging; 18 | 19 | import flex.messaging.MessageDestination; 20 | import flex.messaging.messages.AsyncMessage; 21 | 22 | /** 23 | * Factory interface for the creation of AMF messages to be sent to a {@link MessageDestination} 24 | * 25 | * @author Jeremy Grelle 26 | */ 27 | public interface AsyncMessageCreator { 28 | 29 | /** 30 | * Create a new {@link AsyncMessage} for sending to a {@link MessageDestination} 31 | * 32 | * @return the created message 33 | */ 34 | AsyncMessage createMessage(); 35 | } 36 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/testdrive/src/main/java/org/springframework/flex/samples/dao/IGenericDAO.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2002-2009 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 | 17 | package org.springframework.flex.samples.dao; 18 | 19 | import java.util.List; 20 | 21 | /** 22 | * 23 | * @author Christophe Coenraets 24 | * @author Jeremy Grelle 25 | */ 26 | public interface IGenericDAO { 27 | 28 | public List findAll(); 29 | 30 | public List findByName(String name); 31 | 32 | public T findById(int id); 33 | 34 | public T create(T item); 35 | 36 | public boolean update(T item); 37 | 38 | public boolean remove(T item); 39 | 40 | public boolean removeById(int id); 41 | 42 | } 43 | -------------------------------------------------------------------------------- /spring-flex-integration/src/main/java/org/springframework/flex/integration/service/HibernatePersonService.java: -------------------------------------------------------------------------------- 1 | package org.springframework.flex.integration.service; 2 | 3 | import org.hibernate.Session; 4 | import org.hibernate.SessionFactory; 5 | import org.springframework.beans.factory.annotation.Autowired; 6 | import org.springframework.flex.integration.domain.Person; 7 | import org.springframework.flex.remoting.RemotingDestination; 8 | import org.springframework.stereotype.Repository; 9 | import org.springframework.transaction.annotation.Transactional; 10 | 11 | @RemotingDestination 12 | @Repository 13 | public class HibernatePersonService implements PersonService { 14 | 15 | private final SessionFactory sessionFactory; 16 | 17 | @Autowired 18 | public HibernatePersonService(SessionFactory sessionFactory) { 19 | this.sessionFactory = sessionFactory; 20 | } 21 | 22 | @Transactional 23 | public Person loadPerson(Integer id) { 24 | Session session = sessionFactory.getCurrentSession(); 25 | return (Person) session.get(Person.class, id); 26 | } 27 | 28 | @Transactional 29 | public Person loadPersonAndChildren(Integer id) { 30 | Session session = sessionFactory.getCurrentSession(); 31 | Person person = (Person) session.get(Person.class, id); 32 | person.getChildren().iterator(); 33 | return person; 34 | } 35 | 36 | } 37 | -------------------------------------------------------------------------------- /spring-flex-integration/src/main/java/org/springframework/flex/integration/service/FooService.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2002-2009 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 | 17 | package org.springframework.flex.integration.service; 18 | 19 | import org.springframework.flex.remoting.RemotingDestination; 20 | import org.springframework.flex.remoting.RemotingExclude; 21 | import org.springframework.flex.remoting.RemotingInclude; 22 | import org.springframework.stereotype.Component; 23 | 24 | @Component 25 | @RemotingDestination 26 | public class FooService { 27 | 28 | @RemotingInclude 29 | public String bar() { 30 | return "bar"; 31 | } 32 | 33 | @RemotingExclude 34 | public String baz() { 35 | return "baz"; 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /spring-flex-samples/spring-flex-testdrive/companymgr/src/main/flex/BindableComboBox.as: -------------------------------------------------------------------------------- 1 | package 2 | { 3 | import flash.events.Event; 4 | 5 | import mx.collections.IList; 6 | import mx.events.CollectionEvent; 7 | 8 | import spark.components.ComboBox; 9 | 10 | public class BindableComboBox extends ComboBox 11 | { 12 | private var _value:Object; 13 | 14 | public var valueField:String = "data"; 15 | 16 | public function set value(value:Object):void 17 | { 18 | _value = value; 19 | selectIndex(); 20 | } 21 | 22 | public function get value():Object 23 | { 24 | return selectedItem[valueField]; 25 | } 26 | 27 | override public function set dataProvider(dataProvider:IList):void 28 | { 29 | super.dataProvider = dataProvider; 30 | dataProvider.addEventListener(CollectionEvent.COLLECTION_CHANGE, 31 | function(event:Event):void 32 | { 33 | selectIndex(); 34 | }); 35 | selectIndex(); 36 | } 37 | 38 | private function selectIndex():void 39 | { 40 | if (!_value || !dataProvider) 41 | { 42 | return; 43 | } 44 | for (var i:int = 0; i < dataProvider.length; i++) 45 | { 46 | if (_value == dataProvider[i][valueField]) 47 | { 48 | selectedIndex = i; 49 | return; 50 | } 51 | } 52 | } 53 | 54 | } 55 | } -------------------------------------------------------------------------------- /spring-flex-hibernate3/src/test/resources/org/springframework/flex/hibernate3/hibernate-jpa-context.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | --------------------------------------------------------------------------------