From 9425990f532b1152c2d73db96c0f07ef5216a3d1 Mon Sep 17 00:00:00 2001 From: lresende Date: Thu, 12 Nov 2009 00:43:48 +0000 Subject: Moving 2.x contribs git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@835178 13f79535-47bb-0310-9956-ffa450edef68 --- .../demos/alert-aggregator-webapp/LICENSE | 205 - .../demos/alert-aggregator-webapp/NOTICE | 6 - .../demos/alert-aggregator-webapp/README | 82 - .../alert-aggregator-webapp/alert-aggregator.png | Bin 36819 -> 0 bytes .../alert-aggregator-webapp/alert-aggregator.svg | 627 - .../demos/alert-aggregator-webapp/build-dojo.xml | 92 - .../demos/alert-aggregator-webapp/build.xml | 148 - .../demos/alert-aggregator-webapp/pom.xml | 345 - .../sca/demos/aggregator/AlertTypeNonSDOImpl.java | 339 - .../demos/aggregator/AlertsFeedServiceImpl.java | 106 - .../sca/demos/aggregator/AlertsService.java | 40 - .../sca/demos/aggregator/AlertsServiceImpl.java | 126 - .../sca/demos/aggregator/AlertsSourcesService.java | 69 - .../demos/aggregator/AlertsSourcesServiceImpl.java | 183 - .../sca/demos/aggregator/AlertsTypeNonSDOImpl.java | 74 - .../sca/demos/aggregator/ConfigTypeNonSDOImpl.java | 55 - .../sca/demos/aggregator/RSSCheckerService.java | 30 - .../demos/aggregator/RSSCheckerServiceImpl.java | 91 - .../sca/demos/aggregator/SourceTypeNonSDOImpl.java | 536 - .../src/main/resources/Alerts.wsdl | 88 - .../src/main/resources/Alerts.xsd | 80 - .../src/main/resources/AlertsSources.wsdl | 124 - .../src/main/resources/alerts-client.composite | 49 - .../src/main/resources/alerts.composite | 85 - .../src/main/resources/sources.xml | 34 - .../src/main/webapp/AlertAggregator.html | 330 - .../src/main/webapp/META-INF/sca-contribution.xml | 26 - .../src/main/webapp/WEB-INF/geronimo-web.xml | 37 - .../src/main/webapp/WEB-INF/web.xml | 41 - .../src/main/webapp/pop.png | Bin 244 -> 0 bytes .../src/main/webapp/rss.png | Bin 689 -> 0 bytes .../src/main/webapp/service.smd | 1 - .../src/main/webapp/sources.smd | 1 - .../src/main/webapp/style.css | 176 - .../demos/aggregator/AlertsIntegrationTest.java | 97 - java/sca-contrib/demos/bigbank-account/LICENSE | 205 - java/sca-contrib/demos/bigbank-account/NOTICE | 6 - java/sca-contrib/demos/bigbank-account/README | 4 - java/sca-contrib/demos/bigbank-account/bigbank.png | Bin 100070 -> 0 bytes java/sca-contrib/demos/bigbank-account/bigbank.svg | 537 - .../demos/bigbank-account/build-dojo.xml | 92 - java/sca-contrib/demos/bigbank-account/build.xml | 85 - java/sca-contrib/demos/bigbank-account/pom.xml | 76 - .../account/checking/CheckingAccountDetails.java | 50 - .../account/checking/CheckingAccountService.java | 37 - .../checking/CheckingAccountServiceImpl.java | 66 - .../account/savings/SavingsAccountDetails.java | 52 - .../account/savings/SavingsAccountService.java | 35 - .../account/savings/SavingsAccountServiceImpl.java | 66 - .../AccountsDataPasswordCallbackHandler.java | 54 - .../account/security/BigbankCheckingsAcl.java | 48 - ...ckingsDeptAuthImplementationPolicyProvider.java | 90 - .../account/security/CheckingsDeptAuthPolicy.java | 46 - .../CheckingsDeptAuthPolicyInterceptor.java | 79 - .../CheckingsDeptAuthPolicyProviderFactory.java | 75 - .../CheckingsDeptAuthorizationPolicyHandler.java | 67 - .../CheckingsDeptAuthorizationPolicyProcessor.java | 72 - .../bigbank/account/stock/StockAccountDetails.java | 68 - .../bigbank/account/stock/StockAccountService.java | 36 - .../account/stock/StockAccountServiceImpl.java | 60 - .../src/main/resources/CheckingsAccount.composite | 35 - .../main/resources/META-INF/sca-contribution.xml | 42 - ...ca.contribution.processor.StAXArtifactProcessor | 19 - ...rg.apache.tuscany.sca.policy.util.PolicyHandler | 20 - ...ache.tuscany.sca.provider.PolicyProviderFactory | 19 - .../src/main/resources/SavingsAccount.composite | 34 - .../src/main/resources/StockAccount.composite | 34 - .../src/main/resources/definitions.xml | 58 - .../src/main/resources/web/AccountJSON.html | 92 - .../src/main/resources/web/style.css | 22 - .../src/main/resources/wsdl/AccountService.wsdl | 91 - java/sca-contrib/demos/bigbank-calculator/LICENSE | 205 - java/sca-contrib/demos/bigbank-calculator/NOTICE | 6 - java/sca-contrib/demos/bigbank-calculator/README | 2 - .../sca-contrib/demos/bigbank-calculator/build.xml | 68 - java/sca-contrib/demos/bigbank-calculator/pom.xml | 78 - .../src/main/java/calculator/AddService.java | 25 - .../main/java/calculator/CalculatorService.java | 34 - .../java/calculator/CalculatorServiceImpl.java | 72 - .../src/main/java/calculator/DivideService.java | 25 - .../src/main/java/calculator/MultiplyService.java | 25 - .../src/main/java/calculator/SubtractService.java | 25 - .../java/calculator/demo/CalculatorServer.java | 44 - .../src/main/resources/Calculator.composite | 55 - .../main/resources/calculator/AddServiceImpl.js | 22 - .../resources/calculator/DivideServiceImpl.groovy | 22 - .../resources/calculator/MultiplyServiceImpl.py | 21 - .../resources/calculator/SubtractServiceImpl.rb | 22 - java/sca-contrib/demos/bigbank-stockquote/LICENSE | 205 - java/sca-contrib/demos/bigbank-stockquote/NOTICE | 6 - java/sca-contrib/demos/bigbank-stockquote/README | 4 - .../sca-contrib/demos/bigbank-stockquote/build.xml | 67 - java/sca-contrib/demos/bigbank-stockquote/pom.xml | 85 - .../java/stockquote/PasswordCallbackHandler.java | 47 - .../src/main/java/stockquote/StockQuoteImpl.java | 38 - .../main/java/stockquote/StockQuoteService.java | 30 - .../java/stockquote/demo/StockQuoteServer.java | 42 - .../src/main/resources/StockQuote.composite | 33 - .../src/main/resources/definitions.xml | 49 - .../src/main/resources/security.properties | 20 - .../src/main/resources/stockQuote.jks | Bin 1986 -> 0 bytes java/sca-contrib/demos/bigbank/LICENSE | 205 - java/sca-contrib/demos/bigbank/NOTICE | 6 - java/sca-contrib/demos/bigbank/README | 127 - java/sca-contrib/demos/bigbank/bigbank.png | Bin 100070 -> 0 bytes java/sca-contrib/demos/bigbank/bigbank.svg | 537 - java/sca-contrib/demos/bigbank/build-dojo.xml | 92 - java/sca-contrib/demos/bigbank/build.xml | 84 - java/sca-contrib/demos/bigbank/pom.xml | 201 - .../main/java/bigbank/account/AccountService.java | 32 - .../java/bigbank/account/AccountServiceImpl.java | 99 - .../java/bigbank/account/feed/AccountFeedImpl.java | 70 - .../main/java/bigbank/client/BigBankClient.java | 50 - .../src/main/java/bigbank/demo/BigBankServer.java | 130 - .../security/BigbankPasswordCallbackHandler.java | 51 - .../main/java/calculator/CalculatorService.java | 34 - .../main/java/stockquote/StockQuoteService.java | 29 - .../bigbank/src/main/resources/BigBank.composite | 85 - .../main/resources/META-INF/sca-contribution.xml | 36 - .../demos/bigbank/src/main/resources/bigbank.jks | Bin 1986 -> 0 bytes .../bigbank/src/main/resources/definitions.xml | 64 - .../bigbank/src/main/resources/security.properties | 20 - .../src/main/resources/web/AccountJSON.html | 92 - .../demos/bigbank/src/main/resources/web/style.css | 22 - .../src/main/resources/wsdl/AccountService.wsdl | 91 - .../src/test/java/test/BigBankTestCase.java | 33 - .../demos/load-balancing-webapp/LICENSE | 205 - .../sca-contrib/demos/load-balancing-webapp/NOTICE | 6 - .../sca-contrib/demos/load-balancing-webapp/README | 76 - .../demos/load-balancing-webapp/build-tomcat.xml | 96 - .../demos/load-balancing-webapp/build.xml | 125 - .../demos/load-balancing-webapp/pom.xml | 349 - .../src/main/java/client/LaunchClient.java | 57 - .../src/main/java/domain/LaunchDomain.java | 33 - .../src/main/java/helloworld/HelloWorldImpl.java | 35 - .../main/java/helloworld/HelloWorldService.java | 31 - .../java/helloworld/HelloWorldServiceClient.java | 42 - .../demos/loadbalancer/rule/RoundRobinRule.java | 96 - .../helloworldwsclient.composite | 33 - .../src/main/webapp/META-INF/sca-contribution.xml | 24 - .../sca-deployables/helloworldws.composite | 32 - .../src/main/webapp/WEB-INF/web.xml | 37 - .../src/test/resources/apache-80/conf/httpd.conf | 28 - .../resources/apache-80/conf/workers.properties | 18 - .../src/test/resources/tomcat-8085/conf/server.xml | 391 - .../webapps/balancer/WEB-INF/config/rules.xml | 26 - .../src/test/resources/tomcat-8086/conf/server.xml | 391 - .../src/test/resources/tomcat-8087/conf/server.xml | 391 - .../sca-contrib/demos/mortgage-creditcheck/LICENSE | 205 - java/sca-contrib/demos/mortgage-creditcheck/NOTICE | 6 - java/sca-contrib/demos/mortgage-creditcheck/README | 6 - .../demos/mortgage-creditcheck/build.xml | 66 - .../sca-contrib/demos/mortgage-creditcheck/pom.xml | 75 - .../src/main/java/credit/CreditCheck.java | 26 - .../src/main/java/credit/CreditCheckImpl.java | 34 - .../src/main/java/credit/CreditCheckServer.java | 40 - .../src/main/resources/CreditCheck.composite | 37 - .../src/main/resources/wsdl/credit.wsdl | 81 - .../src/main/webapp/META-INF/sca-contribution.xml | 24 - .../src/main/webapp/WEB-INF/web.xml | 37 - .../demos/mortgage-loanapproval/LICENSE | 205 - .../sca-contrib/demos/mortgage-loanapproval/NOTICE | 6 - .../sca-contrib/demos/mortgage-loanapproval/README | 60 - .../demos/mortgage-loanapproval/build.xml | 66 - .../mortgage-loanapproval/doc/credit_composite.jpg | Bin 73610 -> 0 bytes .../mortgage-loanapproval/doc/credit_composite.png | Bin 51153 -> 0 bytes .../mortgage-loanapproval/doc/loan_approval.jpg | Bin 162536 -> 0 bytes .../mortgage-loanapproval/doc/loan_approval.png | Bin 58247 -> 0 bytes .../doc/mortgage_assembly0.jpg | Bin 145053 -> 0 bytes .../doc/mortgage_assembly0.png | Bin 93773 -> 0 bytes .../doc/mortgage_assembly1.jpg | Bin 181317 -> 0 bytes .../doc/mortgage_assembly1.png | Bin 113404 -> 0 bytes .../doc/mortgage_assembly2.jpg | Bin 180240 -> 0 bytes .../doc/mortgage_assembly2.png | Bin 106656 -> 0 bytes .../doc/mortgage_composite.jpg | Bin 343699 -> 0 bytes .../doc/mortgage_composite.png | Bin 288351 -> 0 bytes .../doc/mortgage_diagrams.doc | Bin 81920 -> 0 bytes .../doc/mortgage_package1.jpg | Bin 181031 -> 0 bytes .../doc/mortgage_package1.png | Bin 34939 -> 0 bytes .../doc/mortgage_package2.jpg | Bin 110930 -> 0 bytes .../doc/mortgage_package2.png | Bin 58993 -> 0 bytes .../doc/mortgage_scenario.jpg | Bin 225690 -> 0 bytes .../doc/mortgage_scenario.png | Bin 106791 -> 0 bytes .../mortgage-loanapproval/mortgage_assembly.png | Bin 106656 -> 0 bytes .../demos/mortgage-loanapproval/pom.xml | 83 - .../src/main/java/mortgage/CreditCheck.java | 29 - .../src/main/java/mortgage/CreditCheckImpl.java | 34 - .../src/main/java/mortgage/Customer.java | 76 - .../src/main/java/mortgage/InterestRateQuote.java | 23 - .../main/java/mortgage/InterestRateQuoteImpl.java | 42 - .../src/main/java/mortgage/LoanApproval.java | 27 - .../src/main/java/mortgage/LoanApprovalImpl.java | 84 - .../src/main/java/mortgage/MortgageCalculator.java | 29 - .../main/java/mortgage/MortgageCalculatorImpl.java | 38 - .../src/main/java/mortgage/MortgageClient.java | 44 - .../src/main/java/mortgage/RiskAssessment.java | 27 - .../src/main/java/mortgage/RiskAssessmentImpl.java | 38 - .../src/main/resources/Mortgage.composite | 48 - .../src/main/resources/Mortgage1.composite | 57 - .../resources/MortgageCalculator.componentType | 27 - .../src/main/resources/MortgageCalculator.js | 25 - .../src/main/resources/wsdl/credit.wsdl | 81 - .../test/java/mortgage/MortgageClientTestCase.java | 56 - java/sca-contrib/demos/pom.xml | 52 - .../sca-contrib/demos/workpool-distributed/LICENSE | 205 - java/sca-contrib/demos/workpool-distributed/NOTICE | 6 - .../demos/workpool-distributed/build.xml | 446 - .../sca-contrib/demos/workpool-distributed/pom.xml | 148 - .../src/main/java/node/DomainNode.java | 57 - .../src/main/java/node/DomainNodeDaemon.java | 79 - .../src/main/java/node/TestJob.java | 82 - .../src/main/java/node/WorkpoolDaemon.java | 271 - .../src/main/java/node/WorkpoolNode.java | 179 - .../src/main/java/node/workerRules1.drl | 13 - .../main/java/workpool/MetaComponentWorker.java | 85 - .../src/main/java/workpool/MyWorker.java | 46 - .../src/main/java/workpool/NullJob.java | 43 - .../src/main/java/workpool/ResultJob.java | 54 - .../src/main/java/workpool/Trigger.java | 29 - .../src/main/java/workpool/WorkerManager.java | 31 - .../src/main/java/workpool/WorkerManagerImpl.java | 213 - .../src/main/java/workpool/WorkerService.java | 56 - .../main/java/workpool/WorkerServiceCallback.java | 27 - .../src/main/java/workpool/WorkerServiceImpl.java | 171 - .../src/main/java/workpool/WorkpoolBean.java | 162 - .../main/java/workpool/WorkpoolBeanListener.java | 25 - .../src/main/java/workpool/WorkpoolEvent.java | 71 - .../src/main/java/workpool/WorkpoolManager.java | 48 - .../main/java/workpool/WorkpoolManagerImpl.java | 555 - .../src/main/java/workpool/WorkpoolService.java | 91 - .../main/java/workpool/WorkpoolServiceImpl.java | 416 - .../resources/nodeA/META-INF/sca-contribution.xml | 24 - .../src/main/resources/nodeA/Workpool.composite | 47 - .../resources/nodeB/META-INF/sca-contribution.xml | 24 - .../src/main/resources/nodeB/Workpool.composite | 38 - .../resources/nodeC/META-INF/sca-contribution.xml | 24 - .../src/main/resources/nodeC/Workpool.composite | 38 - .../resources/nodeD/META-INF/sca-contribution.xml | 24 - .../src/main/resources/nodeD/Workpool.composite | 38 - .../resources/nodeE/META-INF/sca-contribution.xml | 24 - .../src/main/resources/nodeE/Workpool.composite | 38 - .../src/test/java/workpool/AComponent.java | 25 - .../demos/workpool-distributed/workerRules.drl | 9 - .../demos/workpool-distributed/workerRules1.drl | 9 - .../demos/workpool-distributed/workerRules2.drl | 8 - .../demos/workpool-distributed/workerRules3.drl | 14 - java/sca-contrib/demos/xml-bigbank/LICENSE | 205 - java/sca-contrib/demos/xml-bigbank/NOTICE | 6 - java/sca-contrib/demos/xml-bigbank/README | 46 - java/sca-contrib/demos/xml-bigbank/build.xml | 63 - java/sca-contrib/demos/xml-bigbank/pom.xml | 115 - .../src/main/java/bigbank/AccountData.java | 36 - .../src/main/java/bigbank/AccountDataImpl.java | 48 - .../src/main/java/bigbank/AccountService.java | 32 - .../src/main/java/bigbank/AccountServiceImpl.java | 84 - .../src/main/java/bigbank/BigBankClient.java | 35 - .../src/main/java/bigbank/BigBankServer.java | 40 - .../src/main/java/bigbank/CurrencyExchange.java | 36 - .../src/main/java/bigbank/ExchangeRate.java | 32 - .../src/main/java/bigbank/ExchangeRateImpl.java | 84 - .../src/main/java/bigbank/StockQuote.java | 38 - .../src/main/java/bigbank/StockValue.java | 38 - .../src/main/resources/BigBank.composite | 51 - .../xml-bigbank/src/main/resources/accounts.xml | 29 - .../xml-bigbank/src/main/resources/customer.xsd | 46 - .../demos/xml-bigbank/src/main/resources/stock.xq | 52 - .../src/main/resources/wsdl/StockQuotes.wsdl | 23 - java/sca-contrib/demos/xml-bigbank/xml-bigbank.png | Bin 30396 -> 0 bytes java/sca-contrib/demos/xml-bigbank/xml-bigbank.svg | 447 - java/sca-contrib/distribution/core/pom.xml | 152 - .../distribution/core/src/main/assembly/bin.xml | 36 - .../distribution/core/src/main/assembly/src.xml | 37 - .../core/src/main/components/bin-common.xml | 44 - .../core/src/main/components/bin-modules.xml | 33 - .../core/src/main/components/bin-samples.xml | 62 - .../core/src/main/components/src-common.xml | 42 - .../core/src/main/components/src-modules.xml | 86 - .../distribution/core/src/main/release/CHANGES | 431 - .../distribution/core/src/main/release/README | 19 - .../core/src/main/release/RELEASE_NOTES | 83 - .../distribution/core/src/main/release/bin/INSTALL | 27 - .../distribution/core/src/main/release/bin/LICENSE | 2366 ---- .../distribution/core/src/main/release/bin/NOTICE | 95 - .../core/src/main/release/src/BUILDING | 55 - .../distribution/core/src/main/release/src/LICENSE | 397 - .../distribution/core/src/main/release/src/NOTICE | 39 - java/sca-contrib/distribution/ejava/pom.xml | 155 - .../distribution/ejava/src/main/assembly/bin.xml | 36 - .../distribution/ejava/src/main/assembly/src.xml | 35 - .../ejava/src/main/components/bin-samples.xml | 59 - .../ejava/src/main/components/src-modules.xml | 90 - .../distribution/ejava/src/main/release/CHANGES | 431 - .../distribution/ejava/src/main/release/README | 19 - .../ejava/src/main/release/RELEASE_NOTES | 83 - .../ejava/src/main/release/bin/INSTALL | 27 - .../ejava/src/main/release/bin/LICENSE | 2366 ---- .../distribution/ejava/src/main/release/bin/NOTICE | 95 - .../ejava/src/main/release/src/BUILDING | 55 - .../ejava/src/main/release/src/LICENSE | 397 - .../distribution/ejava/src/main/release/src/NOTICE | 39 - .../distribution/etc/generate-all-maven-files.sh | 44 - .../etc/generate-filtered-dependencies.sh | 69 - .../distribution/etc/generate-maven-files.sh | 25 - java/sca-contrib/distribution/etc/generate-pom.sh | 26 - .../distribution/etc/generate-src-modules.sh | 65 - java/sca-contrib/distribution/manager/pom.xml | 178 - .../distribution/manager/src/main/assembly/bin.xml | 38 - .../distribution/manager/src/main/assembly/src.xml | 37 - .../manager/src/main/components/bin-samples.xml | 42 - .../manager/src/main/components/src-modules.xml | 116 - .../distribution/manager/src/main/release/CHANGES | 431 - .../distribution/manager/src/main/release/README | 19 - .../manager/src/main/release/RELEASE_NOTES | 83 - .../manager/src/main/release/bin/INSTALL | 27 - .../manager/src/main/release/bin/LICENSE | 2366 ---- .../manager/src/main/release/bin/NOTICE | 95 - .../manager/src/main/release/src/BUILDING | 55 - .../manager/src/main/release/src/LICENSE | 397 - .../manager/src/main/release/src/NOTICE | 39 - java/sca-contrib/distribution/process/pom.xml | 162 - .../distribution/process/src/main/assembly/bin.xml | 38 - .../distribution/process/src/main/assembly/src.xml | 37 - .../process/src/main/components/bin-samples.xml | 44 - .../process/src/main/components/src-modules.xml | 100 - .../distribution/process/src/main/release/CHANGES | 431 - .../distribution/process/src/main/release/README | 19 - .../process/src/main/release/RELEASE_NOTES | 83 - .../process/src/main/release/bin/INSTALL | 27 - .../process/src/main/release/bin/LICENSE | 2366 ---- .../process/src/main/release/bin/NOTICE | 95 - .../process/src/main/release/src/BUILDING | 55 - .../process/src/main/release/src/LICENSE | 397 - .../process/src/main/release/src/NOTICE | 39 - java/sca-contrib/distribution/repository/pom.xml | 188 - .../repository/src/main/assembly/repository.xml | 43 - .../repository/src/main/components/src-modules.xml | 173 - .../repository/src/main/release/CHANGES | 431 - .../repository/src/main/release/README | 19 - .../repository/src/main/release/RELEASE_NOTES | 83 - .../repository/src/main/release/bin/INSTALL | 27 - .../repository/src/main/release/bin/LICENSE | 2366 ---- .../repository/src/main/release/bin/NOTICE | 95 - .../repository/src/main/release/src/BUILDING | 55 - .../repository/src/main/release/src/LICENSE | 397 - .../repository/src/main/release/src/NOTICE | 39 - java/sca-contrib/distribution/web20/pom.xml | 173 - .../distribution/web20/src/main/assembly/bin.xml | 38 - .../distribution/web20/src/main/assembly/src.xml | 37 - .../web20/src/main/components/bin-samples.xml | 44 - .../web20/src/main/components/src-modules.xml | 112 - .../distribution/web20/src/main/release/CHANGES | 431 - .../distribution/web20/src/main/release/README | 19 - .../web20/src/main/release/RELEASE_NOTES | 83 - .../web20/src/main/release/bin/INSTALL | 27 - .../web20/src/main/release/bin/LICENSE | 2366 ---- .../distribution/web20/src/main/release/bin/NOTICE | 95 - .../web20/src/main/release/src/BUILDING | 55 - .../web20/src/main/release/src/LICENSE | 397 - .../distribution/web20/src/main/release/src/NOTICE | 39 - .../distribution/webapp/src/main/assembly/bin.xml | 38 - .../distribution/webapp/src/main/assembly/src.xml | 37 - .../webapp/src/main/components/bin-samples.xml | 42 - .../webapp/src/main/components/src-modules.xml | 42 - .../distribution/webapp/src/main/release/CHANGES | 431 - .../distribution/webapp/src/main/release/README | 19 - .../webapp/src/main/release/RELEASE_NOTES | 83 - .../webapp/src/main/release/bin/INSTALL | 27 - .../webapp/src/main/release/bin/LICENSE | 2366 ---- .../webapp/src/main/release/bin/NOTICE | 95 - .../webapp/src/main/release/src/BUILDING | 55 - .../webapp/src/main/release/src/LICENSE | 397 - .../webapp/src/main/release/src/NOTICE | 39 - java/sca-contrib/distribution/webservice/pom.xml | 162 - .../webservice/src/main/assembly/bin.xml | 38 - .../webservice/src/main/assembly/src.xml | 37 - .../webservice/src/main/components/bin-samples.xml | 51 - .../webservice/src/main/components/src-modules.xml | 96 - .../webservice/src/main/release/CHANGES | 431 - .../webservice/src/main/release/README | 19 - .../webservice/src/main/release/RELEASE_NOTES | 83 - .../webservice/src/main/release/bin/INSTALL | 27 - .../webservice/src/main/release/bin/LICENSE | 2366 ---- .../webservice/src/main/release/bin/NOTICE | 95 - .../webservice/src/main/release/src/BUILDING | 55 - .../webservice/src/main/release/src/LICENSE | 397 - .../webservice/src/main/release/src/NOTICE | 39 - java/sca-contrib/features/compact/pom.xml | 221 - java/sca-contrib/features/manager/pom.xml | 147 - java/sca-contrib/features/process/pom.xml | 56 - java/sca-contrib/features/repository/pom.xml | 84 - java/sca-contrib/features/web20/pom.xml | 104 - java/sca-contrib/features/webapp/pom.xml | 53 - java/sca-contrib/itest/admin/README | 28 - java/sca-contrib/itest/admin/pom.xml | 60 - .../tuscany/sca/itest/admin/MyListService.java | 9 - .../sca/itest/admin/MyListServiceByYear.java | 8 - .../tuscany/sca/itest/admin/MyListServiceImpl.java | 69 - .../apache/tuscany/sca/itest/admin/MyLogger.java | 17 - .../apache/tuscany/sca/itest/admin/MyService.java | 9 - .../tuscany/sca/itest/admin/MyServiceByDate.java | 10 - .../tuscany/sca/itest/admin/MyServiceImpl.java | 113 - .../tuscany/sca/itest/admin/MyTotalService.java | 6 - .../sca/itest/admin/MyTotalServiceImpl.java | 74 - .../sca/itest/admin/SCAComponentService.java | 9 - .../admin/MySimpleServiceInRecursiveTestCase.java | 61 - .../sca/itest/admin/MySimpleServiceTestCase.java | 57 - .../sca/itest/admin/MyTotalServiceTestCase.java | 48 - .../test/resources/Iteration1Composite.composite | 43 - .../test/resources/Iteration3Composite.composite | 68 - .../src/test/resources/MySimpleService.composite | 59 - .../itest/binding-sca-jms/client/pom.xml | 63 - .../client/src/main/java/itest/MyClientImpl.java | 32 - .../client/src/main/java/itest/MyService.java | 28 - .../main/resources/META-INF/sca-contribution.xml | 24 - .../client/src/main/resources/MyClient.composite | 29 - .../src/test/java/itest/MyClientTestCase.java | 39 - java/sca-contrib/itest/binding-sca-jms/pom.xml | 36 - .../itest/binding-sca-jms/service/pom.xml | 63 - .../service/src/main/java/itest/MyService.java | 28 - .../service/src/main/java/itest/MyServiceImpl.java | 28 - .../main/resources/META-INF/sca-contribution.xml | 24 - .../service/src/main/resources/MyService.composite | 28 - .../src/test/java/itest/MyServiceTestCase.java | 34 - .../itest/bpel/helloworld-reference/pom.xml | 210 - .../src/test/java/greetings/GreetingsService.java | 31 - .../test/java/greetings/GreetingsServiceImpl.java | 33 - .../src/test/java/greetings/GreetingsTestCase.java | 60 - .../test/java/helloworld/HelloWorldService.java | 29 - .../java/helloworld/HelloWorldServiceImpl.java | 47 - .../test/java/helloworld/HelloWorldTestCase.java | 55 - .../test/resources/greetings/greetings.composite | 32 - .../src/test/resources/greetings/greetings.wsdl | 87 - .../src/test/resources/helloworld/deploy.xml | 35 - .../src/test/resources/helloworld/helloworld.bpel | 84 - .../resources/helloworld/helloworld.componentType | 36 - .../test/resources/helloworld/helloworld.composite | 36 - .../src/test/resources/helloworld/helloworld.wsdl | 82 - .../src/test/resources/log4j.properties | 36 - java/sca-contrib/itest/bpel/helloworld-ws/pom.xml | 176 - .../src/test/java/helloworld/HelloWorld.java | 45 - .../test/java/helloworld/HelloWorldTestCase.java | 64 - .../src/test/resources/helloworld/deploy.xml | 31 - .../src/test/resources/helloworld/helloworld.bpel | 66 - .../resources/helloworld/helloworld.componentType | 30 - .../test/resources/helloworld/helloworld.composite | 32 - .../src/test/resources/helloworld/helloworld.wsdl | 82 - .../src/test/resources/log4j.properties | 36 - java/sca-contrib/itest/bpel/helloworld/pom.xml | 162 - .../src/test/java/helloworld/HelloWorld.java | 45 - .../test/java/helloworld/HelloWorldTestCase.java | 63 - .../src/test/resources/helloworld/deploy.xml | 31 - .../src/test/resources/helloworld/helloworld.bpel | 66 - .../resources/helloworld/helloworld.componentType | 30 - .../test/resources/helloworld/helloworld.composite | 36 - .../src/test/resources/helloworld/helloworld.wsdl | 82 - .../helloworld/src/test/resources/log4j.properties | 36 - java/sca-contrib/itest/bpel/pom.xml | 37 - java/sca-contrib/itest/builder/pom.xml | 99 - .../tuscany/sca/itest/builder/ComponentDImpl.java | 45 - .../ComponentDReferenceMultiplicityImpl.java | 48 - .../tuscany/sca/itest/builder/ComponentEImpl.java | 36 - .../tuscany/sca/itest/builder/ComponentFImpl.java | 36 - .../apache/tuscany/sca/itest/builder/Service3.java | 33 - .../tuscany/sca/itest/builder/Service3a.java | 33 - .../scenario1/META-INF/sca-contribution.xml | 24 - .../main/resources/scenario1/scenario1.composite | 45 - .../main/resources/scenario1/scenario1a.composite | 47 - .../scenario10/META-INF/sca-contribution.xml | 24 - .../main/resources/scenario10/scenario10.composite | 62 - .../resources/scenario10/scenario10a.composite | 61 - .../src/main/resources/scenario10/service3.wsdl | 63 - .../scenario11/META-INF/sca-contribution.xml | 24 - .../main/resources/scenario11/scenario11.composite | 59 - .../resources/scenario11/scenario11a.composite | 64 - .../src/main/resources/scenario11/service3.wsdl | 63 - .../scenario12/META-INF/sca-contribution.xml | 24 - .../main/resources/scenario12/scenario12.composite | 58 - .../resources/scenario12/scenario12a.composite | 64 - .../scenario13/META-INF/sca-contribution.xml | 24 - .../main/resources/scenario13/scenario13.composite | 58 - .../resources/scenario13/scenario13a.composite | 64 - .../scenario2/META-INF/sca-contribution.xml | 24 - .../main/resources/scenario2/scenario2.composite | 45 - .../main/resources/scenario2/scenario2a.composite | 47 - .../scenario3/META-INF/sca-contribution.xml | 24 - .../main/resources/scenario3/scenario3.composite | 44 - .../main/resources/scenario3/scenario3a.composite | 48 - .../scenario4/META-INF/sca-contribution.xml | 24 - .../main/resources/scenario4/scenario4.composite | 44 - .../main/resources/scenario4/scenario4a.composite | 48 - .../scenario5/META-INF/sca-contribution.xml | 24 - .../main/resources/scenario5/scenario5.composite | 46 - .../main/resources/scenario5/scenario5a.composite | 47 - .../src/main/resources/scenario5/scenarios.wsdl | 63 - .../scenario6/META-INF/sca-contribution.xml | 24 - .../main/resources/scenario6/scenario6.composite | 47 - .../main/resources/scenario6/scenario6a.composite | 47 - .../src/main/resources/scenario6/scenarios.wsdl | 63 - .../scenario7/META-INF/sca-contribution.xml | 24 - .../main/resources/scenario7/scenario7.composite | 45 - .../main/resources/scenario7/scenario7a.composite | 49 - .../src/main/resources/scenario7/scenarios.wsdl | 63 - .../scenario8/META-INF/sca-contribution.xml | 24 - .../main/resources/scenario8/scenario8.composite | 44 - .../main/resources/scenario8/scenario8a.composite | 50 - .../src/main/resources/scenario8/scenarios.wsdl | 63 - .../scenario9/META-INF/sca-contribution.xml | 24 - .../main/resources/scenario9/scenario9.composite | 60 - .../main/resources/scenario9/scenario9a.composite | 61 - .../tuscany/sca/itest/builder/BuilderTestCase.java | 805 -- .../builder/CompositeBuilderNonWiringImpl.java | 153 - .../sca/itest/builder/CustomCompositeBuilder.java | 207 - .../tuscany/sca/itest/builder/TestUtils.java | 203 - .../itest/callablereferences-ws/pom.xml | 59 - .../src/main/java/com/example/ExampleClient.java | 26 - .../main/java/com/example/ExampleClientImpl.java | 59 - .../src/main/java/com/example/ExampleService.java | 30 - .../main/java/com/example/ExampleServiceImpl.java | 33 - .../sca/itest/callablerefwsreturn/Alpha.java | 26 - .../sca/itest/callablerefwsreturn/AlphaImpl.java | 96 - .../sca/itest/callablerefwsreturn/Beta.java | 27 - .../sca/itest/callablerefwsreturn/BetaImpl.java | 46 - .../sca/itest/callablerefwsreturn/Gamma.java | 34 - .../sca/itest/callablerefwsreturn/GammaImpl.java | 49 - .../CallableReferenceWsReturnTest.composite | 54 - .../src/main/resources/example.composite | 40 - .../src/test/java/com/example/ExampleTestCase.java | 44 - .../CallableReferenceReturnTestCase.java | 49 - java/sca-contrib/itest/callablereferences/pom.xml | 81 - .../tuscany/sca/itest/callableref/AComponent.java | 39 - .../sca/itest/callableref/AComponentImpl.java | 114 - .../tuscany/sca/itest/callableref/BComponent.java | 30 - .../sca/itest/callableref/BComponentImpl.java | 38 - .../tuscany/sca/itest/callableref/CComponent.java | 27 - .../sca/itest/callableref/CComponentImpl.java | 30 - .../tuscany/sca/itest/callableref/DComponent.java | 30 - .../sca/itest/callableref/DComponentImpl.java | 65 - .../ConversationalService.java | 68 - .../ConversationalServiceImpl.java | 111 - .../tuscany/sca/itest/callablerefreturn/Alpha.java | 27 - .../sca/itest/callablerefreturn/AlphaImpl.java | 86 - .../tuscany/sca/itest/callablerefreturn/Beta.java | 28 - .../sca/itest/callablerefreturn/BetaImpl.java | 44 - .../tuscany/sca/itest/callablerefreturn/Gamma.java | 35 - .../sca/itest/callablerefreturn/GammaImpl.java | 47 - .../CallableReferenceConversationalTest.composite | 29 - .../CallableReferenceReturnTest.composite | 39 - .../main/resources/CallableReferenceTest.composite | 45 - .../src/main/resources/nodeA/CompositeA.composite | 46 - .../resources/nodeA/META-INF/sca-contribution.xml | 22 - .../src/main/resources/nodeB/CompositeB.composite | 43 - .../resources/nodeB/META-INF/sca-contribution.xml | 22 - .../CallableReferenceConversationalTestCase.java | 109 - .../CallableReferenceRemoteTestCase.java | 145 - .../CallableReferenceReturnTestCase.java | 48 - .../callableref/CallableReferenceTestCase.java | 83 - .../contribution-classes/build-jar.xml | 39 - .../contribution-classes/pom.xml | 203 - .../main/java/supplychain/customer/Customer.java | 35 - .../customer/JavaCustomerComponentImpl.java | 63 - .../illegal/JavaCustomerComponentImpl.java | 74 - .../retailer/JavaRetailerComponentImpl.java | 61 - .../main/java/supplychain/retailer/Retailer.java | 28 - .../shipper/JavaShipperComponentImpl.java | 52 - .../src/main/java/supplychain/shipper/Shipper.java | 28 - .../warehouse/JavaWarehouseComponentImpl.java | 47 - .../main/java/supplychain/warehouse/Warehouse.java | 28 - .../complete-supplychain-sca-contribution.xml | 26 - .../META-INF/customer-impl-sca-contribution.xml | 26 - .../customer-interface-sca-contribution.xml | 26 - .../META-INF/customer-sca-contribution.xml | 25 - .../META-INF/illegal-customer-sca-contribution.xml | 26 - .../illegal1-supplychain-sca-contribution.xml | 24 - .../illegal2-supplychain-sca-contribution.xml | 31 - .../META-INF/retailer-sca-contribution.xml | 25 - .../META-INF/shipper-sca-contribution.xml | 25 - .../META-INF/supplychain-sca-contribution.xml | 30 - .../META-INF/warehouse-sca-contribution.xml | 25 - .../supplychain/illegalsupplychain.composite | 48 - .../resources/supplychain/supplychain.composite | 48 - .../JavaWarehouseComponentImpl.componentType | 28 - .../contribution-test/pom.xml | 53 - .../test/contribution/ContributionTestCase.java | 373 - .../tuscany/sca/test/contribution/SupplyChain.java | 231 - .../TuscanyClassloadingTestCaseFIXME.java | 381 - .../itest/contribution-classloader/pom.xml | 51 - .../export-composite/pom.xml | 67 - .../src/main/java/hello/Hello.java | 30 - .../src/main/java/hello/HelloImpl.java | 33 - .../main/resources/META-INF/sca-contribution.xml | 25 - .../src/main/resources/hello.composite | 31 - .../sca/test/contribution/HelloTestCase.java | 91 - .../contribution-import-export/export-java/pom.xml | 67 - .../main/java/helloworld/HelloWorldService.java | 30 - .../main/resources/META-INF/sca-contribution.xml | 24 - .../helloworld/HelloWorldImpl.componentType | 30 - .../export-resource/pom.xml | 31 - .../main/resources/META-INF/sca-contribution.xml | 24 - .../src/main/resources/ufservices/store.html | 27 - .../contribution-import-export/export-wsdl/pom.xml | 31 - .../main/resources/META-INF/sca-contribution.xml | 24 - .../export-wsdl/src/main/resources/helloworld.wsdl | 76 - .../export-wsdl/src/main/resources/helloworld.xsd | 35 - .../import-composite/pom.xml | 73 - .../src/main/java/helloworld/HelloWorldImpl.java | 38 - .../src/main/java/helloworld/HelloWorldServer.java | 46 - .../main/java/helloworld/HelloWorldService.java | 30 - .../main/resources/META-INF/sca-contribution.xml | 27 - .../src/main/resources/helloworld.wsdl | 76 - .../src/main/resources/helloworld.xsd | 35 - .../src/main/resources/helloworldws.composite | 39 - .../contribution/HelloWorldServerTestCase.java | 126 - .../contribution-import-export/import-java/pom.xml | 73 - .../src/main/java/helloworld/HelloWorldImpl.java | 33 - .../main/resources/META-INF/sca-contribution.xml | 25 - .../src/main/resources/helloworldws.composite | 29 - .../contribution/HelloWorldServerTestCase.java | 127 - .../import-resource/pom.xml | 102 - .../main/resources/META-INF/sca-contribution.xml | 25 - .../src/main/resources/store.composite | 33 - .../sca/test/contribution/StoreTestCase.java | 129 - .../contribution-import-export/import-wsdl/pom.xml | 73 - .../src/main/java/helloworld/HelloWorldImpl.java | 33 - .../src/main/java/helloworld/HelloWorldServer.java | 46 - .../main/java/helloworld/HelloWorldService.java | 30 - .../main/resources/META-INF/sca-contribution.xml | 25 - .../src/main/resources/helloworldws.composite | 33 - .../contribution/HelloWorldServerTestCase.java | 137 - .../itest/contribution-import-export/pom.xml | 56 - .../itest/contribution-multiple/pom.xml | 51 - .../src/test/java/hello/Hello.java | 27 - .../src/test/java/hello/HelloImpl.java | 33 - .../src/test/java/helloworld/HelloWorldImpl.java | 38 - .../test/java/helloworld/HelloWorldService.java | 28 - .../java/test/ContributionCycleTestCaseFIXME.java | 121 - .../test/ContributionMultipleTestCaseFIXME.java | 131 - .../src/test/java/test/ContributionTestCase.java | 145 - .../META-INF/sca-contribution.xml | 26 - .../contribution-cycle-export/hello.composite | 31 - .../META-INF/sca-contribution.xml | 26 - .../helloworld_one.composite | 35 - .../META-INF/sca-contribution.xml | 25 - .../resources/contribution-export/hello.composite | 31 - .../META-INF/sca-contribution.xml | 26 - .../helloworld_one.composite | 35 - .../META-INF/sca-contribution.xml | 26 - .../helloworld_two.composite | 35 - java/sca-contrib/itest/contribution/pom.xml | 52 - .../src/main/java/calculator/AddService.java | 32 - .../src/main/java/calculator/AddServiceImpl.java | 30 - .../src/main/java/calculator/CalculatorClient.java | 46 - .../main/java/calculator/CalculatorService.java | 35 - .../java/calculator/CalculatorServiceImpl.java | 70 - .../src/main/java/calculator/DivideService.java | 32 - .../main/java/calculator/DivideServiceImpl.java | 30 - .../src/main/java/calculator/MultiplyService.java | 33 - .../main/java/calculator/MultiplyServiceImpl.java | 30 - .../src/main/java/calculator/SubtractService.java | 33 - .../main/java/calculator/SubtractServiceImpl.java | 30 - .../src/main/resources/ContributionTest.composite | 24 - .../main/resources/calculator/Calculator.composite | 51 - .../main/resources/calculator/sca-contribution.xml | 24 - .../contribution/ContributionServiceTestCase.java | 218 - .../resources/deployables/sample-calculator.jar | Bin 26901 -> 0 bytes .../resources/repository/sample-calculator.jar | Bin 26901 -> 0 bytes java/sca-contrib/itest/conversations-ws/pom.xml | 60 - .../itest/conversational/BusinessException.java | 41 - .../conversational/ConversationIdService.java | 29 - .../conversational/ConversationalCallback.java | 50 - .../itest/conversational/ConversationalClient.java | 50 - .../ConversationalReferenceClient.java | 36 - .../conversational/ConversationalService.java | 58 - ...ersationalServiceNonConversationalCallback.java | 59 - .../conversational/NonConversationalCallback.java | 42 - .../impl/ConversationAgeComponentImpl.java | 76 - .../impl/ConversationIdComponentImpl.java | 48 - .../impl/ConversationMaxIdleComponentImpl.java | 76 - .../impl/ConversationalClientStatefulImpl.java | 322 - ...lientStatefulNonConversationalCallbackImpl.java | 311 - .../impl/ConversationalClientStatelessImpl.java | 318 - .../impl/ConversationalReferenceClientImpl.java | 43 - .../impl/ConversationalServiceRequestImpl.java | 124 - .../impl/ConversationalServiceStatefulImpl.java | 119 - ...rviceStatefulNonConversationalCallbackImpl.java | 118 - .../impl/ConversationalServiceStatelessImpl.java | 122 - .../ConversationalServiceStatelessScopeImpl.java | 94 - .../Conversational/META-INF/sca-contribution.xml | 22 - .../Conversational/conversational.composite | 169 - .../ConversationalServiceStateful.wsdl | 383 - .../META-INF/sca-contribution.xml | 22 - .../conversationalWSDL.composite | 46 - .../conversational/ConversationWSDLTestCase.java | 75 - .../NonConversationalCallbackTestCase.java | 198 - .../itest/conversational/RequestScopeTestCase.java | 209 - .../conversational/StatefulStatefulTestCase.java | 193 - .../conversational/StatefulStatelessTestCase.java | 193 - .../conversational/StatelessStatefulTestCase.java | 205 - .../conversational/StatelessStatelessTestCase.java | 192 - java/sca-contrib/itest/corba/pom.xml | 169 - .../sca/test/corba/ScenarioFiveTestCase.java | 51 - .../sca/test/corba/ScenarioFourTestCase.java | 149 - .../sca/test/corba/ScenarioOneTestCase.java | 371 - .../sca/test/corba/ScenarioSixTestCase.java | 228 - .../sca/test/corba/ScenarioThreeTestCase.java | 130 - .../sca/test/corba/ScenarioTwoTestCase.java | 139 - .../tuscany/sca/test/corba/TestCorbaHost.java | 56 - .../test/corba/TestCorbaHostModuleActivator.java | 41 - .../sca/test/corba/generated/AnnotatedStruct.java | 43 - .../corba/generated/AnnotatedStructHelper.java | 97 - .../corba/generated/AnnotatedStructHolder.java | 57 - .../tuscany/sca/test/corba/generated/Color.java | 61 - .../sca/test/corba/generated/ColorHelper.java | 72 - .../sca/test/corba/generated/ColorHolder.java | 57 - .../sca/test/corba/generated/InnerStruct.java | 47 - .../test/corba/generated/InnerStructHelper.java | 112 - .../test/corba/generated/InnerStructHolder.java | 57 - .../sca/test/corba/generated/InnerUnion.java | 112 - .../sca/test/corba/generated/InnerUnionHelper.java | 106 - .../sca/test/corba/generated/InnerUnionHolder.java | 38 - .../test/corba/generated/LongSequenceHelper.java | 79 - .../test/corba/generated/LongSequenceHolder.java | 58 - .../sca/test/corba/generated/RichStruct.java | 47 - .../sca/test/corba/generated/RichStructHelper.java | 110 - .../sca/test/corba/generated/RichStructHolder.java | 57 - .../sca/test/corba/generated/RichUnion.java | 177 - .../sca/test/corba/generated/RichUnionHelper.java | 157 - .../sca/test/corba/generated/RichUnionHolder.java | 38 - .../sca/test/corba/generated/ScenarioOne.java | 32 - .../test/corba/generated/ScenarioOneHelper.java | 104 - .../test/corba/generated/ScenarioOneHolder.java | 57 - .../corba/generated/ScenarioOneOperations.java | 33 - .../sca/test/corba/generated/ScenarioSix.java | 32 - .../test/corba/generated/ScenarioSixHelper.java | 104 - .../test/corba/generated/ScenarioSixHolder.java | 57 - .../corba/generated/ScenarioSixOperations.java | 35 - .../sca/test/corba/generated/ScenarioTwo.java | 34 - .../test/corba/generated/ScenarioTwoHelper.java | 106 - .../test/corba/generated/ScenarioTwoHolder.java | 59 - .../corba/generated/ScenarioTwoOperations.java | 36 - .../test/corba/generated/StringArrayHelper.java | 95 - .../test/corba/generated/StringArrayHolder.java | 58 - .../test/corba/generated/StringSequenceHelper.java | 81 - .../test/corba/generated/StringSequenceHolder.java | 58 - .../corba/generated/TwoDimLongSequenceHelper.java | 83 - .../corba/generated/TwoDimLongSequenceHolder.java | 58 - .../test/corba/generated/UnexpectedException.java | 52 - .../corba/generated/UnexpectedExceptionHelper.java | 98 - .../corba/generated/UnexpectedExceptionHolder.java | 57 - .../sca/test/corba/generated/WrongColor.java | 55 - .../sca/test/corba/generated/WrongColorHelper.java | 105 - .../sca/test/corba/generated/WrongColorHolder.java | 57 - .../test/corba/generated/_ScenarioOneImplBase.java | 91 - .../sca/test/corba/generated/_ScenarioOneStub.java | 84 - .../test/corba/generated/_ScenarioSixImplBase.java | 105 - .../sca/test/corba/generated/_ScenarioSixStub.java | 119 - .../test/corba/generated/_ScenarioTwoImplBase.java | 93 - .../sca/test/corba/generated/_ScenarioTwoStub.java | 99 - .../tuscany/sca/test/corba/types/ScenarioFive.java | 33 - .../test/corba/types/ScenarioFiveComponent.java | 41 - .../sca/test/corba/types/ScenarioFiveImpl.java | 32 - .../tuscany/sca/test/corba/types/ScenarioFour.java | 38 - .../test/corba/types/ScenarioFourComponent.java | 41 - .../test/corba/types/ScenarioFourException.java | 41 - .../sca/test/corba/types/ScenarioFourImpl.java | 44 - .../sca/test/corba/types/ScenarioFourStruct.java | 40 - .../sca/test/corba/types/ScenarioOneComponent.java | 46 - .../sca/test/corba/types/ScenarioOneServant.java | 45 - .../sca/test/corba/types/ScenarioSixServant.java | 46 - .../sca/test/corba/types/ScenarioTwoServant.java | 42 - .../sca/test/corba/types/TAnnotatedStruct.java | 40 - .../tuscany/sca/test/corba/types/TColor.java | 62 - .../tuscany/sca/test/corba/types/TInnerStruct.java | 42 - .../tuscany/sca/test/corba/types/TInnerUnion.java | 59 - .../tuscany/sca/test/corba/types/TRichStruct.java | 42 - .../tuscany/sca/test/corba/types/TRichUnion.java | 95 - .../tuscany/sca/test/corba/types/TScenarioOne.java | 33 - .../test/corba/types/TScenarioOneComponent.java | 43 - .../sca/test/corba/types/TScenarioOneServant.java | 44 - .../tuscany/sca/test/corba/types/TScenarioSix.java | 37 - .../test/corba/types/TScenarioSixComponent.java | 41 - .../sca/test/corba/types/TScenarioSixServant.java | 42 - .../sca/test/corba/types/TScenarioThree.java | 42 - .../test/corba/types/TScenarioThreeComponent.java | 41 - .../test/corba/types/TScenarioThreeServant.java | 52 - .../tuscany/sca/test/corba/types/TScenarioTwo.java | 32 - .../test/corba/types/TScenarioTwoComponent.java | 41 - .../sca/test/corba/types/TScenarioTwoServant.java | 38 - .../org.apache.tuscany.sca.core.ModuleActivator | 18 - .../src/test/resources/ScenarioFive.composite | 41 - .../src/test/resources/ScenarioFour.composite | 56 - .../corba/src/test/resources/ScenarioOne.composite | 111 - .../corba/src/test/resources/ScenarioSix.composite | 41 - .../src/test/resources/ScenarioThree.composite | 43 - .../corba/src/test/resources/ScenarioTwo.composite | 43 - .../corba/src/test/resources/itest_scenario.idl | 110 - .../corba/src/test/resources/scenariofour.xsd | 31 - java/sca-contrib/itest/databindings/common/pom.xml | 126 - .../tuscany/sca/itest/generate/Generate.java | 181 - .../resources/generate/DatabindingTestCase.java.vm | 112 - .../src/main/resources/generate/Greeter.wsdl.vm | 103 - .../main/resources/generate/GreeterService.java.vm | 53 - .../generate/GreeterServiceClient.java.vm | 42 - .../generate/GreeterServiceClientImpl.java.vm | 65 - .../resources/generate/GreeterServiceImpl.java.vm | 55 - .../src/main/resources/generate/generate.xsd | 61 - .../common/src/main/resources/wsdl/Dummy.txt | 4 - .../common/src/main/resources/xsd/Annotation.xml | 24 - .../common/src/main/resources/xsd/Annotation.xsd | 38 - .../common/src/main/resources/xsd/Attribute.xml | 24 - .../common/src/main/resources/xsd/Attribute.xsd | 39 - .../src/main/resources/xsd/AttributeReference.xml | 24 - .../src/main/resources/xsd/AttributeReference.xsd | 40 - .../resources/xsd/AttributeWithDefaultValue.xml | 24 - .../resources/xsd/AttributeWithDefaultValue.xsd | 38 - .../main/resources/xsd/AttributeWithFixedValue.xml | 24 - .../main/resources/xsd/AttributeWithFixedValue.xsd | 38 - .../resources/xsd/AttributeWithSDOAliasName.xml | 24 - .../resources/xsd/AttributeWithSDOAliasName.xsd | 38 - .../resources/xsd/AttributeWithSDODataType.xml | 24 - .../resources/xsd/AttributeWithSDODataType.xsd | 38 - .../main/resources/xsd/AttributeWithSDOName.xml | 24 - .../main/resources/xsd/AttributeWithSDOName.xsd | 38 - ...ibuteWithSDOPropertySDOOppositePropertyType.xml | 24 - ...ibuteWithSDOPropertySDOOppositePropertyType.xsd | 38 - .../resources/xsd/AttributeWithSDOPropertyType.xml | 24 - .../resources/xsd/AttributeWithSDOPropertyType.xsd | 38 - .../main/resources/xsd/AttributeWithSDOString.xml | 24 - .../main/resources/xsd/AttributeWithSDOString.xsd | 38 - .../main/resources/xsd/BuiltInAnySimpleType.xml | 24 - .../main/resources/xsd/BuiltInAnySimpleType.xsd | 31 - .../src/main/resources/xsd/BuiltInAnyType.xml | 24 - .../src/main/resources/xsd/BuiltInAnyType.xsd | 31 - .../src/main/resources/xsd/BuiltInAnyURI.xml | 24 - .../src/main/resources/xsd/BuiltInAnyURI.xsd | 31 - .../src/main/resources/xsd/BuiltInBase64Binary.xml | 24 - .../src/main/resources/xsd/BuiltInBase64Binary.xsd | 31 - .../src/main/resources/xsd/BuiltInBoolean.xml | 27 - .../src/main/resources/xsd/BuiltInBoolean.xsd | 31 - .../common/src/main/resources/xsd/BuiltInByte.xml | 25 - .../common/src/main/resources/xsd/BuiltInByte.xsd | 31 - .../common/src/main/resources/xsd/BuiltInDate.xml | 24 - .../common/src/main/resources/xsd/BuiltInDate.xsd | 31 - .../src/main/resources/xsd/BuiltInDateTime.xml | 24 - .../src/main/resources/xsd/BuiltInDateTime.xsd | 31 - .../src/main/resources/xsd/BuiltInDecimal.xml | 23 - .../src/main/resources/xsd/BuiltInDecimal.xsd | 31 - .../src/main/resources/xsd/BuiltInDouble.xml | 25 - .../src/main/resources/xsd/BuiltInDouble.xsd | 31 - .../src/main/resources/xsd/BuiltInDuration.xml | 24 - .../src/main/resources/xsd/BuiltInDuration.xsd | 31 - .../common/src/main/resources/xsd/BuiltInFloat.xml | 24 - .../common/src/main/resources/xsd/BuiltInFloat.xsd | 31 - .../common/src/main/resources/xsd/BuiltInGDay.xml | 24 - .../common/src/main/resources/xsd/BuiltInGDay.xsd | 31 - .../src/main/resources/xsd/BuiltInGMonth.xml | 24 - .../src/main/resources/xsd/BuiltInGMonth.xsd | 31 - .../src/main/resources/xsd/BuiltInGMonthDay.xml | 24 - .../src/main/resources/xsd/BuiltInGMonthDay.xsd | 31 - .../common/src/main/resources/xsd/BuiltInGYear.xml | 24 - .../common/src/main/resources/xsd/BuiltInGYear.xsd | 31 - .../src/main/resources/xsd/BuiltInGYearMonth.xml | 24 - .../src/main/resources/xsd/BuiltInGYearMonth.xsd | 31 - .../src/main/resources/xsd/BuiltInHexBinary.xml | 24 - .../src/main/resources/xsd/BuiltInHexBinary.xsd | 31 - .../common/src/main/resources/xsd/BuiltInID.xml | 24 - .../common/src/main/resources/xsd/BuiltInID.xsd | 31 - .../common/src/main/resources/xsd/BuiltInIDREF.xml | 24 - .../common/src/main/resources/xsd/BuiltInIDREF.xsd | 31 - .../src/main/resources/xsd/BuiltInIDREFS.xml | 24 - .../src/main/resources/xsd/BuiltInIDREFS.xsd | 31 - .../common/src/main/resources/xsd/BuiltInInt.xml | 25 - .../common/src/main/resources/xsd/BuiltInInt.xsd | 31 - .../src/main/resources/xsd/BuiltInInteger.xml | 25 - .../src/main/resources/xsd/BuiltInInteger.xsd | 31 - .../src/main/resources/xsd/BuiltInLanguage.xml | 24 - .../src/main/resources/xsd/BuiltInLanguage.xsd | 31 - .../common/src/main/resources/xsd/BuiltInLong.xml | 25 - .../common/src/main/resources/xsd/BuiltInLong.xsd | 33 - .../src/main/resources/xsd/BuiltInNCName.xml | 24 - .../src/main/resources/xsd/BuiltInNCName.xsd | 31 - .../src/main/resources/xsd/BuiltInNMTOKEN.xml | 24 - .../src/main/resources/xsd/BuiltInNMTOKEN.xsd | 31 - .../src/main/resources/xsd/BuiltInNMTOKENS.xml | 24 - .../src/main/resources/xsd/BuiltInNMTOKENS.xsd | 31 - .../src/main/resources/xsd/BuiltInNOTATION.xml | 24 - .../src/main/resources/xsd/BuiltInNOTATION.xsd | 39 - .../common/src/main/resources/xsd/BuiltInName.xml | 24 - .../common/src/main/resources/xsd/BuiltInName.xsd | 31 - .../main/resources/xsd/BuiltInNegativeInteger.xml | 24 - .../main/resources/xsd/BuiltInNegativeInteger.xsd | 31 - .../resources/xsd/BuiltInNonNegativeInteger.xml | 24 - .../resources/xsd/BuiltInNonNegativeInteger.xsd | 31 - .../resources/xsd/BuiltInNonPositiveInteger.xml | 24 - .../resources/xsd/BuiltInNonPositiveInteger.xsd | 31 - .../main/resources/xsd/BuiltInNormalizedString.xml | 24 - .../main/resources/xsd/BuiltInNormalizedString.xsd | 31 - .../main/resources/xsd/BuiltInPositiveInteger.xml | 24 - .../main/resources/xsd/BuiltInPositiveInteger.xsd | 31 - .../common/src/main/resources/xsd/BuiltInQName.xml | 24 - .../common/src/main/resources/xsd/BuiltInQName.xsd | 31 - .../common/src/main/resources/xsd/BuiltInShort.xml | 25 - .../common/src/main/resources/xsd/BuiltInShort.xsd | 31 - .../src/main/resources/xsd/BuiltInString.xml | 24 - .../src/main/resources/xsd/BuiltInString.xsd | 31 - .../common/src/main/resources/xsd/BuiltInTime.xml | 24 - .../common/src/main/resources/xsd/BuiltInTime.xsd | 31 - .../common/src/main/resources/xsd/BuiltInToken.xml | 24 - .../common/src/main/resources/xsd/BuiltInToken.xsd | 31 - .../src/main/resources/xsd/BuiltInUnsignedByte.xml | 25 - .../src/main/resources/xsd/BuiltInUnsignedByte.xsd | 31 - .../src/main/resources/xsd/BuiltInUnsignedInt.xml | 25 - .../src/main/resources/xsd/BuiltInUnsignedInt.xsd | 31 - .../src/main/resources/xsd/BuiltInUnsignedLong.xml | 25 - .../src/main/resources/xsd/BuiltInUnsignedLong.xsd | 31 - .../main/resources/xsd/BuiltInUnsignedShort.xml | 25 - .../main/resources/xsd/BuiltInUnsignedShort.xsd | 31 - ...lexTypeComplexContentRestrictingComplexType.xml | 26 - ...lexTypeComplexContentRestrictingComplexType.xsd | 44 - .../xsd/ComplexTypeExtendingComplexType.xml | 27 - .../xsd/ComplexTypeExtendingComplexType.xsd | 43 - .../xsd/ComplexTypeExtendingSimpleType.xml | 24 - .../xsd/ComplexTypeExtendingSimpleType.xsd | 41 - ...plexTypeSimpleContentRestrictingComplexType.xml | 24 - ...plexTypeSimpleContentRestrictingComplexType.xsd | 41 - .../main/resources/xsd/ComplexTypeWithAbstract.xml | 27 - .../main/resources/xsd/ComplexTypeWithAbstract.xsd | 47 - .../main/resources/xsd/ComplexTypeWithCDATA.xml | 30 - .../main/resources/xsd/ComplexTypeWithCDATA.xsd | 39 - .../main/resources/xsd/ComplexTypeWithContent.xml | 26 - .../main/resources/xsd/ComplexTypeWithContent.xsd | 37 - .../main/resources/xsd/ComplexTypeWithMixed.xml | 29 - .../main/resources/xsd/ComplexTypeWithMixed.xsd | 39 - .../xsd/ComplexTypeWithOpenAttributes.xml | 24 - .../xsd/ComplexTypeWithOpenAttributes.xsd | 42 - .../resources/xsd/ComplexTypeWithOpenContent.xml | 31 - .../resources/xsd/ComplexTypeWithOpenContent.xsd | 39 - .../xsd/ComplexTypeWithOppositeProperty.xml | 30 - .../xsd/ComplexTypeWithOppositeProperty.xsd | 59 - .../resources/xsd/ComplexTypeWithSDOAliasName.xml | 26 - .../resources/xsd/ComplexTypeWithSDOAliasName.xsd | 38 - .../main/resources/xsd/ComplexTypeWithSDOName.xml | 26 - .../main/resources/xsd/ComplexTypeWithSDOName.xsd | 38 - .../resources/xsd/ComplexTypeWithSDOSequence.xml | 26 - .../resources/xsd/ComplexTypeWithSDOSequence.xsd | 40 - .../resources/xsd/ComplexTypeWithoutContent.xml | 24 - .../resources/xsd/ComplexTypeWithoutContent.xsd | 33 - .../main/resources/xsd/ComplexTypeWithoutName.xml | 26 - .../main/resources/xsd/ComplexTypeWithoutName.xsd | 39 - .../src/main/resources/xsd/DefaultNamespace.xml | 23 - .../src/main/resources/xsd/DefaultNamespace.xsd | 32 - .../common/src/main/resources/xsd/ElementInAll.xml | 27 - .../common/src/main/resources/xsd/ElementInAll.xsd | 40 - .../src/main/resources/xsd/ElementInChoice.xml | 25 - .../src/main/resources/xsd/ElementInChoice.xsd | 48 - .../xsd/ElementOfSDOChangeSummaryType.xml | 29 - .../xsd/ElementOfSDOChangeSummaryType.xsd | 34 - .../xsd/ElementOfSimpleTypeWithDefault.xml | 24 - .../xsd/ElementOfSimpleTypeWithDefault.xsd | 31 - .../resources/xsd/ElementOfSimpleTypeWithFixed.xml | 24 - .../resources/xsd/ElementOfSimpleTypeWithFixed.xsd | 31 - .../xsd/ElementOfSimpleTypeWithSDODataType.xml | 24 - .../xsd/ElementOfSimpleTypeWithSDODataType.xsd | 33 - ...mentOfSimpleTypeWithSDOOppositePropertyType.xml | 24 - ...mentOfSimpleTypeWithSDOOppositePropertyType.xsd | 33 - .../xsd/ElementOfSimpleTypeWithSDOPropertyType.xml | 24 - .../xsd/ElementOfSimpleTypeWithSDOPropertyType.xsd | 32 - .../xsd/ElementOfSimpleTypeWithSDOString.xml | 24 - .../xsd/ElementOfSimpleTypeWithSDOString.xsd | 32 - .../resources/xsd/ElementSubstitutionGroupBase.xml | 40 - .../resources/xsd/ElementSubstitutionGroupBase.xsd | 52 - .../main/resources/xsd/ElementWithMaxOccurs.xml | 25 - .../main/resources/xsd/ElementWithMaxOccurs.xsd | 31 - .../src/main/resources/xsd/ElementWithNillable.xml | 24 - .../src/main/resources/xsd/ElementWithNillable.xsd | 31 - .../main/resources/xsd/ElementWithSDOAliasName.xml | 24 - .../main/resources/xsd/ElementWithSDOAliasName.xsd | 32 - .../src/main/resources/xsd/ElementWithSDOName.xml | 24 - .../src/main/resources/xsd/ElementWithSDOName.xsd | 32 - .../resources/xsd/GlobalElementComplexType.xml | 24 - .../resources/xsd/GlobalElementComplexType.xsd | 31 - .../main/resources/xsd/GlobalElementSimpleType.xml | 24 - .../main/resources/xsd/GlobalElementSimpleType.xsd | 26 - .../common/src/main/resources/xsd/Import.xml | 30 - .../common/src/main/resources/xsd/Import.xsd | 40 - .../src/main/resources/xsd/ImportedSchema.xsd | 33 - .../common/src/main/resources/xsd/Include.xml | 24 - .../common/src/main/resources/xsd/Include.xsd | 36 - .../common/src/main/resources/xsd/Interop.xsd | 138 - .../common/src/main/resources/xsd/Notation.xml | 24 - .../common/src/main/resources/xsd/Notation.xsd | 35 - .../common/src/main/resources/xsd/Person.xsd | 30 - .../src/main/resources/xsd/SDOJavaPackage.xml | 25 - .../src/main/resources/xsd/SDOJavaPackage.xsd | 39 - .../main/resources/xsd/SimpleTypeWithAbstract.xml | 24 - .../main/resources/xsd/SimpleTypeWithAbstract.xsd | 40 - .../xsd/SimpleTypeWithExtendedInstanceClass.xml | 24 - .../xsd/SimpleTypeWithExtendedInstanceClass.xsd | 36 - .../resources/xsd/SimpleTypeWithInstanceClass.xml | 24 - .../resources/xsd/SimpleTypeWithInstanceClass.xsd | 37 - .../src/main/resources/xsd/SimpleTypeWithList.xml | 24 - .../src/main/resources/xsd/SimpleTypeWithList.xsd | 37 - .../src/main/resources/xsd/SimpleTypeWithName.xml | 24 - .../src/main/resources/xsd/SimpleTypeWithName.xsd | 36 - .../main/resources/xsd/SimpleTypeWithSDOName.xml | 24 - .../main/resources/xsd/SimpleTypeWithSDOName.xsd | 37 - .../src/main/resources/xsd/SimpleTypeWithUnion.xml | 25 - .../src/main/resources/xsd/SimpleTypeWithUnion.xsd | 46 - .../main/resources/xsd/SimpleTypeWithoutName.xml | 26 - .../main/resources/xsd/SimpleTypeWithoutName.xsd | 38 - .../src/main/resources/xsd/TargetNamespace.xml | 24 - .../src/main/resources/xsd/TargetNamespace.xsd | 34 - .../common/src/main/resources/xsd/datagraph.xsd | 88 - .../common/src/main/resources/xsd/sdoJava.xsd | 88 - .../common/src/main/resources/xsd/sdoModel.xsd | 221 - .../sca/itest/generate/GenerateTestCase.java | 49 - java/sca-contrib/itest/databindings/config.png | Bin 31222 -> 0 bytes java/sca-contrib/itest/databindings/config.svg | 117 - .../sca-contrib/itest/databindings/databinding.png | Bin 14106 -> 0 bytes .../sca-contrib/itest/databindings/databinding.svg | 242 - java/sca-contrib/itest/databindings/interop.png | Bin 23179 -> 0 bytes java/sca-contrib/itest/databindings/interop.svg | 352 - .../sca-contrib/itest/databindings/interop/pom.xml | 223 - .../generate/InteropDatabindingTestCase.java.vm | 113 - .../main/resources/generate/JAXBGreeter.wsdl.vm | 103 - .../src/main/resources/generate/SDOGreeter.wsdl.vm | 103 - .../src/main/resources/generate/generate.xml | 159 - .../resources/generate/interopgreeter.composite.vm | 78 - .../itest/databindings/jaxb-bottom-up/pom.xml | 239 - .../itest/databindings/jaxb/AClientService.java | 29 - .../sca/itest/databindings/jaxb/AService.java | 32 - .../tuscany/sca/itest/databindings/jaxb/Bean1.java | 63 - .../sca/itest/databindings/jaxb/Bean10.java | 25 - .../sca/itest/databindings/jaxb/Bean11.java | 25 - .../tuscany/sca/itest/databindings/jaxb/Bean2.java | 56 - .../tuscany/sca/itest/databindings/jaxb/Bean3.java | 56 - .../sca/itest/databindings/jaxb/Bean31.java | 56 - .../databindings/jaxb/GenericsLocalService.java | 42 - .../itest/databindings/jaxb/GenericsService.java | 30 - .../databindings/jaxb/GenericsServiceClient.java | 43 - .../databindings/jaxb/HelloLocalServiceSimple.java | 37 - .../databindings/jaxb/HelloServiceSimple.java | 29 - .../jaxb/HelloServiceSimpleClient.java | 38 - .../databindings/jaxb/PrimitivesLocalService.java | 47 - .../itest/databindings/jaxb/PrimitivesService.java | 29 - .../databindings/jaxb/PrimitivesServiceClient.java | 48 - .../jaxb/StandardTypesLocalService.java | 78 - .../databindings/jaxb/StandardTypesService.java | 30 - .../jaxb/StandardTypesServiceClient.java | 79 - .../databindings/jaxb/impl/AClientServiceImpl.java | 38 - .../itest/databindings/jaxb/impl/AServiceImpl.java | 33 - .../jaxb/impl/GenericsLocalServiceClientImpl.java | 77 - .../jaxb/impl/GenericsServiceClientImpl.java | 40 - .../jaxb/impl/GenericsServiceImpl.java | 69 - .../jaxb/impl/GenericsTransformer.java | 125 - .../impl/HelloLocalServiceSimpleClientImpl.java | 73 - .../jaxb/impl/HelloServiceSimpleClientImpl.java | 38 - .../jaxb/impl/HelloServiceSimpleImpl.java | 86 - .../impl/PrimitivesLocalServiceClientImpl.java | 138 - .../jaxb/impl/PrimitivesServiceClientImpl.java | 38 - .../jaxb/impl/PrimitivesServiceImpl.java | 151 - .../impl/StandardTypesLocalServiceClientImpl.java | 157 - .../jaxb/impl/StandardTypesServiceClientImpl.java | 38 - .../jaxb/impl/StandardTypesServiceImpl.java | 208 - .../jaxb/impl/StandardTypesTransformer.java | 144 - .../src/main/resources/aservice.wsdl | 127 - .../src/main/resources/doclitbarewsdl.composite | 37 - .../src/main/resources/generics-service.composite | 69 - .../src/main/resources/helloservice.composite | 65 - .../src/main/resources/primitivesservice.composite | 66 - .../resources/standard-types-service.composite | 66 - .../databindings/jaxb/DatabindingTestCase.java | 339 - .../databindings/jaxb/DocLitBareWsdlTestCase.java | 67 - .../jaxb/GenericsDatabindingTestCase.java | 484 - .../jaxb/PrimitivesDatabindingTestCase.java | 776 -- .../jaxb/StandardTypesDatabindingTestCase.java | 1438 --- .../itest/databindings/jaxb-top-down/pom.xml | 194 - .../sca/itest/databindings/jaxb/HelloService.java | 42 - .../databindings/jaxb/HelloServiceClient.java | 41 - .../itest/databindings/jaxb/PrimitivesService.java | 51 - .../databindings/jaxb/PrimitivesServiceClient.java | 50 - .../databindings/jaxb/StandardTypesService.java | 84 - .../jaxb/StandardTypesServiceClient.java | 81 - .../jaxb/impl/HelloServiceClientImpl.java | 73 - .../databindings/jaxb/impl/HelloServiceImpl.java | 86 - .../jaxb/impl/PrimitivesServiceClientImpl.java | 139 - .../jaxb/impl/PrimitivesServiceImpl.java | 151 - .../jaxb/impl/StandardTypesServiceClientImpl.java | 159 - .../jaxb/impl/StandardTypesServiceImpl.java | 207 - .../jaxb/impl/StandardTypesTransformer.java | 142 - .../main/resources/wsdl/wrapped/hello-service.wsdl | 371 - .../resources/wsdl/wrapped/helloservice.composite | 80 - .../resources/wsdl/wrapped/primitives-service.wsdl | 927 -- .../wsdl/wrapped/primitivesservice.composite | 80 - .../wsdl/wrapped/standard-types-service.composite | 80 - .../wsdl/wrapped/standard-types-service.wsdl | 1155 -- .../jaxb/topdown/DatabindingTestCase.java | 349 - .../topdown/PrimitivesDatabindingTestCase.java | 848 -- .../topdown/StandardTypesDatabindingTestCase.java | 1450 --- .../sca-contrib/itest/databindings/jaxbgen/pom.xml | 262 - .../src/main/resources/generate/generate.xml | 172 - .../jaxbgen/src/main/resources/greeter.composite | 49 - java/sca-contrib/itest/databindings/pom.xml | 47 - java/sca-contrib/itest/databindings/readme.html | 157 - java/sca-contrib/itest/databindings/sdogen/pom.xml | 251 - .../src/main/resources/generate/generate.xml | 170 - .../main/resources/generate/greeter.composite.vm | 56 - .../sca-contrib/itest/definitions-multiple/pom.xml | 51 - .../src/main/java/calculator/AddService.java | 34 - .../src/main/java/calculator/AddServiceImpl.java | 35 - .../main/java/calculator/CalculatorService.java | 35 - .../java/calculator/CalculatorServiceImpl.java | 75 - .../src/main/java/calculator/DivideService.java | 33 - .../main/java/calculator/DivideServiceImpl.java | 35 - .../src/main/java/calculator/MultiplyService.java | 28 - .../main/java/calculator/MultiplyServiceImpl.java | 35 - .../src/main/java/calculator/PolicyQNames.java | 43 - .../src/main/java/calculator/SubtractService.java | 28 - .../main/java/calculator/SubtractServiceImpl.java | 35 - .../contrib3/META-INF/sca-contribution.xml | 22 - .../src/main/resources/contrib3/definitions.xml | 37 - .../sca/itest/MultipleDefinitionsTestCase.java | 72 - .../java/org/apache/tuscany/sca/itest/Policy.java | 33 - .../tuscany/sca/itest/TestPolicyProcessor.java | 83 - ...ca.contribution.processor.StAXArtifactProcessor | 19 - .../test/resources/contrib1/Calculator.composite | 61 - .../contrib1/META-INF/sca-contribution.xml | 22 - .../src/test/resources/contrib1/definitions.xml | 33 - .../resources/contrib1/definitions/definitions.xml | 49 - .../src/test/resources/contrib2/definitions.xml | 32 - java/sca-contrib/itest/domain/pom.xml | 100 - .../src/main/java/calculator/AddService.java | 31 - .../src/main/java/calculator/AddServiceImpl.java | 31 - .../main/java/calculator/AddServiceUpdateImpl.java | 31 - .../main/java/calculator/CalculatorService.java | 38 - .../java/calculator/CalculatorServiceImpl.java | 74 - .../src/main/java/calculator/DivideService.java | 28 - .../main/java/calculator/DivideServiceImpl.java | 30 - .../src/main/java/calculator/MultiplyService.java | 28 - .../main/java/calculator/MultiplyServiceImpl.java | 30 - .../src/main/java/calculator/SubtractService.java | 31 - .../main/java/calculator/SubtractServiceImpl.java | 31 - .../resources/contributionA/Calculator.composite | 44 - .../contributionA/META-INF/sca-contribution.xml | 24 - .../META-INF/sca-deployables/Calculator.composite | 45 - .../META-INF/sca-deployables/Calculator.composite | 32 - .../contributionDependent/Calculator.composite | 36 - .../META-INF/sca-contribution.xml | 24 - .../contributionPrimary/Calculator.composite | 57 - .../META-INF/sca-contribution.xml | 25 - .../sca/itest/domain/ContributionSPIsTestCase.java | 279 - .../itest/exceptions-cross-binding-ws/pom.xml | 243 - .../test/exceptions/impl/StockExchangeJaxB.java | 71 - .../sca/test/exceptions/impl/StockTraderSDO.java | 39 - .../test/exceptions/impl/StockTraderSDOImpl.java | 136 - .../sdohandgen/InvalidSymbolSDOException.java | 84 - .../sdohandgen/MarketClosedSDOException.java | 76 - .../exceptions/sdohandgen/StockExceptionTest.java | 45 - .../src/main/resources/ExceptionTest.composite | 23 - .../src/main/resources/intracomposite.composite | 42 - .../main/resources/wsdl/StockExceptionTest.wsdl | 148 - .../src/main/resources/xsd/StockExceptionTest.xsd | 65 - .../test/exceptions/IntraCompositeTestCase.java | 102 - .../itest/exceptions-cross-binding/pom.xml | 234 - .../exceptions/impl/StockExceptionTestJAXB.java | 31 - .../test/exceptions/impl/StockExchangeJaxB.java | 76 - .../sca/test/exceptions/impl/StockTraderSDO.java | 37 - .../test/exceptions/impl/StockTraderSDOImpl.java | 119 - .../sdohandgen/InvalidSymbolSDOException.java | 84 - .../sdohandgen/MarketClosedSDOException.java | 75 - .../exceptions/sdohandgen/StockExceptionTest.java | 45 - .../src/main/resources/ExceptionTest.composite | 25 - .../src/main/resources/intracomposite.composite | 35 - .../resources/wsdl.sdo/StockExceptionTest.wsdl | 141 - .../main/resources/wsdl/StockExceptionTest.wsdl | 148 - .../src/main/resources/xsd/StockExceptionTest.xsd | 65 - .../test/exceptions/IntraCompositeTestCase.java | 93 - .../sca-contrib/itest/exceptions-simple-ws/pom.xml | 59 - .../main/java/com/example/BusinessException.java | 43 - .../java/com/example/BusinessExceptionMinimal.java | 28 - .../src/main/java/com/example/ExampleClient.java | 23 - .../main/java/com/example/ExampleClientImpl.java | 44 - .../java/com/example/ExampleClientMinimalImpl.java | 54 - .../src/main/java/com/example/ExampleService.java | 27 - .../main/java/com/example/ExampleServiceImpl.java | 26 - .../java/com/example/ExampleServiceMinimal.java | 28 - .../com/example/ExampleServiceMinimalImpl.java | 30 - .../src/main/resources/example.composite | 56 - .../src/main/resources/wsdl/ExampleService.wsdl | 126 - .../java/com/example/ExampleMinimalTestCase.java | 44 - .../src/test/java/com/example/ExampleTestCase.java | 44 - java/sca-contrib/itest/extended-api/pom.xml | 51 - .../tuscany/sca/test/extended/BasicService.java | 26 - .../tuscany/sca/test/extended/MathService.java | 25 - .../sca/test/extended/impl/BasicServiceImpl.java | 45 - .../sca/test/extended/impl/MathServiceImpl.java | 31 - .../src/main/resources/BasicService.composite | 29 - .../src/main/resources/MathService.composite | 29 - .../sca/test/extended/ServiceLocateTestCase.java | 73 - java/sca-contrib/itest/interop-soap-client/pom.xml | 126 - .../LoopbackInteropDocServiceComponentImpl.java | 46 - .../src/main/resources/default.composite | 35 - .../src/main/resources/wsdl/interopdoc.wsdl | 195 - .../interop/client/InteropDocClientTestCase.java | 144 - .../itest/interop-soap-round2-client/pom.xml | 124 - .../test/interop/client/InteropTestDocLit.java | 44 - .../src/main/resources/default.composite | 38 - .../src/main/resources/wsdl/interoptestdoclit.wsdl | 155 - .../interop/client/InteropTestDocLitTestCase.java | 133 - .../sca-contrib/itest/interop-soap-service/pom.xml | 134 - .../server/InteropDocServiceComponentImpl.java | 47 - .../src/main/resources/wsdl/interopdoc.wsdl | 180 - .../src/main/webapp/META-INF/sca/default.scdl | 42 - .../src/main/webapp/WEB-INF/web.xml | 51 - java/sca-contrib/itest/interop-soap-service/t.bat | 34 - java/sca-contrib/itest/jms-args/pom.xml | 92 - .../apache/tuscany/sca/binding/jms/ClientImpl.java | 41 - .../apache/tuscany/sca/binding/jms/MyService.java | 29 - .../tuscany/sca/binding/jms/ServiceImpl.java | 38 - .../jms-args/src/main/resources/jndi.properties | 38 - .../main/resources/selectors/selectors.composite | 39 - .../tuscany/sca/binding/jms/ArgsTestCase.java | 61 - java/sca-contrib/itest/jms-callbacks/pom.xml | 94 - .../apache/tuscany/sca/binding/jms/JMSClient.java | 28 - .../tuscany/sca/binding/jms/JMSClientImpl.java | 50 - .../apache/tuscany/sca/binding/jms/JMSService.java | 34 - .../sca/binding/jms/JMSServiceCallback.java | 32 - .../tuscany/sca/binding/jms/JMSServiceImpl.java | 47 - .../src/main/resources/jndi.properties | 39 - .../src/main/resources/simple/client.composite | 44 - .../src/main/resources/simple/tempq.composite | 50 - .../tuscany/sca/binding/jms/CallbackTestCase.java | 60 - .../sca/binding/jms/TempCallbackQTestCase.java | 63 - java/sca-contrib/itest/jms-definitions/pom.xml | 93 - .../tuscany/sca/binding/jms/OneWayClientImpl.java | 41 - .../tuscany/sca/binding/jms/OneWayService.java | 29 - .../tuscany/sca/binding/jms/OneWayServiceImpl.java | 34 - .../src/main/resources/definitions.xml | 29 - .../resources/definitions/definitions.composite | 39 - .../src/main/resources/jndi.properties | 38 - .../sca/binding/jms/DefinitionsTestCase.java | 61 - java/sca-contrib/itest/jms-format/pom.xml | 97 - .../jmsbytes/helloworld/HelloWorldReference.java | 32 - .../helloworld/HelloWorldReferenceImpl.java | 35 - .../jmsbytes/helloworld/HelloWorldService.java | 33 - .../jmsbytes/helloworld/HelloWorldServiceImpl.java | 33 - .../helloworld/HelloWorldReference.java | 33 - .../helloworld/HelloWorldReferenceImpl.java | 42 - .../jmsdelimited/helloworld/HelloWorldService.java | 35 - .../helloworld/HelloWorldServiceImpl.java | 36 - .../jmsmessage/helloworld/HelloWorldReference.java | 32 - .../helloworld/HelloWorldReferenceImpl.java | 41 - .../jmsmessage/helloworld/HelloWorldService.java | 34 - .../helloworld/HelloWorldServiceImpl.java | 51 - .../helloworld/HelloWorldServiceReferenceSide.java | 37 - .../jms/format/jmsmessage/helloworld/README | 3 - .../helloworld/HelloWorldReferenceImpl.java | 47 - .../jmstextxml/helloworld/HelloWorldService.java | 33 - .../helloworld/HelloWorldServiceImpl.java | 35 - .../jms/format/jmstextxml/helloworld/Person.java | 44 - .../main/resources/jmsbytes/helloworld.composite | 45 - .../resources/jmsdelimited/helloworld.composite | 44 - .../main/resources/jmsdelimited/helloworld.wsdl | 129 - .../main/resources/jmsmessage/helloworld.composite | 44 - .../src/main/resources/jmsmessage/helloworld.wsdl | 129 - .../main/resources/jmstextxml/helloworld.composite | 76 - .../src/main/resources/jmstextxml/helloworld.wsdl | 139 - .../src/main/resources/jmstextxml/messages.xml | 19 - .../jms-format/src/main/resources/jndi.properties | 39 - .../binding/jms/format/FormatJMSBytesTestCase.java | 64 - .../jms/format/FormatJMSDelimitedTestCase.java | 66 - .../jms/format/FormatJMSMessageTestCase.java | 64 - .../jms/format/FormatJMSTextXMLTestCase.java | 68 - java/sca-contrib/itest/jms-selectors/pom.xml | 93 - .../apache/tuscany/sca/binding/jms/ClientImpl.java | 41 - .../tuscany/sca/binding/jms/SelectorService.java | 29 - .../sca/binding/jms/SelectorServiceImpl1.java | 40 - .../sca/binding/jms/SelectorServiceImpl2.java | 38 - .../sca/binding/jms/SelectorServiceImpl3.java | 38 - .../src/main/resources/jndi.properties | 38 - .../main/resources/selectors/selectors.composite | 68 - .../tuscany/sca/binding/jms/SelectorsTestCase.java | 75 - java/sca-contrib/itest/jms/pom.xml | 97 - .../tuscany/sca/binding/jms/CheckedExcpetion.java | 28 - .../tuscany/sca/binding/jms/ExceptionService.java | 30 - .../sca/binding/jms/ExceptionServiceClient.java | 45 - .../sca/binding/jms/ExceptionServiceImpl.java | 32 - .../sca/binding/jms/HelloWorldClientImpl.java | 41 - .../tuscany/sca/binding/jms/HelloWorldService.java | 26 - .../sca/binding/jms/HelloWorldServiceImpl.java | 30 - .../apache/tuscany/sca/binding/jms/JMSClient.java | 28 - .../apache/tuscany/sca/binding/jms/MsgClient.java | 29 - .../tuscany/sca/binding/jms/MsgClientImpl.java | 38 - .../tuscany/sca/binding/jms/MsgClientService.java | 33 - .../apache/tuscany/sca/binding/jms/MsgService.java | 32 - .../tuscany/sca/binding/jms/MsgServiceImpl.java | 39 - .../tuscany/sca/binding/jms/OneWayClientImpl.java | 41 - .../sca/binding/jms/OneWayObjectService.java | 29 - .../sca/binding/jms/OneWayObjectServiceImpl.java | 34 - .../tuscany/sca/binding/jms/OneWayService.java | 29 - .../tuscany/sca/binding/jms/OneWayServiceImpl.java | 34 - .../sca/binding/jms/TestMessageProcessor.java | 57 - .../src/main/resources/defaults/client.composite | 33 - .../src/main/resources/defaults/service.composite | 30 - .../src/main/resources/dynamic/client.composite | 36 - .../src/main/resources/exceptions/client.composite | 33 - .../main/resources/exceptions/service.composite | 30 - .../src/main/resources/external/client.composite | 38 - .../src/main/resources/external/service.composite | 35 - .../itest/jms/src/main/resources/jndi.properties | 39 - .../main/resources/nonSCAclient/service.composite | 50 - .../main/resources/oneway/OneWayClient.composite | 35 - .../main/resources/oneway/OneWayService.composite | 32 - .../main/resources/policyHeaders/definitions.xml | 54 - .../policyHeaders/policyHeaders.composite | 46 - .../main/resources/properties/properties.composite | 55 - .../jms/src/main/resources/simple/client.composite | 38 - .../src/main/resources/simple/mpclient.composite | 38 - .../src/main/resources/simple/service.composite | 35 - .../src/main/resources/simple/uriclient.composite | 33 - .../tuscany/sca/binding/jms/DefaultsTestCase.java | 54 - .../sca/binding/jms/DynamicReplyQTestCase.java | 53 - .../sca/binding/jms/ExceptionsTestCase.java | 72 - .../sca/binding/jms/ExternalBrokerTestCase.java | 70 - .../sca/binding/jms/MessageProcessorTestCase.java | 58 - .../sca/binding/jms/NonSCAClientTestCase.java | 142 - .../tuscany/sca/binding/jms/OneWayTestCase.java | 58 - .../sca/binding/jms/PolicyHeadersTestCase.java | 97 - .../sca/binding/jms/PropertiesTestCase.java | 92 - .../tuscany/sca/binding/jms/RPCTestCase.java | 54 - .../tuscany/sca/binding/jms/URIRPCTestCase.java | 54 - java/sca-contrib/itest/large-sdo-ws/pom.xml | 141 - .../tuscany/sca/itest/trninq/TrnInqClient.java | 43 - .../tuscany/sca/itest/trninq/TrnInqService.java | 112 - .../tuscany/sca/itest/trninq/TrninqInterface.java | 38 - .../main/resources/META-INF/sca-contribution.xml | 23 - .../src/main/resources/trnInq.composite | 39 - .../src/main/resources/wsdl/IFX170_XSD.xsd | 146 - .../src/main/resources/wsdl/trninq.wsdl | 57 - .../test/java/trninq/TrnInqServiceTestCase.java | 87 - .../itest/late-reference-resolution/pom.xml | 126 - .../src/main/java/calculator/AddService.java | 31 - .../src/main/java/calculator/AddServiceImpl.java | 31 - .../main/java/calculator/CalculatorService.java | 35 - .../java/calculator/CalculatorServiceImpl.java | 74 - .../src/main/java/calculator/DivideService.java | 28 - .../main/java/calculator/DivideServiceImpl.java | 30 - .../src/main/java/calculator/MultiplyService.java | 28 - .../main/java/calculator/MultiplyServiceImpl.java | 30 - .../src/main/java/calculator/SubtractService.java | 31 - .../main/java/calculator/SubtractServiceImpl.java | 31 - ...ny.sca.endpointresolver.EndpointResolverFactory | 19 - .../src/main/resources/nodeA/Calculator.composite | 41 - .../resources/nodeA/META-INF/sca-contribution.xml | 24 - .../src/main/resources/nodeB/Calculator.composite | 32 - .../resources/nodeB/META-INF/sca-contribution.xml | 24 - .../src/main/resources/nodeC/Calculator.composite | 32 - .../resources/nodeC/META-INF/sca-contribution.xml | 24 - .../sca/BindingScaEndpointResolverFactoryImpl.java | 50 - .../sca/BindingScaEndpointResolverImpl.java | 72 - .../LateReferenceResolutionTestCase.java | 97 - .../src/test/java/calculator/TestRegistryImpl.java | 40 - java/sca-contrib/itest/oneway/build.xml | 127 - java/sca-contrib/itest/oneway/pom.xml | 59 - .../tuscany/sca/itest/oneway/OneWayClient.java | 40 - .../tuscany/sca/itest/oneway/OneWayService.java | 45 - .../sca/itest/oneway/impl/OneWayClientImpl.java | 63 - .../sca/itest/oneway/impl/OneWayServiceImpl.java | 67 - .../META-INF/sca-deployables/oneWay.composite | 58 - .../tuscany/sca/itest/oneway/OneWayTestCase.java | 235 - .../contribution-classes-v2/build-bundles.xml | 39 - .../contribution-classes-v2/pom.xml | 211 - .../src/main/java/supplychain/OSGiBundleImpl.java | 121 - .../main/java/supplychain/customer/Customer.java | 33 - .../customer/JavaCustomerComponentImpl.java | 55 - .../customer/OSGiCustomerComponentImpl.java | 51 - .../supplychain/customer/OSGiCustomerImpl.java | 47 - .../retailer/JavaRetailerComponentImpl.java | 57 - .../retailer/OSGiRetailerComponentImpl.java | 46 - .../supplychain/retailer/OSGiRetailerImpl.java | 44 - .../main/java/supplychain/retailer/Retailer.java | 28 - .../shipper/JavaShipperComponentImpl.java | 52 - .../shipper/OSGiShipperComponentImpl.java | 45 - .../java/supplychain/shipper/OSGiShipperImpl.java | 42 - .../src/main/java/supplychain/shipper/Shipper.java | 28 - .../warehouse/JavaWarehouseComponentImpl.java | 51 - .../warehouse/OSGiWarehouseComponentImpl.java | 47 - .../supplychain/warehouse/OSGiWarehouseImpl.java | 44 - .../main/java/supplychain/warehouse/Warehouse.java | 28 - .../src/main/resources/Customer2V2.componentType | 28 - .../src/main/resources/CustomerV2.componentType | 28 - .../META-INF/customer-sca-contribution.xml | 32 - .../META-INF/retailer-sca-contribution.xml | 29 - .../META-INF/shipper-sca-contribution.xml | 27 - .../META-INF/supplychain-sca-contribution.xml | 24 - .../META-INF/warehouse-sca-contribution.xml | 28 - .../src/main/resources/RetailerV2.componentType | 28 - .../src/main/resources/ShipperV2.componentType | 28 - .../src/main/resources/WarehouseV2.componentType | 28 - .../src/main/resources/osgi/Customer.mf | 13 - .../src/main/resources/osgi/Customer2.mf | 13 - .../src/main/resources/osgi/Retailer.mf | 10 - .../src/main/resources/osgi/RetailerJar.mf | 1 - .../src/main/resources/osgi/Shipper.mf | 10 - .../src/main/resources/osgi/SupplyChain.mf | 13 - .../src/main/resources/osgi/Warehouse.mf | 10 - .../src/main/resources/supplychain.composite | 67 - .../contribution-classes/build-bundles.xml | 39 - .../osgi-contribution/contribution-classes/pom.xml | 212 - .../src/main/java/supplychain/OSGiBundleImpl.java | 121 - .../main/java/supplychain/customer/Customer.java | 33 - .../customer/JavaCustomerComponentImpl.java | 55 - .../customer/OSGiCustomerComponentImpl.java | 51 - .../supplychain/customer/OSGiCustomerImpl.java | 47 - .../retailer/JavaRetailerComponentImpl.java | 57 - .../retailer/OSGiRetailerComponentImpl.java | 46 - .../supplychain/retailer/OSGiRetailerImpl.java | 44 - .../main/java/supplychain/retailer/Retailer.java | 28 - .../shipper/JavaShipperComponentImpl.java | 52 - .../shipper/OSGiShipperComponentImpl.java | 45 - .../java/supplychain/shipper/OSGiShipperImpl.java | 42 - .../src/main/java/supplychain/shipper/Shipper.java | 28 - .../warehouse/JavaWarehouseComponentImpl.java | 51 - .../warehouse/OSGiWarehouseComponentImpl.java | 47 - .../supplychain/warehouse/OSGiWarehouseImpl.java | 44 - .../main/java/supplychain/warehouse/Warehouse.java | 28 - .../src/main/resources/Customer2V1.componentType | 28 - .../src/main/resources/CustomerV1.componentType | 28 - .../META-INF/customer-sca-contribution.xml | 30 - .../META-INF/retailer-sca-contribution.xml | 26 - .../META-INF/shipper-sca-contribution.xml | 26 - .../META-INF/supplychain-sca-contribution.xml | 24 - .../META-INF/warehouse-sca-contribution.xml | 26 - .../src/main/resources/RetailerV1.componentType | 28 - .../src/main/resources/ShipperV1.componentType | 28 - .../src/main/resources/WarehouseV1.componentType | 28 - .../src/main/resources/osgi/Customer.mf | 13 - .../src/main/resources/osgi/Customer2.mf | 13 - .../src/main/resources/osgi/Retailer.mf | 10 - .../src/main/resources/osgi/RetailerJar.mf | 1 - .../src/main/resources/osgi/Shipper.mf | 10 - .../src/main/resources/osgi/SupplyChain.mf | 13 - .../src/main/resources/osgi/Warehouse.mf | 10 - .../src/main/resources/supplychain.composite | 66 - .../osgi-contribution/contribution-test/pom.xml | 92 - .../sca/contribution/osgi/OSGiTestUtil.java | 73 - .../osgi/test/MixedContributionTestCase.java | 43 - .../osgi/test/NestedBundleTestCase.java | 182 - .../osgi/test/OSGiResolverTestCase.java | 257 - .../osgi/test/SCAResolverTestCase.java | 240 - .../resources/osgi/felix/felix.config.properties | 44 - java/sca-contrib/itest/osgi-contribution/pom.xml | 52 - .../itest/osgi-implementation/build-bundles.xml | 48 - java/sca-contrib/itest/osgi-implementation/pom.xml | 1220 -- .../java/callback/client/CallbackCallback.java | 33 - .../main/java/callback/client/CallbackClient.java | 31 - .../callback/client/JavaCallbackClientImpl.java | 141 - .../callback/client/OSGiCallbackClientImpl.java | 181 - .../java/callback/service/CallbackService.java | 39 - .../callback/service/JavaCallbackServiceImpl.java | 68 - .../callback/service/OSGiCallbackServiceImpl.java | 95 - .../client/ConversationalCallback.java | 50 - .../conversation/client/ConversationalClient.java | 51 - .../client/ConversationalClientActivator.java | 105 - .../client/ConversationalClientServiceFactory.java | 135 - .../client/ConversationalClientStatefulImpl.java | 254 - .../client/ConversationalClientStatelessImpl.java | 253 - .../ConversationalReferenceClient.java | 38 - .../ConversationalReferenceClientActivator.java | 66 - .../ConversationalReferenceClientImpl.java | 45 - .../service/ConversationalService.java | 65 - .../service/ConversationalServiceActivator.java | 76 - .../service/ConversationalServiceFactory.java | 52 - .../service/ConversationalServiceStatefulImpl.java | 121 - .../ConversationalServiceStatelessImpl.java | 127 - .../src/main/java/helloworld/Greetings.java | 36 - .../src/main/java/helloworld/HelloWorld.java | 29 - .../java/helloworld/JavaGreetingsComponent.java | 73 - .../java/helloworld/JavaHelloWorldComponent.java | 41 - .../main/java/helloworld/OSGiGreetingsImpl.java | 112 - .../main/java/helloworld/OSGiHelloWorldImpl.java | 81 - .../java/helloworld/sdo/HelloWorldService.java | 30 - .../helloworld/sdo/HelloWorldServiceComponent.java | 33 - .../helloworld/sdo/client/HelloWorldClient.java | 30 - .../sdo/client/HelloWorldClientComponent.java | 50 - .../src/main/java/helloworld/ws/HelloWorld.java | 29 - .../main/java/helloworld/ws/HelloWorldService.java | 28 - .../stockquote/OSGiStockQuoteComponentImpl.java | 86 - .../java/stockquote/OSGiStockQuoteFactoryImpl.java | 65 - .../main/java/stockquote/OSGiStockQuoteImpl.java | 119 - .../src/main/java/stockquote/StockQuote.java | 31 - .../src/main/java/supplychain/OSGiBundleImpl.java | 163 - .../main/java/supplychain/customer/Customer.java | 39 - .../customer/JavaCustomerComponentImpl.java | 88 - .../customer/OSGiCustomerComponentImpl.java | 106 - .../customer/OSGiCustomerFactoryImpl.java | 65 - .../supplychain/customer/OSGiCustomerImpl.java | 92 - .../OSGiCustomerWithQueryComponentImpl.java | 100 - .../customer/OSGiCustomerWithQueryImpl.java | 82 - .../OSGiStatelessCustomerComponentImpl.java | 30 - .../customer/OSGiStatelessCustomerImpl.java | 35 - .../customer/OSGiVersionedCustomerImpl.java | 98 - .../retailer/JavaRetailerComponentImpl.java | 67 - .../retailer/OSGiRetailerComponentImpl.java | 64 - .../supplychain/retailer/OSGiRetailerImpl.java | 58 - .../retailer/OSGiRetailerServiceImpl.java | 45 - .../OSGiRetailerWithQueryComponentImpl.java | 78 - .../retailer/OSGiRetailerWithQueryImpl.java | 64 - .../retailer/OSGiVersionedRetailerImpl.java | 75 - .../retailer/OSGiVersionedRetailerServiceImpl.java | 47 - .../main/java/supplychain/retailer/Retailer.java | 28 - .../java/supplychain/retailer/RetailerQuery.java | 28 - .../shipper/JavaShipperComponentImpl.java | 58 - .../shipper/OSGiShipperComponentImpl.java | 62 - .../shipper/OSGiShipperFactoryImpl.java | 78 - .../java/supplychain/shipper/OSGiShipperImpl.java | 57 - .../shipper/OSGiShipperServiceImpl.java | 43 - .../shipper/OSGiStatelessShipperComponentImpl.java | 30 - .../shipper/OSGiStatelessShipperServiceImpl.java | 35 - .../shipper/OSGiVersionedShipperImpl.java | 78 - .../shipper/OSGiVersionedShipperServiceImpl.java | 46 - .../src/main/java/supplychain/shipper/Shipper.java | 28 - .../warehouse/JavaWarehouseComponentImpl.java | 48 - .../JavaWarehouseWithQueryComponentImpl.java | 52 - .../warehouse/OSGiWarehouseComponentImpl.java | 57 - .../supplychain/warehouse/OSGiWarehouseImpl.java | 68 - .../warehouse/OSGiWarehouseServiceImpl.java | 62 - .../main/java/supplychain/warehouse/Warehouse.java | 28 - .../java/supplychain/warehouse/WarehouseQuery.java | 28 - .../callback/CallbackClient.componentType | 31 - .../callback/CallbackService.componentType | 27 - .../resources/callback/callback-test1.composite | 39 - .../resources/callback/callback-test2.composite | 41 - .../resources/callback/callback-test3.composite | 38 - .../ConversationalClient.componentType | 37 - .../ConversationalReferenceClient.componentType | 28 - .../ConversationalService.componentType | 29 - .../conversation/conversation-test.composite | 162 - .../main/resources/factory/Customer.componentType | 34 - .../main/resources/factory/Retailer.componentType | 29 - .../main/resources/factory/Shipper.componentType | 29 - .../main/resources/factory/Warehouse.componentType | 28 - .../resources/factory/ds/Customer.componentType | 34 - .../resources/factory/ds/Retailer.componentType | 29 - .../resources/factory/ds/Shipper.componentType | 29 - .../resources/factory/ds/Warehouse.componentType | 28 - .../resources/factory/ds/factory-ds-test.composite | 130 - .../main/resources/factory/factory-test.composite | 116 - .../resources/helloworld/Greetings.componentType | 30 - .../resources/helloworld/HelloWorld.componentType | 31 - .../resources/interfaces/Customer.componentType | 31 - .../resources/interfaces/Retailer.componentType | 35 - .../resources/interfaces/Shipper.componentType | 29 - .../resources/interfaces/Warehouse.componentType | 31 - .../resources/interfaces/ds/Customer.componentType | 31 - .../resources/interfaces/ds/Retailer.componentType | 35 - .../resources/interfaces/ds/Shipper.componentType | 29 - .../interfaces/ds/Warehouse.componentType | 31 - .../interfaces/ds/interfaces-ds-test.composite | 57 - .../resources/interfaces/interfaces-test.composite | 57 - .../main/resources/osgi/callback/CallbackClient.mf | 10 - .../resources/osgi/callback/CallbackService.mf | 10 - .../osgi/conversation/ConversationalClient.mf | 11 - .../conversation/ConversationalReferenceClient.mf | 11 - .../osgi/conversation/ConversationalService.mf | 11 - .../src/main/resources/osgi/factory/Customer.mf | 11 - .../src/main/resources/osgi/factory/Retailer.mf | 10 - .../src/main/resources/osgi/factory/Shipper.mf | 10 - .../src/main/resources/osgi/factory/ds/Customer.mf | 10 - .../main/resources/osgi/factory/ds/Customer.xml | 41 - .../src/main/resources/osgi/factory/ds/Retailer.mf | 11 - .../main/resources/osgi/factory/ds/Retailer1.xml | 32 - .../main/resources/osgi/factory/ds/Retailer2.xml | 32 - .../src/main/resources/osgi/factory/ds/Shipper.mf | 10 - .../main/resources/osgi/factory/ds/Shipper1.xml | 34 - .../main/resources/osgi/factory/ds/Shipper2.xml | 34 - .../main/resources/osgi/factory/ds/Warehouse.mf | 11 - .../main/resources/osgi/factory/ds/Warehouse.xml | 32 - .../src/main/resources/osgi/interfaces/Customer.mf | 11 - .../src/main/resources/osgi/interfaces/Retailer.mf | 10 - .../src/main/resources/osgi/interfaces/Shipper.mf | 10 - .../main/resources/osgi/interfaces/ds/Customer.mf | 10 - .../main/resources/osgi/interfaces/ds/Customer.xml | 43 - .../main/resources/osgi/interfaces/ds/Retailer.mf | 11 - .../main/resources/osgi/interfaces/ds/Retailer.xml | 39 - .../main/resources/osgi/interfaces/ds/Shipper.mf | 10 - .../main/resources/osgi/interfaces/ds/Shipper.xml | 34 - .../src/main/resources/osgi/passbyref/Greetings.mf | 11 - .../osgi/properties/ManagedStockQuoteFactory.mf | 11 - .../main/resources/osgi/properties/StockQuote.mf | 10 - .../resources/osgi/properties/StockQuoteFactory.mf | 11 - .../resources/osgi/properties/ds/StockQuote.mf | 12 - .../resources/osgi/properties/ds/StockQuote.xml | 27 - .../osgi/properties/ds/StockQuoteFactory.mf | 12 - .../osgi/properties/ds/StockQuoteFactory.xml | 27 - .../main/resources/osgi/sdo/ds/HelloWorldClient.mf | 14 - .../resources/osgi/sdo/ds/HelloWorldClient.xml | 33 - .../resources/osgi/sdo/ds/HelloWorldService.mf | 13 - .../resources/osgi/sdo/ds/HelloWorldService.xml | 25 - .../src/main/resources/osgi/services/Customer.mf | 11 - .../src/main/resources/osgi/services/Retailer.mf | 10 - .../src/main/resources/osgi/services/Shipper.mf | 10 - .../src/main/resources/osgi/services/Warehouse.mf | 10 - .../main/resources/osgi/services/ds/Customer.mf | 10 - .../main/resources/osgi/services/ds/Customer.xml | 41 - .../main/resources/osgi/services/ds/Retailer.mf | 11 - .../main/resources/osgi/services/ds/Retailer1.xml | 32 - .../main/resources/osgi/services/ds/Retailer2.xml | 32 - .../src/main/resources/osgi/services/ds/Shipper.mf | 10 - .../main/resources/osgi/services/ds/Shipper1.xml | 34 - .../main/resources/osgi/services/ds/Shipper2.xml | 34 - .../main/resources/osgi/services/ds/Warehouse.mf | 11 - .../main/resources/osgi/services/ds/Warehouse1.xml | 32 - .../main/resources/osgi/services/ds/Warehouse2.xml | 32 - .../src/main/resources/osgi/version/Customer1.mf | 11 - .../src/main/resources/osgi/version/Customer2.mf | 11 - .../src/main/resources/osgi/version/Retailer1.mf | 10 - .../src/main/resources/osgi/version/Retailer2.mf | 10 - .../src/main/resources/osgi/version/Shipper1.mf | 10 - .../src/main/resources/osgi/version/Shipper2.mf | 10 - .../src/main/resources/osgi/version/Warehouse1.mf | 10 - .../src/main/resources/osgi/version/Warehouse2.mf | 10 - .../main/resources/osgi/version/ds/Customer1.mf | 10 - .../main/resources/osgi/version/ds/Customer2.mf | 10 - .../main/resources/osgi/version/ds/CustomerV1.xml | 41 - .../main/resources/osgi/version/ds/CustomerV2.xml | 41 - .../main/resources/osgi/version/ds/Retailer1.mf | 11 - .../main/resources/osgi/version/ds/Retailer1V1.xml | 34 - .../main/resources/osgi/version/ds/Retailer1V2.xml | 34 - .../main/resources/osgi/version/ds/Retailer2.mf | 11 - .../main/resources/osgi/version/ds/Retailer2V1.xml | 33 - .../main/resources/osgi/version/ds/Retailer2V2.xml | 33 - .../src/main/resources/osgi/version/ds/Shipper1.mf | 10 - .../main/resources/osgi/version/ds/Shipper1V1.xml | 35 - .../main/resources/osgi/version/ds/Shipper1V2.xml | 35 - .../src/main/resources/osgi/version/ds/Shipper2.mf | 10 - .../main/resources/osgi/version/ds/Shipper2V1.xml | 35 - .../main/resources/osgi/version/ds/Shipper2V2.xml | 35 - .../main/resources/osgi/version/ds/Warehouse1.mf | 11 - .../resources/osgi/version/ds/Warehouse1V1.xml | 32 - .../resources/osgi/version/ds/Warehouse1V2.xml | 32 - .../main/resources/osgi/version/ds/Warehouse2.mf | 11 - .../resources/osgi/version/ds/Warehouse2V1.xml | 32 - .../resources/osgi/version/ds/Warehouse2V2.xml | 32 - .../src/main/resources/osgi/wiring/Customer.mf | 11 - .../src/main/resources/osgi/wiring/Retailer.mf | 10 - .../src/main/resources/osgi/wiring/Shipper.mf | 10 - .../src/main/resources/osgi/wiring/Warehouse.mf | 10 - .../src/main/resources/osgi/wiring/ds/Customer.mf | 10 - .../src/main/resources/osgi/wiring/ds/Customer.xml | 41 - .../src/main/resources/osgi/wiring/ds/Retailer.mf | 11 - .../main/resources/osgi/wiring/ds/Retailer1.xml | 33 - .../main/resources/osgi/wiring/ds/Retailer2.xml | 33 - .../src/main/resources/osgi/wiring/ds/Shipper.mf | 10 - .../src/main/resources/osgi/wiring/ds/Shipper1.xml | 35 - .../src/main/resources/osgi/wiring/ds/Shipper2.xml | 34 - .../src/main/resources/osgi/wiring/ds/Warehouse.mf | 11 - .../main/resources/osgi/wiring/ds/Warehouse1.xml | 33 - .../main/resources/osgi/wiring/ds/Warehouse2.xml | 33 - .../src/main/resources/osgi/ws/HelloWorld.mf | 12 - .../resources/passbyref/Greetings.componentType | 30 - .../resources/passbyref/passbyref-test.composite | 39 - .../resources/properties/StockQuote.componentType | 28 - .../properties/StockQuoteFactory.componentType | 28 - .../properties/ds/StockQuote.componentType | 28 - .../properties/ds/StockQuoteFactory.componentType | 28 - .../properties/ds/properties-ds-test.composite | 39 - .../properties/ds/properties2-ds-test.composite | 54 - .../resources/properties/properties-test.composite | 39 - .../properties/properties2-test.composite | 50 - .../sdo/ds/HelloWorldClient.componentType | 30 - .../sdo/ds/HelloWorldService.componentType | 25 - .../resources/sdo/ds/META-INF/sca-contribution.xml | 26 - .../src/main/resources/sdo/ds/helloworld.wsdl | 88 - .../main/resources/sdo/ds/helloworldsdo.composite | 47 - .../main/resources/services/Customer.componentType | 34 - .../main/resources/services/Retailer.componentType | 33 - .../main/resources/services/Shipper.componentType | 30 - .../resources/services/Warehouse.componentType | 28 - .../resources/services/ds/Customer.componentType | 34 - .../resources/services/ds/Retailer.componentType | 33 - .../resources/services/ds/Shipper.componentType | 30 - .../resources/services/ds/Warehouse.componentType | 28 - .../services/ds/services-ds-test.composite | 90 - .../resources/services/services-test.composite | 89 - .../resources/stockquote/StockQuote.componentType | 28 - .../main/resources/version/Customer1.componentType | 34 - .../main/resources/version/Customer2.componentType | 34 - .../main/resources/version/Retailer1.componentType | 33 - .../main/resources/version/Retailer2.componentType | 33 - .../main/resources/version/Shipper1.componentType | 30 - .../main/resources/version/Shipper2.componentType | 30 - .../resources/version/Warehouse1.componentType | 28 - .../resources/version/Warehouse2.componentType | 28 - .../resources/version/ds/Customer1.componentType | 34 - .../resources/version/ds/Customer2.componentType | 34 - .../resources/version/ds/Retailer1.componentType | 33 - .../resources/version/ds/Retailer2.componentType | 33 - .../resources/version/ds/Shipper1.componentType | 30 - .../resources/version/ds/Shipper2.componentType | 30 - .../resources/version/ds/Warehouse1.componentType | 28 - .../resources/version/ds/Warehouse2.componentType | 28 - .../resources/version/ds/version-ds-test.composite | 184 - .../main/resources/version/version-test.composite | 170 - .../main/resources/wiring/Customer.componentType | 34 - .../main/resources/wiring/Retailer.componentType | 29 - .../main/resources/wiring/Shipper.componentType | 29 - .../main/resources/wiring/Warehouse.componentType | 28 - .../resources/wiring/ds/Customer.componentType | 34 - .../resources/wiring/ds/Retailer.componentType | 29 - .../main/resources/wiring/ds/Shipper.componentType | 29 - .../resources/wiring/ds/Warehouse.componentType | 28 - .../resources/wiring/ds/wiring-ds-test1.composite | 136 - .../resources/wiring/ds/wiring-ds-test2.composite | 151 - .../main/resources/wiring/wiring-test1.composite | 127 - .../main/resources/wiring/wiring-test2.composite | 151 - .../src/main/resources/ws/HelloWorld.componentType | 31 - .../src/main/resources/ws/helloworld.wsdl | 80 - .../src/main/resources/ws/ws-helloworld.composite | 51 - .../src/test/java/callback/Callback1TestCase.java | 30 - .../src/test/java/callback/Callback2TestCase.java | 29 - .../src/test/java/callback/Callback3TestCase.java | 29 - .../src/test/java/callback/CallbackTestCase.java | 50 - .../java/conversation/ConversationTestCase.java | 325 - .../helloworld/passbyref/PassByRefTestCase.java | 130 - .../src/test/java/helloworld/sdo/SdoTestCase.java | 95 - .../java/helloworld/ws/HelloWorldTestCase.java | 55 - .../test/java/supplychain/SupplyChainTestCase.java | 63 - .../supplychain/VersionedSupplyChainTestCase.java | 71 - .../supplychain/factory/DSFactoryTestCase.java | 32 - .../java/supplychain/factory/FactoryTestCase.java | 72 - .../interfaces/DSInterfacesTestCase.java | 32 - .../supplychain/interfaces/InterfacesTestCase.java | 32 - .../properties/DSProperties2TestCase.java | 31 - .../properties/DSPropertiesTestCase.java | 31 - .../properties/Properties2TestCase.java | 69 - .../supplychain/properties/PropertiesTestCase.java | 58 - .../supplychain/services/DSServicesTestCase.java | 32 - .../supplychain/services/ServicesTestCase.java | 32 - .../supplychain/version/DSVersionTestCase.java | 33 - .../java/supplychain/version/VersionTestCase.java | 33 - .../java/supplychain/wiring/DSWiring1TestCase.java | 33 - .../java/supplychain/wiring/DSWiring2TestCase.java | 33 - .../java/supplychain/wiring/Wiring1TestCase.java | 32 - .../java/supplychain/wiring/Wiring2TestCase.java | 32 - .../src/test/java/test/OSGiTestCase.java | 67 - .../src/test/java/util/OSGiTestUtil.java | 71 - .../resources/osgi/felix/felix.config.properties | 45 - .../itest/osgi-tuscany/osgi-tuscany-test/pom.xml | 99 - .../test/osgi/runtime/impl/EquinoxTestRuntime.java | 92 - .../test/osgi/runtime/impl/FelixTestRuntime.java | 163 - .../test/osgi/runtime/impl/OSGiTestRuntime.java | 163 - .../tuscany/sca/test/util/OSGiRuntimeLoader.java | 86 - .../tuscany/sca/test/util/TuscanyLoader.java | 136 - .../harness/OSGiTuscanyNonOSGiTestHarness.java | 109 - .../test/osgi/harness/OSGiTuscanyTestHarness.java | 243 - .../CalculatorImplementationPoliciesTestCase.java | 61 - .../test/osgi/tuscany/CalculatorRmiTestCase.java | 62 - .../osgi/tuscany/CalculatorScriptTestCase.java | 63 - .../osgi/tuscany/CallbackWsClientTestCase.java | 61 - .../osgi/tuscany/CallbackWsServiceTestCase.java | 61 - .../tuscany/HelloworldWsServiceJmsTestCase.java | 61 - .../tuscany/HelloworldWsServiceSecureTestCase.java | 61 - .../osgi/tuscany/HelloworldWsServiceTestCase.java | 61 - .../test/osgi/tuscany/NonOSGiSamplesTestCase.java | 85 - .../test/osgi/tuscany/OSGiSupplyChainTestCase.java | 71 - .../osgi/tuscany/OSGiTuscanyRuntimeTestCase.java | 137 - .../tuscany/TuscanySampleExtensionsTestCase.java | 93 - .../TuscanySamplesUsingOldDomainTestCase.java | 80 - .../src/test/resources/META-INF/MANIFEST.MF | 14 - .../test/resources/felix/felix.config.properties | 45 - java/sca-contrib/itest/osgi-tuscany/pom.xml | 39 - .../osgi-tuscany/test-bundles/build-bundles.xml | 31 - .../itest/osgi-tuscany/test-bundles/pom.xml | 124 - .../java/supplychain/client/SupplyChainClient.java | 115 - .../main/java/supplychain/customer/Customer.java | 37 - .../customer/JavaCustomerComponentImpl.java | 61 - .../retailer/JavaRetailerComponentImpl.java | 59 - .../main/java/supplychain/retailer/Retailer.java | 28 - .../shipper/JavaShipperComponentImpl.java | 50 - .../src/main/java/supplychain/shipper/Shipper.java | 28 - .../warehouse/JavaWarehouseComponentImpl.java | 49 - .../main/java/supplychain/warehouse/Warehouse.java | 28 - .../src/main/resources/META-INF/SupplyChain.mf | 12 - .../main/resources/META-INF/SupplyChainClient.mf | 21 - .../main/resources/META-INF/sca-contribution.xml | 26 - .../resources/supplychain/supplychain.composite | 48 - .../main/resources/supplychain/ws/Customer.wsdl | 135 - .../resources/supplychain/ws/supplychain.composite | 55 - .../osgi-tuscany/tuscany-osgi-installer/pom.xml | 666 - .../sca/installer/InstallerBundleActivator.java | 405 - .../itest/osgi-tuscany/tuscany-versioned/pom.xml | 639 - .../itest/policy-security-basicauth/pom.xml | 113 - .../main/java/helloworld/HelloWorldClientImpl.java | 40 - .../main/java/helloworld/HelloWorldService.java | 30 - .../java/helloworld/HelloWorldServiceImpl.java | 46 - .../src/main/resources/definitions.xml | 44 - .../src/main/resources/helloworld.composite | 46 - .../tuscany/sca/itest/BasicAuthTestCase.java | 114 - .../itest/policy-security-jsr250/pom.xml | 75 - .../src/main/java/helloworld/HelloWorldImpl.java | 51 - .../main/java/helloworld/HelloWorldService.java | 38 - .../src/main/resources/definitions.xml | 29 - .../src/main/resources/helloworld.composite | 33 - .../sca/itest/PolicySecurityJSR250TestCase.java | 54 - .../itest/policy-security-token/pom.xml | 106 - .../main/java/helloworld/HelloWorldClientImpl.java | 42 - .../main/java/helloworld/HelloWorldService.java | 30 - .../java/helloworld/HelloWorldServiceImpl.java | 46 - .../src/main/resources/definitions.xml | 49 - .../src/main/resources/helloworld.composite | 56 - .../src/main/resources/jndi.properties | 39 - .../tuscany/sca/itest/TokenAuthTestCase.java | 115 - java/sca-contrib/itest/policy-security/pom.xml | 68 - .../src/main/java/helloworld/HelloWorldImpl.java | 33 - .../main/java/helloworld/HelloWorldService.java | 30 - .../src/main/resources/definitions.xml | 33 - .../src/main/resources/helloworld.composite | 34 - .../tuscany/sca/itest/PolicyIdentityTestCase.java | 54 - java/sca-contrib/itest/policy/pom.xml | 68 - .../src/main/java/calculator/AddService.java | 34 - .../src/main/java/calculator/AddServiceImpl.java | 35 - .../src/main/java/calculator/CalculatorClient.java | 69 - .../main/java/calculator/CalculatorService.java | 35 - .../java/calculator/CalculatorServiceImpl.java | 76 - .../src/main/java/calculator/DivideService.java | 33 - .../main/java/calculator/DivideServiceImpl.java | 35 - .../src/main/java/calculator/MultiplyService.java | 28 - .../main/java/calculator/MultiplyServiceImpl.java | 35 - .../src/main/java/calculator/PolicyQNames.java | 43 - .../src/main/java/calculator/SubtractService.java | 28 - .../main/java/calculator/SubtractServiceImpl.java | 35 - .../calculator/policy/TestImplPolicyHandler.java | 84 - .../calculator/policy/TestRefPolicyHandler.java | 61 - .../calculator/policy/TestSvcPolicyHandler.java | 61 - .../policy/src/main/resources/Calculator.composite | 66 - ...ca.contribution.processor.StAXArtifactProcessor | 19 - ...rg.apache.tuscany.sca.policy.util.PolicyHandler | 28 - .../policy/src/main/resources/definitions.xml | 147 - .../sca/itest/PoliciedCalculatorTestCase.java | 55 - .../java/org/apache/tuscany/sca/itest/Policy.java | 33 - .../tuscany/sca/itest/TestPolicyProcessor.java | 82 - .../itest/promotion-interface-missmatch/pom.xml | 59 - .../main/java/com/example/BusinessException.java | 43 - .../src/main/java/com/example/ExampleClient.java | 23 - .../main/java/com/example/ExampleClientImpl.java | 44 - .../src/main/java/com/example/ExampleService.java | 27 - .../main/java/com/example/ExampleServiceImpl.java | 26 - .../src/main/resources/example.composite | 50 - .../src/main/resources/wsdl/ExampleService.wsdl | 133 - .../main/resources/wsdl/ExampleServiceTypes.xsd | 45 - .../src/test/java/com/example/ExampleTestCase.java | 44 - java/sca-contrib/itest/recursive-ws/pom.xml | 87 - .../recursive-ws/src/main/java/policy/Target.java | 26 - .../src/main/java/policy/TargetClientImpl.java | 33 - .../src/main/java/policy/TargetServiceImpl.java | 29 - .../src/main/java/recursive/Composer.java | 26 - .../src/main/java/recursive/ComposerClient.java | 35 - .../main/java/recursive/ComposerClientImpl.java | 38 - .../src/main/java/recursive/ComposerImpl.java | 34 - .../src/main/java/recursive/ComposerServer.java | 35 - .../src/main/resources/Client.composite | 28 - .../src/main/resources/Inner.composite | 26 - .../src/main/resources/Outer.composite | 31 - .../bindingoverride/InnerComposite.composite | 36 - .../bindingoverride/OuterComposite.composite | 40 - .../policy/PolicyInnerComposite.composite | 37 - .../policy/PolicyOuterComposite.composite | 41 - .../src/main/resources/policy/definitions.xml | 39 - .../bindingoverride/BindingOverrideTestCase.java | 57 - .../src/test/java/policy/PolicyTestCase.java | 74 - .../java/recursive/ComposerClientTestCase.java | 68 - .../test/java/recursive/ComposerTestServer.java | 55 - java/sca-contrib/itest/recursive/pom.xml | 45 - .../src/main/java/circular/include/DemoClass.java | 27 - .../src/main/java/composite/CompositeClient.java | 42 - .../recursive/src/main/java/composite/Source.java | 24 - .../src/main/java/composite/SourceCallback.java | 24 - .../src/main/java/composite/SourceImpl.java | 55 - .../recursive/src/main/java/composite/Target.java | 30 - .../src/main/java/composite/TargetImpl.java | 41 - .../itest/recursive/src/main/java/foo/A.java | 28 - .../itest/recursive/src/main/java/foo/B.java | 36 - .../itest/recursive/src/main/java/foo/I.java | 23 - .../recursive/src/main/java/policy/Target.java | 26 - .../src/main/java/policy/TargetClientImpl.java | 33 - .../src/main/java/policy/TargetServiceImpl.java | 29 - .../src/main/java/sample/ComponentAImpl.java | 41 - .../src/main/java/sample/ComponentCImpl.java | 41 - .../src/main/java/sample/ComponentEImpl.java | 38 - .../src/main/java/sample/ComponentFImpl.java | 45 - .../recursive/src/main/java/sample/Service1.java | 27 - .../recursive/src/main/java/test/Aggregator.java | 27 - .../src/main/java/test/AggregatorImpl.java | 55 - .../src/main/java/test/InnerSourceImpl.java | 34 - .../src/main/java/test/OuterSourceImpl.java | 34 - .../itest/recursive/src/main/java/test/Source.java | 30 - .../src/main/java/test1/composite/Target.java | 23 - .../src/main/java/test1/composite/TargetOne.java | 29 - .../src/main/java/test1/composite/TargetTwo.java | 29 - .../src/main/resources/AComposite.composite | 30 - .../src/main/resources/BComposite.composite | 45 - .../src/main/resources/CComposite.composite | 44 - .../src/main/resources/Composite1.composite | 42 - .../src/main/resources/Composite2.composite | 43 - .../src/main/resources/Composite3.composite | 48 - .../src/main/resources/Demo1Composite.composite | 27 - .../src/main/resources/Demo2Composite.composite | 28 - .../recursive/src/main/resources/Inner.composite | 45 - .../src/main/resources/InnerComposite.composite | 41 - .../src/main/resources/InnerComposite2.composite | 33 - .../main/resources/META-INF/sca-contribution.xml | 24 - .../recursive/src/main/resources/Outer.composite | 39 - .../src/main/resources/OuterComposite.composite | 39 - .../itest/recursive/src/main/resources/foo/foo.png | Bin 571816 -> 0 bytes .../recursive/src/main/resources/foo/o1.composite | 31 - .../recursive/src/main/resources/foo/o2.composite | 31 - .../recursive/src/main/resources/foo/o3.composite | 35 - .../recursive/src/main/resources/foo/o4.composite | 37 - .../policy/PolicyInnerComposite.composite | 32 - .../policy/PolicyOuterComposite.composite | 35 - .../src/main/resources/policy/definitions.xml | 46 - .../main/resources/test1/InnerComposite.composite | 39 - .../main/resources/test1/OuterComposite.composite | 27 - .../circular/include/CircularIncludeTestCase.java | 39 - .../src/test/java/composite/CompositeTestCase.java | 51 - .../LocateServiceEmbeddedSCADomainTestCase.java | 113 - .../composite/LocateServiceSCADomainTestCase.java | 73 - .../recursive/src/test/java/foo/O2TestCase.java | 32 - .../recursive/src/test/java/foo/O4TestCase.java | 39 - .../src/test/java/policy/PolicyTestCase.java | 68 - .../itest/recursive/src/test/java/sample/C.java | 32 - .../recursive/src/test/java/sample/CImpl.java | 80 - .../src/test/java/sample/NestedTestCase.java | 96 - .../sample/RecursiveCompositeTestCaseFIXME.java | 53 - .../itest/recursive/src/test/java/sample/X.java | 32 - .../recursive/src/test/java/sample/XImpl.java | 37 - .../itest/recursive/src/test/java/sample/Y.java | 32 - .../recursive/src/test/java/sample/YImpl.java | 38 - .../src/test/java/test/InnerTestCase.java | 51 - .../src/test/java/test/OuterTestCase.java | 53 - .../test1/composite/CompositeClientTestCase.java | 62 - java/sca-contrib/itest/serialization/pom.xml | 66 - .../servicereference/ConversationalService.java | 81 - .../ConversationalServiceCallback.java | 37 - .../ConversationalServiceImpl.java | 141 - .../itest/servicereference/SCAManagedClient.java | 51 - .../servicereference/SCAManagedClientImpl.java | 115 - .../SCAManagedConversationalClient.java | 55 - .../SCAManagedConversationalClientImpl.java | 132 - .../itest/servicereference/StatelessService.java | 46 - .../servicereference/StatelessServiceCallback.java | 34 - .../servicereference/StatelessServiceImpl.java | 82 - .../utils/ServiceReferenceUtils.java | 127 - .../ServiceReferenceSerializationTest.composite | 45 - .../src/main/resources/nestedcomposite.composite | 33 - .../SerializeServiceReferenceTestCase.java | 145 - java/sca-contrib/itest/spring/pom.xml | 105 - .../java/bigbank/stockquote/StockQuoteImpl.java | 38 - .../java/bigbank/stockquote/StockQuoteService.java | 30 - .../src/main/java/calculator/AddService.java | 28 - .../src/main/java/calculator/AddServiceImpl.java | 35 - .../main/java/calculator/CalculatorService.java | 35 - .../java/calculator/CalculatorServiceImpl.java | 79 - .../src/main/java/calculator/DivideService.java | 28 - .../main/java/calculator/DivideServiceImpl.java | 35 - .../src/main/java/calculator/MultiplyService.java | 28 - .../main/java/calculator/MultiplyServiceImpl.java | 35 - .../src/main/java/calculator/SubtractService.java | 28 - .../main/java/calculator/SubtractServiceImpl.java | 35 - .../security/CalculatorCallbackHandler.java | 50 - .../java/calculator/security/JaasLoginModule.java | 178 - .../java/calculator/security/UserPrincipal.java | 66 - .../access/SCAApplicationContextProvider.java | 19 - .../spring/annotations/CalculatorServiceImpl.java | 131 - .../main/resources/CalculatorService-context.xml | 39 - .../sca/SpringDelegationHelloWorld-context.xml | 37 - .../META-INF/sca/SpringHelloWorld-context.xml | 31 - .../context-access/CalculatorService-context.xml | 45 - .../context-imports/CalculatorService-context.xml | 39 - .../sca/context-imports/SpringImport-context.xml | 29 - .../context-multiple/StockQuoteService-context.xml | 36 - .../sca/context-multiple/beanRefContext.xml | 34 - .../CalculatorService-context.xml | 39 - .../CalculatorService-context.xml | 41 - .../resources/context/access/Calculator.composite | 49 - .../resources/context/imports/Calculator.composite | 49 - .../context/multiple/StockQuote.composite | 35 - .../implementation/policies/Calculator.composite | 61 - .../implementation/policies/CalculatorJass.config | 3 - .../policies/CalculatorLogMessages.properties | 18 - .../implementation/policies/definitions.xml | 40 - .../spring/SpringDelegationHelloWorld.composite | 32 - .../sca/itest/spring/SpringHelloWorld.composite | 32 - .../spring/annotations/Calculator.composite | 60 - .../test/java/context/access/CalculatorClient.java | 60 - .../java/context/access/ContextAccessTestCase.java | 32 - .../java/context/imports/CalculatorClient.java | 54 - .../context/imports/ContextImportsTestCase.java | 32 - .../context/multiple/MultipleContextTestCase.java | 32 - .../java/context/multiple/StockQuoteServer.java | 51 - .../implementation/policies/CalculatorClient.java | 78 - .../policies/ImplementationPoliciesTestCase.java | 32 - .../itest/spring/AbstractHelloWorldTestCase.java | 40 - .../sca/itest/spring/AbstractSCATestCase.java | 51 - .../tuscany/sca/itest/spring/HelloWorld.java | 34 - .../tuscany/sca/itest/spring/HelloWorldProxy.java | 41 - .../spring/SpringDelegationHelloWorldTestCase.java | 31 - .../sca/itest/spring/SpringHelloWorldTestCase.java | 32 - .../sca/itest/spring/TestHelloWorldBean.java | 36 - .../itest/spring/TestHelloWorldDelegatorBean.java | 40 - .../java/spring/annotations/CalculatorClient.java | 65 - .../annotations/SpringAnnotationsTestCase.java | 32 - java/sca-contrib/itest/transaction/pom.xml | 91 - .../transaction/AccountNotFoundException.java | 36 - .../sca/itest/transaction/AccountService.java | 31 - .../sca/itest/transaction/AccountServiceImpl.java | 70 - .../transaction/CheckingAccountServiceImpl.java | 143 - .../sca/itest/transaction/OverDraftException.java | 36 - .../transaction/SavingsAccountServiceImpl.java | 133 - .../sca/itest/transaction/TransferService.java | 31 - .../sca/itest/transaction/TransferServiceImpl.java | 64 - .../src/main/resources/accounts.composite | 43 - .../transaction/src/main/resources/definitions.xml | 99 - .../src/main/resources/log4j.properties | 29 - .../transaction/ConcurrentXAResourceTestCase.java | 119 - .../sca/itest/transaction/TransactionTestCase.java | 53 - java/sca-contrib/itest/validation/pom.xml | 141 - .../main/java/binding/ejb/account/Customer.java | 35 - .../java/binding/ejb/account/CustomerImpl.java | 57 - .../java/binding/ejb/calculator/AddService.java | 27 - .../binding/ejb/calculator/AddServiceHome.java | 31 - .../main/java/binding/jms/HelloWorldService.java | 26 - .../java/binding/jms/HelloWorldServiceImpl.java | 27 - .../main/java/calculator/warning/AddService.java | 32 - .../java/calculator/warning/AddServiceImpl.java | 44 - .../warning/AddServiceImplWithServiceName.java | 46 - .../java/calculator/warning/CalculatorClient.java | 45 - .../java/calculator/warning/CalculatorService.java | 35 - .../calculator/warning/CalculatorServiceImpl.java | 70 - .../java/calculator/warning/DivideService.java | 28 - .../java/calculator/warning/DivideServiceImpl.java | 35 - .../java/calculator/warning/MultiplyService.java | 28 - .../calculator/warning/MultiplyServiceImpl.java | 35 - .../java/calculator/warning/PropertyService.java | 29 - .../calculator/warning/PropertyServiceImpl.java | 41 - .../java/calculator/warning/SubtractService.java | 28 - .../calculator/warning/SubtractServiceImpl.java | 35 - .../SubtractServiceImplWithServiceName.java | 38 - .../src/main/java/impl/java/AddService.java | 29 - .../src/main/java/impl/java/AddServiceImpl.java | 44 - .../src/main/java/impl/java/CalculatorClient.java | 45 - .../src/main/java/impl/java/CalculatorService.java | 35 - .../main/java/impl/java/CalculatorServiceImpl.java | 75 - .../src/main/java/impl/java/DivideService.java | 28 - .../src/main/java/impl/java/DivideServiceImpl.java | 35 - .../src/main/java/impl/java/MultiplyService.java | 28 - .../main/java/impl/java/MultiplyServiceImpl.java | 35 - .../src/main/java/impl/java/SubtractService.java | 28 - .../main/java/impl/java/SubtractServiceImpl.java | 35 - .../src/main/java/impl/spring/HelloWorld.java | 36 - .../src/main/java/impl/spring/HelloWorldProxy.java | 41 - .../main/java/impl/spring/TestHelloWorldBean.java | 36 - .../java/interfacejava/xml/CalculatorService.java | 35 - .../interfacejava/xml/CalculatorServiceImpl.java | 75 - .../Calculator.composite | 49 - .../DuplicateComponentName/Calculator.composite | 53 - .../Calculator.composite | 55 - .../dummyImplementation.composite | 31 - .../Calculator.composite | 56 - .../dummyImplementation.composite | 32 - .../DuplicatePropertyName/Calculator.composite | 51 - .../DuplicateReferenceName/Calculator.composite | 50 - .../META-INF/sca/SpringHelloWorld-context.xml | 31 - .../Calculator.composite | 53 - .../NoComponentImplementation/Calculator.composite | 52 - .../NoCompositeNamespace/Calculator.composite | 48 - .../NoMatchingBinding/Calculator.composite | 54 - .../PromotedReferenceNotFound/Calculator.composite | 51 - .../PromotedServiceNotFound/Calculator.composite | 51 - .../PropertyAttribute/Calculator.composite | 55 - .../CalculatorNullMustSupply.composite | 53 - .../CalculatorOverrideManyAttribute.composite | 54 - .../PropertyNotFound/Calculator.composite | 50 - .../Calculator.composite | 51 - .../Calculator.composite | 49 - .../Calculator.composite | 49 - .../ReferenceNotFound/Calculator.composite | 50 - .../ReferenceWithoutTargets/Calculator.composite | 49 - .../Calculator.composite | 54 - .../Calculator.composite | 54 - .../resources/XsdValidation/Calculator.composite | 51 - .../ContributionReadException/Calculator.composite | 53 - .../Calculator.composite | 53 - .../Calculator.composite | 54 - .../UnexpectedBindingElement/Calculator.composite | 55 - .../Calculator.composite | 54 - .../Calculator.composite | 54 - .../InvalidWsdlElementAttr/Calculator.composite | 58 - .../wsxml/MustUseWsdlBinding/Calculator.composite | 59 - .../wsxml/WsdlBindingDoesNotMatch/helloworld.wsdl | 92 - .../helloworldwsjms.composite | 34 - .../wsxml/WsdlPortTypeDoesNotMatch/helloworld.wsdl | 92 - .../helloworldwsclient.composite | 45 - .../wsxml/WsdlServiceDoesNotMatch/helloworld.wsdl | 92 - .../helloworldwsjms.composite | 34 - .../UnknownEJBSessionType/account.composite | 35 - .../bindingejb/UnknownEJBVersion/account.composite | 35 - .../DoesntProcessActivationSpec/service.composite | 36 - .../DoesntProcessDestinationType/service.composite | 35 - .../DoesntProcessHeaders/service.composite | 36 - .../DoesntProcessResourceAdapter/service.composite | 32 - .../service.composite | 35 - .../service.composite | 35 - .../service.composite | 35 - .../InvalidCorrelationScheme/service.composite | 35 - .../InvalidJMSDeliveryMode/service.composite | 36 - .../InvalidJMSPriority/service.composite | 36 - .../service.composite | 35 - .../MissingActivationSpecName/service.composite | 36 - .../MissingConnectionFactoryName/service.composite | 36 - .../service.composite | 36 - .../service.composite | 36 - .../MustStartWithSchema/service.composite | 36 - .../bindingjms/UnexpectedElement/service.composite | 38 - .../UnexpectedResponseElement/service.composite | 38 - .../bindingjms/UnknownTokenInURI/service.composite | 36 - .../AttributePackageMissing/Calculator.composite | 55 - .../AttributeNameSpaceMissing/Calculator.composite | 55 - .../AttributeURIMissing/Calculator.composite | 55 - .../META-INF/sca-contribution.xml | 24 - .../AttributeCompositeMissing/Calculator.composite | 53 - .../AttributeCompositeMissing/sca-contribution.xml | 24 - .../MultipleCompositeErrors/Calculator.composite | 53 - .../MultipleCompositeErrors/sca-contribution.xml | 31 - .../helloworld.composite | 29 - .../AttributeWithoutNamespace/helloworld.composite | 29 - .../impl/bpel/BPELProcessNotFound/deploy.xml | 30 - .../impl/bpel/BPELProcessNotFound/helloworld.bpel | 66 - .../BPELProcessNotFound/helloworld.componentType | 30 - .../bpel/BPELProcessNotFound/helloworld.composite | 29 - .../impl/bpel/BPELProcessNotFound/helloworld.wsdl | 82 - .../bpel/CannotResolveWSDLReference/deploy.xml | 30 - .../CannotResolveWSDLReference/helloworld.bpel | 66 - .../helloworld.componentType | 30 - .../helloworld.composite | 29 - .../impl/bpel/MyRolePartnerRoleNull/deploy.xml | 30 - .../bpel/MyRolePartnerRoleNull/helloworld.bpel | 66 - .../MyRolePartnerRoleNull/helloworld.componentType | 30 - .../MyRolePartnerRoleNull/helloworld.composite | 29 - .../bpel/MyRolePartnerRoleNull/helloworld.wsdl | 82 - .../impl/bpel/PartnerLinkHasBothAttr/deploy.xml | 30 - .../bpel/PartnerLinkHasBothAttr/helloworld.bpel | 68 - .../helloworld.componentType | 30 - .../PartnerLinkHasBothAttr/helloworld.composite | 29 - .../bpel/PartnerLinkHasBothAttr/helloworld.wsdl | 82 - .../impl/bpel/PartnerLinkNoMatchingType/deploy.xml | 30 - .../bpel/PartnerLinkNoMatchingType/helloworld.bpel | 66 - .../helloworld.componentType | 30 - .../PartnerLinkNoMatchingType/helloworld.composite | 29 - .../bpel/PartnerLinkNoMatchingType/helloworld.wsdl | 82 - .../impl/bpel/PartnerLinkTypeNoRoles/deploy.xml | 30 - .../bpel/PartnerLinkTypeNoRoles/helloworld.bpel | 66 - .../helloworld.componentType | 30 - .../PartnerLinkTypeNoRoles/helloworld.composite | 29 - .../bpel/PartnerLinkTypeNoRoles/helloworld.wsdl | 80 - .../impl/ejb/EJBLinkAttributeMissing/ejb.composite | 29 - .../ClassNotFoundException/Calculator.composite | 49 - .../Calculator.composite | 49 - .../OSGiTestService.componentType | 28 - .../CouldNotLocateOSGiBundle/osgitest.composite | 34 - .../MissingComponentTypeFile/osgitest.composite | 34 - .../OSGiTestService.componentType | 28 - .../PropertyShouldSpecifySR/osgitest.composite | 36 - .../CouldNotResolveLocation/resource.composite | 30 - .../LocationAttributeMissing/resource.composite | 30 - .../SpringHelloWorld.composite | 27 - .../SpringHelloWorld.composite | 27 - .../SpringHelloWorld-context.xml | 0 .../SpringHelloWorld.composite | 34 - .../TestHelloWorldBean.componentType | 27 - .../CouldNotResolveLocation/widget.composite | 29 - .../LocationAttributeMissing/widget.composite | 30 - .../xquery/CouldNotLocateFile/HelloWorld.composite | 28 - .../LocationAttributeMissing/HelloWorld.composite | 28 - .../ClassNotFoundException/Calculator.composite | 53 - .../CalculatorServiceImpl.componentType | 27 - .../Calculator.composite | 53 - .../CalculatorServiceImpl.componentType | 27 - .../InvalidWSDLInterfaceAttr/Calculator.composite | 54 - .../helloworld-interface.wsdl | 67 - .../helloworld-service.wsdl | 49 - .../xml/WsdlInterfaceDoesNotMatch/helloworld.wsdl | 92 - .../helloworldwsjms.composite | 34 - .../ClassNotFoundException/Calculator.composite | 56 - .../ClassNotFoundException/definitions.xml | 78 - .../Calculator.composite | 56 - .../RequiredAttributeRolesMissing/definitions.xml | 78 - .../Calculator.composite | 56 - .../AlwaysProvidedIntentNotFound/definitions.xml | 63 - .../Calculator.composite | 56 - .../ErrorInPolicyIntentDefinition/definitions.xml | 76 - .../xml/IntentNotSpecified/Calculator.composite | 56 - .../policy/xml/IntentNotSpecified/definitions.xml | 175 - .../MayProvideIntentNotFound/Calculator.composite | 56 - .../xml/MayProvideIntentNotFound/definitions.xml | 63 - .../RequiredAttributeMissing/Calculator.composite | 56 - .../xml/RequiredAttributeMissing/definitions.xml | 70 - .../xml/UnableToMapPolicies/Calculator.composite | 56 - .../policy/xml/UnableToMapPolicies/definitions.xml | 242 - .../Calculator.composite | 56 - .../definitions.xml | 68 - .../assembly/xml/ContributionReadException.java | 60 - .../xml/PolicyImplValidationException.java | 60 - .../xml/PolicyServiceValidationException.java | 60 - .../assembly/xml/UnexpectedBindingElement.java | 60 - .../xml/UnexpectedImplementationElement.java | 60 - .../assembly/xml/UnexpectedInterfaceElement.java | 59 - .../binding/ejb/UnknownEJBSessionTypeTestCase.java | 66 - .../binding/ejb/UnknownEJBVersionTestCase.java | 65 - .../jms/DoesntProcessActivationSpecTestCase.java | 59 - .../jms/DoesntProcessDestinationTypeTestCase.java | 59 - .../binding/jms/DoesntProcessHeadersTestCase.java | 61 - .../jms/DoesntProcessResourceAdapterTestCase.java | 59 - ...oesntProcessResponseActivationSpecTestCase.java | 59 - ...ntProcessResponseConnectionFactoryTestCase.java | 59 - ...esntProcessResponseDestinationTypeTestCase.java | 59 - .../jms/InvalidCorrelationSchemeTestCase.java | 59 - .../jms/InvalidJMSDeliveryModeTestCase.java | 59 - .../binding/jms/InvalidJMSPriorityTestCase.java | 59 - .../InvalidResponseDestinationTypeTestCase.java | 59 - .../jms/MissingActivationSpecNameTestCase.java | 59 - .../jms/MissingConnectionFactoryNameTestCase.java | 59 - .../jms/MissingResponseActivationSpecTestCase.java | 59 - .../MissingResponseConnectionFactoryTestCase.java | 59 - .../binding/jms/MustStartWithSchemaTestCase.java | 59 - .../binding/jms/UnexpectedElementTestCase.java | 59 - .../jms/UnexpectedResponseElementTestCase.java | 59 - .../binding/jms/UnknownTokenInURITestCase.java | 59 - .../wsxml/InvalidWsdlElementAttrTestCase.java | 60 - .../binding/wsxml/MustUseWsdlBindingTestCase.java | 60 - .../wsxml/WsdlBindingDoesNotMatchTestCase.java | 60 - .../wsxml/WsdlPortTypeDoesNotMatchTestCase.java | 59 - .../wsxml/WsdlServiceDoesNotMatchTestCase.java | 60 - .../ComponentReferenceTargetNotFoundTestCase.java | 76 - .../warning/DuplicateComponentNameTestCase.java | 60 - ...uplicateImplementationPropertyNameTestCase.java | 64 - ...plicateImplementationReferenceNameTestCase.java | 65 - .../warning/DuplicatePropertyNameTestCase.java | 70 - .../warning/DuplicateReferenceNameTestCase.java | 70 - .../MultipleBindingsForServiceTestCase.java | 70 - .../warning/NoComponentImplementationTestCase.java | 66 - .../warning/NoCompositeNamespaceTestCase.java | 70 - .../warning/NoMatchingBindingTestCase.java | 72 - .../warning/PromotedReferenceNotFoundTestCase.java | 70 - .../warning/PromotedServiceNotFoundTestCase.java | 70 - .../PropertyAttributeMustSupplyNullTestCase.java | 70 - .../warning/PropertyAttributeTestCase.java | 70 - .../warning/PropertyNotFoundTestCase.java | 70 - .../PropertyOverrideManyAttributeTestCase.java | 70 - ...enceIncompatibleComponentInterfaceTestCase.java | 70 - .../ReferenceIncompatibleInterfaceTestCase.java | 70 - .../ReferenceIncompatibleMultiplicityTestCase.java | 70 - .../warning/ReferenceNotFoundTestCase.java | 71 - .../warning/ReferenceWithoutTargetsTestCase.java | 70 - ...ServiceNotFoundForComponentServiceTestCase.java | 70 - .../UnresolvedComponentImplementationTestCase.java | 66 - .../calculator/warning/XSDValidationTestCase.java | 67 - .../java/AttributePackageMissingTestCase.java | 60 - .../AttributeNameSpaceMissingTestCase.java | 60 - .../resource/AttributeURIMissingTestCase.java | 60 - .../xml/AttributeCompositeMissingTestCase.java | 60 - .../xml/MultipleCompositeErrorsTestCase.java | 64 - .../test/java/domain/CustomCompositeBuilder.java | 230 - .../AttributeUnrecognizedNamespaceTestCase.java | 59 - .../bpel/AttributeWithoutNamespaceTestCase.java | 59 - .../impl/bpel/BPELProcessNotFoundTestCase.java | 59 - .../bpel/CannotResolveWSDLReferenceTestCase.java | 59 - .../impl/bpel/MyRolePartnerRoleNullTestCase.java | 59 - .../impl/bpel/PartnerLinkHasBothAttrTestCase.java | 68 - .../bpel/PartnerLinkNoMatchingTypeTestCase.java | 59 - .../impl/bpel/PartnerLinkTypeNoRolesTestCase.java | 69 - .../impl/ejb/EJBLinkAttributeMissingTestCase.java | 59 - .../impl/java/ClassNotFoundExceptionTestCase.java | 59 - .../java/ContributionResolveExceptionTestCase.java | 60 - .../resource/CouldNotResolveLocationTestCase.java | 58 - .../resource/LocationAttributeMissingTestCase.java | 59 - .../ContributionResolveExceptionTestCase.java | 66 - .../spring/LocationAttributeMissingTestCase.java | 59 - .../UnableToResolveComponentTypeTestCase.java | 59 - .../widget/CouldNotResolveLocationTestCase.java | 58 - .../widget/LocationAttributeMissingTestCase.java | 59 - .../impl/xquery/CouldNotLocateFileTestCase.java | 59 - .../xquery/LocationAttributeMissingTestCase.java | 59 - .../interfacejava/xml/ClassNotFoundTestCase.java | 59 - .../xml/ContributionResolveExceptionTestCase.java | 59 - .../xml/InvalidWSDLInterfaceAttrTestCase.java | 59 - .../xml/WsdlInterfaceDoesNotMatchTestCase.java | 59 - .../xml/AlwaysProvidedIntentNotFoundTestCase.java | 59 - .../xml/ErrorInPolicyIntentDefinitionTestCase.java | 59 - .../policy/xml/IntentNotSpecifiedTestCase.java | 68 - .../xml/MayProvideIntentNotFoundTestCase.java | 59 - .../xml/RequiredAttributeMissingTestCase.java | 59 - .../policy/xml/UnableToMapPoliciesTestCase.java | 64 - .../UnrecognizedIntentAttachPointTypeTestCase.java | 59 - java/sca-contrib/itest/ws-void-args-return/pom.xml | 61 - .../src/main/java/voidtest/Bean.java | 39 - .../src/main/java/voidtest/HelloWorldImpl.java | 64 - .../src/main/java/voidtest/HelloWorldService.java | 47 - .../src/main/java/voidtest/TestClient.java | 23 - .../src/main/java/voidtest/TestClientImpl.java | 53 - .../src/main/resources/voidtest.composite | 41 - .../test/java/voidtest/VoidArgsReturnTestCase.java | 53 - java/sca-contrib/itest/wsdl-multiple/pom.xml | 135 - .../main/java/helloworld/HelloWorldCallback.java | 30 - .../main/java/helloworld/HelloWorldClientImpl.java | 42 - .../main/java/helloworld/HelloWorldService.java | 32 - .../java/helloworld/HelloWorldServiceImpl.java | 37 - .../src/main/resources/auto-wsdl.composite | 44 - .../src/main/resources/manual-wsdl.composite | 46 - .../wsdl/helloworld.HelloWorldCallback.wsdl | 98 - .../wsdl/helloworld.HelloWorldService.wsdl | 95 - .../apache/tuscany/sca/itest/AutoWSDLTestCase.java | 65 - .../tuscany/sca/itest/ManualWSDLTestCase.java | 65 - java/sca-contrib/itest/wsdl/pom.xml | 135 - .../services/accountdata/AccountDataService.java | 92 - .../accountdata/AccountDataServiceImpl.java | 93 - .../accountdata/AccountServiceClientImpl.java | 79 - .../services/accountdata/Component2aImpl.java | 79 - .../services/accountdata/Component2bImpl.java | 79 - .../services/accountdata/Component3aImpl.java | 79 - .../services/accountdata/Component3bImpl.java | 79 - .../services/accountdata/CustomerIdService.java | 98 - .../src/main/java/helloworld/HelloWorldImpl.java | 33 - .../main/java/helloworld/HelloWorldService.java | 30 - .../helloworld/HelloWorldServiceComponent.java | 43 - .../apache/tuscany/sca/itest/Component2aImpl.java | 38 - .../apache/tuscany/sca/itest/Component2bImpl.java | 39 - .../apache/tuscany/sca/itest/Component3aImpl.java | 39 - .../apache/tuscany/sca/itest/Component3bImpl.java | 39 - .../wsdl/src/main/resources/SDOWSDLTest.composite | 344 - .../wsdl/src/main/resources/WSDLTest.composite | 371 - .../src/main/resources/wsdl/AccountService.wsdl | 453 - .../itest/wsdl/src/main/resources/wsdl/Hello.xsd | 37 - .../wsdl/src/main/resources/wsdl/helloworld.wsdl | 64 - .../apache/tuscany/sca/itest/SDOWSDLTestCase.java | 169 - .../org/apache/tuscany/sca/itest/WSDLTestCase.java | 146 - java/sca-contrib/itest/wsdl2java/pom.xml | 188 - .../src/test/resources/AccountService.wsdl | 479 - .../wsdl2java/src/test/resources/EchoService.wsdl | 64 - .../wsdl2java/src/test/resources/EchoService.xsd | 40 - .../src/test/resources/StockExceptionTest.wsdl | 167 - java/sca-contrib/itest/wsdlless/pom.xml | 202 - .../services/accountdata/AccountDataService.java | 95 - .../accountdata/AccountDataServiceImpl.java | 91 - .../accountdata/AccountServiceClientImpl.java | 77 - .../services/accountdata/Component2aImpl.java | 77 - .../services/accountdata/Component2bImpl.java | 77 - .../services/accountdata/Component3aImpl.java | 77 - .../services/accountdata/Component3bImpl.java | 77 - .../services/accountdata/CustomerIdService.java | 98 - .../src/main/java/helloworld/HelloWorldImpl.java | 44 - .../main/java/helloworld/HelloWorldService.java | 31 - .../helloworld/HelloWorldServiceComponent.java | 47 - .../apache/tuscany/sca/itest/Component2aImpl.java | 43 - .../apache/tuscany/sca/itest/Component2bImpl.java | 42 - .../apache/tuscany/sca/itest/Component3aImpl.java | 42 - .../apache/tuscany/sca/itest/Component3bImpl.java | 43 - .../wsdlless/src/main/java/service/AnObject.java | 62 - .../src/main/java/service/MoreComplexObject.java | 53 - .../src/main/java/service/SomeService.java | 31 - .../src/main/java/service/SomeServiceImpl.java | 42 - .../src/main/resources/SDOWSDLTest.composite | 321 - .../wsdlless/src/main/resources/WSDLTest.composite | 350 - .../wsdlless/src/main/resources/some.composite | 33 - .../src/main/resources/wsdl/AccountService.wsdl | 453 - .../src/main/resources/wsdl/helloworld.wsdl | 131 - .../apache/tuscany/sca/itest/SDOWSDLTestCase.java | 173 - .../org/apache/tuscany/sca/itest/WSDLTestCase.java | 150 - .../test/java/service/SomeComponentTestCase.java | 83 - .../src/test/java/service/generated/AnObject.java | 100 - .../generated/GetUsingMoreComplexObject.java | 79 - .../GetUsingMoreComplexObjectResponse.java | 79 - .../java/service/generated/GetUsingString.java | 79 - .../service/generated/GetUsingStringResponse.java | 79 - .../java/service/generated/MoreComplexObject.java | 126 - .../test/java/service/generated/ObjectFactory.java | 141 - .../test/java/service/generated/SomeService.java | 65 - .../java/service/generated/SomeServiceService.java | 81 - .../test/java/service/generated/package-info.java | 21 - java/sca-contrib/modules/assembly-xml-osoa/LICENSE | 205 - .../modules/assembly-xml-osoa/META-INF/MANIFEST.MF | 58 - java/sca-contrib/modules/assembly-xml-osoa/NOTICE | 6 - java/sca-contrib/modules/assembly-xml-osoa/pom.xml | 113 - .../assembly/xml/osoa/BaseAssemblyProcessor.java | 759 -- .../assembly/xml/osoa/ComponentTypeProcessor.java | 383 - .../sca/assembly/xml/osoa/CompositeProcessor.java | 1031 -- .../tuscany/sca/assembly/xml/osoa/Constants.java | 99 - .../xml/osoa/ConstrainingTypeProcessor.java | 275 - .../assembly/xml/osoa/PolicySubjectProcessor.java | 253 - ...ca.contribution.processor.StAXArtifactProcessor | 21 - ...sca.contribution.processor.URLArtifactProcessor | 21 - ...tuscany.sca.contribution.resolver.ModelResolver | 20 - .../assembly-xml-validation-messages.properties | 29 - .../sca/assembly/xml/osoa/BuildPolicyTestCase.java | 143 - .../xml/osoa/MultiplicityReadWriteTestCase.java | 86 - .../sca/assembly/xml/osoa/ReadAllTestCase.java | 151 - .../assembly/xml/osoa/ReadDocumentTestCase.java | 225 - .../sca/assembly/xml/osoa/ReadTestCase.java | 91 - .../xml/osoa/ReadWriteAnyAttributeTestCase.java | 135 - .../xml/osoa/ReadWriteAnyElementTestCase.java | 149 - .../xml/osoa/ReadWriteLocalCompositeTestCase.java | 102 - .../assembly/xml/osoa/ResolvePolicyTestCase.java | 171 - .../sca/assembly/xml/osoa/ResolveTestCase.java | 103 - .../assembly/xml/osoa/TestAttributeProcessor.java | 61 - .../sca/assembly/xml/osoa/TestPolicyProcessor.java | 82 - .../xml/osoa/TestSCABindingFactoryImpl.java | 40 - .../sca/assembly/xml/osoa/TestSCABindingImpl.java | 186 - .../sca/assembly/xml/osoa/WireTestCase.java | 148 - .../sca/assembly/xml/osoa/WriteAllTestCase.java | 158 - .../assembly/xml/osoa/WriteNamespacesTestCase.java | 95 - .../sca/assembly/xml/osoa/Calculator.composite | 59 - .../xml/osoa/CalculatorComponent.constrainingType | 34 - .../assembly/xml/osoa/CalculatorImpl.componentType | 31 - .../xml/osoa/JavaScriptReference.composite | 37 - .../sca/assembly/xml/osoa/Multiplicity.composite | 30 - .../assembly/xml/osoa/NestedCalculator.composite | 29 - .../sca/assembly/xml/osoa/RMIBindingTest.composite | 43 - .../assembly/xml/osoa/TestAllCalculator.composite | 123 - .../sca/assembly/xml/osoa/TestAllDivide.composite | 56 - .../xml/osoa/TestAllPolicyCalculator.composite | 126 - .../assembly/xml/osoa/another_test_definitions.xml | 96 - .../tuscany/sca/assembly/xml/osoa/local.composite | 27 - .../sca/assembly/xml/osoa/test_definitions.xml | 206 - java/sca-contrib/modules/assembly-xsd-osoa/LICENSE | 281 - .../modules/assembly-xsd-osoa/META-INF/MANIFEST.MF | 13 - java/sca-contrib/modules/assembly-xsd-osoa/NOTICE | 23 - java/sca-contrib/modules/assembly-xsd-osoa/pom.xml | 30 - ...any.sca.contribution.processor.ValidationSchema | 18 - .../src/main/resources/sca-all.xsd | 32 - .../src/main/resources/sca-binding-ejb.xsd | 43 - .../src/main/resources/sca-binding-sca.xsd | 23 - .../src/main/resources/sca-binding-webservice.xsd | 34 - .../src/main/resources/sca-contributions.xsd | 65 - .../src/main/resources/sca-core.xsd | 348 - .../src/main/resources/sca-definitions.xsd | 25 - .../src/main/resources/sca-implementation-bpel.xsd | 43 - .../resources/sca-implementation-composite.xsd | 23 - .../src/main/resources/sca-implementation-java.xsd | 24 - .../src/main/resources/sca-implementation-jee.xsd | 23 - .../src/main/resources/sca-implementation-web.xsd | 24 - .../src/main/resources/sca-interface-java.xsd | 23 - .../src/main/resources/sca-interface-wsdl.xsd | 23 - .../src/main/resources/sca-policy.xsd | 77 - .../assembly-xsd-osoa/src/main/resources/sca.xsd | 23 - .../src/main/resources/tuscany-sca-binding-dwr.xsd | 41 - .../main/resources/tuscany-sca-binding-http.xsd | 41 - .../main/resources/tuscany-sca-binding-jsonrpc.xsd | 41 - .../src/main/resources/tuscany-sca-binding-rmi.xsd | 40 - .../resources/tuscany-sca-implementation-node.xsd | 43 - .../src/main/resources/tuscany-sca.xsd | 35 - .../assembly-xsd-osoa/src/main/resources/wsdli.xsd | 34 - .../modules/binding-atom-abdera/LICENSE | 205 - .../binding-atom-abdera/META-INF/MANIFEST.MF | 55 - .../sca-contrib/modules/binding-atom-abdera/NOTICE | 6 - .../modules/binding-atom-abdera/ReceiptToms.gif | Bin 14205 -> 0 bytes .../modules/binding-atom-abdera/ReceiptValue.jpg | Bin 21373 -> 0 bytes .../modules/binding-atom-abdera/pom.xml | 207 - .../sca/binding/atom/collection/Collection.java | 81 - .../binding/atom/collection/MediaCollection.java | 55 - .../binding/atom/collection/NotFoundException.java | 45 - .../binding/atom/provider/AtomBindingInvoker.java | 485 - .../atom/provider/AtomBindingListenerServlet.java | 871 -- .../atom/provider/AtomBindingProviderFactory.java | 74 - .../sca/binding/atom/provider/AtomBindingUtil.java | 164 - .../provider/AtomReferenceBindingProvider.java | 183 - .../atom/provider/AtomServiceBindingProvider.java | 87 - ...che.tuscany.sca.provider.BindingProviderFactory | 19 - .../sca/binding/atom/AtomDeleteTestCase.java | 109 - .../tuscany/sca/binding/atom/AtomGetTestCase.java | 107 - .../tuscany/sca/binding/atom/AtomPostTestCase.java | 96 - .../tuscany/sca/binding/atom/AtomPutTestCase.java | 114 - .../sca/binding/atom/AtomTestCaseUtils.java | 96 - .../apache/tuscany/sca/binding/atom/Consumer.java | 42 - .../binding/atom/ConsumerProviderAtomTestCase.java | 165 - .../sca/binding/atom/ContentNegotiationTest.java | 265 - .../tuscany/sca/binding/atom/CustomerClient.java | 29 - .../sca/binding/atom/CustomerClientImpl.java | 99 - .../sca/binding/atom/CustomerCollectionImpl.java | 149 - .../sca/binding/atom/MediaCollectionImpl.java | 210 - .../sca/binding/atom/MediaCollectionTestCase.java | 287 - .../apache/tuscany/sca/binding/atom/Provider.java | 48 - .../atom/ProviderEntryEntityTagsTestCase.java | 428 - .../atom/ProviderFeedEntityTagsTestCase.java | 382 - .../atom/ProviderServiceDocumentTestCase.java | 209 - .../tuscany/sca/binding/atom/Consumer.composite | 32 - .../tuscany/sca/binding/atom/Provider.composite | 33 - .../sca/binding/atom/ReceiptProvider.composite | 33 - java/sca-contrib/modules/binding-atom/LICENSE | 205 - .../modules/binding-atom/META-INF/MANIFEST.MF | 23 - java/sca-contrib/modules/binding-atom/NOTICE | 6 - java/sca-contrib/modules/binding-atom/pom.xml | 62 - .../tuscany/sca/binding/atom/AtomBinding.java | 43 - .../sca/binding/atom/AtomBindingFactory.java | 35 - .../binding/atom/impl/AtomBindingFactoryImpl.java | 36 - .../sca/binding/atom/impl/AtomBindingImpl.java | 117 - ...che.tuscany.sca.binding.atom.AtomBindingFactory | 19 - ...ca.contribution.processor.StAXArtifactProcessor | 19 - .../binding/atom/AtomBindingProcessorTestCase.java | 91 - .../modules/binding-corba-runtime/LICENSE | 205 - .../binding-corba-runtime/META-INF/MANIFEST.MF | 64 - .../modules/binding-corba-runtime/NOTICE | 6 - .../modules/binding-corba-runtime/pom.xml | 130 - .../provider/CorbaBindingProviderFactory.java | 70 - .../sca/binding/corba/provider/CorbaInvoker.java | 89 - .../provider/CorbaReferenceBindingProvider.java | 100 - .../provider/CorbaServiceBindingProvider.java | 92 - .../corba/provider/exceptions/CorbaException.java | 34 - .../exceptions/RequestConfigurationException.java | 43 - .../binding/corba/provider/meta/CorbaArray.java | 34 - .../corba/provider/meta/CorbaUnionElement.java | 37 - .../corba/provider/meta/CorbaUnionElementType.java | 28 - .../corba/provider/reference/DynaCorbaRequest.java | 253 - .../provider/reference/DynaCorbaResponse.java | 39 - .../reference/InterfaceInstanceCreator.java | 70 - .../reference/InterfaceMethodInterceptor.java | 65 - .../provider/service/ComponentInvocationProxy.java | 120 - .../corba/provider/service/DynaCorbaServant.java | 137 - .../provider/service/InvocationException.java | 43 - .../corba/provider/service/InvocationProxy.java | 46 - .../corba/provider/service/OperationTypes.java | 51 - .../corba/provider/types/AnnotationAttributes.java | 46 - .../sca/binding/corba/provider/types/NodeType.java | 28 - .../sca/binding/corba/provider/types/TypeTree.java | 50 - .../corba/provider/types/TypeTreeCreator.java | 497 - .../binding/corba/provider/types/TypeTreeNode.java | 75 - .../corba/provider/types/UnionAttributes.java | 59 - .../corba/provider/types/util/ArrayTypeHelper.java | 53 - .../provider/types/util/BooleanTypeHelper.java | 39 - .../corba/provider/types/util/ByteTypeHelper.java | 39 - .../corba/provider/types/util/CharTypeHelper.java | 39 - .../provider/types/util/DoubleTypeHelper.java | 39 - .../corba/provider/types/util/EnumTypeHelper.java | 41 - .../corba/provider/types/util/FloatTypeHelper.java | 39 - .../corba/provider/types/util/IntTypeHelper.java | 39 - .../corba/provider/types/util/LongTypeHelper.java | 39 - .../provider/types/util/ReferenceTypeHelper.java | 42 - .../provider/types/util/SequenceTypeHelper.java | 70 - .../corba/provider/types/util/ShortTypeHelper.java | 39 - .../provider/types/util/StringTypeHelper.java | 39 - .../provider/types/util/StructTypeHelper.java | 69 - .../corba/provider/types/util/TypeHelper.java | 47 - .../provider/types/util/TypeHelpersProxy.java | 119 - .../corba/provider/types/util/UnionTypeHelper.java | 92 - .../binding/corba/provider/types/util/Utils.java | 40 - .../binding/corba/provider/util/MethodFinder.java | 97 - .../corba/provider/util/OperationMapper.java | 578 - ...che.tuscany.sca.provider.BindingProviderFactory | 19 - .../corba/testing/CorbaServantTestCase.java | 564 - .../binding/corba/testing/CorbaTypesTestCase.java | 841 -- .../corba/testing/MappingTestInterface.java | 46 - .../corba/testing/MethodFinderTestCase.java | 70 - .../corba/testing/OperationMappingTestCase.java | 67 - .../sca/binding/corba/testing/TestConstants.java | 87 - .../testing/arrays_unions/ArraysUnionsTests.java | 13 - .../arrays_unions/ArraysUnionsTestsHelper.java | 85 - .../arrays_unions/ArraysUnionsTestsHolder.java | 38 - .../arrays_unions/ArraysUnionsTestsOperations.java | 16 - .../corba/testing/arrays_unions/InnerUnion.java | 112 - .../testing/arrays_unions/InnerUnionHelper.java | 106 - .../testing/arrays_unions/InnerUnionHolder.java | 38 - .../corba/testing/arrays_unions/RichUnion.java | 177 - .../testing/arrays_unions/RichUnionHelper.java | 157 - .../testing/arrays_unions/RichUnionHolder.java | 38 - .../testing/arrays_unions/StringArrayHelper.java | 76 - .../testing/arrays_unions/StringArrayHolder.java | 39 - .../corba/testing/arrays_unions/TestStruct.java | 28 - .../testing/arrays_unions/TestStructHelper.java | 149 - .../testing/arrays_unions/TestStructHolder.java | 38 - .../arrays_unions/_ArraysUnionsTestsImplBase.java | 86 - .../arrays_unions/_ArraysUnionsTestsStub.java | 100 - .../sca/binding/corba/testing/enums/Color.java | 60 - .../binding/corba/testing/enums/ColorHelper.java | 69 - .../binding/corba/testing/enums/ColorHolder.java | 51 - .../binding/corba/testing/enums/EnumManager.java | 30 - .../corba/testing/enums/EnumManagerHelper.java | 98 - .../corba/testing/enums/EnumManagerHolder.java | 51 - .../corba/testing/enums/EnumManagerOperations.java | 32 - .../corba/testing/enums/_EnumManagerImplBase.java | 76 - .../corba/testing/enums/_EnumManagerStub.java | 75 - .../sca/binding/corba/testing/exceptions/Calc.java | 30 - .../corba/testing/exceptions/CalcHelper.java | 98 - .../corba/testing/exceptions/CalcHolder.java | 51 - .../corba/testing/exceptions/CalcOperations.java | 36 - .../testing/exceptions/CalcPackage/Arguments.java | 41 - .../exceptions/CalcPackage/ArgumentsHelper.java | 94 - .../exceptions/CalcPackage/ArgumentsHolder.java | 51 - .../testing/exceptions/CalcPackage/DivByZero.java | 52 - .../exceptions/CalcPackage/DivByZeroHelper.java | 100 - .../exceptions/CalcPackage/DivByZeroHolder.java | 51 - .../exceptions/CalcPackage/NotSupported.java | 46 - .../exceptions/CalcPackage/NotSupportedHelper.java | 93 - .../exceptions/CalcPackage/NotSupportedHolder.java | 51 - .../corba/testing/exceptions/_CalcImplBase.java | 102 - .../corba/testing/exceptions/_CalcStub.java | 106 - .../corba/testing/generated/ArraysSetter.java | 30 - .../testing/generated/ArraysSetterHelper.java | 100 - .../testing/generated/ArraysSetterHolder.java | 51 - .../testing/generated/ArraysSetterOperations.java | 59 - .../corba/testing/generated/PrimitivesSetter.java | 31 - .../testing/generated/PrimitivesSetterHelper.java | 100 - .../testing/generated/PrimitivesSetterHolder.java | 51 - .../generated/PrimitivesSetterOperations.java | 59 - .../corba/testing/generated/RemoteObject.java | 30 - .../testing/generated/RemoteObjectHelper.java | 100 - .../testing/generated/RemoteObjectHolder.java | 51 - .../testing/generated/RemoteObjectOperations.java | 30 - .../corba/testing/generated/SimpleStruct.java | 41 - .../testing/generated/SimpleStructHelper.java | 93 - .../testing/generated/SimpleStructHolder.java | 51 - .../corba/testing/generated/SomeStruct.java | 51 - .../corba/testing/generated/SomeStructHelper.java | 146 - .../corba/testing/generated/SomeStructHolder.java | 51 - .../corba/testing/generated/TestObject.java | 30 - .../corba/testing/generated/TestObjectHelper.java | 99 - .../corba/testing/generated/TestObjectHolder.java | 51 - .../testing/generated/TestObjectOperations.java | 44 - .../testing/generated/_ArraysSetterImplBase.java | 232 - .../corba/testing/generated/_ArraysSetterStub.java | 343 - .../generated/_PrimitivesSetterImplBase.java | 230 - .../testing/generated/_PrimitivesSetterStub.java | 341 - .../testing/generated/_RemoteObjectImplBase.java | 59 - .../corba/testing/generated/_RemoteObjectStub.java | 55 - .../testing/generated/_TestObjectImplBase.java | 149 - .../corba/testing/generated/_TestObjectStub.java | 182 - .../testing/generated/boolean_listHelper.java | 75 - .../testing/generated/boolean_listHolder.java | 51 - .../corba/testing/generated/char_listHelper.java | 75 - .../corba/testing/generated/char_listHolder.java | 51 - .../corba/testing/generated/double_listHelper.java | 75 - .../corba/testing/generated/double_listHolder.java | 51 - .../corba/testing/generated/float_listHelper.java | 75 - .../corba/testing/generated/float_listHolder.java | 51 - .../corba/testing/generated/long_listHelper.java | 75 - .../corba/testing/generated/long_listHolder.java | 51 - .../testing/generated/long_long_listHelper.java | 75 - .../testing/generated/long_long_listHolder.java | 51 - .../corba/testing/generated/long_seq1Helper.java | 75 - .../corba/testing/generated/long_seq1Holder.java | 51 - .../corba/testing/generated/long_seq2Helper.java | 83 - .../corba/testing/generated/long_seq2Holder.java | 51 - .../corba/testing/generated/long_seq3Helper.java | 89 - .../corba/testing/generated/long_seq3Holder.java | 51 - .../corba/testing/generated/octet_listHelper.java | 75 - .../corba/testing/generated/octet_listHolder.java | 51 - .../generated/remote_object_listHelper.java | 80 - .../generated/remote_object_listHolder.java | 51 - .../corba/testing/generated/short_listHelper.java | 75 - .../corba/testing/generated/short_listHolder.java | 51 - .../corba/testing/generated/string_listHelper.java | 77 - .../corba/testing/generated/string_listHolder.java | 51 - .../generated/unsigned_long_listHelper.java | 76 - .../generated/unsigned_long_listHolder.java | 51 - .../generated/unsigned_long_long_listHelper.java | 78 - .../generated/unsigned_long_long_listHolder.java | 51 - .../generated/unsigned_short_listHelper.java | 76 - .../generated/unsigned_short_listHolder.java | 51 - .../corba/testing/generated/wchar_listHelper.java | 75 - .../corba/testing/generated/wchar_listHolder.java | 51 - .../testing/generated/wstring_listHelper.java | 77 - .../testing/generated/wstring_listHolder.java | 51 - .../corba/testing/hierarchy/ArraysTestStruct.java | 45 - .../sca/binding/corba/testing/hierarchy/Calc.java | 30 - .../corba/testing/hierarchy/DummyObject.java | 28 - .../corba/testing/hierarchy/InnerUnion.java | 55 - .../corba/testing/hierarchy/InvalidCorbaArray.java | 38 - .../corba/testing/hierarchy/InvalidEnum1.java | 36 - .../corba/testing/hierarchy/InvalidEnum2.java | 33 - .../corba/testing/hierarchy/InvalidEnum3.java | 33 - .../corba/testing/hierarchy/InvalidStruct1.java | 28 - .../corba/testing/hierarchy/InvalidStruct2.java | 31 - .../corba/testing/hierarchy/InvalidStruct3.java | 36 - .../corba/testing/hierarchy/InvalidUnion1.java | 37 - .../corba/testing/hierarchy/InvalidUnion2.java | 34 - .../corba/testing/hierarchy/InvalidUnion3.java | 35 - .../corba/testing/hierarchy/InvalidUnion4.java | 39 - .../corba/testing/hierarchy/InvalidUnion5.java | 42 - .../corba/testing/hierarchy/NonCorbaException.java | 28 - .../binding/corba/testing/hierarchy/RichUnion.java | 91 - .../corba/testing/hierarchy/SimpleStruct.java | 30 - .../corba/testing/hierarchy/SomeStruct.java | 33 - .../corba/testing/references/DummyObject.java | 30 - .../testing/references/DummyObjectHelper.java | 100 - .../testing/references/DummyObjectHolder.java | 51 - .../testing/references/DummyObjectOperations.java | 33 - .../corba/testing/references/ObjectManager.java | 30 - .../testing/references/ObjectManagerHelper.java | 100 - .../testing/references/ObjectManagerHolder.java | 51 - .../references/ObjectManagerOperations.java | 33 - .../testing/references/_DummyObjectImplBase.java | 84 - .../corba/testing/references/_DummyObjectStub.java | 92 - .../testing/references/_ObjectManagerImplBase.java | 86 - .../testing/references/_ObjectManagerStub.java | 94 - .../testing/servants/ArraysSetterServant.java | 89 - .../testing/servants/ArraysUnionsServant.java | 42 - .../servants/ArraysUnionsTuscanyServant.java | 43 - .../corba/testing/servants/CalcServant.java | 52 - .../corba/testing/servants/DummyObjectServant.java | 42 - .../corba/testing/servants/EnumManagerServant.java | 33 - .../testing/servants/InvalidTestObjectServant.java | 24 - .../testing/servants/InvalidTypesServant.java | 34 - .../corba/testing/servants/NonCorbaServant.java | 36 - .../testing/servants/ObjectManagerServant.java | 37 - .../testing/servants/PrimitivesSetterServant.java | 89 - .../corba/testing/servants/TestObjectServant.java | 71 - .../corba/testing/service/mocks/TestDataType.java | 88 - .../corba/testing/service/mocks/TestInterface.java | 139 - .../service/mocks/TestInterfaceContract.java | 58 - .../corba/testing/service/mocks/TestOperation.java | 174 - .../service/mocks/TestRuntimeComponentService.java | 234 - .../testing/service/mocks/TestRuntimeWire.java | 107 - .../src/test/resources/arrays_unions.idl | 69 - .../src/test/resources/enums.idl | 44 - .../src/test/resources/exceptions.idl | 58 - .../src/test/resources/general_tests.idl | 124 - .../src/test/resources/references.idl | 50 - java/sca-contrib/modules/binding-corba/LICENSE | 205 - .../modules/binding-corba/META-INF/MANIFEST.MF | 28 - java/sca-contrib/modules/binding-corba/NOTICE | 6 - java/sca-contrib/modules/binding-corba/pom.xml | 53 - .../tuscany/sca/binding/corba/CorbaBinding.java | 47 - .../sca/binding/corba/CorbaBindingFactory.java | 31 - .../corba/impl/CorbaBindingFactoryImpl.java | 37 - .../sca/binding/corba/impl/CorbaBindingImpl.java | 132 - .../binding/corba/impl/CorbaBindingProcessor.java | 133 - ...e.tuscany.sca.binding.corba.CorbaBindingFactory | 19 - ...ca.contribution.processor.StAXArtifactProcessor | 19 - .../modules/binding-dwr-runtime/LICENSE | 205 - .../sca-contrib/modules/binding-dwr-runtime/NOTICE | 6 - .../modules/binding-dwr-runtime/pom.xml | 95 - .../apache/tuscany/sca/binding/dwr/DWRBinding.java | 31 - .../sca/binding/dwr/DWRBindingActivator.java | 56 - .../apache/tuscany/sca/binding/dwr/DWRInvoker.java | 93 - .../tuscany/sca/binding/dwr/DWRInvokerFactory.java | 67 - .../apache/tuscany/sca/binding/dwr/DWRService.java | 81 - .../apache/tuscany/sca/binding/dwr/DWRServlet.java | 247 - ...e.tuscany.sca.extension.helper.BindingActivator | 19 - java/sca-contrib/modules/binding-dwr/LICENSE | 205 - .../modules/binding-dwr/META-INF/MANIFEST.MF | 18 - java/sca-contrib/modules/binding-dwr/NOTICE | 6 - java/sca-contrib/modules/binding-dwr/pom.xml | 41 - .../apache/tuscany/sca/binding/dwr/DWRBinding.java | 29 - .../tuscany/sca/binding/dwr/DWRBindingFactory.java | 31 - .../binding/dwr/impl/DWRBindingFactoryImpl.java | 34 - .../sca/binding/dwr/impl/DWRBindingImpl.java | 60 - ...pache.tuscany.sca.binding.dwr.DWRBindingFactory | 19 - ...ca.contribution.processor.StAXArtifactProcessor | 19 - .../modules/binding-ejb-runtime/LICENSE | 205 - .../binding-ejb-runtime/META-INF/MANIFEST.MF | 42 - .../sca-contrib/modules/binding-ejb-runtime/NOTICE | 6 - .../modules/binding-ejb-runtime/pom.xml | 170 - .../sca/binding/ejb/corba/ClassLoadingUtil.java | 365 - .../binding/ejb/corba/DynamicStubClassLoader.java | 150 - .../sca/binding/ejb/corba/Java2IDLUtil.java | 811 -- .../binding/ejb/corba/ObjectInputStreamExt.java | 61 - .../binding/ejb/corba/StubMethodInterceptor.java | 154 - .../sca/binding/ejb/corba/UtilInitializer.java | 69 - .../binding/ejb/provider/EJBBindingInvoker.java | 92 - .../ejb/provider/EJBBindingProviderFactory.java | 56 - .../EJBBindingReferenceBindingProvider.java | 86 - .../tuscany/sca/binding/ejb/util/EJBHandler.java | 338 - .../tuscany/sca/binding/ejb/util/EJBLocator.java | 483 - .../sca/binding/ejb/util/EJBObjectFactory.java | 209 - .../sca/binding/ejb/util/EJBStubHelper.java | 69 - .../sca/binding/ejb/util/InterfaceInfo.java | 117 - .../binding/ejb/util/JavaReflectionAdapter.java | 157 - .../tuscany/sca/binding/ejb/util/MethodInfo.java | 189 - .../sca/binding/ejb/util/NamingEndpoint.java | 124 - ...che.tuscany.sca.provider.BindingProviderFactory | 19 - .../binding-ejb-validation-messages.properties | 23 - .../src/test/java/account/BankManagerFacade.java | 33 - .../src/test/java/account/Customer.java | 36 - .../src/test/java/account/CustomerImpl.java | 57 - .../src/test/java/calculator/AddService.java | 27 - .../src/test/java/calculator/AddServiceHome.java | 31 - .../samples/bank/ejb/BankManagerFacade.java | 44 - .../samples/bank/ejb/BankManagerFacadeHome.java | 44 - .../binding/ejb/tests/EJBReferenceTestCase.java | 73 - .../tuscany/sca/binding/ejb/tests/MockServer.java | 151 - .../sca/binding/ejb/tests/SocketTracer.java | 138 - .../src/test/resources/account/account.composite | 35 - java/sca-contrib/modules/binding-ejb/LICENSE | 205 - .../modules/binding-ejb/META-INF/MANIFEST.MF | 27 - java/sca-contrib/modules/binding-ejb/NOTICE | 6 - java/sca-contrib/modules/binding-ejb/pom.xml | 66 - .../apache/tuscany/sca/binding/ejb/EJBBinding.java | 94 - .../sca/binding/ejb/EJBBindingException.java | 56 - .../tuscany/sca/binding/ejb/EJBBindingFactory.java | 35 - .../binding/ejb/impl/EJBBindingFactoryImpl.java | 36 - .../sca/binding/ejb/impl/EJBBindingImpl.java | 183 - .../sca/binding/ejb/impl/EJBBindingProcessor.java | 184 - ...pache.tuscany.sca.binding.ejb.EJBBindingFactory | 19 - ...ca.contribution.processor.StAXArtifactProcessor | 19 - .../binding-ejb-validation-messages.properties | 23 - .../modules/binding-gdata-runtime/LICENSE | 205 - .../binding-gdata-runtime/META-INF/MANIFEST.MF | 48 - .../modules/binding-gdata-runtime/NOTICE | 6 - .../modules/binding-gdata-runtime/pom.xml | 169 - .../sca/binding/gdata/collection/Collection.java | 79 - .../binding/gdata/collection/MediaCollection.java | 55 - .../gdata/collection/NotFoundException.java | 45 - .../gdata/provider/GdataBindingInvoker.java | 425 - .../provider/GdataBindingListenerServlet.java | 736 -- .../provider/GdataBindingProviderFactory.java | 83 - .../binding/gdata/provider/GdataBindingUtil.java | 171 - .../provider/GdataReferenceBindingProvider.java | 229 - .../provider/GdataServiceBindingProvider.java | 90 - ...che.tuscany.sca.provider.BindingProviderFactory | 19 - .../src/main/resources/tuscany-binding-gdata.xsd | 36 - .../apache/tuscany/sca/binding/gdata/Consumer.java | 66 - .../binding/gdata/ConsumerProviderTestCase.java | 153 - .../tuscany/sca/binding/gdata/CustomerClient.java | 40 - .../sca/binding/gdata/CustomerClientImpl.java | 123 - .../sca/binding/gdata/CustomerCollectionImpl.java | 143 - .../gdata/GoogleBloggerServiceTestCase.java | 156 - .../gdata/GoogleCalendarServiceTestCase.java | 164 - .../gdata/GoogleContactsServiceTestCase.java | 160 - .../apache/tuscany/sca/binding/gdata/Provider.java | 48 - .../sca/binding/gdata/StartLocalhostServlet.java | 48 - .../src/test/resources/log4j.properties | 25 - .../tuscany/sca/binding/gdata/Consumer.composite | 32 - .../binding/gdata/ConsumerGoogleBlogger.composite | 32 - .../binding/gdata/ConsumerGoogleCalendar.composite | 32 - .../binding/gdata/ConsumerGoogleContacts.composite | 32 - .../tuscany/sca/binding/gdata/Provider.composite | 33 - java/sca-contrib/modules/binding-gdata/LICENSE | 202 - .../modules/binding-gdata/META-INF/MANIFEST.MF | 23 - java/sca-contrib/modules/binding-gdata/NOTICE | 8 - java/sca-contrib/modules/binding-gdata/pom.xml | 60 - .../tuscany/sca/binding/gdata/GdataBinding.java | 78 - .../sca/binding/gdata/GdataBindingFactory.java | 35 - .../gdata/impl/GdataBindingFactoryImpl.java | 36 - .../sca/binding/gdata/impl/GdataBindingImpl.java | 141 - .../binding/gdata/xml/GdataBindingProcessor.java | 121 - ...e.tuscany.sca.binding.gdata.GdataBindingFactory | 18 - ...ca.contribution.processor.StAXArtifactProcessor | 19 - .../modules/binding-http-runtime/LICENSE | 205 - .../binding-http-runtime/META-INF/MANIFEST.MF | 28 - .../modules/binding-http-runtime/NOTICE | 6 - .../modules/binding-http-runtime/pom.xml | 100 - .../http/provider/HTTPBindingListenerServlet.java | 516 - .../http/provider/HTTPBindingProviderFactory.java | 64 - .../http/provider/HTTPGetListenerServlet.java | 94 - .../http/provider/HTTPServiceBindingProvider.java | 137 - .../http/provider/HTTPServiceListenerServlet.java | 136 - .../sca/binding/http/util/HTTPHeadersParser.java | 50 - ...che.tuscany.sca.provider.BindingProviderFactory | 19 - .../http/HTTPBindingCacheTestCaseFIXME.java | 853 -- .../sca/binding/http/HTTPBindingTestCase.java | 153 - .../sca/binding/http/NotModifiedException.java | 44 - .../binding/http/PreconditionFailedException.java | 44 - .../sca/binding/http/TestBindingCacheImpl.java | 241 - .../tuscany/sca/binding/http/TestGetImpl.java | 37 - .../sca/binding/http/TestServiceCacheImpl.java | 61 - .../tuscany/sca/binding/http/TestServiceImpl.java | 61 - .../src/test/resources/content/test.html | 21 - .../src/test/resources/test.composite | 47 - .../src/test/resources/testCache.composite | 33 - java/sca-contrib/modules/binding-http/LICENSE | 205 - .../modules/binding-http/META-INF/MANIFEST.MF | 22 - java/sca-contrib/modules/binding-http/NOTICE | 6 - java/sca-contrib/modules/binding-http/pom.xml | 72 - .../tuscany/sca/binding/http/HTTPBinding.java | 31 - .../sca/binding/http/HTTPBindingFactory.java | 35 - .../tuscany/sca/binding/http/HTTPCacheContext.java | 257 - .../tuscany/sca/binding/http/HTTPHeader.java | 51 - .../binding/http/impl/HTTPBindingFactoryImpl.java | 36 - .../sca/binding/http/impl/HTTPBindingImpl.java | 108 - ...che.tuscany.sca.binding.http.HTTPBindingFactory | 19 - ...ca.contribution.processor.StAXArtifactProcessor | 19 - .../sca-contrib/modules/binding-jms-policy/LICENSE | 205 - java/sca-contrib/modules/binding-jms-policy/NOTICE | 6 - .../sca-contrib/modules/binding-jms-policy/pom.xml | 94 - .../jms/policy/JMSBindingDefinitionsProvider.java | 66 - .../token/JMSTokenAuthenticationPolicy.java | 56 - .../JMSTokenAuthenticationPolicyProcessor.java | 112 - ...MSTokenAuthenticationPolicyProviderFactory.java | 75 - ...enAuthenticationReferencePolicyInterceptor.java | 89 - ...TokenAuthenticationReferencePolicyProvider.java | 90 - ...okenAuthenticationServicePolicyInterceptor.java | 89 - ...MSTokenAuthenticationServicePolicyProvider.java | 88 - .../binding/jms/policy/header/JMSHeaderPolicy.java | 131 - .../policy/header/JMSHeaderPolicyProcessor.java | 210 - .../header/JMSHeaderPolicyProviderFactory.java | 75 - .../JMSHeaderReferencePolicyInterceptor.java | 130 - .../header/JMSHeaderReferencePolicyProvider.java | 95 - ...ca.contribution.processor.StAXArtifactProcessor | 20 - ...ache.tuscany.sca.provider.PolicyProviderFactory | 19 - ...che.tuscany.sca.provider.SCADefinitionsProvider | 19 - ...nding-jms-policy-validation-messages.properties | 23 - .../tuscany/sca/binding/jms/policy/definitions.xml | 84 - .../jms/policy/PolicyProcessorTestCase.java | 91 - .../binding/jms/policy/mock_policy_definitions.xml | 39 - .../modules/binding-jms-runtime/LICENSE | 205 - .../binding-jms-runtime/META-INF/MANIFEST.MF | 47 - .../sca-contrib/modules/binding-jms-runtime/NOTICE | 6 - .../modules/binding-jms-runtime/pom.xml | 123 - .../sca/binding/jms/context/JMSBindingContext.java | 82 - .../jms/headers/HeaderReferenceInterceptor.java | 174 - ...OperationSelectorJMSDefaultProviderFactory.java | 68 - ...rationSelectorJMSDefaultServiceInterceptor.java | 167 - ...OperationSelectorJMSDefaultServiceProvider.java | 59 - .../jms/provider/AbstractMessageProcessor.java | 117 - .../jms/provider/BytesMessageProcessor.java | 75 - .../jms/provider/DefaultJMSBindingListener.java | 266 - .../DefaultJMSResourceFactoryExtensionPoint.java | 30 - .../binding/jms/provider/JMSBindingInvoker.java | 467 - .../jms/provider/JMSBindingProviderFactory.java | 69 - .../JMSBindingReferenceBindingProvider.java | 170 - .../provider/JMSBindingServiceBindingProvider.java | 359 - .../binding/jms/provider/JMSMessageProcessor.java | 55 - .../jms/provider/JMSMessageProcessorUtil.java | 75 - .../binding/jms/provider/JMSResourceFactory.java | 67 - .../provider/JMSResourceFactoryExtensionPoint.java | 28 - .../jms/provider/JMSResourceFactoryImpl.java | 223 - .../jms/provider/ObjectMessageProcessor.java | 75 - .../binding/jms/provider/RRBJMSBindingInvoker.java | 279 - .../jms/provider/RRBJMSBindingListener.java | 122 - .../binding/jms/provider/TextMessageProcessor.java | 68 - .../jms/provider/XMLTextMessageProcessor.java | 90 - .../transport/TransportReferenceInterceptor.java | 186 - .../jms/transport/TransportServiceInterceptor.java | 170 - .../WireFormatJMSBytesProviderFactory.java | 65 - .../WireFormatJMSBytesReferenceInterceptor.java | 111 - .../WireFormatJMSBytesReferenceProvider.java | 94 - .../WireFormatJMSBytesServiceInterceptor.java | 111 - .../WireFormatJMSBytesServiceProvider.java | 91 - .../WireFormatJMSObjectProviderFactory.java | 65 - .../WireFormatJMSObjectReferenceInterceptor.java | 111 - .../WireFormatJMSObjectReferenceProvider.java | 94 - .../WireFormatJMSObjectServiceInterceptor.java | 111 - .../WireFormatJMSObjectServiceProvider.java | 91 - .../jmstext/WireFormatJMSTextProviderFactory.java | 65 - .../WireFormatJMSTextReferenceInterceptor.java | 112 - .../WireFormatJMSTextReferenceProvider.java | 95 - .../WireFormatJMSTextServiceInterceptor.java | 111 - .../jmstext/WireFormatJMSTextServiceProvider.java | 91 - .../WireFormatJMSTextXMLProviderFactory.java | 72 - .../WireFormatJMSTextXMLReferenceInterceptor.java | 125 - .../WireFormatJMSTextXMLReferenceProvider.java | 110 - .../WireFormatJMSTextXMLServiceInterceptor.java | 118 - .../WireFormatJMSTextXMLServiceProvider.java | 113 - ...che.tuscany.sca.provider.BindingProviderFactory | 19 - ...y.sca.provider.OperationSelectorProviderFactory | 19 - ....tuscany.sca.provider.WireFormatProviderFactory | 22 - .../sca/binding/jms/HelloWorldClientImpl.java | 43 - .../tuscany/sca/binding/jms/HelloWorldService.java | 31 - .../sca/binding/jms/HelloWorldServiceImpl.java | 32 - .../src/test/resources/simple/client.composite | 38 - .../src/test/resources/simple/service.composite | 35 - java/sca-contrib/modules/binding-jms/LICENSE | 205 - .../modules/binding-jms/META-INF/MANIFEST.MF | 30 - java/sca-contrib/modules/binding-jms/NOTICE | 6 - java/sca-contrib/modules/binding-jms/pom.xml | 48 - .../apache/tuscany/sca/binding/jms/JMSBinding.java | 241 - .../sca/binding/jms/JMSBindingException.java | 45 - .../tuscany/sca/binding/jms/JMSBindingFactory.java | 31 - .../binding/jms/impl/JMSBindingFactoryImpl.java | 34 - .../sca/binding/jms/impl/JMSBindingImpl.java | 573 - .../jmsdefault/OperationSelectorJMSDefault.java | 45 - .../OperationSelectorJMSDefaultProcessor.java | 76 - .../wireformat/jmsbytes/WireFormatJMSBytes.java | 45 - .../jmsbytes/WireFormatJMSBytesProcessor.java | 78 - .../wireformat/jmsobject/WireFormatJMSObject.java | 45 - .../jmsobject/WireFormatJMSObjectProcessor.java | 78 - .../jms/wireformat/jmstext/WireFormatJMSText.java | 45 - .../jmstext/WireFormatJMSTextProcessor.java | 78 - .../jmstextxml/WireFormatJMSTextXML.java | 48 - .../jmstextxml/WireFormatJMSTextXMLProcessor.java | 78 - .../sca/binding/jms/xml/JMSBindingConstants.java | 72 - .../sca/binding/jms/xml/JMSBindingProcessor.java | 688 - ...pache.tuscany.sca.binding.jms.JMSBindingFactory | 17 - ...ca.contribution.processor.StAXArtifactProcessor | 25 - .../binding-jms-validation-messages.properties | 47 - .../jms/impl/JMSBindingProcessorTestCase.java | 211 - .../modules/binding-jsonrpc-runtime/LICENSE | 205 - .../binding-jsonrpc-runtime/META-INF/MANIFEST.MF | 41 - .../modules/binding-jsonrpc-runtime/NOTICE | 6 - .../modules/binding-jsonrpc-runtime/pom.xml | 136 - .../jsonrpc/provider/JSONRPCBindingInvoker.java | 45 - .../provider/JSONRPCBindingProviderFactory.java | 64 - .../provider/JSONRPCReferenceBindingProvider.java | 70 - .../provider/JSONRPCServiceBindingProvider.java | 184 - .../jsonrpc/provider/JSONRPCServiceServlet.java | 282 - .../sca/binding/jsonrpc/provider/JavaToSmd.java | 56 - .../jsonrpc/provider/ScaDomainScriptServlet.java | 114 - ...che.tuscany.sca.provider.BindingProviderFactory | 19 - .../sca/binding/jsonrpc/provider/jsonrpc.js | 493 - .../src/test/java/bean/TestBean.java | 51 - .../src/test/java/echo/Echo.java | 62 - .../src/test/java/echo/EchoBusinessException.java | 29 - .../src/test/java/echo/EchoComponentImpl.java | 98 - .../binding/jsonrpc/JSONRPCDataTypeTestCase.java | 180 - .../binding/jsonrpc/JSONRPCExceptionTestCase.java | 92 - .../binding/jsonrpc/JSONRPCServiceTestCase.java | 76 - .../src/test/resources/JSONRPCBinding.composite | 35 - java/sca-contrib/modules/binding-jsonrpc/LICENSE | 205 - .../modules/binding-jsonrpc/META-INF/MANIFEST.MF | 20 - java/sca-contrib/modules/binding-jsonrpc/NOTICE | 6 - java/sca-contrib/modules/binding-jsonrpc/pom.xml | 59 - .../sca/binding/jsonrpc/JSONRPCBinding.java | 31 - .../sca/binding/jsonrpc/JSONRPCBindingFactory.java | 35 - .../jsonrpc/impl/JSONRPCBindingFactoryImpl.java | 38 - .../binding/jsonrpc/impl/JSONRPCBindingImpl.java | 62 - ...scany.sca.binding.jsonrpc.JSONRPCBindingFactory | 19 - ...ca.contribution.processor.StAXArtifactProcessor | 19 - .../binding-rest-runtime/META-INF/MANIFEST.MF | 18 - .../modules/binding-rest-runtime/pom.xml | 154 - .../sca/binding/rest/RESTBindingForJersey.java | 181 - .../binding/rest/provider/RESTBindingInvoker.java | 45 - .../rest/provider/RESTBindingProviderFactory.java | 64 - .../provider/RESTReferenceBindingProvider.java | 70 - .../rest/provider/RESTServiceBindingProvider.java | 148 - .../binding/rest/provider/RESTServiceServlet.java | 138 - ...che.tuscany.sca.provider.BindingProviderFactory | 19 - .../modules/binding-rest/META-INF/MANIFEST.MF | 18 - java/sca-contrib/modules/binding-rest/pom.xml | 62 - .../tuscany/sca/binding/rest/RESTBinding.java | 31 - .../sca/binding/rest/RESTBindingFactory.java | 35 - .../binding/rest/impl/RESTBindingFactoryImpl.java | 38 - .../sca/binding/rest/impl/RESTBindingImpl.java | 62 - ...che.tuscany.sca.binding.rest.RESTBindingFactory | 19 - ...ca.contribution.processor.StAXArtifactProcessor | 19 - java/sca-contrib/modules/binding-rss-rome/LICENSE | 205 - .../modules/binding-rss-rome/META-INF/MANIFEST.MF | 39 - java/sca-contrib/modules/binding-rss-rome/NOTICE | 6 - java/sca-contrib/modules/binding-rss-rome/pom.xml | 151 - .../sca/binding/rss/collection/Collection.java | 49 - .../binding/rss/collection/MediaCollection.java | 55 - .../binding/rss/collection/NotFoundException.java | 45 - .../binding/rss/provider/RSSBindingInvoker.java | 76 - .../rss/provider/RSSBindingListenerServlet.java | 394 - .../rss/provider/RSSBindingProviderFactory.java | 74 - .../rss/provider/RSSReferenceBindingProvider.java | 65 - .../rss/provider/RSSServiceBindingProvider.java | 85 - ...che.tuscany.sca.provider.BindingProviderFactory | 19 - .../apache/tuscany/sca/binding/rss/Consumer.java | 41 - .../tuscany/sca/binding/rss/CustomerClient.java | 25 - .../sca/binding/rss/CustomerClientImpl.java | 45 - .../sca/binding/rss/CustomerCollectionImpl.java | 103 - .../apache/tuscany/sca/binding/rss/Provider.java | 47 - .../tuscany/sca/binding/feed/Consumer.composite | 32 - .../tuscany/sca/binding/feed/Provider.composite | 33 - java/sca-contrib/modules/binding-rss/LICENSE | 205 - .../modules/binding-rss/META-INF/MANIFEST.MF | 19 - java/sca-contrib/modules/binding-rss/NOTICE | 6 - java/sca-contrib/modules/binding-rss/pom.xml | 79 - .../apache/tuscany/sca/binding/rss/RSSBinding.java | 28 - .../tuscany/sca/binding/rss/RSSBindingFactory.java | 35 - .../binding/rss/impl/RSSBindingFactoryImpl.java | 36 - .../sca/binding/rss/impl/RSSBindingImpl.java | 99 - ...pache.tuscany.sca.binding.rss.RSSBindingFactory | 19 - ...ca.contribution.processor.StAXArtifactProcessor | 19 - java/sca-contrib/modules/binding-sca-axis2/LICENSE | 205 - .../modules/binding-sca-axis2/META-INF/MANIFEST.MF | 35 - java/sca-contrib/modules/binding-sca-axis2/NOTICE | 6 - java/sca-contrib/modules/binding-sca-axis2/pom.xml | 83 - .../sca/axis2/impl/Axis2SCABindingInvoker.java | 100 - .../axis2/impl/Axis2SCABindingProviderFactory.java | 67 - .../impl/Axis2SCAReferenceBindingProvider.java | 184 - .../axis2/impl/Axis2SCAServiceBindingProvider.java | 122 - .../sca/axis2/impl/Axis2SCAServiceProvider.java | 84 - ...che.tuscany.sca.provider.BindingProviderFactory | 19 - .../sca/binding/sca/axis2/AsynchTestCase.java | 80 - .../BindingScaEndpointResolverFactoryImpl.java | 50 - .../sca/axis2/BindingScaEndpointResolverImpl.java | 69 - .../sca/binding/sca/axis2/CallbackTestCase.java | 84 - .../sca/binding/sca/axis2/PromotionTestCase.java | 73 - .../sca/binding/sca/axis2/SimpleTestCase.java | 112 - .../axis2/helloworld/HelloWorldCallbackRemote.java | 29 - .../sca/axis2/helloworld/HelloWorldClient.java | 27 - .../HelloWorldServiceCallbackOnewayRemote.java | 33 - .../HelloWorldServiceCallbackRemote.java | 31 - .../axis2/helloworld/HelloWorldServiceLocal.java | 27 - .../axis2/helloworld/HelloWorldServiceRemote.java | 29 - .../axis2/helloworld/HelloWorldServiceRemote2.java | 29 - .../HelloWorldClientCallbackOnewayRemoteImpl.java | 43 - .../impl/HelloWorldClientCallbackRemoteImpl.java | 42 - .../helloworld/impl/HelloWorldClientLocalImpl.java | 35 - .../impl/HelloWorldClientRemote2Impl.java | 35 - .../impl/HelloWorldClientRemoteImpl.java | 35 - .../HelloWorldServiceCallbackOnewayRemoteImpl.java | 36 - .../impl/HelloWorldServiceCallbackRemoteImpl.java | 35 - .../impl/HelloWorldServiceLocalImpl.java | 30 - .../HelloWorldServiceMultipleServicesImpl.java | 41 - .../impl/HelloWorldServiceRemoteImpl.java | 30 - ...ny.sca.endpointresolver.EndpointResolverFactory | 19 - .../src/test/resources/nodeA/HelloWorld.composite | 75 - .../resources/nodeA/META-INF/sca-contribution.xml | 24 - .../src/test/resources/nodeB/HelloWorld.composite | 84 - .../resources/nodeB/META-INF/sca-contribution.xml | 24 - .../src/test/resources/nodeC/HelloWorld.composite | 35 - .../resources/nodeC/HelloWorldComponent.composite | 37 - .../resources/nodeC/META-INF/sca-contribution.xml | 24 - .../src/test/resources/nodeD/HelloWorld.composite | 35 - .../resources/nodeD/HelloWorldComponent.composite | 37 - .../resources/nodeD/META-INF/sca-contribution.xml | 24 - .../src/test/resources/nodeE/HelloWorld.composite | 36 - .../resources/nodeE/META-INF/sca-contribution.xml | 24 - .../src/test/resources/nodeF/HelloWorld.composite | 43 - .../resources/nodeF/META-INF/sca-contribution.xml | 24 - .../src/test/resources/nodeG/HelloWorld.composite | 36 - .../resources/nodeG/META-INF/sca-contribution.xml | 24 - .../src/test/resources/nodeH/HelloWorld.composite | 38 - .../resources/nodeH/META-INF/sca-contribution.xml | 24 - java/sca-contrib/modules/binding-sca-corba/LICENSE | 205 - .../modules/binding-sca-corba/META-INF/MANIFEST.MF | 39 - java/sca-contrib/modules/binding-sca-corba/NOTICE | 6 - java/sca-contrib/modules/binding-sca-corba/pom.xml | 88 - .../corba/impl/CorbaSCABindingProviderFactory.java | 64 - .../sca/corba/impl/CorbaSCAInvocationProxy.java | 111 - .../binding/sca/corba/impl/CorbaSCAInvoker.java | 97 - .../impl/CorbaSCAReferenceBindingProvider.java | 95 - .../corba/impl/CorbaSCAServiceBindingProvider.java | 97 - .../sca/corba/impl/WrappedSCAException.java | 56 - ...che.tuscany.sca.provider.BindingProviderFactory | 19 - .../modules/binding-sca-xml-osoa/LICENSE | 205 - .../binding-sca-xml-osoa/META-INF/MANIFEST.MF | 34 - .../modules/binding-sca-xml-osoa/NOTICE | 6 - .../modules/binding-sca-xml-osoa/pom.xml | 57 - .../binding/sca/xml/osoa/SCABindingProcessor.java | 132 - ...ca.contribution.processor.StAXArtifactProcessor | 19 - .../src/test/resources/Calculator.composite | 59 - .../resources/CalculatorServiceImpl.componentType | 33 - java/sca-contrib/modules/binding-ws-jaxws/LICENSE | 205 - .../modules/binding-ws-jaxws/META-INF/MANIFEST.MF | 54 - java/sca-contrib/modules/binding-ws-jaxws/NOTICE | 6 - java/sca-contrib/modules/binding-ws-jaxws/pom.xml | 272 - .../sca/binding/ws/jaxws/JAXWSBindingInvoker.java | 181 - .../ws/jaxws/JAXWSBindingProviderFactory.java | 76 - .../ws/jaxws/JAXWSReferenceBindingProvider.java | 77 - .../ws/jaxws/JAXWSServiceBindingProvider.java | 93 - ...che.tuscany.sca.provider.BindingProviderFactory | 19 - .../test/java/weather/WeatherForecastClient.java | 67 - .../src/test/java/weather/WeatherForecastImpl.java | 43 - .../test/resources/META-INF/sca-contribution.xml | 23 - .../src/test/resources/WeatherForecast.composite | 31 - .../modules/common-xml/META-INF/MANIFEST.MF | 29 - java/sca-contrib/modules/common-xml/pom.xml | 66 - .../tuscany/sca/common/xml/SimpleTypeMapper.java | 210 - .../sca/common/xml/XSDDataTypeConverter.java | 945 -- .../tuscany/sca/common/xml/dom/DOMHelper.java | 115 - .../tuscany/sca/common/xml/dom/SAX2DOMAdapter.java | 245 - .../sca/common/xml/stax/DOMXMLStreamReader.java | 36 - .../sca/common/xml/stax/DOMXmlNodeImpl.java | 156 - .../xml/stax/DelegatingNamespaceContext.java | 310 - .../xml/stax/NameValueArrayStreamReader.java | 404 - .../common/xml/stax/NameValuePairStreamReader.java | 348 - .../tuscany/sca/common/xml/stax/NamedProperty.java | 59 - .../common/xml/stax/NilElementStreamReader.java | 279 - .../sca/common/xml/stax/SimpleXmlNodeImpl.java | 112 - .../sca/common/xml/stax/StAX2SAXAdapter.java | 256 - .../tuscany/sca/common/xml/stax/StAXHelper.java | 87 - .../common/xml/stax/WrappingXMLStreamReader.java | 100 - .../common/xml/stax/XMLDocumentStreamReader.java | 482 - .../common/xml/stax/XMLFragmentStreamReader.java | 53 - .../xml/stax/XMLFragmentStreamReaderImpl.java | 858 -- .../sca/common/xml/stax/XMLStreamSerializer.java | 287 - .../tuscany/sca/common/xml/stax/XMLStreamable.java | 37 - .../tuscany/sca/common/xml/stax/XmlNode.java | 69 - .../sca/common/xml/stax/XmlNodeIterator.java | 355 - .../common/xml/stax/XmlTreeStreamReaderImpl.java | 531 - .../sca/common/xml/stax/StAXHelperTestCase.java | 49 - .../xml/stax/XmlTreeStreamReaderTestCase.java | 204 - .../modules/compact-base/META-INF/MANIFEST.MF | 15 - java/sca-contrib/modules/compact-base/pom.xml | 527 - java/sca-contrib/modules/contribution-osgi/LICENSE | 205 - java/sca-contrib/modules/contribution-osgi/NOTICE | 6 - java/sca-contrib/modules/contribution-osgi/pom.xml | 78 - .../sca/contribution/osgi/BundleReference.java | 161 - .../osgi/impl/OSGiBundleContributionProcessor.java | 161 - .../osgi/impl/OSGiBundleProcessor.java | 141 - .../impl/OSGiBundleReferenceModelResolver.java | 154 - .../osgi/impl/OSGiClassReferenceModelResolver.java | 137 - .../osgi/impl/OSGiImportExportListener.java | 215 - .../osgi/impl/OSGiModelResolverImpl.java | 119 - ...any.sca.contribution.processor.PackageProcessor | 18 - ...tuscany.sca.contribution.resolver.ModelResolver | 18 - ...y.sca.contribution.service.ContributionListener | 18 - .../contribution-resource/META-INF/MANIFEST.MF | 26 - .../modules/contribution-resource/pom.xml | 58 - .../sca/contribution/resource/ResourceExport.java | 46 - .../sca/contribution/resource/ResourceImport.java | 59 - .../resource/ResourceImportExportFactory.java | 42 - .../resource/impl/ArtifactModelResolver.java | 86 - .../resource/impl/ResourceExportImpl.java | 58 - .../resource/impl/ResourceExportModelResolver.java | 65 - .../resource/impl/ResourceExportProcessor.java | 161 - .../impl/ResourceImportExportFactoryImpl.java | 41 - .../resource/impl/ResourceImportImpl.java | 107 - .../resource/impl/ResourceImportProcessor.java | 167 - ...ca.contribution.processor.StAXArtifactProcessor | 19 - ...tuscany.sca.contribution.resolver.ModelResolver | 18 - ...ntribution.resource.ResourceImportExportFactory | 18 - ...ibution-resource-validation-messages.properties | 23 - .../impl/ResourceExportProcessorTestCase.java | 106 - .../impl/ResourceImportProcessorTestCase.java | 107 - java/sca-contrib/modules/data-api/LICENSE | 205 - .../modules/data-api/META-INF/MANIFEST.MF | 17 - java/sca-contrib/modules/data-api/NOTICE | 6 - java/sca-contrib/modules/data-api/pom.xml | 39 - .../tuscany/sca/data/collection/Collection.java | 78 - .../apache/tuscany/sca/data/collection/Entry.java | 85 - .../apache/tuscany/sca/data/collection/Item.java | 159 - .../sca/data/collection/ItemCollection.java | 30 - .../sca/data/collection/LocalItemCollection.java | 28 - .../sca/data/collection/NotFoundException.java | 45 - .../modules/databinding-fastinfoset/LICENSE | 202 - .../databinding-fastinfoset/META-INF/MANIFEST.MF | 28 - .../modules/databinding-fastinfoset/NOTICE | 6 - .../modules/databinding-fastinfoset/pom.xml | 70 - .../databinding/fastinfoset/FastInfoset2Node.java | 70 - .../databinding/fastinfoset/FastInfoset2SAX.java | 71 - .../fastinfoset/FastInfoset2XMLStreamReader.java | 67 - .../databinding/fastinfoset/Node2FastInfoset.java | 71 - .../fastinfoset/XMLInputStream2FastInfoset.java | 89 - .../fastinfoset/XMLStreamReader2FastInfoset.java | 75 - ....apache.tuscany.sca.databinding.PullTransformer | 22 - ....apache.tuscany.sca.databinding.PushTransformer | 22 - .../FastInfosetTransformerTestCase.java | 127 - .../src/test/resources/ipo.xsd | 136 - java/sca-contrib/modules/databinding-json/LICENSE | 202 - .../modules/databinding-json/META-INF/MANIFEST.MF | 34 - java/sca-contrib/modules/databinding-json/NOTICE | 6 - java/sca-contrib/modules/databinding-json/pom.xml | 118 - .../sca/databinding/json/JSON2JavaBean.java | 73 - .../tuscany/sca/databinding/json/JSON2String.java | 61 - .../sca/databinding/json/JSON2XMLStreamReader.java | 65 - .../sca/databinding/json/JSONDataBinding.java | 74 - .../tuscany/sca/databinding/json/JSONHelper.java | 91 - .../sca/databinding/json/JavaBean2JSON.java | 82 - .../sca/databinding/json/JavaBean2JSONObject.java | 139 - .../tuscany/sca/databinding/json/String2JSON.java | 64 - .../sca/databinding/json/XMLStreamReader2JSON.java | 77 - .../sca/databinding/json/axiom/JSON2OMElement.java | 94 - .../json/axiom/JSONBadgerfishDataSource.java | 57 - .../sca/databinding/json/axiom/JSONDataSource.java | 176 - .../org.apache.tuscany.sca.databinding.DataBinding | 19 - ....apache.tuscany.sca.databinding.PullTransformer | 31 - .../databinding/json/JSONTransformerTestCase.java | 128 - .../databinding/json/JavaBean2JSONTestCase.java | 170 - .../tuscany/sca/databinding/json/MyBean.java | 158 - .../tuscany/sca/databinding/json/MyInterface.java | 29 - .../sca/databinding/json/MyInterfaceImpl.java | 67 - .../tuscany/sca/databinding/json/POJOTestCase.java | 87 - .../databinding-json/src/test/resources/ipo.xsd | 136 - java/sca-contrib/modules/databinding-saxon/LICENSE | 202 - .../modules/databinding-saxon/META-INF/MANIFEST.MF | 38 - java/sca-contrib/modules/databinding-saxon/NOTICE | 6 - java/sca-contrib/modules/databinding-saxon/pom.xml | 106 - .../saxon/DataObject2NodeInfoTransformer.java | 99 - .../saxon/ItemList2ObjectTransformer.java | 153 - .../saxon/Node2NodeInfoTransformer.java | 77 - .../saxon/NodeInfo2DataObjectTransformer.java | 91 - .../saxon/NodeInfo2JavaArrayTransformer.java | 76 - .../saxon/NodeInfo2NodeTransformer.java | 71 - .../databinding/saxon/Object2ValueTransformer.java | 65 - .../databinding/saxon/SaxonDataBindingHelper.java | 41 - .../databinding/saxon/SaxonNodeDataBinding.java | 54 - .../databinding/saxon/SaxonValueDataBinding.java | 53 - .../saxon/SimpleType2ValueTransformer.java | 87 - .../sca/databinding/saxon/Value2JavaArray.java | 74 - .../databinding/saxon/Value2ObjectTransformer.java | 66 - .../saxon/Value2SimpleTypeTransformer.java | 65 - .../sca/databinding/saxon/collection/ItemList.java | 34 - .../org.apache.tuscany.sca.databinding.DataBinding | 20 - ....apache.tuscany.sca.databinding.PullTransformer | 34 - .../modules/databinding-sdo-axiom/LICENSE | 205 - .../databinding-sdo-axiom/META-INF/MANIFEST.MF | 40 - .../modules/databinding-sdo-axiom/NOTICE | 6 - .../modules/databinding-sdo-axiom/pom.xml | 153 - .../sca/databinding/sdo2om/AxiomHelper.java | 142 - .../databinding/sdo2om/DataObject2OMElement.java | 86 - .../sca/databinding/sdo2om/SDODataSource.java | 89 - .../databinding/sdo2om/XMLDocument2OMElement.java | 65 - ....apache.tuscany.sca.databinding.PullTransformer | 20 - .../sdo2om/DataObject2OMElementTestCase.java | 78 - .../sdo2om/SDOTransformerTestCaseBase.java | 82 - .../sdo2om/XMLDocument2OMElementTestCase.java | 63 - .../src/test/resources/ipo.xsd | 136 - .../src/test/resources/stock.xsd | 33 - java/sca-contrib/modules/databinding-sdo/LICENSE | 205 - .../modules/databinding-sdo/META-INF/MANIFEST.MF | 66 - java/sca-contrib/modules/databinding-sdo/NOTICE | 6 - java/sca-contrib/modules/databinding-sdo/pom.xml | 119 - .../sca/databinding/sdo/DataObject2Node.java | 73 - .../sca/databinding/sdo/DataObject2String.java | 64 - .../sdo/DataObject2XMLStreamReader.java | 82 - .../tuscany/sca/databinding/sdo/ImportSDO.java | 87 - .../sca/databinding/sdo/ImportSDOProcessor.java | 211 - .../sca/databinding/sdo/Node2DataObject.java | 69 - .../sca/databinding/sdo/SDOContextHelper.java | 208 - .../sca/databinding/sdo/SDODataBinding.java | 146 - .../sca/databinding/sdo/SDOSimpleTypeMapper.java | 68 - .../tuscany/sca/databinding/sdo/SDOTypeHelper.java | 235 - .../sca/databinding/sdo/SDOWrapperHandler.java | 177 - .../sca/databinding/sdo/String2DataObject.java | 61 - .../sca/databinding/sdo/XMLDocument2String.java | 65 - .../sdo/XMLDocument2XMLStreamReader.java | 69 - .../sdo/XMLStreamReader2DataObject.java | 72 - .../sdo/XMLStreamReader2XMLDocument.java | 66 - ...ca.contribution.processor.StAXArtifactProcessor | 18 - .../org.apache.tuscany.sca.databinding.DataBinding | 19 - ....apache.tuscany.sca.databinding.PullTransformer | 27 - .../databinding-sdo-validation-messages.properties | 23 - .../sdo/fault/InvalidSymbolFault_Exception.java | 70 - .../databinding/sdo/DataObject2NodeTestCase.java | 60 - .../databinding/sdo/DataObject2StringTestCase.java | 65 - .../sdo/DataObject2XMLStreamReaderTestCase.java | 75 - .../sdo/ImportSDOProcessorTestCase.java | 90 - .../databinding/sdo/SDOContextHelperTestCase.java | 55 - .../databinding/sdo/SDODataBindingTestCase.java | 114 - .../sdo/SDOTransformerTestCaseBase.java | 82 - .../databinding/sdo/SDOWrapperHandlerTestCase.java | 83 - .../sca/databinding/sdo/TestModelResolver.java | 63 - .../sdo/XMLDocument2XMLStreamReaderTestCase.java | 62 - .../databinding-sdo/src/test/resources/ipo.xsd | 136 - .../src/test/resources/model/sca-core.xsd | 233 - .../resources/model/sca-implementation-mock.xsd | 43 - .../databinding-sdo/src/test/resources/stock.xsd | 33 - .../databinding-sdo/src/test/resources/wrapper.xml | 27 - .../databinding-sdo/src/test/resources/wrapper.xsd | 38 - .../modules/databinding-xmlbeans/LICENSE | 202 - .../databinding-xmlbeans/META-INF/MANIFEST.MF | 27 - .../modules/databinding-xmlbeans/NOTICE | 6 - .../modules/databinding-xmlbeans/pom.xml | 119 - .../sca/databinding/xmlbeans/Node2XmlObject.java | 61 - .../databinding/xmlbeans/XMLBeansDataBinding.java | 82 - .../xmlbeans/XMLBeansWrapperHandler.java | 110 - .../xmlbeans/XMLStreamReader2XmlObject.java | 62 - .../sca/databinding/xmlbeans/XmlObject2Node.java | 60 - .../xmlbeans/XmlObject2XMLStreamReader.java | 55 - .../org.apache.tuscany.sca.databinding.DataBinding | 19 - ....apache.tuscany.sca.databinding.PullTransformer | 22 - .../databinding/xmlbeans/XmlObjectTestCase.java | 105 - .../src/test/resources/ipo.xsd | 136 - .../src/test/resources/ipo.xsdconfig | 21 - java/sca-contrib/modules/domain-manager/LICENSE | 205 - .../modules/domain-manager/META-INF/MANIFEST.MF | 69 - java/sca-contrib/modules/domain-manager/NOTICE | 6 - java/sca-contrib/modules/domain-manager/pom.xml | 181 - .../impl/CompositeConfigurationCollectionImpl.java | 127 - .../impl/CompositeConfigurationServiceImpl.java | 515 - .../impl/CompositeGeneratorServiceImpl.java | 256 - .../manager/impl/ContributionCollectionImpl.java | 687 - .../manager/impl/ContributionServiceImpl.java | 77 - .../impl/DeployableCompositeCollectionImpl.java | 404 - .../impl/DeployableCompositeServiceImpl.java | 128 - .../impl/DeployedCompositeCollectionImpl.java | 378 - .../manager/impl/DomainManagerConfiguration.java | 53 - .../impl/DomainManagerConfigurationImpl.java | 85 - .../sca/domain/manager/impl/DomainManagerUtil.java | 296 - .../domain/manager/impl/FileCollectionImpl.java | 136 - .../sca/domain/manager/impl/FileServiceImpl.java | 153 - .../manager/impl/NodeConfigurationServiceImpl.java | 96 - .../impl/NodeProcessCollectionFacadeImpl.java | 251 - .../domain/manager/impl/QuickStartServiceImpl.java | 236 - .../launcher/DomainManagerLauncherBootstrap.java | 121 - .../src/main/resources/DomainManager.composite | 281 - .../src/main/resources/cloud-gadget.html | 408 - .../domain-manager/src/main/resources/cloud.html | 68 - .../src/main/resources/composite-gadget.html | 277 - .../src/main/resources/composite.html | 66 - .../src/main/resources/files-gadget.html | 124 - .../domain-manager/src/main/resources/files.html | 64 - .../src/main/resources/home-gadget.html | 45 - .../domain-manager/src/main/resources/home.html | 65 - .../src/main/resources/icons/feed-icon.png | Bin 818 -> 0 bytes .../domain-manager/src/main/resources/manager.css | 104 - .../src/main/resources/toolbar-gadget.html | 47 - .../domain-manager/src/main/resources/utils.js | 246 - .../src/main/resources/workspace-gadget.html | 232 - .../src/main/resources/workspace.html | 65 - .../domain/manager/impl/DomainManagerTestCase.java | 117 - .../assets/META-INF/sca-contribution.xml | 27 - .../store/META-INF/sca-contribution.xml | 25 - .../src/test/resources/workspace.xml | 21 - java/sca-contrib/modules/host-corba-jee/LICENSE | 205 - .../modules/host-corba-jee/META-INF/MANIFEST.MF | 23 - java/sca-contrib/modules/host-corba-jee/NOTICE | 6 - java/sca-contrib/modules/host-corba-jee/pom.xml | 44 - .../corba/jee/CorbaRuntimeModuleActivator.java | 52 - .../tuscany/sca/host/corba/jee/JEECorbaHost.java | 162 - .../org.apache.tuscany.sca.core.ModuleActivator | 18 - .../corba/jee/testing/JEECorbaHostTestCase.java | 208 - .../sca/host/corba/jee/testing/TestContext.java | 174 - .../jee/testing/TestInitialContextFactory.java | 37 - .../corba/jee/testing/general/TestInterface.java | 30 - .../jee/testing/general/TestInterfaceHelper.java | 100 - .../jee/testing/general/TestInterfaceHolder.java | 51 - .../testing/general/TestInterfaceOperations.java | 31 - .../testing/general/_TestInterfaceImplBase.java | 74 - .../jee/testing/general/_TestInterfaceStub.java | 73 - .../jee/testing/servants/TestInterfaceServant.java | 35 - .../host-corba-jee/src/test/resources/general.idl | 45 - .../sca-contrib/modules/host-corba-jse-tns/LICENSE | 205 - .../host-corba-jse-tns/META-INF/MANIFEST.MF | 21 - java/sca-contrib/modules/host-corba-jse-tns/NOTICE | 6 - .../sca-contrib/modules/host-corba-jse-tns/pom.xml | 53 - .../corba/jse/tns/CorbaRuntimeModuleActivator.java | 53 - .../host/corba/jse/tns/TnsDefaultCorbaHost.java | 116 - .../org.apache.tuscany.sca.core.ModuleActivator | 18 - .../corba/testing/TnsDefaultCorbaHostTestCase.java | 97 - java/sca-contrib/modules/host-corba-jse/LICENSE | 205 - .../modules/host-corba-jse/META-INF/MANIFEST.MF | 26 - java/sca-contrib/modules/host-corba-jse/NOTICE | 6 - java/sca-contrib/modules/host-corba-jse/pom.xml | 38 - .../corba/jse/CorbaRuntimeModuleActivator.java | 48 - .../sca/host/corba/jse/DefaultCorbaHost.java | 181 - .../sca/host/corba/naming/NamingContextBase.java | 863 -- .../sca/host/corba/naming/TransientNameServer.java | 133 - .../host/corba/naming/TransientNameService.java | 200 - .../host/corba/naming/TransientNamingContext.java | 440 - .../corba/naming/TransientServiceException.java | 44 - .../org.apache.tuscany.sca.core.ModuleActivator | 18 - .../corba/testing/DefaultCorbaHostTestCase.java | 250 - .../host/corba/testing/general/TestInterface.java | 30 - .../corba/testing/general/TestInterfaceHelper.java | 98 - .../corba/testing/general/TestInterfaceHolder.java | 51 - .../testing/general/TestInterfaceOperations.java | 31 - .../testing/general/_TestInterfaceImplBase.java | 74 - .../corba/testing/general/_TestInterfaceStub.java | 73 - .../testing/servants/TestInterfaceServant.java | 35 - .../host-corba-jse/src/test/resources/general.idl | 43 - java/sca-contrib/modules/host-corba/LICENSE | 205 - .../modules/host-corba/META-INF/MANIFEST.MF | 17 - java/sca-contrib/modules/host-corba/NOTICE | 6 - java/sca-contrib/modules/host-corba/pom.xml | 38 - .../apache/tuscany/sca/host/corba/CorbaHost.java | 56 - .../tuscany/sca/host/corba/CorbaHostException.java | 47 - .../sca/host/corba/CorbaHostExtensionPoint.java | 51 - .../tuscany/sca/host/corba/CorbaHostUtils.java | 61 - .../tuscany/sca/host/corba/CorbanameURL.java | 202 - .../host/corba/DefaultCorbaHostExtensionPoint.java | 48 - .../sca/host/corba/ExtensibleCorbaHost.java | 55 - .../apache/tuscany/sca/host/corba/SocketUtil.java | 226 - ....tuscany.sca.host.corba.CorbaHostExtensionPoint | 18 - .../tuscany/sca/host/corba/UtilsTestCase.java | 145 - java/sca-contrib/modules/host-tomcat/LICENSE | 205 - .../modules/host-tomcat/META-INF/MANIFEST.MF | 23 - java/sca-contrib/modules/host-tomcat/NOTICE | 6 - java/sca-contrib/modules/host-tomcat/pom.xml | 69 - .../tuscany/sca/http/tomcat/ServletWrapper.java | 58 - .../sca/http/tomcat/TomcatDefaultServlet.java | 114 - .../tuscany/sca/http/tomcat/TomcatServer.java | 653 - .../module/TomcatRuntimeModuleActivator.java | 69 - .../org.apache.tuscany.sca.core.ModuleActivator | 18 - .../sca/http/tomcat/TomcatServerTestCase.java | 353 - .../src/test/resources/content/test.html | 21 - .../src/test/resources/tuscany.keyStore | Bin 1265 -> 0 bytes java/sca-contrib/modules/host-webapp-junit/LICENSE | 205 - .../modules/host-webapp-junit/META-INF/MANIFEST.MF | 19 - java/sca-contrib/modules/host-webapp-junit/NOTICE | 6 - java/sca-contrib/modules/host-webapp-junit/pom.xml | 48 - .../sca/host/webapp/junit/JUnitServletFilter.java | 355 - .../sca/host/webapp/junit/XMLFormatter.java | 286 - .../modules/implementation-bpel-ode/LICENSE | 251 - .../implementation-bpel-ode/META-INF/MANIFEST.MF | 47 - .../modules/implementation-bpel-ode/NOTICE | 17 - .../modules/implementation-bpel-ode/pom.xml | 415 - .../implementation/bpel/ode/BPELODEDeployFile.java | 225 - .../implementation/bpel/ode/EmbeddedODEServer.java | 261 - .../implementation/bpel/ode/GeronimoTxFactory.java | 48 - .../implementation/bpel/ode/ODEBindingContext.java | 79 - .../sca/implementation/bpel/ode/ODEDeployment.java | 44 - .../bpel/ode/ODEDeploymentException.java | 41 - .../bpel/ode/ODEExternalService.java | 285 - .../bpel/ode/ODEInitializationException.java | 41 - .../bpel/ode/ODEMessageExchangeContext.java | 57 - .../bpel/ode/ODEShutdownException.java | 41 - .../sca/implementation/bpel/ode/TuscanyEPR.java | 54 - .../sca/implementation/bpel/ode/TuscanyPRC.java | 71 - .../bpel/ode/TuscanyProcessConfImpl.java | 433 - .../ode/provider/BPELImplementationProvider.java | 145 - .../BPELImplementationProviderFactory.java | 69 - .../bpel/ode/provider/BPELInvoker.java | 251 - ...cany.sca.provider.ImplementationProviderFactory | 19 - .../bpel/ode/EmbeddedODEServerTestCase.java | 124 - .../src/test/resources/helloworld/deploy.xml | 30 - .../src/test/resources/helloworld/greetings.wsdl | 87 - .../src/test/resources/helloworld/helloworld.bpel | 66 - .../src/test/resources/helloworld/helloworld.wsdl | 82 - .../src/test/resources/log4j.properties | 36 - .../modules/implementation-bpel/LICENSE | 251 - .../implementation-bpel/META-INF/MANIFEST.MF | 33 - .../sca-contrib/modules/implementation-bpel/NOTICE | 17 - .../modules/implementation-bpel/pom.xml | 82 - .../sca/implementation/bpel/BPELFactory.java | 42 - .../implementation/bpel/BPELImplementation.java | 91 - .../implementation/bpel/BPELProcessDefinition.java | 109 - .../implementation/bpel/impl/BPELFactoryImpl.java | 45 - .../bpel/impl/BPELImplementationImpl.java | 132 - .../bpel/impl/BPELProcessDefinitionImpl.java | 116 - .../bpel/xml/BPELDocumentProcessor.java | 532 - .../bpel/xml/BPELImplementationProcessor.java | 516 - .../implementation/bpel/xml/BPELImportElement.java | 65 - .../bpel/xml/BPELPartnerLinkElement.java | 130 - .../bpel/xml/BPELPartnerLinkTypeElement.java | 112 - ...ca.contribution.processor.StAXArtifactProcessor | 19 - ...sca.contribution.processor.URLArtifactProcessor | 19 - ...che.tuscany.sca.implementation.bpel.BPELFactory | 18 - .../impl-bpel-validation-messages.properties | 34 - .../bpel/BPELDocumentProcessorTestCase.java | 59 - .../bpel/BPELImplementationProcessorTestCase.java | 107 - .../src/test/resources/helloworld/helloworld.bpel | 66 - .../src/test/resources/helloworld/helloworld.wsdl | 82 - .../sca-contrib/modules/implementation-ejb/LICENSE | 205 - .../implementation-ejb/META-INF/MANIFEST.MF | 29 - java/sca-contrib/modules/implementation-ejb/NOTICE | 6 - .../sca-contrib/modules/implementation-ejb/pom.xml | 62 - .../sca/implementation/ejb/EJBImplementation.java | 44 - .../ejb/EJBImplementationFactory.java | 36 - .../ejb/impl/EJBImplementationFactoryImpl.java | 39 - .../ejb/impl/EJBImplementationImpl.java | 95 - .../ejb/xml/EJBImplementationProcessor.java | 147 - ...ca.contribution.processor.StAXArtifactProcessor | 19 - ...sca.implementation.ejb.EJBImplementationFactory | 19 - .../impl-ejb-validation-messages.properties | 21 - .../sca/implementation/ejb/xml/ReadTestCase.java | 71 - .../sca/implementation/ejb/xml/WriteTestCase.java | 68 - .../sca/implementation/ejb/xml/TestEJB.composite | 29 - .../modules/implementation-java-xml-osoa/LICENSE | 205 - .../META-INF/MANIFEST.MF | 30 - .../modules/implementation-java-xml-osoa/NOTICE | 6 - .../modules/implementation-java-xml-osoa/pom.xml | 92 - .../java/xml/osoa/JavaImplementationConstants.java | 36 - .../java/xml/osoa/JavaImplementationProcessor.java | 347 - ...ca.contribution.processor.StAXArtifactProcessor | 19 - .../impl-javaxml-validation-messages.properties | 23 - .../src/test/java/calculator/AddService.java | 30 - .../src/test/java/calculator/AddServiceImpl.java | 37 - .../test/java/calculator/CalculatorService.java | 36 - .../java/calculator/CalculatorServiceImpl.java | 73 - .../src/test/java/calculator/DivideService.java | 30 - .../test/java/calculator/DivideServiceImpl.java | 35 - .../src/test/java/calculator/MultiplyService.java | 30 - .../test/java/calculator/MultiplyServiceImpl.java | 35 - .../src/test/java/calculator/SubtractService.java | 30 - .../test/java/calculator/SubtractServiceImpl.java | 35 - .../implementation/java/xml/Calculator.composite | 66 - .../sca/implementation/java/xml/definitions.xml | 100 - .../java/xml/definitions_with_policysets.xml | 133 - .../modules/implementation-node-runtime/LICENSE | 205 - .../META-INF/MANIFEST.MF | 36 - .../modules/implementation-node-runtime/NOTICE | 6 - .../modules/implementation-node-runtime/pom.xml | 84 - .../NodeImplementationDaemonBootstrap.java | 112 - .../NodeImplementationLauncherBootstrap.java | 150 - .../launcher/NodeImplementationLauncherUtil.java | 51 - .../node/provider/NodeImplementationInvoker.java | 44 - .../node/provider/NodeImplementationProvider.java | 62 - .../NodeImplementationProviderFactory.java | 49 - .../node/webapp/NodeWebAppRequestDispatcher.java | 119 - .../node/webapp/NodeWebAppServletHost.java | 400 - ...cany.sca.provider.ImplementationProviderFactory | 19 - .../node/NodeImplementationTestCase.java | 60 - .../src/test/resources/TestComposite.composite | 29 - .../src/test/resources/TestNode.composite | 30 - .../modules/implementation-node/LICENSE | 205 - .../implementation-node/META-INF/MANIFEST.MF | 35 - .../sca-contrib/modules/implementation-node/NOTICE | 6 - .../modules/implementation-node/pom.xml | 67 - .../node/ConfiguredNodeImplementation.java | 54 - .../implementation/node/NodeImplementation.java | 45 - .../node/NodeImplementationFactory.java | 42 - .../builder/impl/NodeCompositeBuilderImpl.java | 106 - .../impl/ConfiguredNodeImplementationImpl.java | 105 - .../node/impl/NodeImplementationFactoryImpl.java | 44 - .../node/impl/NodeImplementationImpl.java | 98 - .../xml/ConfiguredNodeImplementationProcessor.java | 196 - .../node/xml/NodeImplementationProcessor.java | 119 - ...e.tuscany.sca.assembly.builder.CompositeBuilder | 18 - ...ca.contribution.processor.StAXArtifactProcessor | 20 - ...a.implementation.node.NodeImplementationFactory | 19 - .../builder/impl/CalculateBindingURITestCase.java | 608 - .../sca/implementation/node/xml/ReadTestCase.java | 72 - .../sca/implementation/node/xml/WriteTestCase.java | 68 - .../node/xml/TestComposite.composite | 29 - .../sca/implementation/node/xml/TestNode.composite | 64 - .../modules/implementation-osgi/LICENSE | 203 - .../sca-contrib/modules/implementation-osgi/NOTICE | 6 - .../modules/implementation-osgi/pom.xml | 145 - .../implementation/osgi/OSGiImplementation.java | 45 - .../osgi/context/OSGiAnnotations.java | 325 - .../osgi/context/OSGiPropertyInjector.java | 293 - .../context/OSGiPropertyValueObjectFactory.java | 226 - .../osgi/impl/OSGiImplementationImpl.java | 168 - .../osgi/runtime/OSGiImplementationProvider.java | 1254 -- .../runtime/OSGiImplementationProviderFactory.java | 111 - .../osgi/runtime/OSGiInstanceWrapper.java | 299 - .../osgi/runtime/OSGiRemotableInvoker.java | 139 - .../osgi/runtime/OSGiTargetInvoker.java | 199 - .../osgi/xml/OSGiImplementationProcessor.java | 550 - ...ca.contribution.processor.StAXArtifactProcessor | 19 - ...cany.sca.provider.ImplementationProviderFactory | 19 - .../impl-osgi-validation-messages.properties | 25 - .../osgi/runtime/OSGiPropertyTestCase.java | 49 - .../implementation/osgi/runtime/OSGiTestCase.java | 74 - .../implementation/osgi/test/OSGiTestBundles.java | 116 - .../sca/implementation/osgi/test/OSGiTestImpl.java | 51 - .../osgi/test/OSGiTestInterface.java | 32 - .../osgi/test/OSGiTestWithPropertyImpl.java | 66 - .../osgi/xml/OSGiReadImplTestCase.java | 132 - .../implementation/osgi/xml/TestModelResolver.java | 106 - .../test/resources/OSGiTestService.componentType | 28 - .../src/test/resources/osgiproptest.composite | 37 - .../src/test/resources/osgitest.composite | 36 - .../modules/implementation-pojo/LICENSE | 205 - .../implementation-pojo/META-INF/MANIFEST.MF | 30 - .../sca-contrib/modules/implementation-pojo/NOTICE | 6 - .../modules/implementation-pojo/pom.xml | 68 - .../apache/tuscany/sca/pojo/JavaConstructor.java | 42 - .../org/apache/tuscany/sca/pojo/JavaElement.java | 92 - .../org/apache/tuscany/sca/pojo/JavaFactory.java | 82 - .../org/apache/tuscany/sca/pojo/JavaParameter.java | 29 - .../org/apache/tuscany/sca/pojo/JavaResource.java | 65 - .../tuscany/sca/pojo/impl/JavaConstructorImpl.java | 54 - .../tuscany/sca/pojo/impl/JavaElementImpl.java | 194 - .../tuscany/sca/pojo/impl/JavaFactoryImpl.java | 74 - .../tuscany/sca/pojo/impl/JavaParameterImpl.java | 37 - .../tuscany/sca/pojo/impl/JavaResourceImpl.java | 63 - .../org.apache.tuscany.sca.pojo.JavaFactory | 20 - .../implementation-resource-runtime/LICENSE | 205 - .../META-INF/MANIFEST.MF | 25 - .../modules/implementation-resource-runtime/NOTICE | 6 - .../implementation-resource-runtime/pom.xml | 67 - .../resource/provider/GetResourceInvoker.java | 67 - .../provider/ResourceImplementationProvider.java | 75 - .../ResourceImplementationProviderFactory.java | 47 - ...cany.sca.provider.ImplementationProviderFactory | 19 - .../resource/ResourceImplementationTestCase.java | 83 - .../src/test/resources/content/test.html | 21 - .../src/test/resources/resource.composite | 30 - .../modules/implementation-resource/LICENSE | 205 - .../implementation-resource/META-INF/MANIFEST.MF | 31 - .../modules/implementation-resource/NOTICE | 6 - .../modules/implementation-resource/pom.xml | 60 - .../sca/implementation/resource/Resource.java | 34 - .../resource/ResourceImplementation.java | 57 - .../resource/ResourceImplementationFactory.java | 35 - .../impl/ResourceImplementationFactoryImpl.java | 47 - .../resource/impl/ResourceImplementationImpl.java | 130 - .../impl/ResourceImplementationProcessor.java | 166 - ...ca.contribution.processor.StAXArtifactProcessor | 19 - ...entation.resource.ResourceImplementationFactory | 19 - .../impl-resource-validation-messages.properties | 23 - .../modules/implementation-script-runtime/LICENSE | 251 - .../META-INF/MANIFEST.MF | 58 - .../modules/implementation-script-runtime/NOTICE | 12 - .../modules/implementation-script-runtime/pom.xml | 183 - .../script/engines/TuscanyJRubyScriptEngine.java | 697 - .../provider/ScriptImplementationProvider.java | 176 - .../ScriptImplementationProviderFactory.java | 55 - .../script/provider/ScriptInvoker.java | 84 - .../script/provider/ScriptPropertyFactory.java | 225 - ...cany.sca.provider.ImplementationProviderFactory | 19 - .../script/itests/AbstractSCATestCase.java | 60 - .../helloworld/AbstractHelloWorldTestCase.java | 38 - .../helloworld/GroovyHelloWorldTestCase.java | 29 - .../script/itests/helloworld/HelloWorld.java | 30 - .../script/itests/helloworld/HelloWorldProxy.java | 37 - .../itests/helloworld/JRubyHelloWorldTestCase.java | 29 - .../helloworld/JavaScriptHelloWorldTestCase.java | 29 - .../helloworld/JythonHelloWorldTestCase.java | 29 - .../properties/AbstractHelloWorldTestCase.java | 38 - .../properties/GroovyHelloWorldTestCase.java | 29 - .../script/itests/properties/HelloWorld.java | 30 - .../script/itests/properties/HelloWorldProxy.java | 37 - .../itests/properties/JRubyHelloWorldTestCase.java | 28 - .../properties/JavaScriptHelloWorldTestCase.java | 29 - .../properties/JythonHelloWorldTestCase.java | 29 - .../itests/references/GroovyReferenceTestCase.java | 29 - .../script/itests/references/HelloWorldTarget.java | 34 - .../itests/references/JRubyReferenceTestCase.java | 29 - .../references/JavaScriptReferenceTestCase.java | 29 - .../itests/references/JythonReferenceTestCase.java | 29 - .../itests/helloworld/GroovyHelloWorld.composite | 33 - .../itests/helloworld/JRubyHelloWorld.composite | 33 - .../helloworld/JavaScriptHelloWorld.composite | 33 - .../itests/helloworld/JythonHelloWorld.composite | 33 - .../itests/helloworld/helloworld.componentType | 30 - .../script/itests/helloworld/helloworld.groovy | 22 - .../script/itests/helloworld/helloworld.js | 23 - .../script/itests/helloworld/helloworld.py | 20 - .../script/itests/helloworld/helloworld.rb | 21 - .../itests/properties/GroovyHelloWorld.composite | 33 - .../itests/properties/JRubyHelloWorld.composite | 33 - .../properties/JavaScriptHelloWorld.composite | 33 - .../itests/properties/JythonHelloWorld.composite | 33 - .../itests/properties/helloworld.componentType | 32 - .../script/itests/properties/helloworld.groovy | 22 - .../script/itests/properties/helloworld.js | 23 - .../script/itests/properties/helloworld.py | 20 - .../script/itests/properties/helloworld.rb | 21 - .../itests/references/GroovyReference.composite | 38 - .../itests/references/JRubyReference.composite | 38 - .../references/JavaScriptReference.composite | 38 - .../itests/references/JythonReference.composite | 38 - .../itests/references/reference.componentType | 31 - .../script/itests/references/reference.groovy | 22 - .../script/itests/references/reference.js | 22 - .../script/itests/references/reference.py | 20 - .../script/itests/references/reference.rb | 21 - .../modules/implementation-script/LICENSE | 251 - .../implementation-script/META-INF/MANIFEST.MF | 28 - .../modules/implementation-script/NOTICE | 12 - .../modules/implementation-script/pom.xml | 48 - .../script/ScriptImplementation.java | 113 - .../script/ScriptImplementationProcessor.java | 163 - ...ca.contribution.processor.StAXArtifactProcessor | 19 - .../modules/implementation-spring-runtime/LICENSE | 205 - .../META-INF/MANIFEST.MF | 54 - .../modules/implementation-spring-runtime/NOTICE | 6 - .../modules/implementation-spring-runtime/pom.xml | 113 - .../spring/impl/SCAApplicationContext.java | 53 - .../spring/impl/SCANamespaceHandlerResolver.java | 53 - .../spring/impl/SCAParentApplicationContext.java | 272 - .../spring/impl/ScaNamespaceHandler.java | 40 - .../impl/ScaPropertyBeanDefinitionParser.java | 37 - .../impl/ScaReferenceBeanDefinitionParser.java | 38 - .../impl/ScaServiceBeanDefinitionParser.java | 38 - .../provider/SpringImplementationProvider.java | 90 - .../SpringImplementationProviderFactory.java | 79 - .../spring/provider/SpringInvocationException.java | 40 - .../spring/provider/SpringInvoker.java | 128 - ...cany.sca.provider.ImplementationProviderFactory | 19 - .../spring/itests/AbstractSCATestCase.java | 61 - .../helloworld/AbstractHelloWorldTestCase.java | 43 - .../spring/itests/helloworld/HelloWorld.java | 35 - .../spring/itests/helloworld/HelloWorldImpl.java | 38 - .../spring/itests/helloworld/HelloWorldProxy.java | 42 - .../helloworld/SpringContextAccessTestCase.java | 35 - .../SpringExplicitHelloWorldTestCase.java | 34 - .../SpringExplicitReferenceTestCase.java | 39 - .../helloworld/SpringHelloWorldTestCase.java | 32 - .../SpringImplicitReferenceTestCase.java | 42 - .../helloworld/SpringImportHelloWorldTestCase.java | 32 - .../helloworld/SpringSCAPropertyTestCase.java | 39 - .../spring/itests/mock/TestBean.java | 31 - .../spring/itests/mock/TestBeanImpl.java | 42 - .../spring/itests/mock/TestContextAccessBean.java | 77 - .../spring/itests/mock/TestHelloWorldBean.java | 39 - .../spring/itests/mock/TestReference.java | 27 - .../spring/itests/mock/TestReferenceBean.java | 57 - .../spring/itests/mock/TestSCAPropertyBean.java | 55 - .../META-INF/sca/SpringContextAccess-context.xml | 31 - .../sca/SpringExplicitHelloWorld-context.xml | 39 - .../sca/SpringExplicitReference-context.xml | 33 - .../sca/SpringHelloWorld-Imported-context.xml | 31 - .../META-INF/sca/SpringHelloWorld-context.xml | 31 - .../sca/SpringImplicitReference-context.xml | 34 - .../sca/SpringImportHelloWorld-context.xml | 29 - .../META-INF/sca/testReferenceContext.xml | 33 - .../resources/META-INF/sca/testServiceContext.xml | 31 - .../SpringHelloWorld-Imported-context.xml | 31 - .../helloworld/SpringContextAccess.composite | 35 - .../helloworld/SpringExplicitHelloWorld.composite | 33 - .../helloworld/SpringExplicitReference.composite | 32 - .../itests/helloworld/SpringHelloWorld.composite | 32 - .../helloworld/SpringImplicitReference.composite | 39 - .../helloworld/SpringImportHelloWorld.composite | 32 - .../itests/helloworld/SpringSCAProperty.composite | 39 - .../src/test/resources/spring/META-INF/MANIFEST.MF | 3 - .../META-INF/spring/SpringSCAProperty-context.xml | 34 - .../src/test/resources/test.xml | 27 - .../modules/implementation-spring/LICENSE | 205 - .../implementation-spring/META-INF/MANIFEST.MF | 83 - .../modules/implementation-spring/NOTICE | 6 - .../modules/implementation-spring/pom.xml | 107 - .../spring/SpringBeanNotFoundException.java | 39 - .../spring/SpringImplementation.java | 187 - .../spring/SpringImplementationProcessor.java | 232 - .../ComponentNameAnnotationProcessor.java | 151 - .../processor/ConstructorAnnotationProcessor.java | 119 - .../processor/InitDestroyAnnotationProcessor.java | 72 - .../processor/PropertyAnnotationProcessor.java | 220 - .../processor/ReferenceAnnotationProcessor.java | 186 - .../sca/implementation/spring/xml/Constants.java | 64 - .../spring/xml/SpringBeanElement.java | 67 - .../spring/xml/SpringBeanIntrospector.java | 108 - .../spring/xml/SpringConstructorArgElement.java | 60 - .../spring/xml/SpringPropertyElement.java | 61 - .../spring/xml/SpringSCAPropertyElement.java | 52 - .../spring/xml/SpringSCAReferenceElement.java | 54 - .../spring/xml/SpringSCAServiceElement.java | 64 - .../spring/xml/SpringXMLComponentTypeLoader.java | 637 - ...ca.contribution.processor.StAXArtifactProcessor | 19 - .../src/main/resources/META-INF/spring.handlers | 1 - .../src/main/resources/META-INF/spring.schemas | 1 - .../impl-spring-validation-messages.properties | 23 - .../org/springframework/sca/xml/spring-sca.xsd | 99 - .../modules/implementation-widget-runtime/LICENSE | 205 - .../META-INF/MANIFEST.MF | 27 - .../modules/implementation-widget-runtime/NOTICE | 6 - .../modules/implementation-widget-runtime/pom.xml | 102 - .../provider/WidgetImplementationInvoker.java | 253 - .../provider/WidgetImplementationProvider.java | 67 - .../WidgetImplementationProviderFactory.java | 47 - .../widget/provider/WidgetProxyHelper.java | 51 - ...cany.sca.provider.ImplementationProviderFactory | 19 - .../src/main/resources/atomModel.js | 1590 --- .../src/main/resources/binding-atom.js | 137 - .../src/main/resources/binding-http.js | 105 - .../src/main/resources/binding-jsonrpc.js | 492 - .../widget/WidgetImplementationTestCase.java | 54 - .../src/test/java/store/Catalog.java | 32 - .../src/test/java/store/CatalogImpl.java | 47 - .../src/test/java/store/ShoppingCartImpl.java | 124 - .../src/test/resources/content/atomModel.js | 1590 --- .../src/test/resources/content/store.html | 127 - .../src/test/resources/content/storeJS.html | 152 - .../src/test/resources/content/unitTests.html | 250 - .../src/test/resources/widget.composite | 54 - .../src/test/resources/widgetJS.composite | 58 - .../modules/implementation-widget/LICENSE | 205 - .../implementation-widget/META-INF/MANIFEST.MF | 34 - .../modules/implementation-widget/NOTICE | 6 - .../modules/implementation-widget/pom.xml | 60 - .../tuscany/sca/implementation/widget/Widget.java | 34 - .../widget/WidgetImplementation.java | 134 - .../widget/WidgetImplementationFactory.java | 45 - .../widget/WidgetImplementationIntrospector.java | 145 - .../widget/WidgetImplementationProcessor.java | 175 - ...ca.contribution.processor.StAXArtifactProcessor | 19 - ...plementation.widget.WidgetImplementationFactory | 19 - .../impl-widget-validation-messages.properties | 23 - .../modules/implementation-xquery/LICENSE | 202 - .../implementation-xquery/META-INF/MANIFEST.MF | 64 - .../modules/implementation-xquery/NOTICE | 6 - .../modules/implementation-xquery/pom.xml | 86 - .../xquery/XQueryImplementation.java | 75 - .../xquery/XQueryImplementationFactory.java | 32 - .../xquery/XQueryImplementationProvider.java | 166 - .../XQueryImplementationProviderFactory.java | 54 - .../xquery/XQueryInvokationException.java | 33 - .../sca/implementation/xquery/XQueryInvoker.java | 318 - .../impl/XQueryImplementationFactoryImpl.java | 35 - .../xquery/impl/XQueryImplementationImpl.java | 102 - .../xquery/xml/XQueryImplementationProcessor.java | 157 - .../xquery/xml/XQueryIntrospector.java | 328 - ...ca.contribution.processor.StAXArtifactProcessor | 19 - ...cany.sca.provider.ImplementationProviderFactory | 19 - .../impl-xquery-validation-messages.properties | 22 - java/sca-contrib/modules/node-dynamic/LICENSE | 205 - java/sca-contrib/modules/node-dynamic/NOTICE | 6 - java/sca-contrib/modules/node-dynamic/pom.xml | 87 - .../apache/tuscany/sca/node/DynamicNodeMain.java | 50 - .../src/main/resources/log4j.properties | 51 - .../modules/node-launcher-webapp/LICENSE | 205 - .../modules/node-launcher-webapp/NOTICE | 6 - .../modules/node-launcher-webapp/pom.xml | 72 - .../src/main/webapp/META-INF/sca-contribution.xml | 21 - .../src/main/webapp/WEB-INF/web.xml | 41 - .../node-launcher-webapp/src/main/webapp/index.jsp | 27 - java/sca-contrib/modules/node-manager/LICENSE | 205 - .../modules/node-manager/META-INF/MANIFEST.MF | 22 - java/sca-contrib/modules/node-manager/NOTICE | 6 - java/sca-contrib/modules/node-manager/pom.xml | 112 - .../node/manager/NodeManagerUtil.java | 51 - .../node/manager/NodeProcessCollectionImpl.java | 338 - .../node/manager/PingServiceImpl.java | 61 - .../src/main/resources/NodeDaemon.composite | 39 - java/sca-contrib/modules/policy-logging/LICENSE | 205 - .../modules/policy-logging/META-INF/MANIFEST.MF | 28 - java/sca-contrib/modules/policy-logging/NOTICE | 6 - java/sca-contrib/modules/policy-logging/pom.xml | 52 - .../logging/LoggingPolicyDefinitionsProvider.java | 67 - .../JDKLoggingImplementationPolicyProvider.java | 90 - .../sca/policy/logging/jdk/JDKLoggingPolicy.java | 85 - .../logging/jdk/JDKLoggingPolicyInterceptor.java | 129 - .../logging/jdk/JDKLoggingPolicyProcessor.java | 136 - .../jdk/JDKLoggingPolicyProviderFactory.java | 75 - .../jdk/JDKLoggingReferencePolicyProvider.java | 89 - .../jdk/JDKLoggingServicePolicyProvider.java | 87 - ...ca.contribution.processor.StAXArtifactProcessor | 19 - ...apache.tuscany.sca.provider.DefinitionsProvider | 19 - ...ache.tuscany.sca.provider.PolicyProviderFactory | 19 - .../tuscany/sca/policy/logging/definitions.xml | 31 - .../sca/policy/logging/jdk/PolicyReadTestCase.java | 91 - .../sca/policy/logging/jdk/mock_policies.xml | 23 - .../sca-contrib/modules/policy-reliability/LICENSE | 205 - java/sca-contrib/modules/policy-reliability/NOTICE | 6 - .../sca-contrib/modules/policy-reliability/pom.xml | 70 - .../ReliabilityPolicyDefinitionsProvider.java | 72 - ...che.tuscany.sca.provider.SCADefinitionsProvider | 19 - .../tuscany/sca/policy/reliability/definitions.xml | 62 - .../modules/policy-security-jsr250/LICENSE | 205 - .../policy-security-jsr250/META-INF/MANIFEST.MF | 28 - .../modules/policy-security-jsr250/NOTICE | 6 - .../modules/policy-security-jsr250/pom.xml | 64 - .../tuscany/sca/policy/jsr250/JSR250Activator.java | 51 - .../introspect/impl/JSR250PolicyProcessor.java | 179 - .../org.apache.tuscany.sca.core.ModuleActivator | 18 - .../impl/PolicyProcessorTestCaseFIXME.java | 399 - .../sca-contrib/modules/policy-transaction/LICENSE | 205 - .../policy-transaction/META-INF/MANIFEST.MF | 45 - java/sca-contrib/modules/policy-transaction/NOTICE | 6 - .../sca-contrib/modules/policy-transaction/pom.xml | 58 - .../transaction/IncompatibleIntentException.java | 44 - .../TransactionImplementationPolicyProvider.java | 61 - .../sca/policy/transaction/TransactionIntent.java | 28 - .../policy/transaction/TransactionInterceptor.java | 122 - .../transaction/TransactionManagerHelper.java | 243 - .../transaction/TransactionManagerWrapper.java | 90 - .../transaction/TransactionModuleActivator.java | 84 - .../sca/policy/transaction/TransactionPolicy.java | 46 - .../TransactionPolicyDefinitionsProvider.java | 71 - .../policy/transaction/TransactionPolicyImpl.java | 59 - .../transaction/TransactionPolicyProcessor.java | 96 - .../TransactionPolicyProviderFactory.java | 92 - .../TransactionReferencePolicyProvider.java | 61 - .../TransactionServicePolicyProvider.java | 61 - .../policy/transaction/TransactionalAction.java | 31 - ...ca.contribution.processor.StAXArtifactProcessor | 19 - .../org.apache.tuscany.sca.core.ModuleActivator | 18 - ...apache.tuscany.sca.provider.DefinitionsProvider | 19 - ...ache.tuscany.sca.provider.PolicyProviderFactory | 19 - .../src/main/resources/log4j.properties | 29 - .../tuscany/sca/policy/transaction/definitions.xml | 66 - .../sca/policy/transaction/tuscany_definitions.xml | 54 - .../sca/policy/transaction/PolicyReadTestCase.java | 54 - .../TransactionManagerHelperTestCase.java | 194 - java/sca-contrib/modules/sca-api-osoa/LICENSE | 243 - .../modules/sca-api-osoa/META-INF/MANIFEST.MF | 20 - java/sca-contrib/modules/sca-api-osoa/NOTICE | 13 - java/sca-contrib/modules/sca-api-osoa/pom.xml | 35 - .../tuscany/sca/api/ComponentContextExtension.java | 55 - .../main/java/org/osoa/sca/CallableReference.java | 54 - .../main/java/org/osoa/sca/ComponentContext.java | 100 - .../src/main/java/org/osoa/sca/Constants.java | 34 - .../src/main/java/org/osoa/sca/Conversation.java | 30 - .../org/osoa/sca/ConversationEndedException.java | 56 - .../osoa/sca/NoRegisteredCallbackException.java | 57 - .../src/main/java/org/osoa/sca/RequestContext.java | 55 - .../main/java/org/osoa/sca/ServiceReference.java | 54 - .../java/org/osoa/sca/ServiceRuntimeException.java | 58 - .../org/osoa/sca/ServiceUnavailableException.java | 54 - .../sca/annotations/AllowsPassByReference.java | 28 - .../org/osoa/sca/annotations/Authentication.java | 58 - .../java/org/osoa/sca/annotations/Callback.java | 39 - .../org/osoa/sca/annotations/ComponentName.java | 25 - .../org/osoa/sca/annotations/Confidentiality.java | 58 - .../java/org/osoa/sca/annotations/Constructor.java | 25 - .../java/org/osoa/sca/annotations/Context.java | 28 - .../sca/annotations/ConversationAttributes.java | 46 - .../org/osoa/sca/annotations/ConversationID.java | 25 - .../org/osoa/sca/annotations/Conversational.java | 27 - .../java/org/osoa/sca/annotations/Destroy.java | 25 - .../java/org/osoa/sca/annotations/EagerInit.java | 25 - .../org/osoa/sca/annotations/EndsConversation.java | 24 - .../main/java/org/osoa/sca/annotations/Init.java | 26 - .../java/org/osoa/sca/annotations/Integrity.java | 58 - .../main/java/org/osoa/sca/annotations/Intent.java | 48 - .../main/java/org/osoa/sca/annotations/OneWay.java | 25 - .../java/org/osoa/sca/annotations/PolicySets.java | 35 - .../java/org/osoa/sca/annotations/Property.java | 41 - .../java/org/osoa/sca/annotations/Qualifier.java | 25 - .../java/org/osoa/sca/annotations/Reference.java | 40 - .../java/org/osoa/sca/annotations/Remotable.java | 26 - .../java/org/osoa/sca/annotations/Requires.java | 46 - .../main/java/org/osoa/sca/annotations/Scope.java | 38 - .../java/org/osoa/sca/annotations/Service.java | 37 - java/sca-contrib/modules/tracing-aspectj/LICENSE | 205 - .../modules/tracing-aspectj/META-INF/MANIFEST.MF | 22 - java/sca-contrib/modules/tracing-aspectj/NOTICE | 6 - .../modules/tracing-aspectj/launcher.bat | 5 - java/sca-contrib/modules/tracing-aspectj/pom.xml | 98 - .../apache/tuscany/sca/aspectj/LoggingAspect.java | 105 - .../tuscany/sca/aspectj/SimpleTracingAspect.java | 87 - .../apache/tuscany/sca/aspectj/TimingAspect.java | 60 - .../apache/tuscany/sca/aspectj/TracingAspect.java | 92 - .../src/main/resources/META-INF/aop.xml | 25 - .../tuscany/sca/aspectj/TracingTestCase.java | 41 - java/sca-contrib/modules/workspace-impl/LICENSE | 205 - .../modules/workspace-impl/META-INF/MANIFEST.MF | 27 - java/sca-contrib/modules/workspace-impl/NOTICE | 6 - java/sca-contrib/modules/workspace-impl/pom.xml | 46 - .../impl/ContributionDependencyBuilderImpl.java | 144 - ...scany.sca.workspace.builder.ContributionBuilder | 18 - .../workspace-validation-messages.properties | 22 - .../workspace-validation-messages_it.properties | 21 - .../ContributionDependencyBuilderTestCase.java | 100 - java/sca-contrib/modules/workspace/LICENSE | 205 - .../modules/workspace/META-INF/MANIFEST.MF | 32 - java/sca-contrib/modules/workspace/NOTICE | 6 - java/sca-contrib/modules/workspace/pom.xml | 53 - .../sca/workspace/DefaultWorkspaceFactory.java | 32 - .../apache/tuscany/sca/workspace/Workspace.java | 39 - .../tuscany/sca/workspace/WorkspaceFactory.java | 36 - .../sca/workspace/builder/ContributionBuilder.java | 49 - .../builder/ContributionBuilderException.java | 45 - .../builder/ContributionBuilderExtensionPoint.java | 51 - .../DefaultContributionBuilderExtensionPoint.java | 138 - .../sca/workspace/impl/WorkspaceFactoryImpl.java | 40 - .../tuscany/sca/workspace/impl/WorkspaceImpl.java | 155 - .../workspace/xml/WorkspaceDocumentProcessor.java | 130 - .../sca/workspace/xml/WorkspaceProcessor.java | 167 - ...ca.contribution.processor.StAXArtifactProcessor | 19 - ...g.apache.tuscany.sca.workspace.WorkspaceFactory | 18 - ...space.builder.ContributionBuilderExtensionPoint | 18 - .../workspace-xml-validation-messages.properties | 22 - .../ContributionWorkspaceProcessorTestCase.java | 95 - .../samples/binding-echo-extension/README | 74 - .../samples/binding-echo-extension/build.xml | 51 - .../samples/binding-echo-extension/pom.xml | 78 - .../src/main/java/echo/EchoBinding.java | 29 - .../src/main/java/echo/EchoBindingFactory.java | 33 - .../java/echo/impl/EchoBindingFactoryImpl.java | 34 - .../src/main/java/echo/impl/EchoBindingImpl.java | 104 - .../main/java/echo/impl/EchoBindingProcessor.java | 128 - .../java/echo/provider/EchoBindingInvoker.java | 48 - .../echo/provider/EchoBindingPoliciedInvoker.java | 71 - .../echo/provider/EchoBindingProviderFactory.java | 58 - .../provider/EchoReferenceBindingProvider.java | 71 - .../echo/provider/EchoServiceBindingProvider.java | 78 - .../policy/EchoBindingEncryptionPolicy.java | 41 - .../EchoBindingEncryptionPolicyProcessor.java | 37 - .../echo/provider/policy/EchoBindingPolicy.java | 43 - .../policy/EchoBindingPolicyProcessor.java | 78 - .../provider/policy/EncryptionPolicyHandler.java | 48 - .../echo/provider/policy/EncryptionStrategy.java | 26 - .../java/echo/provider/policy/PolicyHandler.java | 29 - .../provider/policy/ReverseEncryptionStrategy.java | 33 - .../main/java/echo/provider/policy/WSPolicy.java | 43 - .../echo/provider/policy/WSPolicyProcessor.java | 54 - .../src/main/java/echo/server/EchoServer.java | 78 - .../main/java/echo/server/EchoServiceListener.java | 52 - .../META-INF/services/echo.EchoBindingFactory | 19 - ...ca.contribution.processor.StAXArtifactProcessor | 21 - ...any.sca.contribution.processor.ValidationSchema | 19 - ...che.tuscany.sca.provider.BindingProviderFactory | 19 - .../src/main/resources/sample-binding-echo.xsd | 36 - .../src/test/java/echo/Echo.java | 29 - .../src/test/java/echo/EchoComponentImpl.java | 44 - .../src/test/java/echo/EchoReferenceTestCase.java | 50 - .../src/test/java/echo/EchoServiceTestCase.java | 50 - .../src/test/resources/EchoBinding.composite | 43 - .../src/test/resources/definitions.xml | 39 - java/sca-contrib/samples/binding-echo/README | 104 - .../samples/binding-echo/binding-echo.png | Bin 7846 -> 0 bytes .../samples/binding-echo/binding-echo.svg | 174 - java/sca-contrib/samples/binding-echo/build.xml | 75 - java/sca-contrib/samples/binding-echo/pom.xml | 71 - .../binding-echo/src/main/java/echo/Echo.java | 29 - .../src/main/java/echo/EchoBindingClient.java | 51 - .../src/main/java/echo/EchoComponentImpl.java | 44 - .../src/main/resources/EchoBinding.composite | 40 - .../src/test/java/echo/EchoBindingTestCase.java | 57 - .../samples/binding-notification-broker/README | 112 - .../binding-notification-broker.png | Bin 36945 -> 0 bytes .../samples/binding-notification-broker/build.xml | 75 - .../samples/binding-notification-broker/pom.xml | 98 - .../java/notification/broker/TestCaseProducer.java | 24 - .../java/notification/broker/TrafficAdvisory.java | 30 - .../broker/TrafficAdvisoryConsumer.java | 41 - .../broker/TrafficAdvisoryProducer.java | 36 - .../notification/broker/TrafficAdvisoryServer.java | 72 - .../TrafficAdvisoryNotification.componentType | 34 - .../TrafficAdvisoryNotification.composite | 61 - .../src/main/resources/wsdl/TrafficAdvisory.wsdl | 50 - .../samples/binding-notification-consumer/README | 109 - .../binding-notification-consumer.png | Bin 27279 -> 0 bytes .../binding-notification-consumer/build.xml | 75 - .../samples/binding-notification-consumer/pom.xml | 116 - .../notification/consumer/TrafficAdvisory.java | 30 - .../consumer/TrafficAdvisoryConsumer.java | 41 - .../consumer/TrafficAdvisoryServer.java | 48 - .../TrafficAdvisoryNotification.componentType | 34 - .../TrafficAdvisoryNotification.composite | 53 - .../src/main/resources/wsdl/TrafficAdvisory.wsdl | 50 - .../consumer/TrafficAdvisoryTestCase.java | 61 - .../samples/binding-notification-producer/README | 133 - .../binding-notification-producer.png | Bin 21631 -> 0 bytes .../binding-notification-producer/build.xml | 75 - .../samples/binding-notification-producer/pom.xml | 127 - .../notification/producer/TestCaseProducer.java | 24 - .../notification/producer/TrafficAdvisory.java | 30 - .../producer/TrafficAdvisoryProducer.java | 36 - .../producer/TrafficAdvisoryServer.java | 57 - .../TrafficAdvisoryNotification.componentType | 34 - .../TrafficAdvisoryNotification.composite | 44 - .../src/main/resources/wsdl/TrafficAdvisory.wsdl | 50 - .../producer/TrafficAdvisoryTestCase.java | 78 - .../samples/calculator-corba-reference/README | 83 - .../samples/calculator-corba-reference/pom.xml | 74 - .../src/main/java/calculator/AddService.java | 28 - .../src/main/java/calculator/CalculatorClient.java | 44 - .../main/java/calculator/CalculatorService.java | 39 - .../java/calculator/CalculatorServiceImpl.java | 68 - .../src/main/java/calculator/DivideService.java | 28 - .../src/main/java/calculator/MultiplyService.java | 28 - .../src/main/java/calculator/SubtractService.java | 28 - .../resources/CalculatorCORBAReference.composite | 42 - .../CalculatorCORBAReferenceTestCase.java | 82 - .../java/calculator/CalculatorCORBAServant.java | 44 - .../calculator/idl/CalculatorCORBAService.java | 32 - .../idl/CalculatorCORBAServiceOperations.java | 36 - .../idl/_CalculatorCORBAServiceImplBase.java | 120 - .../src/test/resources/CalculatorCORBA.idl | 33 - .../samples/calculator-corba-service/README | 82 - .../samples/calculator-corba-service/pom.xml | 74 - .../src/main/java/calculator/AddService.java | 28 - .../src/main/java/calculator/AddServiceImpl.java | 30 - .../main/java/calculator/CalculatorService.java | 36 - .../java/calculator/CalculatorServiceImpl.java | 68 - .../src/main/java/calculator/DivideService.java | 28 - .../main/java/calculator/DivideServiceImpl.java | 30 - .../src/main/java/calculator/MultiplyService.java | 28 - .../main/java/calculator/MultiplyServiceImpl.java | 30 - .../src/main/java/calculator/SubtractService.java | 28 - .../main/java/calculator/SubtractServiceImpl.java | 30 - .../main/resources/CalculatorCORBAServer.composite | 53 - .../calculator/CalculatorCORBAServerTestCase.java | 64 - .../calculator/idl/CalculatorCORBAService.java | 32 - .../idl/CalculatorCORBAServiceHelper.java | 104 - .../idl/CalculatorCORBAServiceHolder.java | 57 - .../idl/CalculatorCORBAServiceOperations.java | 36 - .../idl/_CalculatorCORBAServiceStub.java | 143 - .../src/test/resources/CalculatorCORBA.idl | 33 - .../samples/calculator-distributed/README | 438 - .../samples/calculator-distributed/build.xml | 111 - .../calculator-distributed.png | Bin 76839 -> 0 bytes .../calculator-distributed.svg | 383 - .../samples/calculator-distributed/cloud.composite | 26 - .../calculator-distributed/domain.composite | 26 - .../samples/calculator-distributed/pom.xml | 119 - .../src/main/java/calculator/AddService.java | 31 - .../src/main/java/calculator/AddServiceImpl.java | 31 - .../main/java/calculator/CalculatorService.java | 35 - .../java/calculator/CalculatorServiceImpl.java | 74 - .../src/main/java/calculator/DivideService.java | 28 - .../main/java/calculator/DivideServiceImpl.java | 30 - .../src/main/java/calculator/MultiplyService.java | 28 - .../main/java/calculator/MultiplyServiceImpl.java | 30 - .../src/main/java/calculator/SubtractService.java | 31 - .../main/java/calculator/SubtractServiceImpl.java | 31 - .../src/main/java/node/LaunchCalculatorNodeA.java | 67 - .../src/main/java/node/LaunchCalculatorNodeB.java | 28 - .../src/main/java/node/LaunchCalculatorNodeC.java | 28 - .../src/main/java/node/LaunchDomain.java | 33 - .../src/main/resources/cloud/NodeA.composite | 33 - .../src/main/resources/cloud/NodeB.composite | 33 - .../src/main/resources/cloud/NodeC.composite | 33 - .../src/main/resources/nodeA/Calculator.composite | 41 - .../resources/nodeA/META-INF/sca-contribution.xml | 24 - .../src/main/resources/nodeB/Calculator.composite | 29 - .../resources/nodeB/META-INF/sca-contribution.xml | 24 - .../src/main/resources/nodeC/Calculator.composite | 29 - .../resources/nodeC/META-INF/sca-contribution.xml | 24 - .../calculator/CalculatorDistributedTestCase.java | 92 - .../samples/calculator-distributed/workspace.xml | 25 - .../calculator-implementation-policies/README | 266 - .../calculator-implementation-policies/build.xml | 72 - .../calculator.png | Bin 20552 -> 0 bytes .../calculator.svg | 329 - .../calculator-implementation-policies/pom.xml | 78 - .../src/main/java/calculator/AddService.java | 28 - .../src/main/java/calculator/AddServiceImpl.java | 35 - .../src/main/java/calculator/CalculatorClient.java | 66 - .../main/java/calculator/CalculatorService.java | 35 - .../java/calculator/CalculatorServiceImpl.java | 70 - .../src/main/java/calculator/DivideService.java | 28 - .../main/java/calculator/DivideServiceImpl.java | 35 - .../src/main/java/calculator/MultiplyService.java | 28 - .../main/java/calculator/MultiplyServiceImpl.java | 35 - .../src/main/java/calculator/SubtractService.java | 28 - .../main/java/calculator/SubtractServiceImpl.java | 35 - .../security/CalculatorCallbackHandler.java | 50 - .../java/calculator/security/JaasLoginModule.java | 178 - .../java/calculator/security/UserPrincipal.java | 66 - .../src/main/resources/Calculator.composite | 61 - .../src/main/resources/CalculatorJass.config | 3 - .../resources/CalculatorLogMessages.properties | 18 - .../src/main/resources/definitions.xml | 40 - .../test/java/calculator/CalculatorTestCase.java | 74 - java/sca-contrib/samples/calculator-lean/README | 87 - .../samples/calculator-lean/calculator.png | Bin 20552 -> 0 bytes .../samples/calculator-lean/calculator.svg | 329 - java/sca-contrib/samples/calculator-lean/pom.xml | 71 - .../src/main/java/calculator/AddService.java | 28 - .../src/main/java/calculator/AddServiceImpl.java | 35 - .../src/main/java/calculator/CalculatorClient.java | 51 - .../main/java/calculator/CalculatorService.java | 35 - .../java/calculator/CalculatorServiceImpl.java | 70 - .../src/main/java/calculator/DivideService.java | 28 - .../main/java/calculator/DivideServiceImpl.java | 35 - .../src/main/java/calculator/MultiplyService.java | 28 - .../main/java/calculator/MultiplyServiceImpl.java | 35 - .../src/main/java/calculator/SubtractService.java | 28 - .../main/java/calculator/SubtractServiceImpl.java | 35 - .../src/main/resources/Calculator.composite | 54 - .../src/main/resources/CalculatorTest.composite | 32 - .../test/java/calculator/CalculatorTestCase.java | 62 - .../samples/calculator-rcp/build.properties | 5 - .../samples/calculator-rcp/icons/alt_window_16.gif | Bin 637 -> 0 bytes .../samples/calculator-rcp/icons/alt_window_32.gif | Bin 1192 -> 0 bytes java/sca-contrib/samples/calculator-rcp/plugin.xml | 31 - java/sca-contrib/samples/calculator-rcp/pom.xml | 126 - .../src/main/java/Calculator.composite | 54 - .../src/main/java/calculator/AddService.java | 28 - .../src/main/java/calculator/AddServiceImpl.java | 35 - .../src/main/java/calculator/CalculatorClient.java | 52 - .../main/java/calculator/CalculatorService.java | 34 - .../java/calculator/CalculatorServiceImpl.java | 69 - .../src/main/java/calculator/DivideService.java | 28 - .../main/java/calculator/DivideServiceImpl.java | 35 - .../src/main/java/calculator/MultiplyService.java | 28 - .../main/java/calculator/MultiplyServiceImpl.java | 35 - .../src/main/java/calculator/SubtractService.java | 28 - .../main/java/calculator/SubtractServiceImpl.java | 35 - .../src/main/java/calculator/rcp/Activator.java | 94 - .../src/main/java/calculator/rcp/Application.java | 63 - .../rcp/ApplicationActionBarAdvisor.java | 65 - .../rcp/ApplicationWorkbenchAdvisor.java | 37 - .../rcp/ApplicationWorkbenchWindowAdvisor.java | 44 - .../src/main/java/calculator/rcp/Perspective.java | 34 - .../src/main/java/calculator/rcp/View.java | 88 - java/sca-contrib/samples/calculator-script/README | 105 - .../samples/calculator-script/build.xml | 72 - .../calculator-script/calculator-script.png | Bin 23064 -> 0 bytes .../calculator-script/calculator-script.svg | 334 - java/sca-contrib/samples/calculator-script/pom.xml | 78 - .../src/main/java/calculator/AddService.java | 28 - .../src/main/java/calculator/CalculatorClient.java | 43 - .../main/java/calculator/CalculatorService.java | 34 - .../java/calculator/CalculatorServiceImpl.java | 69 - .../src/main/java/calculator/DivideService.java | 28 - .../src/main/java/calculator/MultiplyService.java | 28 - .../src/main/java/calculator/SubtractService.java | 28 - .../src/main/resources/Calculator.composite | 50 - .../main/resources/calculator/AddServiceImpl.js | 22 - .../resources/calculator/DivideServiceImpl.groovy | 22 - .../resources/calculator/MultiplyServiceImpl.py | 20 - .../resources/calculator/SubtractServiceImpl.rb | 21 - .../test/java/calculator/CalculatorTestCase.java | 52 - java/sca-contrib/samples/calculator-webapp/README | 118 - .../samples/calculator-webapp/calculator-web.png | Bin 22916 -> 0 bytes .../samples/calculator-webapp/calculator-web.svg | 358 - java/sca-contrib/samples/calculator-webapp/pom.xml | 72 - .../src/main/java/calculator/AddService.java | 28 - .../src/main/java/calculator/AddServiceImpl.java | 30 - .../main/java/calculator/CalculatorService.java | 35 - .../java/calculator/CalculatorServiceImpl.java | 69 - .../src/main/java/calculator/DivideService.java | 28 - .../main/java/calculator/DivideServiceImpl.java | 30 - .../src/main/java/calculator/MultiplyService.java | 28 - .../main/java/calculator/MultiplyServiceImpl.java | 30 - .../src/main/java/calculator/SubtractService.java | 28 - .../main/java/calculator/SubtractServiceImpl.java | 30 - .../src/main/webapp/WEB-INF/geronimo-web.xml | 32 - .../src/main/webapp/WEB-INF/web.composite | 49 - .../src/main/webapp/WEB-INF/web.xml | 41 - .../calculator-webapp/src/main/webapp/calc.jsp | 47 - .../samples/calculator-ws-secure-webapp/README | 116 - .../calculator-ws-secure-webapp/calculator-web.png | Bin 25757 -> 0 bytes .../calculator-ws-secure-webapp/calculator-web.svg | 455 - .../samples/calculator-ws-secure-webapp/pom.xml | 102 - .../src/main/java/calculator/AddService.java | 31 - .../src/main/java/calculator/AddServiceImpl.java | 35 - .../src/main/java/calculator/CalculatorClient.java | 47 - .../main/java/calculator/CalculatorService.java | 35 - .../java/calculator/CalculatorServiceImpl.java | 69 - .../src/main/java/calculator/DivideService.java | 28 - .../main/java/calculator/DivideServiceImpl.java | 30 - .../src/main/java/calculator/MultiplyService.java | 28 - .../main/java/calculator/MultiplyServiceImpl.java | 30 - .../src/main/java/calculator/SubtractService.java | 31 - .../main/java/calculator/SubtractServiceImpl.java | 30 - .../calculator/security/ClientPWCBHandler.java | 58 - .../calculator/security/ServerPWCBHandler.java | 59 - .../src/main/resources/Calculator.composite | 67 - ...rg.apache.tuscany.sca.policy.util.PolicyHandler | 21 - .../src/main/resources/calculatorKeys.jks | Bin 2706 -> 0 bytes .../src/main/resources/definitions.xml | 198 - .../src/main/resources/security.properties | 20 - .../src/main/webapp/META-INF/sca-contribution.xml | 24 - .../src/main/webapp/WEB-INF/geronimo-web.xml | 33 - .../src/main/webapp/WEB-INF/web.xml | 41 - .../src/main/webapp/calc.jsp | 50 - .../samples/calculator-ws-webapp/README | 108 - .../calculator-ws-webapp/calculator-web.png | Bin 25757 -> 0 bytes .../calculator-ws-webapp/calculator-web.svg | 455 - .../samples/calculator-ws-webapp/pom.xml | 102 - .../src/main/java/calculator/AddService.java | 31 - .../src/main/java/calculator/AddServiceImpl.java | 34 - .../src/main/java/calculator/CalculatorClient.java | 47 - .../main/java/calculator/CalculatorService.java | 35 - .../java/calculator/CalculatorServiceImpl.java | 69 - .../src/main/java/calculator/DivideService.java | 28 - .../main/java/calculator/DivideServiceImpl.java | 30 - .../src/main/java/calculator/MultiplyService.java | 28 - .../main/java/calculator/MultiplyServiceImpl.java | 30 - .../src/main/java/calculator/SubtractService.java | 28 - .../main/java/calculator/SubtractServiceImpl.java | 30 - .../src/main/resources/Calculator.composite | 56 - .../src/main/webapp/META-INF/sca-contribution.xml | 24 - .../src/main/webapp/WEB-INF/geronimo-web.xml | 34 - .../src/main/webapp/WEB-INF/web.xml | 41 - .../calculator-ws-webapp/src/main/webapp/calc.jsp | 50 - java/sca-contrib/samples/calculator2/README | 97 - java/sca-contrib/samples/calculator2/build.xml | 72 - .../sca-contrib/samples/calculator2/calculator.png | Bin 20552 -> 0 bytes .../sca-contrib/samples/calculator2/calculator.svg | 329 - java/sca-contrib/samples/calculator2/pom.xml | 65 - .../src/main/java/calculator/AddService.java | 28 - .../src/main/java/calculator/AddServiceImpl.java | 35 - .../src/main/java/calculator/CalculatorClient.java | 45 - .../main/java/calculator/CalculatorService.java | 35 - .../java/calculator/CalculatorServiceImpl.java | 70 - .../src/main/java/calculator/DivideService.java | 28 - .../main/java/calculator/DivideServiceImpl.java | 35 - .../src/main/java/calculator/MultiplyService.java | 28 - .../main/java/calculator/MultiplyServiceImpl.java | 35 - .../src/main/java/calculator/SubtractService.java | 28 - .../main/java/calculator/SubtractServiceImpl.java | 35 - .../src/main/resources/Calculator.composite | 49 - .../test/java/calculator/CalculatorTestCase.java | 51 - java/sca-contrib/samples/callback-ws-client/README | 311 - .../samples/callback-ws-client/build.xml | 73 - .../callback-ws-client/callback-ws-client.png | Bin 8812 -> 0 bytes .../callback-ws-client/callback-ws-client.svg | 204 - .../sca-contrib/samples/callback-ws-client/pom.xml | 86 - .../src/main/java/myapp/MyClient.java | 29 - .../src/main/java/myapp/MyClientImpl.java | 64 - .../src/main/java/myserver/MyService.java | 34 - .../src/main/java/myserver/MyServiceCallback.java | 30 - .../main/resources/META-INF/sca-contribution.xml | 22 - .../src/main/resources/myapp.composite | 36 - .../test/java/myapp/CallbackClientTestCase.java | 53 - .../sca-contrib/samples/callback-ws-service/README | 227 - .../samples/callback-ws-service/build.xml | 73 - .../callback-ws-service/callback-ws-service.png | Bin 8949 -> 0 bytes .../callback-ws-service/callback-ws-service.svg | 200 - .../samples/callback-ws-service/pom.xml | 79 - .../src/main/java/myserver/CallbackServer.java | 48 - .../src/main/java/myserver/MyService.java | 34 - .../src/main/java/myserver/MyServiceCallback.java | 30 - .../src/main/java/myserver/MyServiceImpl.java | 56 - .../main/resources/META-INF/sca-contribution.xml | 24 - .../src/main/resources/callbackws.composite | 35 - .../test/java/myserver/CallbackServerTestCase.java | 52 - java/sca-contrib/samples/callbacks-jms/README | 73 - java/sca-contrib/samples/callbacks-jms/build.xml | 72 - java/sca-contrib/samples/callbacks-jms/pom.xml | 92 - .../src/main/java/callbacks/OrderCallback.java | 30 - .../src/main/java/callbacks/OrderRequest.java | 24 - .../src/main/java/callbacks/OrderResponse.java | 24 - .../src/main/java/callbacks/OrderService.java | 33 - .../main/java/callbacks/OrderServiceClient.java | 59 - .../src/main/java/callbacks/OrderServiceImpl.java | 51 - .../src/main/resources/callbacks.composite | 44 - .../src/main/resources/jndi.properties | 30 - .../src/test/java/callbacks/CallbacksTestCase.java | 64 - java/sca-contrib/samples/chat-webapp/README | 83 - .../samples/chat-webapp/chat-webapp.png | Bin 6552 -> 0 bytes .../samples/chat-webapp/chat-webapp.svg | 187 - java/sca-contrib/samples/chat-webapp/pom.xml | 97 - .../src/main/java/sample/ChatService.java | 26 - .../src/main/java/sample/ChatServiceImpl.java | 36 - .../chat-webapp/src/main/resources/chat.composite | 40 - .../src/main/webapp/META-INF/sca-contribution.xml | 24 - .../chat-webapp/src/main/webapp/WEB-INF/web.xml | 37 - .../samples/chat-webapp/src/main/webapp/chat.html | 70 - java/sca-contrib/samples/chat2-webapp/README | 61 - java/sca-contrib/samples/chat2-webapp/build.xml | 117 - java/sca-contrib/samples/chat2-webapp/pom.xml | 104 - .../src/main/java/sample/ChatCallback.java | 27 - .../src/main/java/sample/ChatService.java | 32 - .../src/main/java/sample/ChatServiceImpl.java | 36 - .../chat2-webapp/src/main/resources/chat.composite | 40 - .../src/main/webapp/META-INF/sca-contribution.xml | 24 - .../chat2-webapp/src/main/webapp/WEB-INF/web.xml | 37 - .../samples/chat2-webapp/src/main/webapp/chat.html | 73 - .../samples/customer-dojo-webapp/README | 104 - .../samples/customer-dojo-webapp/build-dojo.xml | 92 - .../samples/customer-dojo-webapp/build.xml | 70 - .../customer-dojo-webapp/customer-dojo-jsonrpc.png | Bin 9947 -> 0 bytes .../customer-dojo-webapp/customer-dojo-jsonrpc.svg | 177 - .../samples/customer-dojo-webapp/customer.sql | 33 - .../samples/customer-dojo-webapp/pom.xml | 232 - .../src/main/java/customer/Customer.java | 93 - .../src/main/java/customer/CustomerCollection.java | 26 - .../main/java/customer/CustomerCollectionImpl.java | 101 - .../src/main/java/customer/CustomerService.java | 31 - .../main/java/customer/CustomerServiceImpl.java | 117 - .../src/main/java/launch/Launch.java | 34 - .../src/main/resources/META-INF/orm.xml | 51 - .../src/main/resources/META-INF/persistence.xml | 40 - .../main/resources/META-INF/sca-contribution.xml | 26 - .../src/main/resources/customer.composite | 37 - .../src/main/webapp/META-INF/sca-contribution.xml | 24 - .../src/main/webapp/WEB-INF/geronimo-web.xml | 34 - .../src/main/webapp/WEB-INF/web.xml | 41 - .../src/main/webapp/customer.jsp | 80 - java/sca-contrib/samples/customer-dojo/README | 104 - .../samples/customer-dojo/build-dojo.xml | 92 - java/sca-contrib/samples/customer-dojo/build.xml | 70 - .../customer-dojo/customer-dojo-jsonrpc.png | Bin 9947 -> 0 bytes .../customer-dojo/customer-dojo-jsonrpc.svg | 177 - .../sca-contrib/samples/customer-dojo/customer.sql | 33 - java/sca-contrib/samples/customer-dojo/pom.xml | 244 - .../src/main/java/customer/Customer.java | 93 - .../src/main/java/customer/CustomerCollection.java | 26 - .../main/java/customer/CustomerCollectionImpl.java | 101 - .../src/main/java/customer/CustomerService.java | 31 - .../main/java/customer/CustomerServiceImpl.java | 117 - .../customer-dojo/src/main/java/launch/Launch.java | 35 - .../src/main/resources/META-INF/orm.xml | 51 - .../src/main/resources/META-INF/persistence.xml | 40 - .../main/resources/META-INF/sca-contribution.xml | 26 - .../src/main/resources/content/customer.html | 77 - .../src/main/resources/customer.composite | 44 - java/sca-contrib/samples/databinding-echo/README | 143 - .../sca-contrib/samples/databinding-echo/build.xml | 75 - .../samples/databinding-echo/databinding-echo.png | Bin 23907 -> 0 bytes .../samples/databinding-echo/databinding-echo.svg | 408 - java/sca-contrib/samples/databinding-echo/pom.xml | 82 - .../src/main/java/dbecho/ComponentAImpl.java | 74 - .../src/main/java/dbecho/ComponentBImpl.java | 59 - .../src/main/java/dbecho/Echo.java | 32 - .../main/java/dbecho/EchoDataBindingClient.java | 45 - .../src/main/java/dbecho/Interface1.java | 32 - .../src/main/java/dbecho/Interface2.java | 36 - .../src/main/resources/EchoDataBinding.composite | 58 - .../src/main/resources/wsdl/echo.wsdl | 63 - .../test/java/dbecho/EchoDataBindingTestCase.java | 49 - java/sca-contrib/samples/domain-management/README | 8 - java/sca-contrib/samples/domain-management/pom.xml | 247 - .../java/manager/DistributeAndRunComponents.java | 328 - .../main/java/manager/DistributeComponents.java | 288 - .../src/main/java/manager/ListComponents.java | 158 - .../src/main/java/manager/ListDependencies.java | 108 - .../src/main/java/manager/ListDeployables.java | 73 - .../src/main/java/manager/WireComponents.java | 218 - .../src/test/java/services/Cart.java | 28 - .../src/test/java/services/Item.java | 66 - .../test/java/services/ShoppingCartClientImpl.java | 57 - .../src/test/java/services/ShoppingCartImpl.java | 100 - .../src/test/resources/assembly/assets.xml | 38 - .../src/test/resources/assembly/client.xml | 34 - .../src/test/resources/assembly/store.xml | 34 - .../resources/assets/META-INF/sca-contribution.xml | 22 - .../resources/client/META-INF/sca-contribution.xml | 24 - .../src/test/resources/client/client.composite | 35 - .../resources/store/META-INF/sca-contribution.xml | 24 - .../src/test/resources/store/store.composite | 32 - java/sca-contrib/samples/domain-webapp/README | 310 - java/sca-contrib/samples/domain-webapp/build.xml | 296 - java/sca-contrib/samples/domain-webapp/pom.xml | 101 - .../src/main/java/node/DomainServer.java | 54 - .../main/resources/META-INF/sca-contribution.xml | 24 - .../src/main/resources/domain.composite | 54 - .../src/main/resources/webroot/index.html | 354 - .../src/main/resources/webroot/node.png | Bin 689 -> 0 bytes .../src/main/resources/webroot/style.css | 176 - .../samples/feed-aggregator-webapp/README | 55 - .../feed-aggregator-webapp.png | Bin 23443 -> 0 bytes .../feed-aggregator-webapp.svg | 382 - .../samples/feed-aggregator-webapp/pom.xml | 108 - .../src/main/java/feed/AggregatorImpl.java | 178 - .../src/main/java/feed/Sort.java | 38 - .../src/main/java/feed/SortImpl.java | 57 - .../src/main/resources/FeedAggregator.composite | 60 - .../src/main/webapp/META-INF/sca-contribution.xml | 26 - .../src/main/webapp/WEB-INF/web.xml | 41 - .../src/main/webapp/index.html | 32 - java/sca-contrib/samples/feed-aggregator/README | 110 - java/sca-contrib/samples/feed-aggregator/build.xml | 72 - .../samples/feed-aggregator/feed-aggregator.png | Bin 17429 -> 0 bytes .../samples/feed-aggregator/feed-aggregator.svg | 364 - java/sca-contrib/samples/feed-aggregator/pom.xml | 84 - .../src/main/java/feed/AggregatorImpl.java | 188 - .../feed-aggregator/src/main/java/feed/Sort.java | 38 - .../src/main/java/feed/SortImpl.java | 57 - .../src/main/java/launch/LaunchFeedServer.java | 47 - .../src/main/resources/FeedAggregator.composite | 60 - .../src/test/java/feed/FeedAggregatorTest.java | 332 - java/sca-contrib/samples/helloworld-bpel-ws/README | 151 - .../samples/helloworld-bpel-ws/build.xml | 95 - .../samples/helloworld-bpel-ws/helloworld-bpel.png | Bin 8897 -> 0 bytes .../samples/helloworld-bpel-ws/helloworld-bpel.svg | 179 - .../sca-contrib/samples/helloworld-bpel-ws/pom.xml | 205 - .../src/main/java/helloworld/BPELClient.java | 43 - .../src/main/resources/deploy.xml | 31 - .../src/main/resources/helloworld.bpel | 66 - .../src/main/resources/helloworld.componentType | 30 - .../src/main/resources/helloworld.composite | 33 - .../src/main/resources/helloworld.wsdl | 82 - .../src/main/resources/log4j.properties | 35 - .../java/helloworld/BPELHelloWorldTestCase.java | 59 - java/sca-contrib/samples/helloworld-bpel/README | 151 - java/sca-contrib/samples/helloworld-bpel/build.xml | 95 - .../samples/helloworld-bpel/helloworld-bpel.png | Bin 8897 -> 0 bytes .../samples/helloworld-bpel/helloworld-bpel.svg | 179 - java/sca-contrib/samples/helloworld-bpel/pom.xml | 198 - .../src/main/java/helloworld/BPELClient.java | 43 - .../helloworld-bpel/src/main/resources/deploy.xml | 31 - .../src/main/resources/helloworld.bpel | 66 - .../src/main/resources/helloworld.componentType | 30 - .../src/main/resources/helloworld.composite | 29 - .../src/main/resources/helloworld.wsdl | 82 - .../src/main/resources/log4j.properties | 35 - .../java/helloworld/BPELHelloWorldTestCase.java | 59 - .../samples/helloworld-distributed/README | 29 - .../helloworld-distributed/helloworld-node/README | 29 - .../helloworld-distributed/helloworld-node/pom.xml | 57 - .../src/main/java/sample/Helloworld.java | 29 - .../src/main/java/sample/HelloworldImpl.java | 29 - .../META-INF/sca-deployables/Helloworld.composite | 28 - .../helloworld-webapp/README | 29 - .../helloworld-webapp/build.xml | 127 - .../helloworld-webapp/pom.xml | 78 - .../src/main/java/sample/Helloworld.java | 27 - .../src/main/webapp/WEB-INF/web.composite | 29 - .../src/main/webapp/WEB-INF/web.xml | 41 - .../helloworld-webapp/src/main/webapp/hello.jsp | 36 - .../samples/helloworld-dojo-webapp/README | 104 - .../samples/helloworld-dojo-webapp/build-dojo.xml | 92 - .../samples/helloworld-dojo-webapp/build.xml | 70 - .../helloworld-dojo-webapp/helloworld-jsonrpc.png | Bin 9947 -> 0 bytes .../helloworld-dojo-webapp/helloworld-jsonrpc.svg | 177 - .../samples/helloworld-dojo-webapp/pom.xml | 163 - .../java/helloworldjsonrpc/HelloWorldService.java | 28 - .../helloworldjsonrpc/HelloWorldServiceImpl.java | 38 - .../src/main/resources/jsonrpc.composite | 37 - .../src/main/webapp/HelloWorldJSONRPC.html | 98 - .../src/main/webapp/META-INF/sca-contribution.xml | 26 - .../src/main/webapp/WEB-INF/web.xml | 41 - .../src/main/webapp/style.css | 22 - .../samples/helloworld-jms-webapp/README | 130 - .../samples/helloworld-jms-webapp/pom.xml | 72 - .../src/main/java/helloworld/HelloWorldClient.java | 37 - .../main/java/helloworld/HelloWorldService.java | 29 - .../java/helloworld/HelloWorldServiceImpl.java | 34 - .../src/main/webapp/META-INF/context.xml | 29 - .../META-INF/sca-deployables/HelloWorld.composite | 39 - .../src/main/webapp/WEB-INF/web.xml | 66 - .../src/main/webapp/hello.jsp | 44 - .../samples/helloworld-jsonrpc-webapp/README | 90 - .../helloworld-jsonrpc.png | Bin 9947 -> 0 bytes .../helloworld-jsonrpc.svg | 177 - .../samples/helloworld-jsonrpc-webapp/pom.xml | 103 - .../java/helloworldjsonrpc/HelloWorldService.java | 28 - .../helloworldjsonrpc/HelloWorldServiceImpl.java | 36 - .../src/main/resources/jsonrpc.composite | 37 - .../src/main/webapp/HelloWorldJSONRPC.html | 75 - .../src/main/webapp/META-INF/sca-contribution.xml | 26 - .../src/main/webapp/WEB-INF/web.xml | 41 - .../src/main/webapp/style.css | 22 - java/sca-contrib/samples/helloworld-jsp/pom.xml | 54 - .../src/main/java/sample/HelloworldService.java | 7 - .../main/java/sample/HelloworldServiceImpl.java | 12 - .../webapp/META-INF/sca-deployables/web.composite | 34 - .../helloworld-jsp/src/main/webapp/WEB-INF/web.xml | 42 - .../helloworld-jsp/src/main/webapp/hello.jsp | 36 - .../samples/helloworld-reference-jms/README | 114 - .../samples/helloworld-reference-jms/build.xml | 72 - .../helloworld-reference.png | Bin 12973 -> 0 bytes .../helloworld-reference.svg | 144 - .../samples/helloworld-reference-jms/pom.xml | 92 - .../src/main/java/helloworld/HelloWorldImpl.java | 33 - .../main/java/helloworld/HelloWorldJmsClient.java | 41 - .../main/java/helloworld/HelloWorldService.java | 29 - .../helloworld/HelloWorldServiceComponent.java | 42 - .../resources/helloworldjmsreference.composite | 40 - .../main/resources/helloworldjmsservice.composite | 39 - .../src/main/resources/logging.properties | 30 - .../src/main/resources/wsdl/helloworld.wsdl | 92 - .../helloworld/HelloWorldJmsClientTestCase.java | 80 - .../samples/helloworld-service-jms/README | 101 - .../samples/helloworld-service-jms/build.xml | 72 - .../helloworld-service-jms/helloworld-service.png | Bin 9455 -> 0 bytes .../helloworld-service-jms/helloworld-service.svg | 139 - .../samples/helloworld-service-jms/pom.xml | 85 - .../src/main/java/helloworld/HelloWorldImpl.java | 33 - .../src/main/java/helloworld/HelloWorldServer.java | 58 - .../main/java/helloworld/HelloWorldService.java | 31 - .../src/main/resources/definitions.xml | 66 - .../main/resources/helloworldjmsservice.composite | 40 - .../src/main/resources/wsdl/helloworld.wsdl | 92 - .../helloworld/HelloWorldJmsServerTestCaseOff.java | 60 - .../sca-contrib/samples/helloworld-servlet/pom.xml | 61 - .../src/main/java/sample/HelloworldService.java | 7 - .../main/java/sample/HelloworldServiceImpl.java | 12 - .../src/main/java/sample/HelloworldServlet.java | 65 - .../webapp/META-INF/sca-deployables/web.composite | 33 - .../src/main/webapp/WEB-INF/web.xml | 52 - .../helloworld-servlet/src/main/webapp/hello.html | 46 - .../samples/helloworld-web-callback/pom.xml | 68 - .../src/main/java/sample/HelloworldCallback.java | 30 - .../src/main/java/sample/HelloworldService.java | 14 - .../main/java/sample/HelloworldServiceImpl.java | 27 - .../webapp/META-INF/sca-deployables/web.composite | 45 - .../src/main/webapp/WEB-INF/web.xml | 42 - .../src/main/webapp/hello.html | 63 - java/sca-contrib/samples/helloworld-web/pom.xml | 68 - .../src/main/java/sample/HelloworldService.java | 7 - .../main/java/sample/HelloworldServiceImpl.java | 12 - .../webapp/META-INF/sca-deployables/web.composite | 39 - .../helloworld-web/src/main/webapp/WEB-INF/web.xml | 42 - .../helloworld-web/src/main/webapp/hello.html | 62 - .../samples/helloworld-ws-deep-webapp/README | 1 - .../samples/helloworld-ws-deep-webapp/build.xml | 158 - .../samples/helloworld-ws-deep-webapp/pom.xml | 45 - .../src/main/java/helloworld/HelloWorldImpl.java | 33 - .../main/java/helloworld/HelloWorldService.java | 30 - .../sca-deployables/helloworldws.composite | 32 - .../src/main/resources/wsdl/helloworld.wsdl | 79 - .../src/main/webapp/WEB-INF/web.xml | 27 - .../samples/helloworld-ws-reference-jms/README | 127 - .../samples/helloworld-ws-reference-jms/build.xml | 72 - .../helloworld-ws-reference.png | Bin 7549 -> 0 bytes .../helloworld-ws-reference.svg | 150 - .../samples/helloworld-ws-reference-jms/pom.xml | 92 - .../src/main/java/helloworld/HelloWorldImpl.java | 33 - .../main/java/helloworld/HelloWorldJmsClient.java | 38 - .../main/java/helloworld/HelloWorldService.java | 29 - .../helloworld/HelloWorldServiceComponent.java | 42 - .../src/main/resources/helloworldwsjms.composite | 34 - .../main/resources/helloworldwsjmsclient.composite | 45 - .../src/main/resources/logging.properties | 30 - .../src/main/resources/wsdl/helloworld.wsdl | 92 - .../helloworld/HelloWorldJmsClientTestCase.java | 84 - .../samples/helloworld-ws-reference-lean/README | 178 - .../helloworld-ws-reference.png | Bin 7549 -> 0 bytes .../helloworld-ws-reference.svg | 150 - .../samples/helloworld-ws-reference-lean/pom.xml | 79 - .../src/main/java/helloworld/HelloWorldClient.java | 47 - .../main/java/helloworld/HelloWorldClient2.java | 53 - .../main/java/helloworld/HelloWorldClient3.java | 47 - .../main/java/helloworld/HelloWorldClient4.java | 52 - .../main/java/helloworld/HelloWorldClient5.java | 47 - .../main/java/helloworld/HelloWorldService.java | 29 - .../main/resources/helloworldwsclient.composite | 33 - .../main/resources/helloworldwsclient2.composite | 33 - .../main/resources/helloworldwsclient3.composite | 33 - .../main/resources/helloworldwsclient4.composite | 34 - .../main/resources/helloworldwsclient5.composite | 33 - .../src/main/resources/logging.properties | 30 - .../src/main/resources/wsdl/helloworld.wsdl | 92 - .../java/helloworld/HelloWorldClientTestCase.java | 58 - .../test/java/helloworld/HelloWorldTestServer.java | 55 - .../samples/helloworld-ws-reference-secure/README | 176 - .../helloworld-ws-reference-secure/build.xml | 72 - .../helloworld-ws-reference-secure.png | Bin 7549 -> 0 bytes .../helloworld-ws-reference-secure.svg | 150 - .../samples/helloworld-ws-reference-secure/pom.xml | 85 - .../main/java/helloworld/ClientPWCBHandler.java | 45 - .../src/main/java/helloworld/HelloWorldClient.java | 42 - .../main/java/helloworld/HelloWorldService.java | 29 - .../helloworld/HelloWorldServiceComponent.java | 42 - ...rg.apache.tuscany.sca.policy.util.PolicyHandler | 21 - .../src/main/resources/definitions.xml | 203 - .../src/main/resources/helloworldKeys.jks | Bin 1366 -> 0 bytes .../main/resources/helloworldwsclient.composite | 58 - .../src/main/resources/logging.properties | 30 - .../src/main/resources/wsdl/helloworld.wsdl | 85 - .../java/helloworld/HelloWorldClientTestCase.java | 74 - .../test/java/helloworld/HelloWorldTestServer.java | 55 - .../samples/helloworld-ws-reference/README | 178 - .../samples/helloworld-ws-reference/build.xml | 72 - .../helloworld-ws-reference.png | Bin 7549 -> 0 bytes .../helloworld-ws-reference.svg | 150 - .../samples/helloworld-ws-reference/pom.xml | 79 - .../src/main/java/helloworld/HelloWorldClient.java | 38 - .../main/java/helloworld/HelloWorldService.java | 29 - .../helloworld/HelloWorldServiceComponent.java | 42 - .../main/resources/helloworldwsclient.composite | 45 - .../src/main/resources/logging.properties | 30 - .../src/main/resources/wsdl/helloworld.wsdl | 92 - .../java/helloworld/HelloWorldClientTestCase.java | 74 - .../test/java/helloworld/HelloWorldTestServer.java | 55 - .../samples/helloworld-ws-sdo-webapp/README | 92 - .../samples/helloworld-ws-sdo-webapp/build.xml | 99 - .../helloworld-ws-sdo-webapp.png | Bin 12242 -> 0 bytes .../helloworld-ws-sdo-webapp.svg | 221 - .../samples/helloworld-ws-sdo-webapp/pom.xml | 200 - .../src/main/java/helloworld/HelloWorld.java | 44 - .../main/java/helloworld/HelloWorldComponent.java | 40 - .../src/main/java/helloworld/HelloWorldImpl.java | 48 - .../src/main/resources/helloworldws.composite | 43 - .../src/main/resources/wsdl/helloworld.wsdl | 111 - .../src/main/resources/wsdl/helloworld.xsd | 30 - .../src/main/webapp/HelloWorld.jsp | 48 - .../src/main/webapp/META-INF/sca-contribution.xml | 24 - .../src/main/webapp/WEB-INF/geronimo-web.xml | 41 - .../src/main/webapp/WEB-INF/web.xml | 46 - java/sca-contrib/samples/helloworld-ws-sdo/README | 214 - .../samples/helloworld-ws-sdo/build.xml | 101 - .../helloworld-ws-sdo/helloworld-ws-sdo.png | Bin 7549 -> 0 bytes .../helloworld-ws-sdo/helloworld-ws-sdo.svg | 150 - java/sca-contrib/samples/helloworld-ws-sdo/pom.xml | 139 - .../src/main/java/helloworld/HelloWorldClient.java | 44 - .../src/main/java/helloworld/HelloWorldImpl.java | 33 - .../src/main/java/helloworld/HelloWorldServer.java | 46 - .../main/java/helloworld/HelloWorldService.java | 29 - .../helloworld/HelloWorldServiceComponent.java | 42 - .../src/main/resources/helloworldws.composite | 32 - .../main/resources/helloworldwsclient.composite | 33 - .../src/main/resources/logging.properties | 30 - .../src/main/resources/wsdl/helloworld.wsdl | 88 - .../java/helloworld/HelloWorldClientTestCase.java | 69 - .../test/java/helloworld/HelloWorldTestServer.java | 55 - .../samples/helloworld-ws-service-jms/README | 119 - .../samples/helloworld-ws-service-jms/build.xml | 72 - .../helloworld-ws-service.png | Bin 6531 -> 0 bytes .../helloworld-ws-service.svg | 150 - .../samples/helloworld-ws-service-jms/pom.xml | 87 - .../src/main/java/helloworld/HelloWorldImpl.java | 33 - .../src/main/java/helloworld/HelloWorldServer.java | 60 - .../main/java/helloworld/HelloWorldService.java | 31 - .../src/main/resources/definitions.xml | 66 - .../src/main/resources/helloworldwsjms.composite | 35 - .../main/resources/helloworldwsjmspolicy.composite | 34 - .../src/main/resources/wsdl/helloworld.wsdl | 92 - .../HelloWorldJmsPolicyServerTestCase.java | 68 - .../helloworld/HelloWorldJmsServerTestCase.java | 72 - .../samples/helloworld-ws-service-secure/README | 152 - .../samples/helloworld-ws-service-secure/build.xml | 72 - .../helloworld-ws-service-secure.png | Bin 158 -> 0 bytes .../helloworld-ws-service-secure.svg | 149 - .../samples/helloworld-ws-service-secure/pom.xml | 85 - .../src/main/java/helloworld/HelloWorldImpl.java | 33 - .../src/main/java/helloworld/HelloWorldServer.java | 46 - .../main/java/helloworld/HelloWorldService.java | 31 - .../main/java/helloworld/ServerPWCBHandler.java | 55 - .../src/main/resources/definitions.xml | 113 - .../src/main/resources/helloworldKeys.jks | Bin 1366 -> 0 bytes .../src/main/resources/helloworldws.composite | 41 - .../src/main/resources/wsdl/helloworld.wsdl | 79 - .../java/helloworld/HelloWorldServerTestCase.java | 62 - .../samples/helloworld-ws-service-webapp/README | 1 - .../samples/helloworld-ws-service-webapp/build.xml | 156 - .../samples/helloworld-ws-service-webapp/pom.xml | 80 - .../src/main/java/helloworld/HelloWorldImpl.java | 33 - .../main/java/helloworld/HelloWorldService.java | 30 - .../src/main/resources/wsdl/helloworld.wsdl | 79 - .../sca-deployables/helloworldws.composite | 32 - .../src/main/webapp/WEB-INF/geronimo-web.xml | 33 - .../src/main/webapp/WEB-INF/web.xml | 45 - .../samples/helloworld-ws-service/README | 140 - .../samples/helloworld-ws-service/build.xml | 72 - .../helloworld-ws-service.png | Bin 6531 -> 0 bytes .../helloworld-ws-service.svg | 150 - .../samples/helloworld-ws-service/pom.xml | 79 - .../src/main/java/helloworld/HelloWorldImpl.java | 33 - .../src/main/java/helloworld/HelloWorldServer.java | 46 - .../main/java/helloworld/HelloWorldService.java | 31 - .../org/example/orderservice/ObjectFactory.java | 56 - .../main/java/org/example/orderservice/Order.java | 129 - .../org/example/orderservice/OrderService.java | 37 - .../org/example/orderservice/OrderServiceImpl.java | 65 - .../example/orderservice/OrderService_Service.java | 66 - .../java/org/example/orderservice/ReviewOrder.java | 64 - .../example/orderservice/ReviewOrderResponse.java | 64 - .../main/java/org/example/orderservice/Status.java | 57 - .../org/example/orderservice/package-info.java | 2 - .../sca-deployables/helloworldws.composite | 33 - .../META-INF/sca-deployables/orderws.composite | 33 - .../src/main/resources/wsdl/helloworld.wsdl | 79 - .../src/main/resources/wsdl/orderservice.wsdl | 71 - .../java/helloworld/HelloWorldServerTestCase.java | 62 - .../samples/host-webapp-calculator/README | 108 - .../samples/host-webapp-calculator/build.xml | 31 - .../host-webapp-calculator/calculator-web.png | Bin 25757 -> 0 bytes .../host-webapp-calculator/calculator-web.svg | 455 - .../samples/host-webapp-calculator/pom.xml | 162 - .../src/main/java/calculator/AddService.java | 31 - .../src/main/java/calculator/AddServiceImpl.java | 34 - .../main/java/calculator/CalculatorService.java | 35 - .../java/calculator/CalculatorServiceImpl.java | 69 - .../src/main/java/calculator/DivideService.java | 28 - .../main/java/calculator/DivideServiceImpl.java | 30 - .../src/main/java/calculator/MultiplyService.java | 28 - .../main/java/calculator/MultiplyServiceImpl.java | 30 - .../src/main/java/calculator/SubtractService.java | 28 - .../main/java/calculator/SubtractServiceImpl.java | 30 - .../src/main/resources/Calculator.composite | 49 - .../src/main/webapp/META-INF/sca-contribution.xml | 23 - .../src/main/webapp/WEB-INF/geronimo-web.xml | 34 - .../src/main/webapp/WEB-INF/web.composite | 24 - .../src/main/webapp/WEB-INF/web.xml | 41 - .../src/main/webapp/calc.jsp | 50 - .../samples/implementation-composite/README | 116 - .../samples/implementation-composite/build.xml | 72 - .../implementation-composite.png | Bin 47415 -> 0 bytes .../implementation-composite.svg | 658 - .../samples/implementation-composite/pom.xml | 72 - .../src/main/java/composite/CompositeClient.java | 41 - .../src/main/java/composite/Source.java | 24 - .../src/main/java/composite/SourceCallback.java | 24 - .../src/main/java/composite/SourceImpl.java | 55 - .../src/main/java/composite/Target.java | 30 - .../src/main/java/composite/TargetImpl.java | 41 - .../src/main/resources/InnerComposite.composite | 41 - .../src/main/resources/InnerComposite2.composite | 33 - .../main/resources/META-INF/sca-contribution.xml | 25 - .../src/main/resources/OuterComposite.composite | 39 - .../src/test/java/composite/CompositeTestCase.java | 51 - .../samples/implementation-crud-extension/README | 83 - .../implementation-crud-extension/build.xml | 51 - .../samples/implementation-crud-extension/pom.xml | 77 - .../src/main/java/crud/CRUD.java | 54 - .../src/main/java/crud/CRUDImplementation.java | 50 - .../main/java/crud/CRUDImplementationFactory.java | 37 - .../main/java/crud/backend/ResourceManager.java | 90 - .../crud/impl/CRUDImplementationFactoryImpl.java | 47 - .../java/crud/impl/CRUDImplementationImpl.java | 117 - .../crud/provider/CRUDImplementationInvoker.java | 79 - .../crud/provider/CRUDImplementationProvider.java | 75 - .../CRUDImplementationProviderFactory.java | 51 - .../services/crud.CRUDImplementationFactory | 19 - ...ca.contribution.processor.StAXArtifactProcessor | 19 - ...any.sca.contribution.processor.ValidationSchema | 19 - ...cany.sca.provider.ImplementationProviderFactory | 19 - .../main/resources/sample-implementation-crud.xsd | 38 - .../src/test/java/crud/CRUDTestCase.java | 60 - .../src/test/resources/crud.composite | 30 - .../sca-contrib/samples/implementation-crud/README | 113 - .../samples/implementation-crud/build.xml | 75 - .../implementation-crud/implementation-crud.png | Bin 4227 -> 0 bytes .../implementation-crud/implementation-crud.svg | 135 - .../samples/implementation-crud/pom.xml | 64 - .../src/main/java/crud/client/CRUDClient.java | 59 - .../src/main/resources/crud.composite | 30 - .../src/test/java/crud/client/CRUDTestCase.java | 61 - .../samples/implementation-notification/README | 97 - .../samples/implementation-notification/build.xml | 72 - .../implementation-notification.png | Bin 21543 -> 0 bytes .../samples/implementation-notification/pom.xml | 76 - .../main/java/notification/TestCaseProducer.java | 24 - .../main/java/notification/TrafficAdvisory.java | 24 - .../java/notification/TrafficAdvisoryClient.java | 45 - .../java/notification/TrafficAdvisoryConsumer.java | 39 - .../java/notification/TrafficAdvisoryProducer.java | 36 - .../TrafficAdvisoryNotification.componentType | 30 - .../TrafficAdvisoryNotification.composite | 50 - .../java/notification/TrafficAdvisoryTestCase.java | 60 - .../TrafficAdvisoryNotification.componentType | 30 - .../TrafficAdvisoryNotification.composite | 50 - .../samples/implementation-pojo-extension/README | 70 - .../implementation-pojo-extension/build.xml | 51 - .../samples/implementation-pojo-extension/pom.xml | 77 - .../src/main/java/pojo/POJOImplementation.java | 65 - .../main/java/pojo/POJOImplementationFactory.java | 36 - .../pojo/impl/POJOImplementationFactoryImpl.java | 36 - .../java/pojo/impl/POJOImplementationImpl.java | 155 - .../pojo/impl/POJOImplementationProcessor.java | 174 - .../pojo/provider/POJOImplementationInvoker.java | 68 - .../pojo/provider/POJOImplementationProvider.java | 106 - .../POJOImplementationProviderFactory.java | 45 - ...ca.contribution.processor.StAXArtifactProcessor | 19 - ...any.sca.contribution.processor.ValidationSchema | 19 - ...cany.sca.provider.ImplementationProviderFactory | 19 - .../services/pojo.POJOImplementationFactory | 19 - .../main/resources/sample-implementation-pojo.xsd | 38 - .../src/test/java/helloworld/HelloWorld.java | 26 - .../src/test/java/helloworld/HelloWorldImpl.java | 37 - .../src/test/java/helloworld/HelloWorldImpl2.java | 37 - .../test/java/helloworld/HelloWorldTestCase.java | 51 - .../helloworld/HelloWorldImpl2.componentType | 26 - .../test/resources/helloworld/helloworld.composite | 33 - java/sca-contrib/samples/loanapplication/pom.xml | 65 - .../main/java/loanapplication/LoanApplication.java | 36 - .../loanapplication/LoanApplicationClient.java | 37 - .../src/main/java/loanapplication/LoanClient.java | 29 - .../main/java/loanapplication/LoanClientImpl.java | 64 - .../src/main/java/loanapplication/LoanService.java | 43 - .../main/java/loanapplication/LoanServiceImpl.java | 63 - .../src/main/resources/loanapplication.composite | 34 - .../loanapplication/LoanApplicationTestCase.java | 83 - java/sca-contrib/samples/osgi-supplychain/README | 161 - .../samples/osgi-supplychain/build-bundles.xml | 32 - .../sca-contrib/samples/osgi-supplychain/build.xml | 128 - .../samples/osgi-supplychain/osgi-supplychain.png | Bin 13558 -> 0 bytes .../samples/osgi-supplychain/osgi-supplychain.svg | 272 - java/sca-contrib/samples/osgi-supplychain/pom.xml | 187 - .../src/main/java/supplychain/OSGiBundleImpl.java | 121 - .../main/java/supplychain/SupplyChainClient.java | 43 - .../main/java/supplychain/customer/Customer.java | 33 - .../customer/JavaCustomerComponentImpl.java | 50 - .../customer/OSGiCustomerComponentImpl.java | 51 - .../supplychain/customer/OSGiCustomerImpl.java | 47 - .../retailer/JavaRetailerComponentImpl.java | 53 - .../retailer/OSGiRetailerComponentImpl.java | 46 - .../supplychain/retailer/OSGiRetailerImpl.java | 44 - .../main/java/supplychain/retailer/Retailer.java | 28 - .../shipper/JavaShipperComponentImpl.java | 47 - .../shipper/OSGiShipperComponentImpl.java | 45 - .../java/supplychain/shipper/OSGiShipperImpl.java | 42 - .../src/main/java/supplychain/shipper/Shipper.java | 28 - .../warehouse/JavaWarehouseComponentImpl.java | 47 - .../warehouse/OSGiWarehouseComponentImpl.java | 47 - .../supplychain/warehouse/OSGiWarehouseImpl.java | 44 - .../main/java/supplychain/warehouse/Warehouse.java | 28 - .../src/main/resources/Customer.componentType | 28 - .../src/main/resources/DSCustomer.componentType | 28 - .../src/main/resources/DSRetailer.componentType | 28 - .../src/main/resources/DSShipper.componentType | 28 - .../src/main/resources/DSWarehouse.componentType | 28 - .../src/main/resources/Retailer.componentType | 28 - .../src/main/resources/Shipper.componentType | 28 - .../src/main/resources/Warehouse.componentType | 28 - .../src/main/resources/osgi/Customer.mf | 11 - .../src/main/resources/osgi/Retailer.mf | 10 - .../src/main/resources/osgi/Shipper.mf | 10 - .../src/main/resources/osgi/Warehouse.mf | 10 - .../src/main/resources/osgi/ds/Customer.mf | 10 - .../src/main/resources/osgi/ds/Customer.xml | 32 - .../src/main/resources/osgi/ds/Retailer.mf | 11 - .../src/main/resources/osgi/ds/Retailer.xml | 32 - .../src/main/resources/osgi/ds/Shipper.mf | 10 - .../src/main/resources/osgi/ds/Shipper.xml | 33 - .../src/main/resources/osgi/ds/Warehouse.mf | 11 - .../src/main/resources/osgi/ds/Warehouse.xml | 32 - .../src/main/resources/supplychain.composite | 61 - .../src/main/resources/supplychain.ds.composite | 61 - .../supplychain/SupplyChainClientTestCase.java | 60 - java/sca-contrib/samples/photo-gallery/README | 28 - java/sca-contrib/samples/photo-gallery/build.xml | 79 - .../samples/photo-gallery/photo-gallery.png | Bin 15670 -> 0 bytes .../samples/photo-gallery/photo-gallery.svg | 304 - java/sca-contrib/samples/photo-gallery/pom.xml | 148 - .../src/main/java/launch/LaunchGallery.java | 34 - .../src/main/java/launch/LaunchGalleryJCR.java | 34 - .../src/main/java/services/Album.java | 29 - .../src/main/java/services/AlbumImpl.java | 95 - .../src/main/java/services/jcr/AlbumImpl.java | 159 - .../photo-gallery/src/main/resources/gallery.html | 135 - .../src/main/resources/gallery/boston/dsc00368.jpg | Bin 32808 -> 0 bytes .../src/main/resources/gallery/boston/dsc00369.jpg | Bin 35980 -> 0 bytes .../src/main/resources/gallery/boston/dsc00370.jpg | Bin 44614 -> 0 bytes .../src/main/resources/gallery/boston/dsc00371.jpg | Bin 40745 -> 0 bytes .../src/main/resources/gallery/boston/dsc00373.jpg | Bin 76470 -> 0 bytes .../src/main/resources/gallery/boston/dsc00375.jpg | Bin 34834 -> 0 bytes .../src/main/resources/gallery/boston/dsc00376.jpg | Bin 38797 -> 0 bytes .../src/main/resources/gallery/boston/dsc00377.jpg | Bin 35776 -> 0 bytes .../src/main/resources/gallery/boston/dsc00378.jpg | Bin 35248 -> 0 bytes .../src/main/resources/gallery/boston/dsc00379.jpg | Bin 55042 -> 0 bytes .../src/main/resources/gallery/boston/dsc00380.jpg | Bin 55236 -> 0 bytes .../photo-gallery/src/main/resources/index.gif | Bin 564 -> 0 bytes .../photo-gallery/src/main/resources/index_on.gif | Bin 577 -> 0 bytes .../photo-gallery/src/main/resources/next.gif | Bin 535 -> 0 bytes .../src/main/resources/next_disabled.gif | Bin 536 -> 0 bytes .../photo-gallery/src/main/resources/next_on.gif | Bin 542 -> 0 bytes .../src/main/resources/photo-gallery-jcr.composite | 47 - .../src/main/resources/photo-gallery.composite | 47 - .../photo-gallery/src/main/resources/prev.gif | Bin 534 -> 0 bytes .../src/main/resources/prev_disabled.gif | Bin 536 -> 0 bytes .../photo-gallery/src/main/resources/prev_on.gif | Bin 541 -> 0 bytes .../src/main/resources/show_slide.gif | Bin 533 -> 0 bytes .../photo-gallery/src/main/resources/space.gif | Bin 116 -> 0 bytes .../photo-gallery/src/main/resources/styles.css | 121 - java/sca-contrib/samples/quote-xquery/README | 450 - java/sca-contrib/samples/quote-xquery/build.xml | 120 - java/sca-contrib/samples/quote-xquery/pom.xml | 184 - .../java/xquery/quote/AvailQuoteProviderImpl.java | 30 - .../xquery/quote/AvailQuoteProviderNodeInfo.java | 28 - .../xquery/quote/AvailQuoteProviderService.java | 27 - .../xquery/quote/ExternalReferencesQuoteJoin.java | 27 - .../main/java/xquery/quote/PriceQuoteProvider.java | 28 - .../java/xquery/quote/PriceQuoteProviderImpl.java | 27 - .../xquery/quote/PriceQuoteProviderNodeInfo.java | 28 - .../java/xquery/quote/PropertiesQuoteJoin.java | 32 - .../main/java/xquery/quote/QuoteCalculator.java | 26 - .../java/xquery/quote/QuoteCalculatorImpl.java | 38 - .../src/main/java/xquery/quote/QuoteDataUtil.java | 107 - .../src/main/java/xquery/quote/QuoteJoin.java | 34 - .../src/main/java/xquery/quote/QuoteJoinLocal.java | 34 - .../main/java/xquery/quote/QuoteJoinLocalImpl.java | 67 - .../main/java/xquery/quote/XQueryQuoteClient.java | 145 - .../main/java/xquery/quote/XQueryQuoteServer.java | 39 - .../src/main/resources/META-INF/sca/quote_join.xq | 61 - .../META-INF/sca/quote_join_external_references.xq | 69 - .../META-INF/sca/quote_join_properties.xq | 74 - .../src/main/resources/wsdl/AvailQuote.xsd | 39 - .../src/main/resources/wsdl/PriceQuote.xsd | 49 - .../quote-xquery/src/main/resources/wsdl/Quote.xsd | 40 - .../src/main/resources/wsdl/quotejoin.wsdl | 137 - .../src/main/resources/xqueryquotews.composite | 55 - .../main/resources/xqueryquotewsclient.composite | 113 - .../xquery/quote/XQueryQuoteClientTestCase.java | 192 - .../java/xquery/quote/XQueryQuoteTestServer.java | 50 - .../samples/simple-bigbank-spring/README | 148 - .../samples/simple-bigbank-spring/build-dojo.xml | 92 - .../samples/simple-bigbank-spring/build.xml | 72 - .../samples/simple-bigbank-spring/pom.xml | 277 - .../simple-bigbank-spring.png | Bin 10202 -> 0 bytes .../simple-bigbank-spring.svg | 200 - .../main/java/bigbank/account/AccountReport.java | 43 - .../main/java/bigbank/account/AccountService.java | 26 - .../java/bigbank/account/AccountServiceImpl.java | 145 - .../account/checking/CheckingAccountDetails.java | 45 - .../account/checking/CheckingAccountService.java | 34 - .../java/bigbank/account/feed/AccountFeedImpl.java | 71 - .../account/savings/SavingsAccountDetails.java | 47 - .../account/savings/SavingsAccountService.java | 32 - .../account/savings/SavingsAccountServiceImpl.java | 62 - .../bigbank/account/stock/StockAccountDetails.java | 63 - .../bigbank/account/stock/StockAccountService.java | 33 - .../account/stock/StockAccountServiceImpl.java | 56 - .../java/bigbank/calculator/CalculatorService.java | 34 - .../main/java/bigbank/client/BigBankClient.java | 46 - .../main/java/bigbank/server/BigBankServer.java | 54 - .../java/bigbank/stockquote/StockQuoteService.java | 31 - .../src/main/resources/BigBank.composite | 88 - .../src/main/resources/SavingsAccount.composite | 32 - .../src/main/resources/StockAccount.composite | 32 - .../spring-context/Account-spring-context.xml | 53 - .../spring-context/SavingsAccount-context.xml | 33 - .../StockAccount/META-INF/MANIFEST.MF | 4 - .../META-INF/spring/StockAccount-context.xml | 33 - .../src/main/resources/web/style.css | 22 - .../src/test/java/bigbank/BigBankTestCase.java | 34 - java/sca-contrib/samples/simple-bigbank/README | 101 - java/sca-contrib/samples/simple-bigbank/build.xml | 72 - java/sca-contrib/samples/simple-bigbank/pom.xml | 65 - .../samples/simple-bigbank/simple-bigbank.png | Bin 10202 -> 0 bytes .../samples/simple-bigbank/simple-bigbank.svg | 200 - .../main/java/bigbank/account/AccountReport.java | 43 - .../main/java/bigbank/account/AccountService.java | 26 - .../java/bigbank/account/AccountServiceImpl.java | 68 - .../src/main/java/bigbank/accountdata/Account.java | 26 - .../bigbank/accountdata/AccountDataService.java | 28 - .../accountdata/AccountDataServiceImpl.java | 54 - .../java/bigbank/accountdata/CheckingAccount.java | 35 - .../java/bigbank/accountdata/SavingsAccount.java | 35 - .../java/bigbank/accountdata/StockAccount.java | 43 - .../main/java/bigbank/client/BigBankClient.java | 43 - .../java/bigbank/stockquote/StockQuoteImpl.java | 36 - .../java/bigbank/stockquote/StockQuoteService.java | 32 - .../src/main/resources/Account.composite | 38 - .../src/main/resources/BigBank.composite | 35 - .../src/main/resources/StockQuote.composite | 31 - .../src/test/java/bigbank/BigBankTestCase.java | 50 - java/sca-contrib/samples/simple-callback-ws/README | 144 - .../samples/simple-callback-ws/build.xml | 72 - .../sca-contrib/samples/simple-callback-ws/pom.xml | 79 - .../simple-callback-ws/simple-callback-ws.png | Bin 137 -> 0 bytes .../simple-callback-ws/simple-callback-ws.svg | 150 - .../src/main/java/simplecallback/MyClient.java | 27 - .../src/main/java/simplecallback/MyClientImpl.java | 51 - .../src/main/java/simplecallback/MyService.java | 34 - .../java/simplecallback/MyServiceCallback.java | 30 - .../main/java/simplecallback/MyServiceImpl.java | 54 - .../java/simplecallback/SimpleCallbackClient.java | 38 - .../src/main/resources/simplecallback.composite | 49 - .../src/main/resources/wsdl/simplecallback.wsdl | 109 - .../simplecallback/SimpleCallbackTestCase.java | 53 - java/sca-contrib/samples/simple-callback/README | 97 - java/sca-contrib/samples/simple-callback/build.xml | 72 - java/sca-contrib/samples/simple-callback/pom.xml | 65 - .../samples/simple-callback/simple-callback.png | Bin 137 -> 0 bytes .../samples/simple-callback/simple-callback.svg | 150 - .../src/main/java/simplecallback/MyClient.java | 27 - .../src/main/java/simplecallback/MyClientImpl.java | 49 - .../src/main/java/simplecallback/MyService.java | 32 - .../java/simplecallback/MyServiceCallback.java | 27 - .../main/java/simplecallback/MyServiceImpl.java | 51 - .../java/simplecallback/SimpleCallbackClient.java | 38 - .../src/main/resources/simplecallback.composite | 34 - .../simplecallback/SimpleCallbackTestCase.java | 51 - .../samples/spi-implementation-pojo/pom.xml | 59 - .../src/main/java/sample/JavaImplementation.java | 35 - .../java/sample/JavaImplementationActivator.java | 37 - .../src/main/java/sample/JavaInvoker.java | 59 - .../src/main/java/sample/JavaInvokerFactory.java | 47 - ....apache.tuscany.sca.spi.ImplementationActivator | 18 - .../src/test/java/helloworld/HelloWorld.java | 26 - .../src/test/java/helloworld/HelloWorldImpl.java | 28 - .../test/java/helloworld/HelloWorldTestCase.java | 35 - .../test/resources/helloworld/helloworld.composite | 28 - .../samples/spring-bigbank-calculator/README | 2 - .../samples/spring-bigbank-calculator/build.xml | 72 - .../samples/spring-bigbank-calculator/pom.xml | 110 - .../main/java/bigbank/calculator/AddService.java | 25 - .../java/bigbank/calculator/CalculatorService.java | 34 - .../bigbank/calculator/CalculatorServiceImpl.java | 72 - .../java/bigbank/calculator/DivideService.java | 25 - .../java/bigbank/calculator/MultiplyService.java | 25 - .../java/bigbank/calculator/SubtractService.java | 25 - .../calculator/server/CalculatorServer.java | 50 - .../src/main/resources/Calculator.composite | 56 - .../META-INF/spring/CalculatorService-context.xml | 45 - .../main/resources/calculator/AddServiceImpl.js | 22 - .../resources/calculator/DivideServiceImpl.groovy | 22 - .../resources/calculator/MultiplyServiceImpl.py | 21 - .../resources/calculator/SubtractServiceImpl.rb | 22 - .../calculator/CalculatorServiceTestCase.java | 33 - .../samples/spring-bigbank-checkaccount/README | 4 - .../samples/spring-bigbank-checkaccount/build.xml | 73 - .../samples/spring-bigbank-checkaccount/pom.xml | 133 - .../account/checking/CheckingAccountDetails.java | 50 - .../account/checking/CheckingAccountService.java | 37 - .../checking/CheckingAccountServiceImpl.java | 66 - .../checking/server/CheckingAccountServer.java | 70 - .../AccountsDataPasswordCallbackHandler.java | 54 - .../account/security/BigbankCheckingsAcl.java | 48 - ...ckingsDeptAuthImplementationPolicyProvider.java | 90 - .../account/security/CheckingsDeptAuthPolicy.java | 46 - .../CheckingsDeptAuthPolicyInterceptor.java | 73 - .../CheckingsDeptAuthPolicyProviderFactory.java | 75 - .../CheckingsDeptAuthorizationPolicyHandler.java | 67 - .../CheckingsDeptAuthorizationPolicyProcessor.java | 72 - .../src/main/resources/CheckingsAccount.composite | 41 - ...ca.contribution.processor.StAXArtifactProcessor | 19 - ...rg.apache.tuscany.sca.policy.util.PolicyHandler | 20 - ...ache.tuscany.sca.provider.PolicyProviderFactory | 19 - .../src/main/resources/definitions.xml | 58 - .../spring/CheckingAccountService-context.xml | 33 - .../checkaccount/CheckAccountServiceTestCase.java | 33 - .../samples/spring-bigbank-stockquote/README | 4 - .../samples/spring-bigbank-stockquote/build.xml | 73 - .../samples/spring-bigbank-stockquote/pom.xml | 110 - .../java/bigbank/stockquote/StockQuoteImpl.java | 38 - .../java/bigbank/stockquote/StockQuoteService.java | 30 - .../server/SCAApplicationContextProvider.java | 19 - .../stockquote/server/StockQuoteServer.java | 58 - .../META-INF/spring/StockQuoteService-context.xml | 36 - .../src/main/resources/StockQuote.composite | 35 - .../stockquote/StockQuoteServiceTestCase.java | 33 - java/sca-contrib/samples/store-distributed/README | 28 - .../samples/store-distributed/build.xml | 79 - .../samples/store-distributed/cloud.composite | 27 - .../samples/store-distributed/domain.composite | 27 - java/sca-contrib/samples/store-distributed/pom.xml | 119 - .../src/main/java/node/LaunchDomain.java | 33 - .../src/main/java/node/LaunchStoreNodeA.java | 28 - .../src/main/java/node/LaunchStoreNodeB.java | 28 - .../src/main/java/node/LaunchStoreNodeC.java | 28 - .../src/main/java/services/Cart.java | 28 - .../src/main/java/services/Catalog.java | 27 - .../src/main/java/services/CurrencyConverter.java | 29 - .../main/java/services/CurrencyConverterImpl.java | 38 - .../src/main/java/services/FruitsCatalogImpl.java | 52 - .../src/main/java/services/Item.java | 51 - .../src/main/java/services/ShoppingCartImpl.java | 112 - .../src/main/java/services/Total.java | 29 - .../src/main/resources/cloud/NodeA.composite | 36 - .../src/main/resources/cloud/NodeB.composite | 36 - .../src/main/resources/cloud/NodeC.composite | 36 - .../resources/nodeA/META-INF/sca-contribution.xml | 24 - .../src/main/resources/nodeA/store.composite | 38 - .../resources/nodeB/META-INF/sca-contribution.xml | 24 - .../src/main/resources/nodeB/store.composite | 35 - .../resources/nodeC/META-INF/sca-contribution.xml | 24 - .../src/main/resources/nodeC/store.composite | 41 - .../src/main/resources/nodeC/uiservices/store.html | 162 - .../src/main/resources/uiservices/store.html | 162 - .../samples/store-distributed/store.png | Bin 15670 -> 0 bytes .../samples/store-distributed/store.svg | 304 - .../samples/store-distributed/workspace.xml | 25 - java/sca-contrib/samples/store/README | 28 - java/sca-contrib/samples/store/build.xml | 79 - java/sca-contrib/samples/store/pom.xml | 106 - .../samples/store/src/main/java/launch/Launch.java | 34 - .../samples/store/src/main/java/services/Cart.java | 28 - .../store/src/main/java/services/Catalog.java | 27 - .../src/main/java/services/CurrencyConverter.java | 29 - .../main/java/services/CurrencyConverterImpl.java | 38 - .../src/main/java/services/FruitsCatalogImpl.java | 52 - .../samples/store/src/main/java/services/Item.java | 51 - .../src/main/java/services/ShoppingCartImpl.java | 112 - .../store/src/main/java/services/Total.java | 29 - .../store/src/main/resources/store.composite | 64 - .../store/src/main/resources/uiservices/store.html | 162 - java/sca-contrib/samples/store/store.png | Bin 15670 -> 0 bytes java/sca-contrib/samples/store/store.svg | 304 - java/sca-contrib/samples/supplychain/README | 101 - java/sca-contrib/samples/supplychain/build.xml | 72 - java/sca-contrib/samples/supplychain/pom.xml | 65 - .../src/main/java/supplychain/Customer.java | 33 - .../java/supplychain/CustomerComponentImpl.java | 44 - .../src/main/java/supplychain/Retailer.java | 28 - .../java/supplychain/RetailerComponentImpl.java | 39 - .../src/main/java/supplychain/Shipper.java | 28 - .../java/supplychain/ShipperComponentImpl.java | 39 - .../main/java/supplychain/SupplyChainClient.java | 40 - .../src/main/java/supplychain/Warehouse.java | 28 - .../java/supplychain/WarehouseComponentImpl.java | 39 - .../src/main/resources/supplychain.composite | 45 - .../supplychain/SupplyChainClientTestCase.java | 52 - .../samples/supplychain/supplychain.png | Bin 3898 -> 0 bytes .../samples/supplychain/supplychain.svg | 228 - java/sca-contrib/samples/web-resource/README | 76 - java/sca-contrib/samples/web-resource/build.xml | 72 - java/sca-contrib/samples/web-resource/pom.xml | 79 - .../src/main/java/web/resource/SampleServer.java | 44 - .../src/main/resources/WebResource.composite | 32 - .../src/main/resources/myContent/index.html | 49 - .../samples/web-resource/web-resource.png | Bin 8418 -> 0 bytes .../samples/web-resource/web-resource.svg | 197 - java/sca-contrib/samples/zipcode-jaxws/LICENSE | 205 - java/sca-contrib/samples/zipcode-jaxws/NOTICE | 6 - java/sca-contrib/samples/zipcode-jaxws/README | 72 - java/sca-contrib/samples/zipcode-jaxws/build.xml | 68 - java/sca-contrib/samples/zipcode-jaxws/pom.xml | 245 - .../java/com/example/uszip/GetInfoByAreaCode.java | 81 - .../example/uszip/GetInfoByAreaCodeResponse.java | 158 - .../main/java/com/example/uszip/GetInfoByCity.java | 81 - .../com/example/uszip/GetInfoByCityResponse.java | 158 - .../java/com/example/uszip/GetInfoByState.java | 81 - .../com/example/uszip/GetInfoByStateResponse.java | 158 - .../main/java/com/example/uszip/GetInfoByZIP.java | 81 - .../com/example/uszip/GetInfoByZIPResponse.java | 158 - .../main/java/com/example/uszip/ObjectFactory.java | 145 - .../src/main/java/com/example/uszip/USZip.java | 89 - .../src/main/java/com/example/uszip/USZipSoap.java | 103 - .../main/java/com/example/uszip/package-info.java | 20 - .../com/example/weather/ArrayOfWeatherData.java | 87 - .../com/example/weather/GetWeatherByPlaceName.java | 81 - .../weather/GetWeatherByPlaceNameResponse.java | 81 - .../com/example/weather/GetWeatherByZipCode.java | 81 - .../weather/GetWeatherByZipCodeResponse.java | 81 - .../java/com/example/weather/ObjectFactory.java | 118 - .../main/java/com/example/weather/WeatherData.java | 219 - .../java/com/example/weather/WeatherForecast.java | 91 - .../com/example/weather/WeatherForecastSoap.java | 73 - .../java/com/example/weather/WeatherForecasts.java | 251 - .../java/com/example/weather/package-info.java | 20 - .../src/main/java/location/LocationClient.java | 55 - .../src/main/java/location/USLocationImpl.java | 56 - .../main/java/weather/WeatherForecastClient.java | 60 - .../src/main/java/weather/WeatherForecastImpl.java | 43 - .../src/main/java/zipcode/ZipCodeClient.java | 38 - .../src/main/java/zipcode/ZipCodeService.java | 30 - .../src/main/java/zipcode/ZipCodeServiceImpl.java | 82 - .../src/main/resources/USLocation.composite | 30 - .../src/main/resources/WeatherForecast.composite | 30 - .../src/main/resources/ZipCode.composite | 33 - .../test/java/zipcode/ZipCodeClientTestCase.java | 51 - java/sca-contrib/stest/pom.xml | 57 - java/sca-contrib/stest/sampleTest/pom.xml | 98 - .../src/main/java/test/ASM_0001_Client.java | 67 - .../src/main/java/test/ASM_0002_Client.java | 80 - .../src/main/java/test/ASM_0003_Client.java | 79 - .../sampleTest/src/main/java/test/Service1.java | 39 - .../src/main/java/test/Service1Superset.java | 45 - .../sampleTest/src/main/java/test/Service2.java | 35 - .../src/main/java/test/TestException.java | 47 - .../src/main/java/test/TestInvocation.class | Bin 395 -> 0 bytes .../src/main/java/test/TestInvocation.java | 42 - .../src/main/java/test/service1Impl.java | 39 - .../src/main/java/test/service1Impl2.java | 46 - .../src/main/java/test/service1Impl3.java | 51 - .../src/main/java/test/service1Impl4.java | 52 - .../src/main/java/test/service1Impl5.java | 45 - .../src/main/java/test/service1Impl6.java | 50 - .../src/main/java/test/service1SupersetImpl.java | 43 - .../src/main/java/test/service2Impl.java | 39 - .../sampleTest/src/main/resources/TestClient.wsdl | 102 - .../src/main/resources/TestClient_0002.composite | 47 - .../src/main/resources/TestClient_0003.composite | 47 - .../src/main/resources/TestComposite1.composite | 40 - .../src/main/resources/TestComposite10.composite | 47 - .../src/main/resources/TestComposite11.composite | 59 - .../src/main/resources/TestComposite12.composite | 45 - .../src/main/resources/TestComposite13.composite | 46 - .../src/main/resources/TestComposite14.composite | 45 - .../src/main/resources/TestComposite15.composite | 43 - .../src/main/resources/TestComposite16.composite | 48 - .../src/main/resources/TestComposite17.composite | 46 - .../src/main/resources/TestComposite18.composite | 42 - .../src/main/resources/TestComposite19.composite | 52 - .../src/main/resources/TestComposite2.composite | 43 - .../src/main/resources/TestComposite20.composite | 58 - .../src/main/resources/TestComposite21.composite | 48 - .../src/main/resources/TestComposite22.composite | 61 - .../src/main/resources/TestComposite23.composite | 49 - .../src/main/resources/TestComposite24.composite | 49 - .../src/main/resources/TestComposite25.composite | 49 - .../src/main/resources/TestComposite26.composite | 53 - .../src/main/resources/TestComposite27.composite | 53 - .../src/main/resources/TestComposite3.composite | 49 - .../src/main/resources/TestComposite4.composite | 45 - .../src/main/resources/TestComposite5.composite | 41 - .../src/main/resources/TestComposite6.composite | 48 - .../src/main/resources/TestComposite7.composite | 48 - .../src/main/resources/TestComposite8.composite | 48 - .../src/main/resources/TestComposite9.composite | 41 - .../src/main/resources/TestDuplicate1.composite | 41 - .../src/main/resources/TestDuplicate2.composite | 41 - .../src/main/resources/Test_ASM_0001.composite | 33 - .../src/main/resources/Test_ASM_0002.composite | 48 - .../src/main/resources/Test_ASM_0003.composite | 64 - .../src/main/resources/Test_ASM_0004.composite | 62 - .../src/main/resources/Test_ASM_0005.composite | 49 - .../src/main/resources/Test_ASM_0006.composite | 47 - .../src/main/resources/Test_ASM_0007.composite | 60 - .../src/main/resources/Test_ASM_0008.composite | 61 - .../src/main/resources/Test_ASM_0009.composite | 63 - .../src/main/resources/Test_ASM_0010.composite | 51 - .../src/main/resources/Test_ASM_0011.composite | 61 - .../src/main/resources/Test_ASM_0012.composite | 101 - .../src/main/resources/Test_ASM_0013.composite | 62 - .../src/main/resources/Test_ASM_0014.composite | 61 - .../src/main/resources/Test_ASM_0015.composite | 62 - .../src/main/resources/Test_ASM_0016.composite | 61 - .../src/main/resources/Test_ASM_0017.composite | 61 - .../src/main/resources/Test_ASM_0018.composite | 72 - .../src/main/resources/Test_ASM_0019.composite | 69 - .../src/main/resources/Test_ASM_0020.composite | 71 - .../src/main/resources/Test_ASM_0021.composite | 70 - .../src/main/resources/Test_ASM_0022.composite | 50 - .../src/main/resources/Test_ASM_0023.composite | 60 - .../src/main/resources/Test_ASM_0024.composite | 60 - .../src/main/resources/Test_ASM_0025.composite | 54 - .../src/main/resources/Test_ASM_0026.composite | 57 - .../src/main/resources/Test_ASM_0027.composite | 49 - .../src/main/resources/Test_ASM_0028.composite | 51 - .../src/main/resources/Test_ASM_0029.composite | 58 - .../src/main/resources/Test_ASM_0030.composite | 51 - .../src/main/resources/Test_ASM_0031.composite | 68 - .../src/main/resources/Test_ASM_0032.composite | 66 - .../src/main/resources/Test_ASM_0033.composite | 65 - .../src/main/resources/Test_ASM_0034.composite | 65 - .../src/main/resources/Test_ASM_0101.composite | 42 - .../src/main/resources/Test_ASM_6001.composite | 49 - .../src/main/resources/Test_ASM_6002.composite | 45 - .../src/main/resources/Test_ASM_6003.composite | 50 - .../src/main/resources/Test_ASM_6004.composite | 47 - .../src/main/resources/Test_ASM_6005.composite | 48 - .../src/main/resources/Test_ASM_6006.composite | 55 - .../src/main/resources/Test_ASM_6007.composite | 55 - .../src/main/resources/Test_ASM_6008.composite | 54 - .../src/main/resources/Test_ASM_6009.composite | 54 - .../src/main/resources/Test_ASM_6010.composite | 54 - .../src/main/resources/Test_ASM_6011.composite | 54 - .../src/main/resources/Test_ASM_6012.composite | 54 - .../src/main/resources/Test_ASM_6013.composite | 47 - .../sampleTest/src/main/resources/Test_Types.xsd | 38 - .../src/test/java/client/ASM_0002_TestCase.java | 41 - .../src/test/java/client/ASM_0003_TestCase.java | 46 - .../src/test/java/client/ASM_0004_TestCase.java | 41 - .../src/test/java/client/ASM_0005_TestCase.java | 42 - .../src/test/java/client/ASM_0006_TestCase.java | 43 - .../src/test/java/client/ASM_0007_TestCase.java | 43 - .../src/test/java/client/ASM_0008_TestCase.java | 44 - .../src/test/java/client/ASM_0009_TestCase.java | 43 - .../src/test/java/client/ASM_0010_TestCase.java | 45 - .../src/test/java/client/ASM_0011_TestCase.java | 44 - .../src/test/java/client/ASM_0012_TestCase.java | 46 - .../src/test/java/client/ASM_0013_TestCase.java | 44 - .../src/test/java/client/ASM_0014_TestCase.java | 44 - .../src/test/java/client/ASM_0015_TestCase.java | 44 - .../src/test/java/client/ASM_0016_TestCase.java | 44 - .../src/test/java/client/ASM_0017_TestCase.java | 45 - .../src/test/java/client/ASM_0018_TestCase.java | 45 - .../src/test/java/client/ASM_0019_TestCase.java | 44 - .../src/test/java/client/ASM_0020_TestCase.java | 45 - .../src/test/java/client/ASM_0021_TestCase.java | 45 - .../src/test/java/client/ASM_0022_TestCase.java | 43 - .../src/test/java/client/ASM_0023_TestCase.java | 45 - .../src/test/java/client/ASM_0024_TestCase.java | 43 - .../src/test/java/client/ASM_0025_TestCase.java | 44 - .../src/test/java/client/ASM_0026_TestCase.java | 45 - .../src/test/java/client/ASM_0027_TestCase.java | 43 - .../src/test/java/client/ASM_0028_TestCase.java | 43 - .../src/test/java/client/ASM_0029_TestCase.java | 42 - .../src/test/java/client/ASM_0030_TestCase.java | 42 - .../src/test/java/client/ASM_0031_TestCase.java | 45 - .../src/test/java/client/ASM_0032_TestCase.java | 46 - .../src/test/java/client/ASM_0033_TestCase.java | 45 - .../src/test/java/client/ASM_0034_TestCase.java | 44 - .../src/test/java/client/ASM_6001_TestCase.java | 44 - .../src/test/java/client/ASM_6002_TestCase.java | 43 - .../src/test/java/client/ASM_6003_TestCase.java | 43 - .../src/test/java/client/ASM_6004_TestCase.java | 44 - .../src/test/java/client/ASM_6005_TestCase.java | 43 - .../src/test/java/client/ASM_6006_TestCase.java | 43 - .../src/test/java/client/ASM_6007_TestCase.java | 43 - .../src/test/java/client/ASM_6008_TestCase.java | 44 - .../src/test/java/client/ASM_6009_TestCase.java | 43 - .../src/test/java/client/ASM_6010_TestCase.java | 43 - .../src/test/java/client/ASM_6011_TestCase.java | 43 - .../src/test/java/client/ASM_6012_TestCase.java | 43 - .../src/test/java/client/ASM_6013_TestCase.java | 43 - .../src/test/java/client/BaseJAXWSTestCase.java | 159 - .../src/test/java/client/BaseTestCase.java | 122 - .../src/test/java/client/TestConfiguration.java | 67 - .../src/test/java/testClient/InvokeTest.java | 79 - .../test/java/testClient/InvokeTestResponse.java | 79 - .../src/test/java/testClient/ObjectFactory.java | 105 - .../sampleTest/src/test/java/testClient/README.txt | 19 - .../src/test/java/testClient/TestException.java | 74 - .../java/testClient/TestException_Exception.java | 68 - .../src/test/java/testClient/TestInvocation.java | 52 - .../java/testClient/TestInvocationService.java | 83 - .../src/test/java/testClient/package-info.java | 21 - .../tools/eclipse/features/core/LICENSE | 205 - .../eclipse/features/core/META-INF/MANIFEST.MF | 6 - .../sca-contrib/tools/eclipse/features/core/NOTICE | 6 - .../tools/eclipse/features/core/build.properties | 10 - .../tools/eclipse/features/core/feature.xml | 61 - .../tools/eclipse/features/core/pom.xml | 57 - .../tools/eclipse/features/ejava/LICENSE | 205 - .../eclipse/features/ejava/META-INF/MANIFEST.MF | 6 - .../tools/eclipse/features/ejava/NOTICE | 6 - .../tools/eclipse/features/ejava/build.properties | 10 - .../tools/eclipse/features/ejava/feature.xml | 63 - .../tools/eclipse/features/ejava/pom.xml | 57 - .../tools/eclipse/features/manager/LICENSE | 205 - .../eclipse/features/manager/META-INF/MANIFEST.MF | 6 - .../tools/eclipse/features/manager/NOTICE | 6 - .../eclipse/features/manager/build.properties | 10 - .../tools/eclipse/features/manager/feature.xml | 67 - .../tools/eclipse/features/manager/pom.xml | 57 - .../tools/eclipse/features/process/LICENSE | 205 - .../eclipse/features/process/META-INF/MANIFEST.MF | 6 - .../tools/eclipse/features/process/NOTICE | 6 - .../eclipse/features/process/build.properties | 10 - .../tools/eclipse/features/process/feature.xml | 67 - .../tools/eclipse/features/process/pom.xml | 57 - .../tools/eclipse/features/web20/LICENSE | 205 - .../eclipse/features/web20/META-INF/MANIFEST.MF | 6 - .../tools/eclipse/features/web20/NOTICE | 6 - .../tools/eclipse/features/web20/build.properties | 10 - .../tools/eclipse/features/web20/feature.xml | 67 - .../tools/eclipse/features/web20/pom.xml | 57 - .../tools/eclipse/features/webservice/LICENSE | 205 - .../features/webservice/META-INF/MANIFEST.MF | 6 - .../tools/eclipse/features/webservice/NOTICE | 6 - .../eclipse/features/webservice/build.properties | 10 - .../tools/eclipse/features/webservice/feature.xml | 67 - .../tools/eclipse/features/webservice/pom.xml | 57 - .../sca-contrib/tools/eclipse/plugins/core/LICENSE | 205 - .../eclipse/plugins/core/META-INF/MANIFEST.MF | 32 - java/sca-contrib/tools/eclipse/plugins/core/NOTICE | 12 - .../tools/eclipse/plugins/core/build.properties | 23 - .../exsd/runtimeClasspathContainerInitializer.exsd | 106 - .../tools/eclipse/plugins/core/icons/t.gif | Bin 877 -> 0 bytes .../tools/eclipse/plugins/core/icons/tuscany.gif | Bin 5603 -> 0 bytes .../core/classpath/BaseClasspathContainer.java | 253 - .../BaseClasspathContainerInitializer.java | 77 - .../core/classpath/BaseLibraryEntryPage.java | 74 - .../core/classpath/CoreClasspathContainer.java | 39 - .../CoreClasspathContainerInitializer.java | 38 - .../core/classpath/CoreLibraryEntryPage.java | 36 - .../core/classpath/RuntimeClasspathContainer.java | 40 - .../RuntimeClasspathContainerInitializer.java | 39 - ...lasspathContainerInitializerExtensionPoint.java | 74 - .../core/launch/DomainManagerLauncherUtil.java | 255 - .../sca/plugin/core/launch/NodeLauncherUtil.java | 244 - .../launch/TuscanyLaunchConfigurationDelegate.java | 75 - .../launch/TuscanyLaunchConfigurationTabGroup.java | 48 - .../launch/TuscanyLaunchDomainManagerAction.java | 79 - .../core/launch/TuscanyLaunchNodeFilter.java | 29 - .../core/launch/TuscanyLaunchNodeShortcut.java | 88 - .../tuscany/sca/plugin/core/log/LogUtil.java | 39 - .../core/newwizards/NewComponentTypeWizard.java | 53 - .../newwizards/NewComponentTypeWizardPage.java | 98 - .../plugin/core/newwizards/NewCompositeWizard.java | 53 - .../core/newwizards/NewCompositeWizardPage.java | 105 - .../tools/eclipse/plugins/core/plugin.xml | 149 - .../sca-contrib/tools/eclipse/plugins/core/pom.xml | 145 - .../eclipse/plugins/core/src/main/assembly/jar.xml | 81 - .../tools/eclipse/plugins/core/xsd/sca-all.xsd | 34 - .../eclipse/plugins/core/xsd/sca-binding-ejb.xsd | 43 - .../eclipse/plugins/core/xsd/sca-binding-jms.xsd | 135 - .../eclipse/plugins/core/xsd/sca-binding-sca.xsd | 23 - .../plugins/core/xsd/sca-binding-webservice.xsd | 26 - .../eclipse/plugins/core/xsd/sca-contribution.xsd | 21 - .../tools/eclipse/plugins/core/xsd/sca-core.xsd | 350 - .../eclipse/plugins/core/xsd/sca-definitions.xsd | 25 - .../plugins/core/xsd/sca-implementation-bpel.xsd | 43 - .../core/xsd/sca-implementation-composite.xsd | 23 - .../plugins/core/xsd/sca-implementation-cpp.xsd | 53 - .../plugins/core/xsd/sca-implementation-ejb.xsd | 25 - .../plugins/core/xsd/sca-implementation-java.xsd | 24 - .../plugins/core/xsd/sca-implementation-spring.xsd | 24 - .../eclipse/plugins/core/xsd/sca-interface-cpp.xsd | 40 - .../plugins/core/xsd/sca-interface-java.xsd | 23 - .../plugins/core/xsd/sca-interface-wsdl.xsd | 23 - .../tools/eclipse/plugins/core/xsd/sca-policy.xsd | 76 - .../tools/eclipse/plugins/core/xsd/sca.xsd | 22 - .../plugins/core/xsd/tuscany-sca-binding-atom.xsd | 41 - .../plugins/core/xsd/tuscany-sca-binding-dwr.xsd | 40 - .../plugins/core/xsd/tuscany-sca-binding-http.xsd | 40 - .../core/xsd/tuscany-sca-binding-jsonrpc.xsd | 40 - .../core/xsd/tuscany-sca-binding-notification.xsd | 42 - .../plugins/core/xsd/tuscany-sca-binding-rmi.xsd | 40 - .../plugins/core/xsd/tuscany-sca-binding-rss.xsd | 41 - .../core/xsd/tuscany-sca-implementation-node.xsd | 43 - .../tuscany-sca-implementation-notification.xsd | 42 - .../core/xsd/tuscany-sca-implementation-osgi.xsd | 43 - .../xsd/tuscany-sca-implementation-resource.xsd | 42 - .../core/xsd/tuscany-sca-implementation-script.xsd | 43 - .../core/xsd/tuscany-sca-implementation-widget.xsd | 42 - .../core/xsd/tuscany-sca-implementation-xquery.xsd | 42 - .../tools/eclipse/plugins/core/xsd/tuscany-sca.xsd | 45 - .../tools/eclipse/plugins/ejava/LICENSE | 205 - .../eclipse/plugins/ejava/META-INF/MANIFEST.MF | 32 - .../sca-contrib/tools/eclipse/plugins/ejava/NOTICE | 12 - .../tools/eclipse/plugins/ejava/build.properties | 23 - .../ejava/classpath/EJavaClasspathContainer.java | 39 - .../EJavaClasspathContainerInitializer.java | 38 - .../tools/eclipse/plugins/ejava/plugin.xml | 30 - .../tools/eclipse/plugins/ejava/pom.xml | 151 - .../tools/eclipse/plugins/manager/LICENSE | 205 - .../eclipse/plugins/manager/META-INF/MANIFEST.MF | 32 - .../tools/eclipse/plugins/manager/NOTICE | 12 - .../tools/eclipse/plugins/manager/build.properties | 23 - .../classpath/ManagerClasspathContainer.java | 39 - .../ManagerClasspathContainerInitializer.java | 38 - .../tools/eclipse/plugins/manager/plugin.xml | 30 - .../tools/eclipse/plugins/manager/pom.xml | 151 - .../tools/eclipse/plugins/process/LICENSE | 205 - .../eclipse/plugins/process/META-INF/MANIFEST.MF | 32 - .../tools/eclipse/plugins/process/NOTICE | 12 - .../tools/eclipse/plugins/process/build.properties | 23 - .../classpath/ProcessClasspathContainer.java | 39 - .../ProcessClasspathContainerInitializer.java | 38 - .../tools/eclipse/plugins/process/plugin.xml | 30 - .../tools/eclipse/plugins/process/pom.xml | 151 - .../tools/eclipse/plugins/web20/LICENSE | 205 - .../eclipse/plugins/web20/META-INF/MANIFEST.MF | 32 - .../sca-contrib/tools/eclipse/plugins/web20/NOTICE | 12 - .../tools/eclipse/plugins/web20/build.properties | 23 - .../web20/classpath/Web20ClasspathContainer.java | 39 - .../Web20ClasspathContainerInitializer.java | 38 - .../tools/eclipse/plugins/web20/plugin.xml | 30 - .../tools/eclipse/plugins/web20/pom.xml | 151 - .../tools/eclipse/plugins/webservice/LICENSE | 205 - .../plugins/webservice/META-INF/MANIFEST.MF | 32 - .../tools/eclipse/plugins/webservice/NOTICE | 12 - .../eclipse/plugins/webservice/build.properties | 23 - .../classpath/WebServiceClasspathContainer.java | 39 - .../WebServiceClasspathContainerInitializer.java | 38 - .../tools/eclipse/plugins/webservice/plugin.xml | 30 - .../tools/eclipse/plugins/webservice/pom.xml | 151 - java/sca-contrib/tools/eclipse/pom.xml | 75 - .../tools/eclipse/site/updatesite/LICENSE | 205 - .../tools/eclipse/site/updatesite/NOTICE | 6 - .../eclipse/site/updatesite/etc/generate-p2.sh | 29 - .../tools/eclipse/site/updatesite/pom.xml | 145 - .../tools/eclipse/site/updatesite/site.xml | 90 - .../updatesite/src/main/assembly/updatesite.xml | 58 - .../tools/maven/maven-ant-generator/LICENSE | 205 - .../tools/maven/maven-ant-generator/NOTICE | 6 - .../tools/maven/maven-ant-generator/pom.xml | 64 - .../ant/generator/plugin/AntGeneratorMojo.java | 534 - .../tools/maven/maven-dependency-lister/LICENSE | 205 - .../tools/maven/maven-dependency-lister/NOTICE | 6 - .../tools/maven/maven-dependency-lister/README | 46 - .../tools/maven/maven-dependency-lister/pom.xml | 71 - .../lister/plugin/DependencyListerMojo.java | 198 - .../tools/maven/maven-incremental-build/LICENSE | 205 - .../tools/maven/maven-incremental-build/NOTICE | 6 - .../tools/maven/maven-incremental-build/pom.xml | 108 - .../build/plugin/IncrementalBuildMojo.java | 415 - .../tools/maven/maven-web-junit/LICENSE | 205 - .../sca-contrib/tools/maven/maven-web-junit/NOTICE | 6 - .../tools/maven/maven-web-junit/pom.xml | 52 - .../web/junit/plugin/WebJUnitGeneratorMojo.java | 181 - .../tools/sca/web/junit/plugin/WebJUnitMojo.java | 205 - java/sca-contrib/tools/runtime-inspector/LICENSE | 205 - java/sca-contrib/tools/runtime-inspector/NOTICE | 6 - java/sca-contrib/tools/runtime-inspector/pom.xml | 71 - .../sca/tools/inspector/AssemblyInspector.java | 64 - .../sca/tools/inspector/RegistryInspector.java | 66 - .../sca/tools/inspector/RuntimeInspector.java | 284 - .../src/test/java/calculator/AddService.java | 28 - .../src/test/java/calculator/AddServiceImpl.java | 35 - .../src/test/java/calculator/CalculatorClient.java | 48 - .../test/java/calculator/CalculatorService.java | 35 - .../java/calculator/CalculatorServiceImpl.java | 70 - .../src/test/java/calculator/DivideService.java | 28 - .../test/java/calculator/DivideServiceImpl.java | 35 - .../src/test/java/calculator/MultiplyService.java | 28 - .../test/java/calculator/MultiplyServiceImpl.java | 35 - .../src/test/java/calculator/SubtractService.java | 28 - .../test/java/calculator/SubtractServiceImpl.java | 35 - .../tools/inspector/RegistryInspectorTestCase.java | 68 - .../src/test/resources/Calculator.composite | 49 - java/sca-contrib/tools/sdo/java2wsdl/LICENSE | 205 - java/sca-contrib/tools/sdo/java2wsdl/NOTICE | 6 - java/sca-contrib/tools/sdo/java2wsdl/pom.xml | 180 - .../java2wsdl/generate/GenerationParameters.java | 423 - .../tools/java2wsdl/generate/Java2WSDL.java | 82 - .../java2wsdl/generate/Java2WSDLGenerator.java | 46 - .../generate/Java2WSDLGeneratorFactory.java | 89 - .../java2wsdl/generate/Java2WSDLGeneratorImpl.java | 221 - .../tools/java2wsdl/generate/SchemaBuilder.java | 613 - .../java2wsdl/generate/TuscanyJava2OMBuilder.java | 429 - .../generate/TuscanyJava2WSDLBuilder.java | 81 - .../generate/TuscanyJava2WSDLConstants.java | 56 - .../generate/TuscanyJava2WSDLOptionsValidator.java | 73 - .../java2wsdl/generate/TuscanySchemaGenerator.java | 348 - .../tools/java2wsdl/generate/TuscanyTypeTable.java | 220 - .../generate/TuscanyWSDLTypesGenerator.java | 370 - .../tools/java2wsdl/generate/WSDLGenEvent.java | 42 - .../tools/java2wsdl/generate/WSDLGenListener.java | 39 - .../tuscany/tools/java2wsdl/util/XMLNameUtil.java | 143 - .../src/main/resources/META-INF/LICENSE.txt | 202 - .../tools/java2wsdl/generate/CustomerValue.java | 41 - .../java2wsdl/generate/CustomerWithAccount.java | 49 - .../tools/java2wsdl/generate/ExampleService.java | 31 - .../generate/TuscanyJava2WSDLTestCase.java | 114 - .../tools/java2wsdl/generate/account/Account.java | 53 - .../java2wsdl/generate/customer/Customer.java | 29 - .../java2wsdl/generate/extra/GoldCustomer.java | 33 - .../java/org/soapinterop/CreditScoreDocLit.java | 24 - .../src/test/resources/AccountService.wsdl | 242 - .../src/test/resources/CreditScoreDocLit.wsdl | 76 - .../java2wsdl/src/test/resources/helloworld.wsdl | 121 - .../java2wsdl/src/test/resources/interopdoc.wsdl | 180 - .../sdo/java2wsdl/src/test/resources/sequences.xsd | 100 - java/sca-contrib/tools/sdo/pom.xml | 55 - java/sca-contrib/tools/sdo/wsdl2java/LICENSE | 205 - java/sca-contrib/tools/sdo/wsdl2java/NOTICE | 6 - java/sca-contrib/tools/sdo/wsdl2java/pom.xml | 225 - .../wsdl2java/generate/JavaInterfaceEmitter.java | 224 - .../wsdl2java/generate/JavaInterfaceGenerator.java | 327 - .../generate/RemotableInterfaceWritter.java | 53 - .../generate/SDODataBindingCodegenExtension.java | 63 - .../generate/SDODataBindingTypeMappingEntry.java | 51 - .../wsdl2java/generate/WSDL2JavaGenerator.java | 529 - .../tuscany/tools/wsdl2java/util/XMLNameUtil.java | 143 - .../src/main/resources/META-INF/LICENSE.txt | 202 - .../main/resources/RemotableInterfaceTemplate.xsl | 130 - .../generate/WSDL2JavaGeneratorTestCase.java | 80 - .../java/org/soapinterop/CreditScoreDocLit.java | 25 - .../src/test/resources/AccountService.wsdl | 242 - .../test/resources/AccountServiceWithFault.wsdl | 475 - .../src/test/resources/CreditScoreDocLit.wsdl | 76 - .../wsdl2java/src/test/resources/helloworld.wsdl | 121 - .../wsdl2java/src/test/resources/interopdoc.wsdl | 180 - .../sdo/wsdl2java/src/test/resources/sequences.xsd | 100 - java/sca-contrib/tutorials/pom.xml | 46 - java/sca-contrib/tutorials/store/README | 29 - java/sca-contrib/tutorials/store/Tutorial.pdf | Bin 309524 -> 0 bytes .../store/assets/META-INF/sca-contribution.xml | 27 - java/sca-contrib/tutorials/store/assets/pom.xml | 89 - .../tutorials/store/assets/services/Cart.java | 28 - .../tutorials/store/assets/services/Catalog.java | 27 - .../store/assets/services/CurrencyConverter.java | 29 - .../assets/services/CurrencyConverterImpl.java | 38 - .../store/assets/services/FruitsCatalogImpl.java | 52 - .../tutorials/store/assets/services/Item.java | 66 - .../store/assets/services/ShoppingCartImpl.java | 112 - .../tutorials/store/assets/services/Total.java | 29 - .../assets/services/VegetablesCatalogImpl.java | 42 - .../assets/services/db/ShoppingCartTableImpl.java | 171 - .../tutorials/store/assets/services/db/cart.sql | 27 - .../assets/services/map/FruitsCatalogImpl.java | 56 - .../assets/services/market/MarketCatalogImpl.java | 66 - .../assets/services/merger/MergedCatalogImpl.java | 66 - .../tutorials/store/assets/tutorial.html | 37 - .../tutorials/store/assets/uiservices/store.html | 159 - .../tutorials/store/catalog-ejb/pom.xml | 107 - .../src/main/java/services/ejb/CatalogEJBHome.java | 28 - .../main/java/services/ejb/CatalogEJBRemote.java | 28 - .../src/main/java/services/ejb/Vegetable.java | 54 - .../ejb/VegetablesCatalogEJBSessionBean.java | 62 - .../src/main/resources/META-INF/ejb-jar.xml | 35 - .../src/main/resources/META-INF/openejb-jar.xml | 78 - .../main/resources/META-INF/sca-contribution.xml | 24 - .../resources/VegetablesCatalogEJB.componentType | 26 - .../src/main/resources/catalog-ejb.composite | 31 - .../test/java/client/CatalogEJBClientTestCase.java | 67 - .../java/org/omg/stub/javax/ejb/_EJBHome_Stub.java | 223 - .../org/omg/stub/javax/ejb/_EJBObject_Stub.java | 252 - .../java/org/omg/stub/javax/ejb/_Handle_Stub.java | 89 - .../org/omg/stub/javax/ejb/_HomeHandle_Stub.java | 89 - .../java/services/ejb/_CatalogEJBHome_Stub.java | 269 - .../java/services/ejb/_CatalogEJBRemote_Stub.java | 292 - .../META-INF/sca-contribution.xml | 25 - .../catalog-mediation/catalog-mediation.composite | 34 - .../tutorials/store/catalog-mediation/pom.xml | 91 - .../mediation/VegetablesCatalogMediationImpl.java | 51 - .../store/catalog-webapp/catalog-web.composite | 43 - .../tutorials/store/catalog-webapp/pom.xml | 110 - .../webapp/META-INF/sca-contribution.xml | 24 - .../store/catalog-webapp/webapp/WEB-INF/web.xml | 41 - .../store/catalog-webapp/webapp/catalog.jsp | 52 - .../tutorials/store/domain/cloud.composite | 36 - .../store/domain/cloud/CatalogEJBNode.composite | 35 - .../domain/cloud/CatalogMediationNode.composite | 33 - .../store/domain/cloud/CatalogWebAppNode.composite | 36 - .../store/domain/cloud/CatalogsNode.composite | 33 - .../store/domain/cloud/CurrencyNode.composite | 33 - .../store/domain/cloud/StoreClientNode.composite | 33 - .../store/domain/cloud/StoreDBNode.composite | 35 - .../store/domain/cloud/StoreEUNode.composite | 36 - .../store/domain/cloud/StoreMarketNode.composite | 35 - .../store/domain/cloud/StoreMashupNode.composite | 35 - .../store/domain/cloud/StoreMergerNode.composite | 35 - .../store/domain/cloud/StoreNode.composite | 35 - .../store/domain/cloud/StoreSupplierNode.composite | 36 - .../tutorials/store/domain/domain.composite | 36 - .../domain/launch/LaunchCatalogMediationNode.java | 28 - .../store/domain/launch/LaunchCatalogsNode.java | 28 - .../store/domain/launch/LaunchCurrencyNode.java | 28 - .../store/domain/launch/LaunchStoreDBNode.java | 28 - .../store/domain/launch/LaunchStoreEUNode.java | 28 - .../store/domain/launch/LaunchStoreMarketNode.java | 28 - .../store/domain/launch/LaunchStoreMashupNode.java | 28 - .../store/domain/launch/LaunchStoreMergerNode.java | 28 - .../store/domain/launch/LaunchStoreNode.java | 28 - .../domain/launch/LaunchStoreSupplierNode.java | 28 - .../domain/launch/LaunchTutorialDomainManager.java | 33 - java/sca-contrib/tutorials/store/domain/pom.xml | 172 - .../tutorials/store/domain/workspace.xml | 35 - java/sca-contrib/tutorials/store/pom.xml | 59 - .../store-client/META-INF/sca-contribution.xml | 23 - .../store/store-client/client/Shopper.java | 29 - .../store/store-client/client/ShopperImpl.java | 63 - .../store-client/launch/LaunchStoreClientNode.java | 43 - .../tutorials/store/store-client/pom.xml | 123 - .../store/store-client/services/Cart.java | 28 - .../store/store-client/services/Catalog.java | 27 - .../store/store-client/services/Item.java | 66 - .../store/store-client/services/Total.java | 29 - .../store/store-client/store-client.composite | 38 - .../store/store-db/META-INF/sca-contribution.xml | 27 - java/sca-contrib/tutorials/store/store-db/pom.xml | 125 - .../tutorials/store/store-db/store-db.composite | 75 - .../store/store-eu/META-INF/sca-contribution.xml | 26 - java/sca-contrib/tutorials/store/store-eu/pom.xml | 111 - .../tutorials/store/store-eu/store-eu.composite | 70 - .../store/store-eu/uiservices/store-eu.html | 162 - .../store-market/META-INF/sca-contribution.xml | 26 - .../tutorials/store/store-market/build.xml | 54 - .../tutorials/store/store-market/pom.xml | 77 - .../store/store-market/store-market.composite | 68 - .../store-mashup/META-INF/sca-contribution.xml | 25 - .../store/store-mashup/build-openajax.xml | 86 - .../store/store-mashup/gadget/map-gadget.html | 50 - .../store/store-mashup/gadget/store-gadget.html | 166 - .../store/store-mashup/map-gadget.composite | 32 - .../store/store-mashup/mashup/store-mash.html | 70 - .../tutorials/store/store-mashup/pom.xml | 136 - .../store/store-mashup/store-gadget.composite | 64 - .../store/store-mashup/store-mashup.composite | 48 - .../store-merger/META-INF/sca-contribution.xml | 26 - .../tutorials/store/store-merger/pom.xml | 77 - .../store/store-merger/store-merger.composite | 75 - .../store-supplier/META-INF/sca-contribution.xml | 27 - .../tutorials/store/store-supplier/pom.xml | 126 - .../store/store-supplier/store-supplier.composite | 77 - .../store/store-test/META-INF/sca-contribution.xml | 27 - .../tutorials/store/store-test/client/Shopper.java | 29 - .../sca-contrib/tutorials/store/store-test/pom.xml | 201 - .../store-test/test/StoreSupplierTestCase.java | 89 - .../store/store/META-INF/sca-contribution.xml | 25 - java/sca-contrib/tutorials/store/store/pom.xml | 77 - .../tutorials/store/store/store.composite | 64 - .../web-services/META-INF/sca-contribution.xml | 25 - .../store/web-services/catalogs.composite | 43 - .../store/web-services/currency.composite | 32 - .../tutorials/store/web-services/pom.xml | 77 - .../cart-amazon/amazon/cart/AmazonCart.java | 44 - .../cart-amazon/amazon/cart/AmazonCart.wsdl | 451 - .../cart-amazon/amazon/cart/AmazonCartImpl.java | 120 - .../www-services/cart-amazon/amazoncart.composite | 33 - .../cart-amazon/launch/LaunchAmazonCart.java | 52 - .../store/www-services/cart-amazon/pom.xml | 215 - .../cart-amazon/test/AmazonCartTestCase.java | 99 - .../www-services/catalog-amazon/cart-amazon/README | 77 - .../catalog-amazon/cart-amazon/build.xml | 74 - .../cart-amazon/lib/AWS2007_05_14.jar | Bin 297809 -> 0 bytes .../catalog-amazon/cart-amazon/shoppingstore.png | Bin 382749 -> 0 bytes .../shoppingstore/server/ShoppingStoreServer.java | 25 - .../shoppingstore/services/cart/CartService.java | 35 - .../services/cart/CartServiceImpl.java | 144 - .../services/proxy/ShoppingStoreService.java | 30 - .../services/proxy/ShoppingStoreServiceImpl.java | 49 - .../src/main/resources/shoppingstore.composite | 20 - .../src/main/resources/wsdl/shoppingstore.wsdl | 3023 ----- .../store/www-services/catalog-amazon/pom.xml | 95 - .../src/main/java/catalog/CatalogClient.java | 37 - .../src/main/java/catalog/CatalogService.java | 28 - .../java/catalog/amazon/AmazonCatalogService.java | 31 - .../catalog/amazon/AmazonCatalogServiceImpl.java | 94 - .../main/java/catalog/ebay/EBayCatalogService.java | 32 - .../java/catalog/ebay/EBayCatalogServiceImpl.java | 99 - .../java/catalog/util/NamespaceContextImpl.java | 126 - .../src/main/java/catalog/util/XPathHelper.java | 55 - .../src/main/resources/catalog.composite | 55 - .../main/resources/wsdl/AWSECommerceService.wsdl | 3244 ----- .../src/main/resources/wsdl/ShoppingService.wsdl | 12607 ------------------- .../www-services/catalog-amazon/store-db/pom.xml | 149 - .../src/main/java/launch/LaunchCatalog.java | 34 - .../store-db/src/main/java/services/Catalog.java | 27 - .../src/main/java/services/CatalogImpl.java | 120 - .../src/main/java/services/CurrencyConverter.java | 29 - .../store-db/src/main/java/util/CreateDB.java | 79 - .../resources/store-catalog-database.composite | 31 - .../www-services/catalog-amazon/store-db/store.sql | 37 - .../tutorials/store/www-services/pom.xml | 46 - java/sca-contrib/vtest/assembly/component/pom.xml | 49 - .../sca/vtest/assembly/component/AService.java | 31 - .../sca/vtest/assembly/component/BService.java | 29 - .../sca/vtest/assembly/component/CService.java | 28 - .../assembly/component/impl/AServiceImpl.java | 49 - .../assembly/component/impl/BServiceImpl.java | 40 - .../assembly/component/impl/CServiceImpl.java | 31 - .../src/main/resources/component.composite | 41 - .../src/main/resources/nonuniquename.composite | 33 - .../src/main/resources/serviceelement.composite | 42 - .../main/resources/servicewithbinding.composite | 33 - .../main/resources/servicewithinterface.composite | 32 - .../src/main/resources/zerocomponents.composite | 26 - .../src/main/resources/zeroimplelements.composite | 38 - .../assembly/component/ComponentTestCase.java | 150 - java/sca-contrib/vtest/assembly/composite/pom.xml | 49 - .../sca/vtest/assembly/composite/AService.java | 31 - .../sca/vtest/assembly/composite/BService.java | 29 - .../sca/vtest/assembly/composite/CService.java | 28 - .../assembly/composite/impl/AServiceImpl.java | 49 - .../assembly/composite/impl/BServiceImpl.java | 40 - .../assembly/composite/impl/CServiceImpl.java | 31 - .../src/main/resources/composite.composite | 41 - .../assembly/composite/CompositeTestCase.java | 56 - java/sca-contrib/vtest/assembly/ctypefile/pom.xml | 49 - .../sca/vtest/assembly/ctypefile/AService.java | 30 - .../sca/vtest/assembly/ctypefile/BService.java | 29 - .../assembly/ctypefile/impl/AServiceImpl.java | 53 - .../assembly/ctypefile/impl/BServiceImpl.java | 37 - .../ctypefile/impl/AServiceImpl.componentType | 30 - .../ctypefile/impl/BServiceImpl.componentType | 28 - .../src/main/resources/typefile.composite | 40 - .../ctypefile/CompomnentTypeFileTestCase.java | 111 - java/sca-contrib/vtest/assembly/pom.xml | 70 - .../java-api/annotations/conversational/pom.xml | 46 - .../annotations/conversational/AService.java | 30 - .../annotations/conversational/B1Service.java | 29 - .../annotations/conversational/B2Service.java | 32 - .../conversational/impl/AServiceImpl.java | 47 - .../conversational/impl/B1ServiceImpl.java | 38 - .../conversational/impl/B2ServiceImpl.java | 40 - .../src/main/resources/conversation.composite | 40 - .../ConversationAnnotationTestCase.java | 91 - .../annotations/conversationattributes/pom.xml | 53 - .../conversationattributes/AService.java | 30 - .../conversationattributes/B2Service.java | 32 - .../conversationattributes/BService.java | 32 - .../conversationattributes/CService.java | 30 - .../conversationattributes/impl/AServiceImpl.java | 80 - .../conversationattributes/impl/B2ServiceImpl.java | 42 - .../conversationattributes/impl/BServiceImpl.java | 42 - .../conversationattributes/impl/CServiceImpl.java | 37 - .../security/ACallbackHandler.java | 50 - .../security/JaasLoginModule.java | 179 - .../security/UserPrincipal.java | 66 - .../src/main/resources/AJass.config | 3 - .../src/main/resources/conversation.composite | 46 - .../src/main/resources/definitions.xml | 34 - .../src/main/resources/singleprincipal.composite | 38 - .../ConversationAttributesTestCase.java | 93 - .../SinglePricipalTestCase.java | 70 - .../vtest/java-api/annotations/destroy/pom.xml | 45 - .../javaapi/annotations/destroy/AService.java | 29 - .../annotations/destroy/impl/AServiceErr1Impl.java | 39 - .../annotations/destroy/impl/AServiceErr2Impl.java | 39 - .../annotations/destroy/impl/AServiceErr3Impl.java | 40 - .../annotations/destroy/impl/AServiceErr4Impl.java | 39 - .../annotations/destroy/impl/AServiceImpl.java | 38 - .../src/main/resources/err1/AServiceErr1.composite | 28 - .../src/main/resources/err2/AServiceErr2.composite | 28 - .../src/main/resources/err3/AServiceErr3.composite | 28 - .../src/main/resources/err4/AServiceErr4.composite | 28 - .../src/main/resources/proper/AService.composite | 28 - .../destroy/DestroyAnnotationTestCase.java | 159 - .../java-api/annotations/endsconversation/pom.xml | 46 - .../annotations/endsconversation/AService.java | 32 - .../annotations/endsconversation/BService.java | 37 - .../endsconversation/impl/AServiceImpl.java | 70 - .../endsconversation/impl/BServiceImpl.java | 59 - .../src/main/resources/endsconversation.composite | 35 - .../endsconversation/EndsConversationTestCase.java | 112 - .../vtest/java-api/annotations/init/pom.xml | 45 - .../vtest/javaapi/annotations/init/AService.java | 30 - .../annotations/init/impl/AServiceErr1Impl.java | 43 - .../annotations/init/impl/AServiceErr2Impl.java | 43 - .../annotations/init/impl/AServiceErr3Impl.java | 44 - .../annotations/init/impl/AServiceErr4Impl.java | 43 - .../annotations/init/impl/AServiceImpl.java | 53 - .../src/main/resources/err1/AServiceErr1.composite | 28 - .../src/main/resources/err2/AServiceErr2.composite | 28 - .../src/main/resources/err3/AServiceErr3.composite | 28 - .../src/main/resources/err4/AServiceErr4.composite | 28 - .../src/main/resources/proper/AService.composite | 33 - .../annotations/init/InitAnnotationTestCase.java | 167 - .../vtest/java-api/annotations/oneway/pom.xml | 46 - .../vtest/javaapi/annotations/oneway/AService.java | 31 - .../vtest/javaapi/annotations/oneway/BService.java | 28 - .../annotations/oneway/impl/AServiceImpl.java | 37 - .../annotations/oneway/impl/BServiceImpl.java | 43 - .../oneway/src/main/resources/oneway.composite | 35 - .../oneway/OneWayAnnotationTestCase.java | 78 - .../sca-contrib/vtest/java-api/annotations/pom.xml | 69 - .../vtest/java-api/annotations/property/pom.xml | 46 - .../javaapi/annotations/property/AService.java | 82 - .../annotations/property/AnotherAService.java | 48 - .../javaapi/annotations/property/BService.java | 32 - .../javaapi/annotations/property/CService.java | 38 - .../javaapi/annotations/property/impl/AObject.java | 35 - .../annotations/property/impl/AServiceImpl.java | 240 - .../property/impl/AnotherAServiceImpl.java | 116 - .../annotations/property/impl/BServiceImpl.java | 32 - .../annotations/property/impl/CServiceImpl1.java | 87 - .../annotations/property/impl/CServiceImpl2.java | 87 - .../annotations/property/impl/CServiceImpl3.java | 87 - .../annotations/property/impl/CServiceImpl4.java | 88 - .../annotations/property/impl/CServiceImpl5.java | 88 - .../annotations/property/impl/CServiceImpl6.java | 88 - .../property/src/main/resources/property.composite | 143 - .../property/PropertyAnnotationTestCase.java | 299 - .../vtest/java-api/annotations/reference/pom.xml | 46 - .../javaapi/annotations/reference/AService.java | 55 - .../javaapi/annotations/reference/BService.java | 31 - .../annotations/reference/impl/AServiceImpl.java | 215 - .../reference/impl/AUnannotatedServiceImpl.java | 141 - .../annotations/reference/impl/BServiceImpl.java | 32 - .../reference/src/main/resources/ab.composite | 51 - .../reference/ReferenceAnnotationTestCase.java | 229 - .../vtest/java-api/annotations/scope/pom.xml | 46 - .../vtest/javaapi/annotations/scope/AService.java | 29 - .../vtest/javaapi/annotations/scope/BService.java | 40 - .../vtest/javaapi/annotations/scope/CService.java | 40 - .../vtest/javaapi/annotations/scope/DService.java | 43 - .../vtest/javaapi/annotations/scope/FService.java | 43 - .../vtest/javaapi/annotations/scope/GService.java | 35 - .../vtest/javaapi/annotations/scope/HService.java | 36 - .../vtest/javaapi/annotations/scope/IService.java | 48 - .../vtest/javaapi/annotations/scope/JService.java | 33 - .../vtest/javaapi/annotations/scope/KService.java | 33 - .../vtest/javaapi/annotations/scope/LService.java | 41 - .../vtest/javaapi/annotations/scope/MService.java | 33 - .../vtest/javaapi/annotations/scope/NService.java | 33 - .../vtest/javaapi/annotations/scope/OService.java | 41 - .../annotations/scope/impl/AServiceImpl.java | 32 - .../annotations/scope/impl/BServiceImpl.java | 112 - .../annotations/scope/impl/CServiceImpl.java | 114 - .../annotations/scope/impl/DServiceImpl.java | 116 - .../annotations/scope/impl/FServiceImpl.java | 116 - .../annotations/scope/impl/GServiceImpl.java | 75 - .../annotations/scope/impl/HServiceImpl.java | 86 - .../annotations/scope/impl/IServiceImpl.java | 131 - .../annotations/scope/impl/JServiceImpl.java | 78 - .../annotations/scope/impl/KServiceImpl.java | 80 - .../annotations/scope/impl/LServiceImpl.java | 83 - .../annotations/scope/impl/MServiceImpl.java | 81 - .../annotations/scope/impl/NServiceImpl.java | 85 - .../annotations/scope/impl/OServiceImpl.java | 83 - .../scope/src/main/resources/scope.composite | 110 - .../annotations/scope/ScopeAnnotationTestCase.java | 476 - .../vtest/java-api/annotations/service/pom.xml | 46 - .../javaapi/annotations/service/AService.java | 34 - .../javaapi/annotations/service/BService.java | 33 - .../javaapi/annotations/service/CService.java | 31 - .../javaapi/annotations/service/DService1.java | 28 - .../javaapi/annotations/service/DService2.java | 28 - .../javaapi/annotations/service/DService3.java | 28 - .../javaapi/annotations/service/EService.java | 30 - .../javaapi/annotations/service/FService.java | 30 - .../javaapi/annotations/service/GService1.java | 30 - .../javaapi/annotations/service/GService2.java | 26 - .../javaapi/annotations/service/HService.java | 50 - .../javaapi/annotations/service/IService.java | 54 - .../javaapi/annotations/service/impl/AObject.java | 33 - .../annotations/service/impl/AServiceImpl.java | 37 - .../annotations/service/impl/BServiceImpl.java | 111 - .../annotations/service/impl/CServiceImpl.java | 34 - .../annotations/service/impl/DServiceImpl.java | 41 - .../annotations/service/impl/EServiceImpl.java | 32 - .../annotations/service/impl/FServiceImpl.java | 37 - .../annotations/service/impl/FServiceImpl2.java | 26 - .../annotations/service/impl/GServiceImpl.java | 42 - .../annotations/service/impl/HServiceImpl.java | 105 - .../annotations/service/impl/IServiceImpl.java | 107 - .../service/src/main/resources/service.composite | 82 - .../service/ServiceAnnotationTestCase.java | 335 - .../vtest/java-api/apis/callablereference/pom.xml | 45 - .../javaapi/apis/callablereference/AComponent.java | 38 - .../javaapi/apis/callablereference/BCallback.java | 26 - .../javaapi/apis/callablereference/BComponent.java | 38 - .../callablereference/impl/AComponentImpl.java | 104 - .../callablereference/impl/BComponentImpl.java | 70 - .../src/main/resources/callablereference.composite | 34 - .../CallableReferenceTestCase.java | 118 - .../vtest/java-api/apis/componentcontext/pom.xml | 45 - .../javaapi/apis/componentcontext/AComponent.java | 42 - .../javaapi/apis/componentcontext/BComponent.java | 29 - .../javaapi/apis/componentcontext/BService.java | 34 - .../javaapi/apis/componentcontext/CService.java | 29 - .../javaapi/apis/componentcontext/DComponent.java | 29 - .../apis/componentcontext/impl/AComponentImpl.java | 124 - .../impl/AUnannotatedComponentImpl.java | 121 - .../apis/componentcontext/impl/BComponentImpl.java | 52 - .../apis/componentcontext/impl/DComponentImpl.java | 32 - .../src/main/resources/ab.composite | 47 - .../componentcontext/ComponentContextTestCase.java | 191 - .../vtest/java-api/apis/conversation/pom.xml | 45 - .../javaapi/apis/conversation/AComponent.java | 34 - .../javaapi/apis/conversation/BComponent.java | 39 - .../apis/conversation/impl/AComponentImpl.java | 73 - .../apis/conversation/impl/BComponentImpl.java | 78 - .../src/main/resources/conversation.composite | 34 - .../apis/conversation/ConversationTestCase.java | 70 - .../vtest/java-api/apis/exception/pom.xml | 45 - .../vtest/javaapi/apis/exception/AComponent.java | 40 - .../vtest/javaapi/apis/exception/BCallback.java | 26 - .../vtest/javaapi/apis/exception/BComponent.java | 35 - .../vtest/javaapi/apis/exception/CComponent.java | 34 - .../vtest/javaapi/apis/exception/DComponent.java | 33 - .../vtest/javaapi/apis/exception/DException.java | 30 - .../apis/exception/impl/AComponentImpl.java | 128 - .../apis/exception/impl/BComponentImpl.java | 64 - .../apis/exception/impl/CComponentImpl.java | 50 - .../apis/exception/impl/DComponentImpl.java | 37 - .../src/main/resources/exception.composite | 44 - .../javaapi/apis/exception/ExceptionTestCase.java | 132 - java/sca-contrib/vtest/java-api/apis/pom.xml | 64 - .../vtest/java-api/apis/requestcontext/pom.xml | 45 - .../javaapi/apis/requestcontext/AComponent.java | 35 - .../javaapi/apis/requestcontext/BCallback.java | 27 - .../javaapi/apis/requestcontext/BComponent.java | 35 - .../apis/requestcontext/impl/AComponentImpl.java | 102 - .../apis/requestcontext/impl/BComponentImpl.java | 61 - .../src/main/resources/requestcontext.composite | 34 - .../requestcontext/RequestContextTestCase.java | 109 - .../vtest/java-api/apis/servicereference/pom.xml | 45 - .../javaapi/apis/servicereference/AComponent.java | 37 - .../javaapi/apis/servicereference/BCallback.java | 26 - .../javaapi/apis/servicereference/BComponent.java | 38 - .../javaapi/apis/servicereference/CComponent.java | 27 - .../apis/servicereference/impl/AComponentImpl.java | 119 - .../apis/servicereference/impl/BComponentImpl.java | 74 - .../apis/servicereference/impl/CComponentImpl.java | 38 - .../apis/servicereference/impl/TestObject.java | 37 - .../src/main/resources/servicereference.composite | 39 - .../servicereference/ServiceReferenceTestCase.java | 106 - .../vtest/java-api/conversation/callback/pom.xml | 46 - .../javaapi/conversation/callback/AService.java | 30 - .../conversation/callback/AServiceCallback.java | 33 - .../javaapi/conversation/callback/BService.java | 40 - .../conversation/callback/BServiceCallback.java | 33 - .../javaapi/conversation/callback/CService.java | 39 - .../javaapi/conversation/callback/Utilities.java | 32 - .../callback/accessing/AServiceCallback.java | 33 - .../conversation/callback/accessing/BService.java | 41 - .../callback/accessing/impl/AServiceImpl.java | 67 - .../callback/accessing/impl/BServiceImpl.java | 60 - .../callback/custom/AServiceCallback.java | 33 - .../conversation/callback/custom/BService.java | 38 - .../callback/custom/CustomCallback.java | 35 - .../callback/custom/impl/AServiceImpl.java | 61 - .../callback/custom/impl/BServiceImpl.java | 49 - .../callback/custom/impl/CustomCallbackImpl.java | 38 - .../conversation/callback/id/AServiceCallback.java | 33 - .../javaapi/conversation/callback/id/BService.java | 41 - .../callback/id/impl/AServiceImpl.java | 73 - .../callback/id/impl/BServiceImpl.java | 60 - .../conversation/callback/impl/AServiceImpl.java | 61 - .../conversation/callback/impl/BServiceImpl.java | 73 - .../conversation/callback/impl/CServiceImpl.java | 49 - .../callback/local/AServiceCallback.java | 31 - .../conversation/callback/local/BService.java | 37 - .../callback/local/BServiceCallback.java | 31 - .../conversation/callback/local/CService.java | 37 - .../callback/local/impl/AServiceImpl.java | 61 - .../callback/local/impl/BServiceImpl.java | 73 - .../callback/local/impl/CServiceImpl.java | 49 - .../conversation/callback/mixed/CService.java | 38 - .../callback/mixed/impl/BServiceImpl.java | 73 - .../callback/mixed/impl/CServiceImpl.java | 49 - .../callback/multi/AServiceCallback.java | 33 - .../callback/multi/AServiceCallback2.java | 33 - .../conversation/callback/multi/BService.java | 39 - .../conversation/callback/multi/BService2.java | 39 - .../callback/multi/impl/AServiceImpl.java | 79 - .../callback/multi/impl/BServiceImpl.java | 64 - .../callback/stateless/BServiceCallback.java | 31 - .../conversation/callback/stateless/CService.java | 39 - .../callback/stateless/impl/BServiceImpl.java | 73 - .../callback/stateless/impl/BServiceImpl2.java | 81 - .../callback/stateless/impl/BServiceImpl3.java | 74 - .../callback/stateless/impl/CServiceImpl.java | 49 - .../main/resources/callback-accessing.composite | 34 - .../src/main/resources/callback-custom.composite | 40 - .../src/main/resources/callback-id.composite | 34 - .../src/main/resources/callback-local.composite | 40 - .../src/main/resources/callback-mixed.composite | 40 - .../src/main/resources/callback-multi.composite | 35 - .../callback-stateless-callbackfieldnull.composite | 40 - .../callback-stateless-callbackid.composite | 40 - .../main/resources/callback-stateless.composite | 41 - .../callback/src/main/resources/callback.composite | 40 - .../conversation/callback/CallbackTestCase.java | 377 - .../vtest/java-api/conversation/id/pom.xml | 46 - .../vtest/javaapi/conversation/id/AService.java | 39 - .../vtest/javaapi/conversation/id/BService.java | 41 - .../vtest/javaapi/conversation/id/CService.java | 37 - .../conversation/id/CustomConversationId.java | 54 - .../javaapi/conversation/id/impl/AServiceImpl.java | 69 - .../javaapi/conversation/id/impl/BServiceImpl.java | 65 - .../javaapi/conversation/id/impl/CServiceImpl.java | 56 - .../src/main/resources/conversation-id.composite | 40 - .../conversation/id/ConversationIDTestCase.java | 118 - .../vtest/java-api/conversation/lifetime/pom.xml | 46 - .../javaapi/conversation/lifetime/AService.java | 56 - .../conversation/lifetime/AServiceCallback.java | 35 - .../javaapi/conversation/lifetime/BService.java | 47 - .../lifetime/BServiceBusinessException.java | 53 - .../javaapi/conversation/lifetime/CService.java | 34 - .../javaapi/conversation/lifetime/DService.java | 38 - .../conversation/lifetime/impl/AServiceImpl.java | 197 - .../conversation/lifetime/impl/BServiceImpl.java | 64 - .../conversation/lifetime/impl/CServiceImpl.java | 40 - .../conversation/lifetime/impl/DServiceImpl.java | 78 - .../lifetime/src/main/resources/lifetime.composite | 45 - .../conversation/lifetime/LifetimeTestCase.java | 216 - .../vtest/java-api/conversation/parameters/pom.xml | 46 - .../javaapi/conversation/parameters/AService.java | 28 - .../javaapi/conversation/parameters/BService.java | 34 - .../javaapi/conversation/parameters/CService.java | 32 - .../conversation/parameters/impl/AServiceImpl.java | 47 - .../conversation/parameters/impl/BServiceImpl.java | 40 - .../conversation/parameters/impl/CServiceImpl.java | 44 - .../src/main/resources/parameters.composite | 40 - .../parameters/ConversationParametersTestCase.java | 69 - .../vtest/java-api/conversation/pom.xml | 63 - java/sca-contrib/vtest/java-api/pom.xml | 70 - java/sca-contrib/vtest/pom.xml | 56 - java/sca-contrib/vtest/processcomments.rb | 198 - java/sca-contrib/vtest/utilities/pom.xml | 48 - .../tuscany/sca/vtest/utilities/ServiceFinder.java | 104 - .../vtest/wsbinding/nowsdl/defaultbinding/pom.xml | 58 - .../wsbinding/nowsdl/defaultbinding/AService.java | 37 - .../wsbinding/nowsdl/defaultbinding/BService.java | 35 - .../wsbinding/nowsdl/defaultbinding/CService.java | 37 - .../wsbinding/nowsdl/defaultbinding/DService.java | 45 - .../nowsdl/defaultbinding/impl/AServiceImpl.java | 51 - .../nowsdl/defaultbinding/impl/BServiceImpl.java | 44 - .../nowsdl/defaultbinding/impl/CServiceImpl.java | 48 - .../nowsdl/defaultbinding/impl/DServiceImpl.java | 70 - .../src/main/resources/nowsdl.composite | 61 - .../NoWsdlDefaultBindingTestCase.java | 112 - .../wsbinding/nowsdl/multisoapbindings/pom.xml | 58 - .../nowsdl/multisoapbindings/AService.java | 37 - .../nowsdl/multisoapbindings/BService.java | 35 - .../nowsdl/multisoapbindings/CService.java | 37 - .../nowsdl/multisoapbindings/DService.java | 45 - .../multisoapbindings/impl/AServiceImpl.java | 51 - .../multisoapbindings/impl/BServiceImpl.java | 44 - .../multisoapbindings/impl/CServiceImpl.java | 48 - .../multisoapbindings/impl/DServiceImpl.java | 70 - .../resources/nowsdlmultisoapbindings.composite | 135 - .../multisoapbindings/GeneratedWSDLTestCase.java | 162 - .../NoWsdlMultiSoapBindingsTestCase.java | 213 - java/sca-contrib/vtest/wsbinding/nowsdl/pom.xml | 69 - .../vtest/wsbinding/nowsdl/promoted/pom.xml | 58 - .../vtest/wsbinding/nowsdl/promoted/AService.java | 37 - .../vtest/wsbinding/nowsdl/promoted/BService.java | 35 - .../wsbinding/nowsdl/promoted/BServiceSOAP.java | 35 - .../wsbinding/nowsdl/promoted/BServiceSOAP11.java | 35 - .../wsbinding/nowsdl/promoted/BServiceSOAP12.java | 35 - .../vtest/wsbinding/nowsdl/promoted/CService.java | 37 - .../vtest/wsbinding/nowsdl/promoted/DService.java | 45 - .../nowsdl/promoted/impl/AServiceImpl.java | 51 - .../nowsdl/promoted/impl/BServiceImpl.java | 44 - .../nowsdl/promoted/impl/BServiceSOAP11Impl.java | 44 - .../nowsdl/promoted/impl/BServiceSOAP12Impl.java | 44 - .../nowsdl/promoted/impl/BServiceSOAPImpl.java | 44 - .../nowsdl/promoted/impl/CServiceImpl.java | 48 - .../nowsdl/promoted/impl/DServiceImpl.java | 70 - .../src/main/resources/nowsdlpromoted.composite | 246 - .../nowsdl/promoted/NoWsdlPromoted1TestCase.java | 85 - .../nowsdl/promoted/NoWsdlPromoted2TestCase.java | 118 - .../vtest/wsbinding/nowsdl/soapversion/pom.xml | 58 - .../wsbinding/nowsdl/soapversion/AService.java | 37 - .../wsbinding/nowsdl/soapversion/BService.java | 35 - .../wsbinding/nowsdl/soapversion/BServiceSOAP.java | 35 - .../nowsdl/soapversion/BServiceSOAP11.java | 35 - .../nowsdl/soapversion/BServiceSOAP12.java | 35 - .../wsbinding/nowsdl/soapversion/CService.java | 37 - .../wsbinding/nowsdl/soapversion/DService.java | 45 - .../nowsdl/soapversion/impl/AServiceImpl.java | 51 - .../nowsdl/soapversion/impl/BServiceImpl.java | 44 - .../soapversion/impl/BServiceSOAP11Impl.java | 44 - .../soapversion/impl/BServiceSOAP12Impl.java | 44 - .../nowsdl/soapversion/impl/BServiceSOAPImpl.java | 44 - .../nowsdl/soapversion/impl/CServiceImpl.java | 48 - .../nowsdl/soapversion/impl/DServiceImpl.java | 70 - .../src/main/resources/nowsdlsoapversion.composite | 205 - .../nowsdl/soapversion/GeneratedWSDLTestCase.java | 438 - .../soapversion/NoWsdlNoSoapVersionTestCase.java | 84 - .../soapversion/NoWsdlSoapVersionTestCase.java | 121 - java/sca-contrib/vtest/wsbinding/pom.xml | 68 - java/sca-contrib/vtest/wsbinding/service/pom.xml | 58 - .../sca/vtest/wsbinding/AClientService.java | 29 - .../tuscany/sca/vtest/wsbinding/AService.java | 29 - .../vtest/wsbinding/impl/AClientServiceImpl.java | 38 - .../sca/vtest/wsbinding/impl/AServiceImpl.java | 33 - .../service/src/main/resources/aservice.wsdl | 139 - .../resources/endpoint-uri-resolution.composite | 103 - .../src/main/resources/endpointreference.composite | 40 - .../src/main/resources/wsdlbinding.composite | 45 - .../src/main/resources/wsdlendpoint.composite | 37 - .../service/src/main/resources/wsdlport.composite | 43 - .../src/main/resources/wsdlservice.composite | 43 - .../vtest/wsbinding/EndpointReferenceTestCase.java | 67 - .../wsbinding/EndpointUriResolutionTestCase.java | 209 - .../sca/vtest/wsbinding/WsdlBindingTestCase.java | 68 - .../sca/vtest/wsbinding/WsdlEndpointTestCase.java | 66 - .../sca/vtest/wsbinding/WsdlPortTestCase.java | 66 - .../sca/vtest/wsbinding/WsdlServiceTestCase.java | 69 - .../vtest/wsbinding/wsdlelement/binding/pom.xml | 58 - .../wsbinding/wsdlelement/binding/AService.java | 40 - .../wsbinding/wsdlelement/binding/BService.java | 35 - .../wsbinding/wsdlelement/binding/BService2.java | 33 - .../wsbinding/wsdlelement/binding/CService.java | 37 - .../wsbinding/wsdlelement/binding/DService.java | 45 - .../wsdlelement/binding/impl/AServiceImpl.java | 63 - .../wsdlelement/binding/impl/BService2Impl.java | 40 - .../wsdlelement/binding/impl/BServiceImpl.java | 44 - .../wsdlelement/binding/impl/CServiceImpl.java | 48 - .../wsdlelement/binding/impl/DServiceImpl.java | 70 - .../binding/src/main/resources/bservice.wsdl | 228 - .../binding/src/main/resources/cservice.wsdl | 173 - .../main/resources/wsdlelement.binding.composite | 114 - .../binding/WsdlElementBindingTestCase.java | 190 - .../vtest/wsbinding/wsdlelement/pom.xml | 68 - .../vtest/wsbinding/wsdlelement/port/pom.xml | 58 - .../vtest/wsbinding/wsdlelement/port/AService.java | 40 - .../vtest/wsbinding/wsdlelement/port/BService.java | 35 - .../wsbinding/wsdlelement/port/BService2.java | 33 - .../vtest/wsbinding/wsdlelement/port/CService.java | 37 - .../vtest/wsbinding/wsdlelement/port/DService.java | 45 - .../wsdlelement/port/impl/AServiceImpl.java | 62 - .../wsdlelement/port/impl/BService2Impl.java | 40 - .../wsdlelement/port/impl/BServiceImpl.java | 44 - .../wsdlelement/port/impl/CServiceImpl.java | 48 - .../wsdlelement/port/impl/DServiceImpl.java | 70 - .../port/src/main/resources/bservice.wsdl | 238 - .../port/src/main/resources/cservice.wsdl | 173 - .../src/main/resources/wsdlelement.port.composite | 115 - .../wsdlelement/port/WsdlElementPortTestCase.java | 188 - .../vtest/wsbinding/wsdlelement/service/pom.xml | 58 - .../wsbinding/wsdlelement/service/AService.java | 50 - .../wsbinding/wsdlelement/service/BService.java | 35 - .../wsbinding/wsdlelement/service/BService2.java | 33 - .../wsbinding/wsdlelement/service/CService.java | 37 - .../wsbinding/wsdlelement/service/DService.java | 45 - .../wsdlelement/service/impl/AServiceImpl.java | 88 - .../wsdlelement/service/impl/BService2Impl.java | 40 - .../wsdlelement/service/impl/BServiceImpl.java | 44 - .../wsdlelement/service/impl/CServiceImpl.java | 48 - .../wsdlelement/service/impl/DServiceImpl.java | 70 - .../service/src/main/resources/bservice.wsdl | 225 - .../service/src/main/resources/cservice.wsdl | 173 - .../main/resources/wsdlelement.service.composite | 145 - .../service/WsdlElementServiceTestCase.java | 235 - 6264 files changed, 491668 deletions(-) delete mode 100644 java/sca-contrib/demos/alert-aggregator-webapp/LICENSE delete mode 100644 java/sca-contrib/demos/alert-aggregator-webapp/NOTICE delete mode 100644 java/sca-contrib/demos/alert-aggregator-webapp/README delete mode 100644 java/sca-contrib/demos/alert-aggregator-webapp/alert-aggregator.png delete mode 100644 java/sca-contrib/demos/alert-aggregator-webapp/alert-aggregator.svg delete mode 100644 java/sca-contrib/demos/alert-aggregator-webapp/build-dojo.xml delete mode 100644 java/sca-contrib/demos/alert-aggregator-webapp/build.xml delete mode 100644 java/sca-contrib/demos/alert-aggregator-webapp/pom.xml delete mode 100644 java/sca-contrib/demos/alert-aggregator-webapp/src/main/java/org/apache/tuscany/sca/demos/aggregator/AlertTypeNonSDOImpl.java delete mode 100644 java/sca-contrib/demos/alert-aggregator-webapp/src/main/java/org/apache/tuscany/sca/demos/aggregator/AlertsFeedServiceImpl.java delete mode 100644 java/sca-contrib/demos/alert-aggregator-webapp/src/main/java/org/apache/tuscany/sca/demos/aggregator/AlertsService.java delete mode 100644 java/sca-contrib/demos/alert-aggregator-webapp/src/main/java/org/apache/tuscany/sca/demos/aggregator/AlertsServiceImpl.java delete mode 100644 java/sca-contrib/demos/alert-aggregator-webapp/src/main/java/org/apache/tuscany/sca/demos/aggregator/AlertsSourcesService.java delete mode 100644 java/sca-contrib/demos/alert-aggregator-webapp/src/main/java/org/apache/tuscany/sca/demos/aggregator/AlertsSourcesServiceImpl.java delete mode 100644 java/sca-contrib/demos/alert-aggregator-webapp/src/main/java/org/apache/tuscany/sca/demos/aggregator/AlertsTypeNonSDOImpl.java delete mode 100644 java/sca-contrib/demos/alert-aggregator-webapp/src/main/java/org/apache/tuscany/sca/demos/aggregator/ConfigTypeNonSDOImpl.java delete mode 100644 java/sca-contrib/demos/alert-aggregator-webapp/src/main/java/org/apache/tuscany/sca/demos/aggregator/RSSCheckerService.java delete mode 100644 java/sca-contrib/demos/alert-aggregator-webapp/src/main/java/org/apache/tuscany/sca/demos/aggregator/RSSCheckerServiceImpl.java delete mode 100644 java/sca-contrib/demos/alert-aggregator-webapp/src/main/java/org/apache/tuscany/sca/demos/aggregator/SourceTypeNonSDOImpl.java delete mode 100644 java/sca-contrib/demos/alert-aggregator-webapp/src/main/resources/Alerts.wsdl delete mode 100644 java/sca-contrib/demos/alert-aggregator-webapp/src/main/resources/Alerts.xsd delete mode 100644 java/sca-contrib/demos/alert-aggregator-webapp/src/main/resources/AlertsSources.wsdl delete mode 100644 java/sca-contrib/demos/alert-aggregator-webapp/src/main/resources/alerts-client.composite delete mode 100644 java/sca-contrib/demos/alert-aggregator-webapp/src/main/resources/alerts.composite delete mode 100644 java/sca-contrib/demos/alert-aggregator-webapp/src/main/resources/sources.xml delete mode 100644 java/sca-contrib/demos/alert-aggregator-webapp/src/main/webapp/AlertAggregator.html delete mode 100644 java/sca-contrib/demos/alert-aggregator-webapp/src/main/webapp/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/demos/alert-aggregator-webapp/src/main/webapp/WEB-INF/geronimo-web.xml delete mode 100644 java/sca-contrib/demos/alert-aggregator-webapp/src/main/webapp/WEB-INF/web.xml delete mode 100644 java/sca-contrib/demos/alert-aggregator-webapp/src/main/webapp/pop.png delete mode 100644 java/sca-contrib/demos/alert-aggregator-webapp/src/main/webapp/rss.png delete mode 100644 java/sca-contrib/demos/alert-aggregator-webapp/src/main/webapp/service.smd delete mode 100644 java/sca-contrib/demos/alert-aggregator-webapp/src/main/webapp/sources.smd delete mode 100644 java/sca-contrib/demos/alert-aggregator-webapp/src/main/webapp/style.css delete mode 100644 java/sca-contrib/demos/alert-aggregator-webapp/src/test/java/org/apache/tuscany/sca/demos/aggregator/AlertsIntegrationTest.java delete mode 100644 java/sca-contrib/demos/bigbank-account/LICENSE delete mode 100644 java/sca-contrib/demos/bigbank-account/NOTICE delete mode 100644 java/sca-contrib/demos/bigbank-account/README delete mode 100644 java/sca-contrib/demos/bigbank-account/bigbank.png delete mode 100644 java/sca-contrib/demos/bigbank-account/bigbank.svg delete mode 100644 java/sca-contrib/demos/bigbank-account/build-dojo.xml delete mode 100644 java/sca-contrib/demos/bigbank-account/build.xml delete mode 100644 java/sca-contrib/demos/bigbank-account/pom.xml delete mode 100644 java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/checking/CheckingAccountDetails.java delete mode 100644 java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/checking/CheckingAccountService.java delete mode 100644 java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/checking/CheckingAccountServiceImpl.java delete mode 100644 java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/savings/SavingsAccountDetails.java delete mode 100644 java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/savings/SavingsAccountService.java delete mode 100644 java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/savings/SavingsAccountServiceImpl.java delete mode 100644 java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/security/AccountsDataPasswordCallbackHandler.java delete mode 100644 java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/security/BigbankCheckingsAcl.java delete mode 100644 java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/security/CheckingsDeptAuthImplementationPolicyProvider.java delete mode 100644 java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/security/CheckingsDeptAuthPolicy.java delete mode 100644 java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/security/CheckingsDeptAuthPolicyInterceptor.java delete mode 100644 java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/security/CheckingsDeptAuthPolicyProviderFactory.java delete mode 100644 java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/security/CheckingsDeptAuthorizationPolicyHandler.java delete mode 100644 java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/security/CheckingsDeptAuthorizationPolicyProcessor.java delete mode 100644 java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/stock/StockAccountDetails.java delete mode 100644 java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/stock/StockAccountService.java delete mode 100644 java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/stock/StockAccountServiceImpl.java delete mode 100644 java/sca-contrib/demos/bigbank-account/src/main/resources/CheckingsAccount.composite delete mode 100644 java/sca-contrib/demos/bigbank-account/src/main/resources/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/demos/bigbank-account/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor delete mode 100644 java/sca-contrib/demos/bigbank-account/src/main/resources/META-INF/services/org.apache.tuscany.sca.policy.util.PolicyHandler delete mode 100644 java/sca-contrib/demos/bigbank-account/src/main/resources/META-INF/services/org.apache.tuscany.sca.provider.PolicyProviderFactory delete mode 100644 java/sca-contrib/demos/bigbank-account/src/main/resources/SavingsAccount.composite delete mode 100644 java/sca-contrib/demos/bigbank-account/src/main/resources/StockAccount.composite delete mode 100644 java/sca-contrib/demos/bigbank-account/src/main/resources/definitions.xml delete mode 100644 java/sca-contrib/demos/bigbank-account/src/main/resources/web/AccountJSON.html delete mode 100644 java/sca-contrib/demos/bigbank-account/src/main/resources/web/style.css delete mode 100644 java/sca-contrib/demos/bigbank-account/src/main/resources/wsdl/AccountService.wsdl delete mode 100644 java/sca-contrib/demos/bigbank-calculator/LICENSE delete mode 100644 java/sca-contrib/demos/bigbank-calculator/NOTICE delete mode 100644 java/sca-contrib/demos/bigbank-calculator/README delete mode 100644 java/sca-contrib/demos/bigbank-calculator/build.xml delete mode 100644 java/sca-contrib/demos/bigbank-calculator/pom.xml delete mode 100644 java/sca-contrib/demos/bigbank-calculator/src/main/java/calculator/AddService.java delete mode 100644 java/sca-contrib/demos/bigbank-calculator/src/main/java/calculator/CalculatorService.java delete mode 100644 java/sca-contrib/demos/bigbank-calculator/src/main/java/calculator/CalculatorServiceImpl.java delete mode 100644 java/sca-contrib/demos/bigbank-calculator/src/main/java/calculator/DivideService.java delete mode 100644 java/sca-contrib/demos/bigbank-calculator/src/main/java/calculator/MultiplyService.java delete mode 100644 java/sca-contrib/demos/bigbank-calculator/src/main/java/calculator/SubtractService.java delete mode 100644 java/sca-contrib/demos/bigbank-calculator/src/main/java/calculator/demo/CalculatorServer.java delete mode 100644 java/sca-contrib/demos/bigbank-calculator/src/main/resources/Calculator.composite delete mode 100644 java/sca-contrib/demos/bigbank-calculator/src/main/resources/calculator/AddServiceImpl.js delete mode 100644 java/sca-contrib/demos/bigbank-calculator/src/main/resources/calculator/DivideServiceImpl.groovy delete mode 100644 java/sca-contrib/demos/bigbank-calculator/src/main/resources/calculator/MultiplyServiceImpl.py delete mode 100644 java/sca-contrib/demos/bigbank-calculator/src/main/resources/calculator/SubtractServiceImpl.rb delete mode 100644 java/sca-contrib/demos/bigbank-stockquote/LICENSE delete mode 100644 java/sca-contrib/demos/bigbank-stockquote/NOTICE delete mode 100644 java/sca-contrib/demos/bigbank-stockquote/README delete mode 100644 java/sca-contrib/demos/bigbank-stockquote/build.xml delete mode 100644 java/sca-contrib/demos/bigbank-stockquote/pom.xml delete mode 100644 java/sca-contrib/demos/bigbank-stockquote/src/main/java/stockquote/PasswordCallbackHandler.java delete mode 100644 java/sca-contrib/demos/bigbank-stockquote/src/main/java/stockquote/StockQuoteImpl.java delete mode 100644 java/sca-contrib/demos/bigbank-stockquote/src/main/java/stockquote/StockQuoteService.java delete mode 100644 java/sca-contrib/demos/bigbank-stockquote/src/main/java/stockquote/demo/StockQuoteServer.java delete mode 100644 java/sca-contrib/demos/bigbank-stockquote/src/main/resources/StockQuote.composite delete mode 100644 java/sca-contrib/demos/bigbank-stockquote/src/main/resources/definitions.xml delete mode 100644 java/sca-contrib/demos/bigbank-stockquote/src/main/resources/security.properties delete mode 100644 java/sca-contrib/demos/bigbank-stockquote/src/main/resources/stockQuote.jks delete mode 100644 java/sca-contrib/demos/bigbank/LICENSE delete mode 100644 java/sca-contrib/demos/bigbank/NOTICE delete mode 100644 java/sca-contrib/demos/bigbank/README delete mode 100644 java/sca-contrib/demos/bigbank/bigbank.png delete mode 100644 java/sca-contrib/demos/bigbank/bigbank.svg delete mode 100644 java/sca-contrib/demos/bigbank/build-dojo.xml delete mode 100644 java/sca-contrib/demos/bigbank/build.xml delete mode 100644 java/sca-contrib/demos/bigbank/pom.xml delete mode 100644 java/sca-contrib/demos/bigbank/src/main/java/bigbank/account/AccountService.java delete mode 100644 java/sca-contrib/demos/bigbank/src/main/java/bigbank/account/AccountServiceImpl.java delete mode 100644 java/sca-contrib/demos/bigbank/src/main/java/bigbank/account/feed/AccountFeedImpl.java delete mode 100644 java/sca-contrib/demos/bigbank/src/main/java/bigbank/client/BigBankClient.java delete mode 100644 java/sca-contrib/demos/bigbank/src/main/java/bigbank/demo/BigBankServer.java delete mode 100644 java/sca-contrib/demos/bigbank/src/main/java/bigbank/security/BigbankPasswordCallbackHandler.java delete mode 100644 java/sca-contrib/demos/bigbank/src/main/java/calculator/CalculatorService.java delete mode 100644 java/sca-contrib/demos/bigbank/src/main/java/stockquote/StockQuoteService.java delete mode 100644 java/sca-contrib/demos/bigbank/src/main/resources/BigBank.composite delete mode 100644 java/sca-contrib/demos/bigbank/src/main/resources/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/demos/bigbank/src/main/resources/bigbank.jks delete mode 100644 java/sca-contrib/demos/bigbank/src/main/resources/definitions.xml delete mode 100644 java/sca-contrib/demos/bigbank/src/main/resources/security.properties delete mode 100644 java/sca-contrib/demos/bigbank/src/main/resources/web/AccountJSON.html delete mode 100644 java/sca-contrib/demos/bigbank/src/main/resources/web/style.css delete mode 100644 java/sca-contrib/demos/bigbank/src/main/resources/wsdl/AccountService.wsdl delete mode 100644 java/sca-contrib/demos/bigbank/src/test/java/test/BigBankTestCase.java delete mode 100644 java/sca-contrib/demos/load-balancing-webapp/LICENSE delete mode 100644 java/sca-contrib/demos/load-balancing-webapp/NOTICE delete mode 100644 java/sca-contrib/demos/load-balancing-webapp/README delete mode 100644 java/sca-contrib/demos/load-balancing-webapp/build-tomcat.xml delete mode 100644 java/sca-contrib/demos/load-balancing-webapp/build.xml delete mode 100644 java/sca-contrib/demos/load-balancing-webapp/pom.xml delete mode 100644 java/sca-contrib/demos/load-balancing-webapp/src/main/java/client/LaunchClient.java delete mode 100644 java/sca-contrib/demos/load-balancing-webapp/src/main/java/domain/LaunchDomain.java delete mode 100644 java/sca-contrib/demos/load-balancing-webapp/src/main/java/helloworld/HelloWorldImpl.java delete mode 100644 java/sca-contrib/demos/load-balancing-webapp/src/main/java/helloworld/HelloWorldService.java delete mode 100644 java/sca-contrib/demos/load-balancing-webapp/src/main/java/helloworld/HelloWorldServiceClient.java delete mode 100644 java/sca-contrib/demos/load-balancing-webapp/src/main/java/org/apache/tuscany/sca/demos/loadbalancer/rule/RoundRobinRule.java delete mode 100644 java/sca-contrib/demos/load-balancing-webapp/src/main/resources/client-contribution/helloworldwsclient.composite delete mode 100644 java/sca-contrib/demos/load-balancing-webapp/src/main/webapp/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/demos/load-balancing-webapp/src/main/webapp/META-INF/sca-deployables/helloworldws.composite delete mode 100644 java/sca-contrib/demos/load-balancing-webapp/src/main/webapp/WEB-INF/web.xml delete mode 100644 java/sca-contrib/demos/load-balancing-webapp/src/test/resources/apache-80/conf/httpd.conf delete mode 100644 java/sca-contrib/demos/load-balancing-webapp/src/test/resources/apache-80/conf/workers.properties delete mode 100644 java/sca-contrib/demos/load-balancing-webapp/src/test/resources/tomcat-8085/conf/server.xml delete mode 100644 java/sca-contrib/demos/load-balancing-webapp/src/test/resources/tomcat-8085/webapps/balancer/WEB-INF/config/rules.xml delete mode 100644 java/sca-contrib/demos/load-balancing-webapp/src/test/resources/tomcat-8086/conf/server.xml delete mode 100644 java/sca-contrib/demos/load-balancing-webapp/src/test/resources/tomcat-8087/conf/server.xml delete mode 100644 java/sca-contrib/demos/mortgage-creditcheck/LICENSE delete mode 100644 java/sca-contrib/demos/mortgage-creditcheck/NOTICE delete mode 100644 java/sca-contrib/demos/mortgage-creditcheck/README delete mode 100644 java/sca-contrib/demos/mortgage-creditcheck/build.xml delete mode 100644 java/sca-contrib/demos/mortgage-creditcheck/pom.xml delete mode 100644 java/sca-contrib/demos/mortgage-creditcheck/src/main/java/credit/CreditCheck.java delete mode 100644 java/sca-contrib/demos/mortgage-creditcheck/src/main/java/credit/CreditCheckImpl.java delete mode 100644 java/sca-contrib/demos/mortgage-creditcheck/src/main/java/credit/CreditCheckServer.java delete mode 100644 java/sca-contrib/demos/mortgage-creditcheck/src/main/resources/CreditCheck.composite delete mode 100644 java/sca-contrib/demos/mortgage-creditcheck/src/main/resources/wsdl/credit.wsdl delete mode 100644 java/sca-contrib/demos/mortgage-creditcheck/src/main/webapp/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/demos/mortgage-creditcheck/src/main/webapp/WEB-INF/web.xml delete mode 100644 java/sca-contrib/demos/mortgage-loanapproval/LICENSE delete mode 100644 java/sca-contrib/demos/mortgage-loanapproval/NOTICE delete mode 100644 java/sca-contrib/demos/mortgage-loanapproval/README delete mode 100644 java/sca-contrib/demos/mortgage-loanapproval/build.xml delete mode 100644 java/sca-contrib/demos/mortgage-loanapproval/doc/credit_composite.jpg delete mode 100644 java/sca-contrib/demos/mortgage-loanapproval/doc/credit_composite.png delete mode 100644 java/sca-contrib/demos/mortgage-loanapproval/doc/loan_approval.jpg delete mode 100644 java/sca-contrib/demos/mortgage-loanapproval/doc/loan_approval.png delete mode 100644 java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_assembly0.jpg delete mode 100644 java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_assembly0.png delete mode 100644 java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_assembly1.jpg delete mode 100644 java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_assembly1.png delete mode 100644 java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_assembly2.jpg delete mode 100644 java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_assembly2.png delete mode 100644 java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_composite.jpg delete mode 100644 java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_composite.png delete mode 100644 java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_diagrams.doc delete mode 100644 java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_package1.jpg delete mode 100644 java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_package1.png delete mode 100644 java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_package2.jpg delete mode 100644 java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_package2.png delete mode 100644 java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_scenario.jpg delete mode 100644 java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_scenario.png delete mode 100644 java/sca-contrib/demos/mortgage-loanapproval/mortgage_assembly.png delete mode 100644 java/sca-contrib/demos/mortgage-loanapproval/pom.xml delete mode 100644 java/sca-contrib/demos/mortgage-loanapproval/src/main/java/mortgage/CreditCheck.java delete mode 100644 java/sca-contrib/demos/mortgage-loanapproval/src/main/java/mortgage/CreditCheckImpl.java delete mode 100644 java/sca-contrib/demos/mortgage-loanapproval/src/main/java/mortgage/Customer.java delete mode 100644 java/sca-contrib/demos/mortgage-loanapproval/src/main/java/mortgage/InterestRateQuote.java delete mode 100644 java/sca-contrib/demos/mortgage-loanapproval/src/main/java/mortgage/InterestRateQuoteImpl.java delete mode 100644 java/sca-contrib/demos/mortgage-loanapproval/src/main/java/mortgage/LoanApproval.java delete mode 100644 java/sca-contrib/demos/mortgage-loanapproval/src/main/java/mortgage/LoanApprovalImpl.java delete mode 100644 java/sca-contrib/demos/mortgage-loanapproval/src/main/java/mortgage/MortgageCalculator.java delete mode 100644 java/sca-contrib/demos/mortgage-loanapproval/src/main/java/mortgage/MortgageCalculatorImpl.java delete mode 100644 java/sca-contrib/demos/mortgage-loanapproval/src/main/java/mortgage/MortgageClient.java delete mode 100644 java/sca-contrib/demos/mortgage-loanapproval/src/main/java/mortgage/RiskAssessment.java delete mode 100644 java/sca-contrib/demos/mortgage-loanapproval/src/main/java/mortgage/RiskAssessmentImpl.java delete mode 100644 java/sca-contrib/demos/mortgage-loanapproval/src/main/resources/Mortgage.composite delete mode 100644 java/sca-contrib/demos/mortgage-loanapproval/src/main/resources/Mortgage1.composite delete mode 100644 java/sca-contrib/demos/mortgage-loanapproval/src/main/resources/MortgageCalculator.componentType delete mode 100644 java/sca-contrib/demos/mortgage-loanapproval/src/main/resources/MortgageCalculator.js delete mode 100644 java/sca-contrib/demos/mortgage-loanapproval/src/main/resources/wsdl/credit.wsdl delete mode 100644 java/sca-contrib/demos/mortgage-loanapproval/src/test/java/mortgage/MortgageClientTestCase.java delete mode 100644 java/sca-contrib/demos/pom.xml delete mode 100644 java/sca-contrib/demos/workpool-distributed/LICENSE delete mode 100644 java/sca-contrib/demos/workpool-distributed/NOTICE delete mode 100644 java/sca-contrib/demos/workpool-distributed/build.xml delete mode 100644 java/sca-contrib/demos/workpool-distributed/pom.xml delete mode 100644 java/sca-contrib/demos/workpool-distributed/src/main/java/node/DomainNode.java delete mode 100644 java/sca-contrib/demos/workpool-distributed/src/main/java/node/DomainNodeDaemon.java delete mode 100644 java/sca-contrib/demos/workpool-distributed/src/main/java/node/TestJob.java delete mode 100644 java/sca-contrib/demos/workpool-distributed/src/main/java/node/WorkpoolDaemon.java delete mode 100644 java/sca-contrib/demos/workpool-distributed/src/main/java/node/WorkpoolNode.java delete mode 100644 java/sca-contrib/demos/workpool-distributed/src/main/java/node/workerRules1.drl delete mode 100644 java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/MetaComponentWorker.java delete mode 100644 java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/MyWorker.java delete mode 100644 java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/NullJob.java delete mode 100644 java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/ResultJob.java delete mode 100644 java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/Trigger.java delete mode 100644 java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/WorkerManager.java delete mode 100644 java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/WorkerManagerImpl.java delete mode 100644 java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/WorkerService.java delete mode 100644 java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/WorkerServiceCallback.java delete mode 100644 java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/WorkerServiceImpl.java delete mode 100644 java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/WorkpoolBean.java delete mode 100644 java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/WorkpoolBeanListener.java delete mode 100644 java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/WorkpoolEvent.java delete mode 100644 java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/WorkpoolManager.java delete mode 100644 java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/WorkpoolManagerImpl.java delete mode 100644 java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/WorkpoolService.java delete mode 100644 java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/WorkpoolServiceImpl.java delete mode 100644 java/sca-contrib/demos/workpool-distributed/src/main/resources/nodeA/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/demos/workpool-distributed/src/main/resources/nodeA/Workpool.composite delete mode 100644 java/sca-contrib/demos/workpool-distributed/src/main/resources/nodeB/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/demos/workpool-distributed/src/main/resources/nodeB/Workpool.composite delete mode 100644 java/sca-contrib/demos/workpool-distributed/src/main/resources/nodeC/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/demos/workpool-distributed/src/main/resources/nodeC/Workpool.composite delete mode 100644 java/sca-contrib/demos/workpool-distributed/src/main/resources/nodeD/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/demos/workpool-distributed/src/main/resources/nodeD/Workpool.composite delete mode 100644 java/sca-contrib/demos/workpool-distributed/src/main/resources/nodeE/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/demos/workpool-distributed/src/main/resources/nodeE/Workpool.composite delete mode 100644 java/sca-contrib/demos/workpool-distributed/src/test/java/workpool/AComponent.java delete mode 100644 java/sca-contrib/demos/workpool-distributed/workerRules.drl delete mode 100644 java/sca-contrib/demos/workpool-distributed/workerRules1.drl delete mode 100644 java/sca-contrib/demos/workpool-distributed/workerRules2.drl delete mode 100644 java/sca-contrib/demos/workpool-distributed/workerRules3.drl delete mode 100644 java/sca-contrib/demos/xml-bigbank/LICENSE delete mode 100644 java/sca-contrib/demos/xml-bigbank/NOTICE delete mode 100644 java/sca-contrib/demos/xml-bigbank/README delete mode 100644 java/sca-contrib/demos/xml-bigbank/build.xml delete mode 100644 java/sca-contrib/demos/xml-bigbank/pom.xml delete mode 100644 java/sca-contrib/demos/xml-bigbank/src/main/java/bigbank/AccountData.java delete mode 100644 java/sca-contrib/demos/xml-bigbank/src/main/java/bigbank/AccountDataImpl.java delete mode 100644 java/sca-contrib/demos/xml-bigbank/src/main/java/bigbank/AccountService.java delete mode 100644 java/sca-contrib/demos/xml-bigbank/src/main/java/bigbank/AccountServiceImpl.java delete mode 100644 java/sca-contrib/demos/xml-bigbank/src/main/java/bigbank/BigBankClient.java delete mode 100644 java/sca-contrib/demos/xml-bigbank/src/main/java/bigbank/BigBankServer.java delete mode 100644 java/sca-contrib/demos/xml-bigbank/src/main/java/bigbank/CurrencyExchange.java delete mode 100644 java/sca-contrib/demos/xml-bigbank/src/main/java/bigbank/ExchangeRate.java delete mode 100644 java/sca-contrib/demos/xml-bigbank/src/main/java/bigbank/ExchangeRateImpl.java delete mode 100644 java/sca-contrib/demos/xml-bigbank/src/main/java/bigbank/StockQuote.java delete mode 100644 java/sca-contrib/demos/xml-bigbank/src/main/java/bigbank/StockValue.java delete mode 100644 java/sca-contrib/demos/xml-bigbank/src/main/resources/BigBank.composite delete mode 100644 java/sca-contrib/demos/xml-bigbank/src/main/resources/accounts.xml delete mode 100644 java/sca-contrib/demos/xml-bigbank/src/main/resources/customer.xsd delete mode 100644 java/sca-contrib/demos/xml-bigbank/src/main/resources/stock.xq delete mode 100644 java/sca-contrib/demos/xml-bigbank/src/main/resources/wsdl/StockQuotes.wsdl delete mode 100644 java/sca-contrib/demos/xml-bigbank/xml-bigbank.png delete mode 100644 java/sca-contrib/demos/xml-bigbank/xml-bigbank.svg delete mode 100644 java/sca-contrib/distribution/core/pom.xml delete mode 100644 java/sca-contrib/distribution/core/src/main/assembly/bin.xml delete mode 100644 java/sca-contrib/distribution/core/src/main/assembly/src.xml delete mode 100644 java/sca-contrib/distribution/core/src/main/components/bin-common.xml delete mode 100644 java/sca-contrib/distribution/core/src/main/components/bin-modules.xml delete mode 100644 java/sca-contrib/distribution/core/src/main/components/bin-samples.xml delete mode 100644 java/sca-contrib/distribution/core/src/main/components/src-common.xml delete mode 100644 java/sca-contrib/distribution/core/src/main/components/src-modules.xml delete mode 100644 java/sca-contrib/distribution/core/src/main/release/CHANGES delete mode 100644 java/sca-contrib/distribution/core/src/main/release/README delete mode 100644 java/sca-contrib/distribution/core/src/main/release/RELEASE_NOTES delete mode 100644 java/sca-contrib/distribution/core/src/main/release/bin/INSTALL delete mode 100644 java/sca-contrib/distribution/core/src/main/release/bin/LICENSE delete mode 100644 java/sca-contrib/distribution/core/src/main/release/bin/NOTICE delete mode 100644 java/sca-contrib/distribution/core/src/main/release/src/BUILDING delete mode 100644 java/sca-contrib/distribution/core/src/main/release/src/LICENSE delete mode 100644 java/sca-contrib/distribution/core/src/main/release/src/NOTICE delete mode 100644 java/sca-contrib/distribution/ejava/pom.xml delete mode 100644 java/sca-contrib/distribution/ejava/src/main/assembly/bin.xml delete mode 100644 java/sca-contrib/distribution/ejava/src/main/assembly/src.xml delete mode 100644 java/sca-contrib/distribution/ejava/src/main/components/bin-samples.xml delete mode 100644 java/sca-contrib/distribution/ejava/src/main/components/src-modules.xml delete mode 100644 java/sca-contrib/distribution/ejava/src/main/release/CHANGES delete mode 100644 java/sca-contrib/distribution/ejava/src/main/release/README delete mode 100644 java/sca-contrib/distribution/ejava/src/main/release/RELEASE_NOTES delete mode 100644 java/sca-contrib/distribution/ejava/src/main/release/bin/INSTALL delete mode 100644 java/sca-contrib/distribution/ejava/src/main/release/bin/LICENSE delete mode 100644 java/sca-contrib/distribution/ejava/src/main/release/bin/NOTICE delete mode 100644 java/sca-contrib/distribution/ejava/src/main/release/src/BUILDING delete mode 100644 java/sca-contrib/distribution/ejava/src/main/release/src/LICENSE delete mode 100644 java/sca-contrib/distribution/ejava/src/main/release/src/NOTICE delete mode 100755 java/sca-contrib/distribution/etc/generate-all-maven-files.sh delete mode 100755 java/sca-contrib/distribution/etc/generate-filtered-dependencies.sh delete mode 100755 java/sca-contrib/distribution/etc/generate-maven-files.sh delete mode 100755 java/sca-contrib/distribution/etc/generate-pom.sh delete mode 100755 java/sca-contrib/distribution/etc/generate-src-modules.sh delete mode 100644 java/sca-contrib/distribution/manager/pom.xml delete mode 100644 java/sca-contrib/distribution/manager/src/main/assembly/bin.xml delete mode 100644 java/sca-contrib/distribution/manager/src/main/assembly/src.xml delete mode 100644 java/sca-contrib/distribution/manager/src/main/components/bin-samples.xml delete mode 100644 java/sca-contrib/distribution/manager/src/main/components/src-modules.xml delete mode 100644 java/sca-contrib/distribution/manager/src/main/release/CHANGES delete mode 100644 java/sca-contrib/distribution/manager/src/main/release/README delete mode 100644 java/sca-contrib/distribution/manager/src/main/release/RELEASE_NOTES delete mode 100644 java/sca-contrib/distribution/manager/src/main/release/bin/INSTALL delete mode 100644 java/sca-contrib/distribution/manager/src/main/release/bin/LICENSE delete mode 100644 java/sca-contrib/distribution/manager/src/main/release/bin/NOTICE delete mode 100644 java/sca-contrib/distribution/manager/src/main/release/src/BUILDING delete mode 100644 java/sca-contrib/distribution/manager/src/main/release/src/LICENSE delete mode 100644 java/sca-contrib/distribution/manager/src/main/release/src/NOTICE delete mode 100644 java/sca-contrib/distribution/process/pom.xml delete mode 100644 java/sca-contrib/distribution/process/src/main/assembly/bin.xml delete mode 100644 java/sca-contrib/distribution/process/src/main/assembly/src.xml delete mode 100644 java/sca-contrib/distribution/process/src/main/components/bin-samples.xml delete mode 100644 java/sca-contrib/distribution/process/src/main/components/src-modules.xml delete mode 100644 java/sca-contrib/distribution/process/src/main/release/CHANGES delete mode 100644 java/sca-contrib/distribution/process/src/main/release/README delete mode 100644 java/sca-contrib/distribution/process/src/main/release/RELEASE_NOTES delete mode 100644 java/sca-contrib/distribution/process/src/main/release/bin/INSTALL delete mode 100644 java/sca-contrib/distribution/process/src/main/release/bin/LICENSE delete mode 100644 java/sca-contrib/distribution/process/src/main/release/bin/NOTICE delete mode 100644 java/sca-contrib/distribution/process/src/main/release/src/BUILDING delete mode 100644 java/sca-contrib/distribution/process/src/main/release/src/LICENSE delete mode 100644 java/sca-contrib/distribution/process/src/main/release/src/NOTICE delete mode 100644 java/sca-contrib/distribution/repository/pom.xml delete mode 100644 java/sca-contrib/distribution/repository/src/main/assembly/repository.xml delete mode 100644 java/sca-contrib/distribution/repository/src/main/components/src-modules.xml delete mode 100644 java/sca-contrib/distribution/repository/src/main/release/CHANGES delete mode 100644 java/sca-contrib/distribution/repository/src/main/release/README delete mode 100644 java/sca-contrib/distribution/repository/src/main/release/RELEASE_NOTES delete mode 100644 java/sca-contrib/distribution/repository/src/main/release/bin/INSTALL delete mode 100644 java/sca-contrib/distribution/repository/src/main/release/bin/LICENSE delete mode 100644 java/sca-contrib/distribution/repository/src/main/release/bin/NOTICE delete mode 100644 java/sca-contrib/distribution/repository/src/main/release/src/BUILDING delete mode 100644 java/sca-contrib/distribution/repository/src/main/release/src/LICENSE delete mode 100644 java/sca-contrib/distribution/repository/src/main/release/src/NOTICE delete mode 100644 java/sca-contrib/distribution/web20/pom.xml delete mode 100644 java/sca-contrib/distribution/web20/src/main/assembly/bin.xml delete mode 100644 java/sca-contrib/distribution/web20/src/main/assembly/src.xml delete mode 100644 java/sca-contrib/distribution/web20/src/main/components/bin-samples.xml delete mode 100644 java/sca-contrib/distribution/web20/src/main/components/src-modules.xml delete mode 100644 java/sca-contrib/distribution/web20/src/main/release/CHANGES delete mode 100644 java/sca-contrib/distribution/web20/src/main/release/README delete mode 100644 java/sca-contrib/distribution/web20/src/main/release/RELEASE_NOTES delete mode 100644 java/sca-contrib/distribution/web20/src/main/release/bin/INSTALL delete mode 100644 java/sca-contrib/distribution/web20/src/main/release/bin/LICENSE delete mode 100644 java/sca-contrib/distribution/web20/src/main/release/bin/NOTICE delete mode 100644 java/sca-contrib/distribution/web20/src/main/release/src/BUILDING delete mode 100644 java/sca-contrib/distribution/web20/src/main/release/src/LICENSE delete mode 100644 java/sca-contrib/distribution/web20/src/main/release/src/NOTICE delete mode 100644 java/sca-contrib/distribution/webapp/src/main/assembly/bin.xml delete mode 100644 java/sca-contrib/distribution/webapp/src/main/assembly/src.xml delete mode 100644 java/sca-contrib/distribution/webapp/src/main/components/bin-samples.xml delete mode 100644 java/sca-contrib/distribution/webapp/src/main/components/src-modules.xml delete mode 100644 java/sca-contrib/distribution/webapp/src/main/release/CHANGES delete mode 100644 java/sca-contrib/distribution/webapp/src/main/release/README delete mode 100644 java/sca-contrib/distribution/webapp/src/main/release/RELEASE_NOTES delete mode 100644 java/sca-contrib/distribution/webapp/src/main/release/bin/INSTALL delete mode 100644 java/sca-contrib/distribution/webapp/src/main/release/bin/LICENSE delete mode 100644 java/sca-contrib/distribution/webapp/src/main/release/bin/NOTICE delete mode 100644 java/sca-contrib/distribution/webapp/src/main/release/src/BUILDING delete mode 100644 java/sca-contrib/distribution/webapp/src/main/release/src/LICENSE delete mode 100644 java/sca-contrib/distribution/webapp/src/main/release/src/NOTICE delete mode 100644 java/sca-contrib/distribution/webservice/pom.xml delete mode 100644 java/sca-contrib/distribution/webservice/src/main/assembly/bin.xml delete mode 100644 java/sca-contrib/distribution/webservice/src/main/assembly/src.xml delete mode 100644 java/sca-contrib/distribution/webservice/src/main/components/bin-samples.xml delete mode 100644 java/sca-contrib/distribution/webservice/src/main/components/src-modules.xml delete mode 100644 java/sca-contrib/distribution/webservice/src/main/release/CHANGES delete mode 100644 java/sca-contrib/distribution/webservice/src/main/release/README delete mode 100644 java/sca-contrib/distribution/webservice/src/main/release/RELEASE_NOTES delete mode 100644 java/sca-contrib/distribution/webservice/src/main/release/bin/INSTALL delete mode 100644 java/sca-contrib/distribution/webservice/src/main/release/bin/LICENSE delete mode 100644 java/sca-contrib/distribution/webservice/src/main/release/bin/NOTICE delete mode 100644 java/sca-contrib/distribution/webservice/src/main/release/src/BUILDING delete mode 100644 java/sca-contrib/distribution/webservice/src/main/release/src/LICENSE delete mode 100644 java/sca-contrib/distribution/webservice/src/main/release/src/NOTICE delete mode 100644 java/sca-contrib/features/compact/pom.xml delete mode 100644 java/sca-contrib/features/manager/pom.xml delete mode 100644 java/sca-contrib/features/process/pom.xml delete mode 100644 java/sca-contrib/features/repository/pom.xml delete mode 100644 java/sca-contrib/features/web20/pom.xml delete mode 100644 java/sca-contrib/features/webapp/pom.xml delete mode 100644 java/sca-contrib/itest/admin/README delete mode 100644 java/sca-contrib/itest/admin/pom.xml delete mode 100644 java/sca-contrib/itest/admin/src/main/java/org/apache/tuscany/sca/itest/admin/MyListService.java delete mode 100644 java/sca-contrib/itest/admin/src/main/java/org/apache/tuscany/sca/itest/admin/MyListServiceByYear.java delete mode 100644 java/sca-contrib/itest/admin/src/main/java/org/apache/tuscany/sca/itest/admin/MyListServiceImpl.java delete mode 100644 java/sca-contrib/itest/admin/src/main/java/org/apache/tuscany/sca/itest/admin/MyLogger.java delete mode 100644 java/sca-contrib/itest/admin/src/main/java/org/apache/tuscany/sca/itest/admin/MyService.java delete mode 100644 java/sca-contrib/itest/admin/src/main/java/org/apache/tuscany/sca/itest/admin/MyServiceByDate.java delete mode 100644 java/sca-contrib/itest/admin/src/main/java/org/apache/tuscany/sca/itest/admin/MyServiceImpl.java delete mode 100644 java/sca-contrib/itest/admin/src/main/java/org/apache/tuscany/sca/itest/admin/MyTotalService.java delete mode 100644 java/sca-contrib/itest/admin/src/main/java/org/apache/tuscany/sca/itest/admin/MyTotalServiceImpl.java delete mode 100644 java/sca-contrib/itest/admin/src/main/java/org/apache/tuscany/sca/itest/admin/SCAComponentService.java delete mode 100644 java/sca-contrib/itest/admin/src/test/java/org/apache/tuscany/sca/itest/admin/MySimpleServiceInRecursiveTestCase.java delete mode 100644 java/sca-contrib/itest/admin/src/test/java/org/apache/tuscany/sca/itest/admin/MySimpleServiceTestCase.java delete mode 100644 java/sca-contrib/itest/admin/src/test/java/org/apache/tuscany/sca/itest/admin/MyTotalServiceTestCase.java delete mode 100644 java/sca-contrib/itest/admin/src/test/resources/Iteration1Composite.composite delete mode 100644 java/sca-contrib/itest/admin/src/test/resources/Iteration3Composite.composite delete mode 100644 java/sca-contrib/itest/admin/src/test/resources/MySimpleService.composite delete mode 100644 java/sca-contrib/itest/binding-sca-jms/client/pom.xml delete mode 100644 java/sca-contrib/itest/binding-sca-jms/client/src/main/java/itest/MyClientImpl.java delete mode 100644 java/sca-contrib/itest/binding-sca-jms/client/src/main/java/itest/MyService.java delete mode 100644 java/sca-contrib/itest/binding-sca-jms/client/src/main/resources/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/itest/binding-sca-jms/client/src/main/resources/MyClient.composite delete mode 100644 java/sca-contrib/itest/binding-sca-jms/client/src/test/java/itest/MyClientTestCase.java delete mode 100644 java/sca-contrib/itest/binding-sca-jms/pom.xml delete mode 100644 java/sca-contrib/itest/binding-sca-jms/service/pom.xml delete mode 100644 java/sca-contrib/itest/binding-sca-jms/service/src/main/java/itest/MyService.java delete mode 100644 java/sca-contrib/itest/binding-sca-jms/service/src/main/java/itest/MyServiceImpl.java delete mode 100644 java/sca-contrib/itest/binding-sca-jms/service/src/main/resources/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/itest/binding-sca-jms/service/src/main/resources/MyService.composite delete mode 100644 java/sca-contrib/itest/binding-sca-jms/service/src/test/java/itest/MyServiceTestCase.java delete mode 100644 java/sca-contrib/itest/bpel/helloworld-reference/pom.xml delete mode 100644 java/sca-contrib/itest/bpel/helloworld-reference/src/test/java/greetings/GreetingsService.java delete mode 100644 java/sca-contrib/itest/bpel/helloworld-reference/src/test/java/greetings/GreetingsServiceImpl.java delete mode 100644 java/sca-contrib/itest/bpel/helloworld-reference/src/test/java/greetings/GreetingsTestCase.java delete mode 100644 java/sca-contrib/itest/bpel/helloworld-reference/src/test/java/helloworld/HelloWorldService.java delete mode 100644 java/sca-contrib/itest/bpel/helloworld-reference/src/test/java/helloworld/HelloWorldServiceImpl.java delete mode 100644 java/sca-contrib/itest/bpel/helloworld-reference/src/test/java/helloworld/HelloWorldTestCase.java delete mode 100644 java/sca-contrib/itest/bpel/helloworld-reference/src/test/resources/greetings/greetings.composite delete mode 100644 java/sca-contrib/itest/bpel/helloworld-reference/src/test/resources/greetings/greetings.wsdl delete mode 100644 java/sca-contrib/itest/bpel/helloworld-reference/src/test/resources/helloworld/deploy.xml delete mode 100644 java/sca-contrib/itest/bpel/helloworld-reference/src/test/resources/helloworld/helloworld.bpel delete mode 100644 java/sca-contrib/itest/bpel/helloworld-reference/src/test/resources/helloworld/helloworld.componentType delete mode 100644 java/sca-contrib/itest/bpel/helloworld-reference/src/test/resources/helloworld/helloworld.composite delete mode 100644 java/sca-contrib/itest/bpel/helloworld-reference/src/test/resources/helloworld/helloworld.wsdl delete mode 100644 java/sca-contrib/itest/bpel/helloworld-reference/src/test/resources/log4j.properties delete mode 100644 java/sca-contrib/itest/bpel/helloworld-ws/pom.xml delete mode 100644 java/sca-contrib/itest/bpel/helloworld-ws/src/test/java/helloworld/HelloWorld.java delete mode 100644 java/sca-contrib/itest/bpel/helloworld-ws/src/test/java/helloworld/HelloWorldTestCase.java delete mode 100644 java/sca-contrib/itest/bpel/helloworld-ws/src/test/resources/helloworld/deploy.xml delete mode 100644 java/sca-contrib/itest/bpel/helloworld-ws/src/test/resources/helloworld/helloworld.bpel delete mode 100644 java/sca-contrib/itest/bpel/helloworld-ws/src/test/resources/helloworld/helloworld.componentType delete mode 100644 java/sca-contrib/itest/bpel/helloworld-ws/src/test/resources/helloworld/helloworld.composite delete mode 100644 java/sca-contrib/itest/bpel/helloworld-ws/src/test/resources/helloworld/helloworld.wsdl delete mode 100644 java/sca-contrib/itest/bpel/helloworld-ws/src/test/resources/log4j.properties delete mode 100644 java/sca-contrib/itest/bpel/helloworld/pom.xml delete mode 100644 java/sca-contrib/itest/bpel/helloworld/src/test/java/helloworld/HelloWorld.java delete mode 100644 java/sca-contrib/itest/bpel/helloworld/src/test/java/helloworld/HelloWorldTestCase.java delete mode 100644 java/sca-contrib/itest/bpel/helloworld/src/test/resources/helloworld/deploy.xml delete mode 100644 java/sca-contrib/itest/bpel/helloworld/src/test/resources/helloworld/helloworld.bpel delete mode 100644 java/sca-contrib/itest/bpel/helloworld/src/test/resources/helloworld/helloworld.componentType delete mode 100644 java/sca-contrib/itest/bpel/helloworld/src/test/resources/helloworld/helloworld.composite delete mode 100644 java/sca-contrib/itest/bpel/helloworld/src/test/resources/helloworld/helloworld.wsdl delete mode 100644 java/sca-contrib/itest/bpel/helloworld/src/test/resources/log4j.properties delete mode 100644 java/sca-contrib/itest/bpel/pom.xml delete mode 100644 java/sca-contrib/itest/builder/pom.xml delete mode 100644 java/sca-contrib/itest/builder/src/main/java/org/apache/tuscany/sca/itest/builder/ComponentDImpl.java delete mode 100644 java/sca-contrib/itest/builder/src/main/java/org/apache/tuscany/sca/itest/builder/ComponentDReferenceMultiplicityImpl.java delete mode 100644 java/sca-contrib/itest/builder/src/main/java/org/apache/tuscany/sca/itest/builder/ComponentEImpl.java delete mode 100644 java/sca-contrib/itest/builder/src/main/java/org/apache/tuscany/sca/itest/builder/ComponentFImpl.java delete mode 100644 java/sca-contrib/itest/builder/src/main/java/org/apache/tuscany/sca/itest/builder/Service3.java delete mode 100644 java/sca-contrib/itest/builder/src/main/java/org/apache/tuscany/sca/itest/builder/Service3a.java delete mode 100644 java/sca-contrib/itest/builder/src/main/resources/scenario1/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/itest/builder/src/main/resources/scenario1/scenario1.composite delete mode 100644 java/sca-contrib/itest/builder/src/main/resources/scenario1/scenario1a.composite delete mode 100644 java/sca-contrib/itest/builder/src/main/resources/scenario10/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/itest/builder/src/main/resources/scenario10/scenario10.composite delete mode 100644 java/sca-contrib/itest/builder/src/main/resources/scenario10/scenario10a.composite delete mode 100644 java/sca-contrib/itest/builder/src/main/resources/scenario10/service3.wsdl delete mode 100644 java/sca-contrib/itest/builder/src/main/resources/scenario11/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/itest/builder/src/main/resources/scenario11/scenario11.composite delete mode 100644 java/sca-contrib/itest/builder/src/main/resources/scenario11/scenario11a.composite delete mode 100644 java/sca-contrib/itest/builder/src/main/resources/scenario11/service3.wsdl delete mode 100644 java/sca-contrib/itest/builder/src/main/resources/scenario12/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/itest/builder/src/main/resources/scenario12/scenario12.composite delete mode 100644 java/sca-contrib/itest/builder/src/main/resources/scenario12/scenario12a.composite delete mode 100644 java/sca-contrib/itest/builder/src/main/resources/scenario13/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/itest/builder/src/main/resources/scenario13/scenario13.composite delete mode 100644 java/sca-contrib/itest/builder/src/main/resources/scenario13/scenario13a.composite delete mode 100644 java/sca-contrib/itest/builder/src/main/resources/scenario2/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/itest/builder/src/main/resources/scenario2/scenario2.composite delete mode 100644 java/sca-contrib/itest/builder/src/main/resources/scenario2/scenario2a.composite delete mode 100644 java/sca-contrib/itest/builder/src/main/resources/scenario3/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/itest/builder/src/main/resources/scenario3/scenario3.composite delete mode 100644 java/sca-contrib/itest/builder/src/main/resources/scenario3/scenario3a.composite delete mode 100644 java/sca-contrib/itest/builder/src/main/resources/scenario4/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/itest/builder/src/main/resources/scenario4/scenario4.composite delete mode 100644 java/sca-contrib/itest/builder/src/main/resources/scenario4/scenario4a.composite delete mode 100644 java/sca-contrib/itest/builder/src/main/resources/scenario5/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/itest/builder/src/main/resources/scenario5/scenario5.composite delete mode 100644 java/sca-contrib/itest/builder/src/main/resources/scenario5/scenario5a.composite delete mode 100644 java/sca-contrib/itest/builder/src/main/resources/scenario5/scenarios.wsdl delete mode 100644 java/sca-contrib/itest/builder/src/main/resources/scenario6/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/itest/builder/src/main/resources/scenario6/scenario6.composite delete mode 100644 java/sca-contrib/itest/builder/src/main/resources/scenario6/scenario6a.composite delete mode 100644 java/sca-contrib/itest/builder/src/main/resources/scenario6/scenarios.wsdl delete mode 100644 java/sca-contrib/itest/builder/src/main/resources/scenario7/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/itest/builder/src/main/resources/scenario7/scenario7.composite delete mode 100644 java/sca-contrib/itest/builder/src/main/resources/scenario7/scenario7a.composite delete mode 100644 java/sca-contrib/itest/builder/src/main/resources/scenario7/scenarios.wsdl delete mode 100644 java/sca-contrib/itest/builder/src/main/resources/scenario8/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/itest/builder/src/main/resources/scenario8/scenario8.composite delete mode 100644 java/sca-contrib/itest/builder/src/main/resources/scenario8/scenario8a.composite delete mode 100644 java/sca-contrib/itest/builder/src/main/resources/scenario8/scenarios.wsdl delete mode 100644 java/sca-contrib/itest/builder/src/main/resources/scenario9/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/itest/builder/src/main/resources/scenario9/scenario9.composite delete mode 100644 java/sca-contrib/itest/builder/src/main/resources/scenario9/scenario9a.composite delete mode 100644 java/sca-contrib/itest/builder/src/test/java/org/apache/tuscany/sca/itest/builder/BuilderTestCase.java delete mode 100644 java/sca-contrib/itest/builder/src/test/java/org/apache/tuscany/sca/itest/builder/CompositeBuilderNonWiringImpl.java delete mode 100644 java/sca-contrib/itest/builder/src/test/java/org/apache/tuscany/sca/itest/builder/CustomCompositeBuilder.java delete mode 100644 java/sca-contrib/itest/builder/src/test/java/org/apache/tuscany/sca/itest/builder/TestUtils.java delete mode 100644 java/sca-contrib/itest/callablereferences-ws/pom.xml delete mode 100644 java/sca-contrib/itest/callablereferences-ws/src/main/java/com/example/ExampleClient.java delete mode 100644 java/sca-contrib/itest/callablereferences-ws/src/main/java/com/example/ExampleClientImpl.java delete mode 100644 java/sca-contrib/itest/callablereferences-ws/src/main/java/com/example/ExampleService.java delete mode 100644 java/sca-contrib/itest/callablereferences-ws/src/main/java/com/example/ExampleServiceImpl.java delete mode 100644 java/sca-contrib/itest/callablereferences-ws/src/main/java/org/apache/tuscany/sca/itest/callablerefwsreturn/Alpha.java delete mode 100644 java/sca-contrib/itest/callablereferences-ws/src/main/java/org/apache/tuscany/sca/itest/callablerefwsreturn/AlphaImpl.java delete mode 100644 java/sca-contrib/itest/callablereferences-ws/src/main/java/org/apache/tuscany/sca/itest/callablerefwsreturn/Beta.java delete mode 100644 java/sca-contrib/itest/callablereferences-ws/src/main/java/org/apache/tuscany/sca/itest/callablerefwsreturn/BetaImpl.java delete mode 100644 java/sca-contrib/itest/callablereferences-ws/src/main/java/org/apache/tuscany/sca/itest/callablerefwsreturn/Gamma.java delete mode 100644 java/sca-contrib/itest/callablereferences-ws/src/main/java/org/apache/tuscany/sca/itest/callablerefwsreturn/GammaImpl.java delete mode 100644 java/sca-contrib/itest/callablereferences-ws/src/main/resources/CallableReferenceWsReturnTest.composite delete mode 100644 java/sca-contrib/itest/callablereferences-ws/src/main/resources/example.composite delete mode 100644 java/sca-contrib/itest/callablereferences-ws/src/test/java/com/example/ExampleTestCase.java delete mode 100644 java/sca-contrib/itest/callablereferences-ws/src/test/java/org/apache/tuscany/sca/itest/callablerefws/CallableReferenceReturnTestCase.java delete mode 100644 java/sca-contrib/itest/callablereferences/pom.xml delete mode 100644 java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callableref/AComponent.java delete mode 100644 java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callableref/AComponentImpl.java delete mode 100644 java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callableref/BComponent.java delete mode 100644 java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callableref/BComponentImpl.java delete mode 100644 java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callableref/CComponent.java delete mode 100644 java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callableref/CComponentImpl.java delete mode 100644 java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callableref/DComponent.java delete mode 100644 java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callableref/DComponentImpl.java delete mode 100644 java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callablerefconversational/ConversationalService.java delete mode 100644 java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callablerefconversational/ConversationalServiceImpl.java delete mode 100644 java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callablerefreturn/Alpha.java delete mode 100644 java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callablerefreturn/AlphaImpl.java delete mode 100644 java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callablerefreturn/Beta.java delete mode 100644 java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callablerefreturn/BetaImpl.java delete mode 100644 java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callablerefreturn/Gamma.java delete mode 100644 java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callablerefreturn/GammaImpl.java delete mode 100644 java/sca-contrib/itest/callablereferences/src/main/resources/CallableReferenceConversationalTest.composite delete mode 100644 java/sca-contrib/itest/callablereferences/src/main/resources/CallableReferenceReturnTest.composite delete mode 100644 java/sca-contrib/itest/callablereferences/src/main/resources/CallableReferenceTest.composite delete mode 100644 java/sca-contrib/itest/callablereferences/src/main/resources/nodeA/CompositeA.composite delete mode 100644 java/sca-contrib/itest/callablereferences/src/main/resources/nodeA/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/itest/callablereferences/src/main/resources/nodeB/CompositeB.composite delete mode 100644 java/sca-contrib/itest/callablereferences/src/main/resources/nodeB/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/itest/callablereferences/src/test/java/org/apache/tuscany/sca/itest/callableref/CallableReferenceConversationalTestCase.java delete mode 100644 java/sca-contrib/itest/callablereferences/src/test/java/org/apache/tuscany/sca/itest/callableref/CallableReferenceRemoteTestCase.java delete mode 100644 java/sca-contrib/itest/callablereferences/src/test/java/org/apache/tuscany/sca/itest/callableref/CallableReferenceReturnTestCase.java delete mode 100644 java/sca-contrib/itest/callablereferences/src/test/java/org/apache/tuscany/sca/itest/callableref/CallableReferenceTestCase.java delete mode 100644 java/sca-contrib/itest/contribution-classloader/contribution-classes/build-jar.xml delete mode 100644 java/sca-contrib/itest/contribution-classloader/contribution-classes/pom.xml delete mode 100644 java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/java/supplychain/customer/Customer.java delete mode 100644 java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/java/supplychain/customer/JavaCustomerComponentImpl.java delete mode 100644 java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/java/supplychain/illegal/JavaCustomerComponentImpl.java delete mode 100644 java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/java/supplychain/retailer/JavaRetailerComponentImpl.java delete mode 100644 java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/java/supplychain/retailer/Retailer.java delete mode 100644 java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/java/supplychain/shipper/JavaShipperComponentImpl.java delete mode 100644 java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/java/supplychain/shipper/Shipper.java delete mode 100644 java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/java/supplychain/warehouse/JavaWarehouseComponentImpl.java delete mode 100644 java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/java/supplychain/warehouse/Warehouse.java delete mode 100644 java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/resources/META-INF/complete-supplychain-sca-contribution.xml delete mode 100644 java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/resources/META-INF/customer-impl-sca-contribution.xml delete mode 100644 java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/resources/META-INF/customer-interface-sca-contribution.xml delete mode 100644 java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/resources/META-INF/customer-sca-contribution.xml delete mode 100644 java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/resources/META-INF/illegal-customer-sca-contribution.xml delete mode 100644 java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/resources/META-INF/illegal1-supplychain-sca-contribution.xml delete mode 100644 java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/resources/META-INF/illegal2-supplychain-sca-contribution.xml delete mode 100644 java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/resources/META-INF/retailer-sca-contribution.xml delete mode 100644 java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/resources/META-INF/shipper-sca-contribution.xml delete mode 100644 java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/resources/META-INF/supplychain-sca-contribution.xml delete mode 100644 java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/resources/META-INF/warehouse-sca-contribution.xml delete mode 100644 java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/resources/supplychain/illegalsupplychain.composite delete mode 100644 java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/resources/supplychain/supplychain.composite delete mode 100644 java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/resources/supplychain/warehouse/JavaWarehouseComponentImpl.componentType delete mode 100644 java/sca-contrib/itest/contribution-classloader/contribution-test/pom.xml delete mode 100644 java/sca-contrib/itest/contribution-classloader/contribution-test/src/test/java/org/apache/tuscany/sca/test/contribution/ContributionTestCase.java delete mode 100644 java/sca-contrib/itest/contribution-classloader/contribution-test/src/test/java/org/apache/tuscany/sca/test/contribution/SupplyChain.java delete mode 100644 java/sca-contrib/itest/contribution-classloader/contribution-test/src/test/java/org/apache/tuscany/sca/test/contribution/TuscanyClassloadingTestCaseFIXME.java delete mode 100644 java/sca-contrib/itest/contribution-classloader/pom.xml delete mode 100644 java/sca-contrib/itest/contribution-import-export/export-composite/pom.xml delete mode 100644 java/sca-contrib/itest/contribution-import-export/export-composite/src/main/java/hello/Hello.java delete mode 100644 java/sca-contrib/itest/contribution-import-export/export-composite/src/main/java/hello/HelloImpl.java delete mode 100644 java/sca-contrib/itest/contribution-import-export/export-composite/src/main/resources/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/itest/contribution-import-export/export-composite/src/main/resources/hello.composite delete mode 100644 java/sca-contrib/itest/contribution-import-export/export-composite/src/test/java/org/apache/tuscany/sca/test/contribution/HelloTestCase.java delete mode 100644 java/sca-contrib/itest/contribution-import-export/export-java/pom.xml delete mode 100644 java/sca-contrib/itest/contribution-import-export/export-java/src/main/java/helloworld/HelloWorldService.java delete mode 100644 java/sca-contrib/itest/contribution-import-export/export-java/src/main/resources/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/itest/contribution-import-export/export-java/src/main/resources/helloworld/HelloWorldImpl.componentType delete mode 100644 java/sca-contrib/itest/contribution-import-export/export-resource/pom.xml delete mode 100644 java/sca-contrib/itest/contribution-import-export/export-resource/src/main/resources/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/itest/contribution-import-export/export-resource/src/main/resources/ufservices/store.html delete mode 100644 java/sca-contrib/itest/contribution-import-export/export-wsdl/pom.xml delete mode 100644 java/sca-contrib/itest/contribution-import-export/export-wsdl/src/main/resources/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/itest/contribution-import-export/export-wsdl/src/main/resources/helloworld.wsdl delete mode 100644 java/sca-contrib/itest/contribution-import-export/export-wsdl/src/main/resources/helloworld.xsd delete mode 100644 java/sca-contrib/itest/contribution-import-export/import-composite/pom.xml delete mode 100644 java/sca-contrib/itest/contribution-import-export/import-composite/src/main/java/helloworld/HelloWorldImpl.java delete mode 100644 java/sca-contrib/itest/contribution-import-export/import-composite/src/main/java/helloworld/HelloWorldServer.java delete mode 100644 java/sca-contrib/itest/contribution-import-export/import-composite/src/main/java/helloworld/HelloWorldService.java delete mode 100644 java/sca-contrib/itest/contribution-import-export/import-composite/src/main/resources/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/itest/contribution-import-export/import-composite/src/main/resources/helloworld.wsdl delete mode 100644 java/sca-contrib/itest/contribution-import-export/import-composite/src/main/resources/helloworld.xsd delete mode 100644 java/sca-contrib/itest/contribution-import-export/import-composite/src/main/resources/helloworldws.composite delete mode 100644 java/sca-contrib/itest/contribution-import-export/import-composite/src/test/java/org/apache/tuscany/test/contribution/HelloWorldServerTestCase.java delete mode 100644 java/sca-contrib/itest/contribution-import-export/import-java/pom.xml delete mode 100644 java/sca-contrib/itest/contribution-import-export/import-java/src/main/java/helloworld/HelloWorldImpl.java delete mode 100644 java/sca-contrib/itest/contribution-import-export/import-java/src/main/resources/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/itest/contribution-import-export/import-java/src/main/resources/helloworldws.composite delete mode 100644 java/sca-contrib/itest/contribution-import-export/import-java/src/test/java/org/apache/tuscany/sca/test/contribution/HelloWorldServerTestCase.java delete mode 100644 java/sca-contrib/itest/contribution-import-export/import-resource/pom.xml delete mode 100644 java/sca-contrib/itest/contribution-import-export/import-resource/src/main/resources/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/itest/contribution-import-export/import-resource/src/main/resources/store.composite delete mode 100644 java/sca-contrib/itest/contribution-import-export/import-resource/src/test/java/org/apache/tuscany/sca/test/contribution/StoreTestCase.java delete mode 100644 java/sca-contrib/itest/contribution-import-export/import-wsdl/pom.xml delete mode 100644 java/sca-contrib/itest/contribution-import-export/import-wsdl/src/main/java/helloworld/HelloWorldImpl.java delete mode 100644 java/sca-contrib/itest/contribution-import-export/import-wsdl/src/main/java/helloworld/HelloWorldServer.java delete mode 100644 java/sca-contrib/itest/contribution-import-export/import-wsdl/src/main/java/helloworld/HelloWorldService.java delete mode 100644 java/sca-contrib/itest/contribution-import-export/import-wsdl/src/main/resources/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/itest/contribution-import-export/import-wsdl/src/main/resources/helloworldws.composite delete mode 100644 java/sca-contrib/itest/contribution-import-export/import-wsdl/src/test/java/org/apache/tuscany/sca/test/contribution/HelloWorldServerTestCase.java delete mode 100644 java/sca-contrib/itest/contribution-import-export/pom.xml delete mode 100644 java/sca-contrib/itest/contribution-multiple/pom.xml delete mode 100644 java/sca-contrib/itest/contribution-multiple/src/test/java/hello/Hello.java delete mode 100644 java/sca-contrib/itest/contribution-multiple/src/test/java/hello/HelloImpl.java delete mode 100644 java/sca-contrib/itest/contribution-multiple/src/test/java/helloworld/HelloWorldImpl.java delete mode 100644 java/sca-contrib/itest/contribution-multiple/src/test/java/helloworld/HelloWorldService.java delete mode 100644 java/sca-contrib/itest/contribution-multiple/src/test/java/test/ContributionCycleTestCaseFIXME.java delete mode 100644 java/sca-contrib/itest/contribution-multiple/src/test/java/test/ContributionMultipleTestCaseFIXME.java delete mode 100644 java/sca-contrib/itest/contribution-multiple/src/test/java/test/ContributionTestCase.java delete mode 100644 java/sca-contrib/itest/contribution-multiple/src/test/resources/contribution-cycle-export/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/itest/contribution-multiple/src/test/resources/contribution-cycle-export/hello.composite delete mode 100644 java/sca-contrib/itest/contribution-multiple/src/test/resources/contribution-cycle-import/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/itest/contribution-multiple/src/test/resources/contribution-cycle-import/helloworld_one.composite delete mode 100644 java/sca-contrib/itest/contribution-multiple/src/test/resources/contribution-export/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/itest/contribution-multiple/src/test/resources/contribution-export/hello.composite delete mode 100644 java/sca-contrib/itest/contribution-multiple/src/test/resources/contribution-import-one/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/itest/contribution-multiple/src/test/resources/contribution-import-one/helloworld_one.composite delete mode 100644 java/sca-contrib/itest/contribution-multiple/src/test/resources/contribution-import-two/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/itest/contribution-multiple/src/test/resources/contribution-import-two/helloworld_two.composite delete mode 100644 java/sca-contrib/itest/contribution/pom.xml delete mode 100644 java/sca-contrib/itest/contribution/src/main/java/calculator/AddService.java delete mode 100644 java/sca-contrib/itest/contribution/src/main/java/calculator/AddServiceImpl.java delete mode 100644 java/sca-contrib/itest/contribution/src/main/java/calculator/CalculatorClient.java delete mode 100644 java/sca-contrib/itest/contribution/src/main/java/calculator/CalculatorService.java delete mode 100644 java/sca-contrib/itest/contribution/src/main/java/calculator/CalculatorServiceImpl.java delete mode 100644 java/sca-contrib/itest/contribution/src/main/java/calculator/DivideService.java delete mode 100644 java/sca-contrib/itest/contribution/src/main/java/calculator/DivideServiceImpl.java delete mode 100644 java/sca-contrib/itest/contribution/src/main/java/calculator/MultiplyService.java delete mode 100644 java/sca-contrib/itest/contribution/src/main/java/calculator/MultiplyServiceImpl.java delete mode 100644 java/sca-contrib/itest/contribution/src/main/java/calculator/SubtractService.java delete mode 100644 java/sca-contrib/itest/contribution/src/main/java/calculator/SubtractServiceImpl.java delete mode 100644 java/sca-contrib/itest/contribution/src/main/resources/ContributionTest.composite delete mode 100644 java/sca-contrib/itest/contribution/src/main/resources/calculator/Calculator.composite delete mode 100644 java/sca-contrib/itest/contribution/src/main/resources/calculator/sca-contribution.xml delete mode 100644 java/sca-contrib/itest/contribution/src/test/java/org/apache/tuscany/sca/test/contribution/ContributionServiceTestCase.java delete mode 100644 java/sca-contrib/itest/contribution/src/test/resources/deployables/sample-calculator.jar delete mode 100644 java/sca-contrib/itest/contribution/src/test/resources/repository/sample-calculator.jar delete mode 100644 java/sca-contrib/itest/conversations-ws/pom.xml delete mode 100644 java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/BusinessException.java delete mode 100644 java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/ConversationIdService.java delete mode 100644 java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/ConversationalCallback.java delete mode 100644 java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/ConversationalClient.java delete mode 100644 java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/ConversationalReferenceClient.java delete mode 100644 java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/ConversationalService.java delete mode 100644 java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/ConversationalServiceNonConversationalCallback.java delete mode 100644 java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/NonConversationalCallback.java delete mode 100644 java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/impl/ConversationAgeComponentImpl.java delete mode 100644 java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/impl/ConversationIdComponentImpl.java delete mode 100644 java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/impl/ConversationMaxIdleComponentImpl.java delete mode 100644 java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/impl/ConversationalClientStatefulImpl.java delete mode 100644 java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/impl/ConversationalClientStatefulNonConversationalCallbackImpl.java delete mode 100644 java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/impl/ConversationalClientStatelessImpl.java delete mode 100644 java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/impl/ConversationalReferenceClientImpl.java delete mode 100644 java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/impl/ConversationalServiceRequestImpl.java delete mode 100644 java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/impl/ConversationalServiceStatefulImpl.java delete mode 100644 java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/impl/ConversationalServiceStatefulNonConversationalCallbackImpl.java delete mode 100644 java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/impl/ConversationalServiceStatelessImpl.java delete mode 100644 java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/impl/ConversationalServiceStatelessScopeImpl.java delete mode 100644 java/sca-contrib/itest/conversations-ws/src/main/resources/Conversational/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/itest/conversations-ws/src/main/resources/Conversational/conversational.composite delete mode 100644 java/sca-contrib/itest/conversations-ws/src/main/resources/ConversationalWSDL/ConversationalServiceStateful.wsdl delete mode 100644 java/sca-contrib/itest/conversations-ws/src/main/resources/ConversationalWSDL/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/itest/conversations-ws/src/main/resources/ConversationalWSDL/conversationalWSDL.composite delete mode 100644 java/sca-contrib/itest/conversations-ws/src/test/java/org/apache/tuscany/sca/itest/conversational/ConversationWSDLTestCase.java delete mode 100644 java/sca-contrib/itest/conversations-ws/src/test/java/org/apache/tuscany/sca/itest/conversational/NonConversationalCallbackTestCase.java delete mode 100644 java/sca-contrib/itest/conversations-ws/src/test/java/org/apache/tuscany/sca/itest/conversational/RequestScopeTestCase.java delete mode 100644 java/sca-contrib/itest/conversations-ws/src/test/java/org/apache/tuscany/sca/itest/conversational/StatefulStatefulTestCase.java delete mode 100644 java/sca-contrib/itest/conversations-ws/src/test/java/org/apache/tuscany/sca/itest/conversational/StatefulStatelessTestCase.java delete mode 100644 java/sca-contrib/itest/conversations-ws/src/test/java/org/apache/tuscany/sca/itest/conversational/StatelessStatefulTestCase.java delete mode 100644 java/sca-contrib/itest/conversations-ws/src/test/java/org/apache/tuscany/sca/itest/conversational/StatelessStatelessTestCase.java delete mode 100644 java/sca-contrib/itest/corba/pom.xml delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/ScenarioFiveTestCase.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/ScenarioFourTestCase.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/ScenarioOneTestCase.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/ScenarioSixTestCase.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/ScenarioThreeTestCase.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/ScenarioTwoTestCase.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/TestCorbaHost.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/TestCorbaHostModuleActivator.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/AnnotatedStruct.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/AnnotatedStructHelper.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/AnnotatedStructHolder.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/Color.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/ColorHelper.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/ColorHolder.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/InnerStruct.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/InnerStructHelper.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/InnerStructHolder.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/InnerUnion.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/InnerUnionHelper.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/InnerUnionHolder.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/LongSequenceHelper.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/LongSequenceHolder.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/RichStruct.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/RichStructHelper.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/RichStructHolder.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/RichUnion.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/RichUnionHelper.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/RichUnionHolder.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/ScenarioOne.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/ScenarioOneHelper.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/ScenarioOneHolder.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/ScenarioOneOperations.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/ScenarioSix.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/ScenarioSixHelper.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/ScenarioSixHolder.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/ScenarioSixOperations.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/ScenarioTwo.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/ScenarioTwoHelper.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/ScenarioTwoHolder.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/ScenarioTwoOperations.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/StringArrayHelper.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/StringArrayHolder.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/StringSequenceHelper.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/StringSequenceHolder.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/TwoDimLongSequenceHelper.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/TwoDimLongSequenceHolder.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/UnexpectedException.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/UnexpectedExceptionHelper.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/UnexpectedExceptionHolder.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/WrongColor.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/WrongColorHelper.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/WrongColorHolder.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/_ScenarioOneImplBase.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/_ScenarioOneStub.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/_ScenarioSixImplBase.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/_ScenarioSixStub.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/_ScenarioTwoImplBase.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/_ScenarioTwoStub.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/ScenarioFive.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/ScenarioFiveComponent.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/ScenarioFiveImpl.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/ScenarioFour.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/ScenarioFourComponent.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/ScenarioFourException.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/ScenarioFourImpl.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/ScenarioFourStruct.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/ScenarioOneComponent.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/ScenarioOneServant.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/ScenarioSixServant.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/ScenarioTwoServant.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TAnnotatedStruct.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TColor.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TInnerStruct.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TInnerUnion.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TRichStruct.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TRichUnion.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TScenarioOne.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TScenarioOneComponent.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TScenarioOneServant.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TScenarioSix.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TScenarioSixComponent.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TScenarioSixServant.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TScenarioThree.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TScenarioThreeComponent.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TScenarioThreeServant.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TScenarioTwo.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TScenarioTwoComponent.java delete mode 100644 java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TScenarioTwoServant.java delete mode 100644 java/sca-contrib/itest/corba/src/test/resources/META-INF/services/org.apache.tuscany.sca.core.ModuleActivator delete mode 100644 java/sca-contrib/itest/corba/src/test/resources/ScenarioFive.composite delete mode 100644 java/sca-contrib/itest/corba/src/test/resources/ScenarioFour.composite delete mode 100644 java/sca-contrib/itest/corba/src/test/resources/ScenarioOne.composite delete mode 100644 java/sca-contrib/itest/corba/src/test/resources/ScenarioSix.composite delete mode 100644 java/sca-contrib/itest/corba/src/test/resources/ScenarioThree.composite delete mode 100644 java/sca-contrib/itest/corba/src/test/resources/ScenarioTwo.composite delete mode 100644 java/sca-contrib/itest/corba/src/test/resources/itest_scenario.idl delete mode 100644 java/sca-contrib/itest/corba/src/test/resources/scenariofour.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/pom.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/java/org/apache/tuscany/sca/itest/generate/Generate.java delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/generate/DatabindingTestCase.java.vm delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/generate/Greeter.wsdl.vm delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/generate/GreeterService.java.vm delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/generate/GreeterServiceClient.java.vm delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/generate/GreeterServiceClientImpl.java.vm delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/generate/GreeterServiceImpl.java.vm delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/generate/generate.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/wsdl/Dummy.txt delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/Annotation.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/Annotation.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/Attribute.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/Attribute.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeReference.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeReference.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithDefaultValue.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithDefaultValue.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithFixedValue.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithFixedValue.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithSDOAliasName.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithSDOAliasName.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithSDODataType.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithSDODataType.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithSDOName.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithSDOName.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithSDOPropertySDOOppositePropertyType.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithSDOPropertySDOOppositePropertyType.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithSDOPropertyType.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithSDOPropertyType.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithSDOString.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithSDOString.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInAnySimpleType.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInAnySimpleType.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInAnyType.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInAnyType.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInAnyURI.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInAnyURI.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInBase64Binary.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInBase64Binary.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInBoolean.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInBoolean.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInByte.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInByte.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInDate.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInDate.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInDateTime.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInDateTime.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInDecimal.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInDecimal.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInDouble.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInDouble.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInDuration.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInDuration.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInFloat.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInFloat.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInGDay.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInGDay.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInGMonth.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInGMonth.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInGMonthDay.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInGMonthDay.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInGYear.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInGYear.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInGYearMonth.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInGYearMonth.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInHexBinary.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInHexBinary.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInID.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInID.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInIDREF.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInIDREF.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInIDREFS.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInIDREFS.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInInt.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInInt.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInInteger.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInInteger.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInLanguage.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInLanguage.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInLong.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInLong.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNCName.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNCName.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNMTOKEN.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNMTOKEN.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNMTOKENS.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNMTOKENS.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNOTATION.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNOTATION.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInName.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInName.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNegativeInteger.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNegativeInteger.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNonNegativeInteger.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNonNegativeInteger.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNonPositiveInteger.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNonPositiveInteger.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNormalizedString.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNormalizedString.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInPositiveInteger.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInPositiveInteger.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInQName.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInQName.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInShort.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInShort.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInString.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInString.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInTime.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInTime.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInToken.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInToken.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInUnsignedByte.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInUnsignedByte.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInUnsignedInt.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInUnsignedInt.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInUnsignedLong.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInUnsignedLong.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInUnsignedShort.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInUnsignedShort.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeComplexContentRestrictingComplexType.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeComplexContentRestrictingComplexType.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeExtendingComplexType.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeExtendingComplexType.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeExtendingSimpleType.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeExtendingSimpleType.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeSimpleContentRestrictingComplexType.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeSimpleContentRestrictingComplexType.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithAbstract.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithAbstract.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithCDATA.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithCDATA.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithContent.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithContent.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithMixed.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithMixed.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithOpenAttributes.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithOpenAttributes.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithOpenContent.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithOpenContent.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithOppositeProperty.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithOppositeProperty.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithSDOAliasName.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithSDOAliasName.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithSDOName.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithSDOName.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithSDOSequence.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithSDOSequence.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithoutContent.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithoutContent.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithoutName.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithoutName.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/DefaultNamespace.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/DefaultNamespace.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementInAll.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementInAll.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementInChoice.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementInChoice.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementOfSDOChangeSummaryType.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementOfSDOChangeSummaryType.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementOfSimpleTypeWithDefault.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementOfSimpleTypeWithDefault.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementOfSimpleTypeWithFixed.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementOfSimpleTypeWithFixed.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementOfSimpleTypeWithSDODataType.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementOfSimpleTypeWithSDODataType.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementOfSimpleTypeWithSDOOppositePropertyType.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementOfSimpleTypeWithSDOOppositePropertyType.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementOfSimpleTypeWithSDOPropertyType.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementOfSimpleTypeWithSDOPropertyType.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementOfSimpleTypeWithSDOString.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementOfSimpleTypeWithSDOString.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementSubstitutionGroupBase.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementSubstitutionGroupBase.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementWithMaxOccurs.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementWithMaxOccurs.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementWithNillable.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementWithNillable.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementWithSDOAliasName.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementWithSDOAliasName.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementWithSDOName.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementWithSDOName.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/GlobalElementComplexType.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/GlobalElementComplexType.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/GlobalElementSimpleType.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/GlobalElementSimpleType.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/Import.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/Import.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ImportedSchema.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/Include.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/Include.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/Interop.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/Notation.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/Notation.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/Person.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SDOJavaPackage.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SDOJavaPackage.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithAbstract.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithAbstract.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithExtendedInstanceClass.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithExtendedInstanceClass.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithInstanceClass.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithInstanceClass.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithList.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithList.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithName.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithName.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithSDOName.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithSDOName.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithUnion.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithUnion.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithoutName.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithoutName.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/TargetNamespace.xml delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/TargetNamespace.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/datagraph.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/sdoJava.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/main/resources/xsd/sdoModel.xsd delete mode 100644 java/sca-contrib/itest/databindings/common/src/test/java/org/apache/tuscany/sca/itest/generate/GenerateTestCase.java delete mode 100644 java/sca-contrib/itest/databindings/config.png delete mode 100644 java/sca-contrib/itest/databindings/config.svg delete mode 100644 java/sca-contrib/itest/databindings/databinding.png delete mode 100644 java/sca-contrib/itest/databindings/databinding.svg delete mode 100644 java/sca-contrib/itest/databindings/interop.png delete mode 100644 java/sca-contrib/itest/databindings/interop.svg delete mode 100644 java/sca-contrib/itest/databindings/interop/pom.xml delete mode 100644 java/sca-contrib/itest/databindings/interop/src/main/resources/generate/InteropDatabindingTestCase.java.vm delete mode 100644 java/sca-contrib/itest/databindings/interop/src/main/resources/generate/JAXBGreeter.wsdl.vm delete mode 100644 java/sca-contrib/itest/databindings/interop/src/main/resources/generate/SDOGreeter.wsdl.vm delete mode 100644 java/sca-contrib/itest/databindings/interop/src/main/resources/generate/generate.xml delete mode 100644 java/sca-contrib/itest/databindings/interop/src/main/resources/generate/interopgreeter.composite.vm delete mode 100644 java/sca-contrib/itest/databindings/jaxb-bottom-up/pom.xml delete mode 100644 java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/AClientService.java delete mode 100644 java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/AService.java delete mode 100644 java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/Bean1.java delete mode 100644 java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/Bean10.java delete mode 100644 java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/Bean11.java delete mode 100644 java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/Bean2.java delete mode 100644 java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/Bean3.java delete mode 100644 java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/Bean31.java delete mode 100644 java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/GenericsLocalService.java delete mode 100644 java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/GenericsService.java delete mode 100644 java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/GenericsServiceClient.java delete mode 100644 java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/HelloLocalServiceSimple.java delete mode 100644 java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/HelloServiceSimple.java delete mode 100644 java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/HelloServiceSimpleClient.java delete mode 100644 java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/PrimitivesLocalService.java delete mode 100644 java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/PrimitivesService.java delete mode 100644 java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/PrimitivesServiceClient.java delete mode 100644 java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/StandardTypesLocalService.java delete mode 100644 java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/StandardTypesService.java delete mode 100644 java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/StandardTypesServiceClient.java delete mode 100644 java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/AClientServiceImpl.java delete mode 100644 java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/AServiceImpl.java delete mode 100644 java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/GenericsLocalServiceClientImpl.java delete mode 100644 java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/GenericsServiceClientImpl.java delete mode 100644 java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/GenericsServiceImpl.java delete mode 100644 java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/GenericsTransformer.java delete mode 100644 java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/HelloLocalServiceSimpleClientImpl.java delete mode 100644 java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/HelloServiceSimpleClientImpl.java delete mode 100644 java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/HelloServiceSimpleImpl.java delete mode 100644 java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/PrimitivesLocalServiceClientImpl.java delete mode 100644 java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/PrimitivesServiceClientImpl.java delete mode 100644 java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/PrimitivesServiceImpl.java delete mode 100644 java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/StandardTypesLocalServiceClientImpl.java delete mode 100644 java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/StandardTypesServiceClientImpl.java delete mode 100644 java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/StandardTypesServiceImpl.java delete mode 100644 java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/StandardTypesTransformer.java delete mode 100644 java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/resources/aservice.wsdl delete mode 100644 java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/resources/doclitbarewsdl.composite delete mode 100644 java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/resources/generics-service.composite delete mode 100644 java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/resources/helloservice.composite delete mode 100644 java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/resources/primitivesservice.composite delete mode 100644 java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/resources/standard-types-service.composite delete mode 100644 java/sca-contrib/itest/databindings/jaxb-bottom-up/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/DatabindingTestCase.java delete mode 100644 java/sca-contrib/itest/databindings/jaxb-bottom-up/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/DocLitBareWsdlTestCase.java delete mode 100644 java/sca-contrib/itest/databindings/jaxb-bottom-up/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/GenericsDatabindingTestCase.java delete mode 100644 java/sca-contrib/itest/databindings/jaxb-bottom-up/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/PrimitivesDatabindingTestCase.java delete mode 100644 java/sca-contrib/itest/databindings/jaxb-bottom-up/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/StandardTypesDatabindingTestCase.java delete mode 100644 java/sca-contrib/itest/databindings/jaxb-top-down/pom.xml delete mode 100644 java/sca-contrib/itest/databindings/jaxb-top-down/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/HelloService.java delete mode 100644 java/sca-contrib/itest/databindings/jaxb-top-down/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/HelloServiceClient.java delete mode 100644 java/sca-contrib/itest/databindings/jaxb-top-down/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/PrimitivesService.java delete mode 100644 java/sca-contrib/itest/databindings/jaxb-top-down/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/PrimitivesServiceClient.java delete mode 100644 java/sca-contrib/itest/databindings/jaxb-top-down/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/StandardTypesService.java delete mode 100644 java/sca-contrib/itest/databindings/jaxb-top-down/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/StandardTypesServiceClient.java delete mode 100644 java/sca-contrib/itest/databindings/jaxb-top-down/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/HelloServiceClientImpl.java delete mode 100644 java/sca-contrib/itest/databindings/jaxb-top-down/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/HelloServiceImpl.java delete mode 100644 java/sca-contrib/itest/databindings/jaxb-top-down/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/PrimitivesServiceClientImpl.java delete mode 100644 java/sca-contrib/itest/databindings/jaxb-top-down/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/PrimitivesServiceImpl.java delete mode 100644 java/sca-contrib/itest/databindings/jaxb-top-down/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/StandardTypesServiceClientImpl.java delete mode 100644 java/sca-contrib/itest/databindings/jaxb-top-down/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/StandardTypesServiceImpl.java delete mode 100644 java/sca-contrib/itest/databindings/jaxb-top-down/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/StandardTypesTransformer.java delete mode 100644 java/sca-contrib/itest/databindings/jaxb-top-down/src/main/resources/wsdl/wrapped/hello-service.wsdl delete mode 100644 java/sca-contrib/itest/databindings/jaxb-top-down/src/main/resources/wsdl/wrapped/helloservice.composite delete mode 100644 java/sca-contrib/itest/databindings/jaxb-top-down/src/main/resources/wsdl/wrapped/primitives-service.wsdl delete mode 100644 java/sca-contrib/itest/databindings/jaxb-top-down/src/main/resources/wsdl/wrapped/primitivesservice.composite delete mode 100644 java/sca-contrib/itest/databindings/jaxb-top-down/src/main/resources/wsdl/wrapped/standard-types-service.composite delete mode 100644 java/sca-contrib/itest/databindings/jaxb-top-down/src/main/resources/wsdl/wrapped/standard-types-service.wsdl delete mode 100644 java/sca-contrib/itest/databindings/jaxb-top-down/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/topdown/DatabindingTestCase.java delete mode 100644 java/sca-contrib/itest/databindings/jaxb-top-down/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/topdown/PrimitivesDatabindingTestCase.java delete mode 100644 java/sca-contrib/itest/databindings/jaxb-top-down/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/topdown/StandardTypesDatabindingTestCase.java delete mode 100644 java/sca-contrib/itest/databindings/jaxbgen/pom.xml delete mode 100644 java/sca-contrib/itest/databindings/jaxbgen/src/main/resources/generate/generate.xml delete mode 100644 java/sca-contrib/itest/databindings/jaxbgen/src/main/resources/greeter.composite delete mode 100644 java/sca-contrib/itest/databindings/pom.xml delete mode 100644 java/sca-contrib/itest/databindings/readme.html delete mode 100644 java/sca-contrib/itest/databindings/sdogen/pom.xml delete mode 100644 java/sca-contrib/itest/databindings/sdogen/src/main/resources/generate/generate.xml delete mode 100644 java/sca-contrib/itest/databindings/sdogen/src/main/resources/generate/greeter.composite.vm delete mode 100644 java/sca-contrib/itest/definitions-multiple/pom.xml delete mode 100644 java/sca-contrib/itest/definitions-multiple/src/main/java/calculator/AddService.java delete mode 100644 java/sca-contrib/itest/definitions-multiple/src/main/java/calculator/AddServiceImpl.java delete mode 100644 java/sca-contrib/itest/definitions-multiple/src/main/java/calculator/CalculatorService.java delete mode 100644 java/sca-contrib/itest/definitions-multiple/src/main/java/calculator/CalculatorServiceImpl.java delete mode 100644 java/sca-contrib/itest/definitions-multiple/src/main/java/calculator/DivideService.java delete mode 100644 java/sca-contrib/itest/definitions-multiple/src/main/java/calculator/DivideServiceImpl.java delete mode 100644 java/sca-contrib/itest/definitions-multiple/src/main/java/calculator/MultiplyService.java delete mode 100644 java/sca-contrib/itest/definitions-multiple/src/main/java/calculator/MultiplyServiceImpl.java delete mode 100644 java/sca-contrib/itest/definitions-multiple/src/main/java/calculator/PolicyQNames.java delete mode 100644 java/sca-contrib/itest/definitions-multiple/src/main/java/calculator/SubtractService.java delete mode 100644 java/sca-contrib/itest/definitions-multiple/src/main/java/calculator/SubtractServiceImpl.java delete mode 100644 java/sca-contrib/itest/definitions-multiple/src/main/resources/contrib3/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/itest/definitions-multiple/src/main/resources/contrib3/definitions.xml delete mode 100644 java/sca-contrib/itest/definitions-multiple/src/test/java/org/apache/tuscany/sca/itest/MultipleDefinitionsTestCase.java delete mode 100644 java/sca-contrib/itest/definitions-multiple/src/test/java/org/apache/tuscany/sca/itest/Policy.java delete mode 100644 java/sca-contrib/itest/definitions-multiple/src/test/java/org/apache/tuscany/sca/itest/TestPolicyProcessor.java delete mode 100644 java/sca-contrib/itest/definitions-multiple/src/test/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor delete mode 100644 java/sca-contrib/itest/definitions-multiple/src/test/resources/contrib1/Calculator.composite delete mode 100644 java/sca-contrib/itest/definitions-multiple/src/test/resources/contrib1/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/itest/definitions-multiple/src/test/resources/contrib1/definitions.xml delete mode 100644 java/sca-contrib/itest/definitions-multiple/src/test/resources/contrib1/definitions/definitions.xml delete mode 100644 java/sca-contrib/itest/definitions-multiple/src/test/resources/contrib2/definitions.xml delete mode 100644 java/sca-contrib/itest/domain/pom.xml delete mode 100644 java/sca-contrib/itest/domain/src/main/java/calculator/AddService.java delete mode 100644 java/sca-contrib/itest/domain/src/main/java/calculator/AddServiceImpl.java delete mode 100644 java/sca-contrib/itest/domain/src/main/java/calculator/AddServiceUpdateImpl.java delete mode 100644 java/sca-contrib/itest/domain/src/main/java/calculator/CalculatorService.java delete mode 100644 java/sca-contrib/itest/domain/src/main/java/calculator/CalculatorServiceImpl.java delete mode 100644 java/sca-contrib/itest/domain/src/main/java/calculator/DivideService.java delete mode 100644 java/sca-contrib/itest/domain/src/main/java/calculator/DivideServiceImpl.java delete mode 100644 java/sca-contrib/itest/domain/src/main/java/calculator/MultiplyService.java delete mode 100644 java/sca-contrib/itest/domain/src/main/java/calculator/MultiplyServiceImpl.java delete mode 100644 java/sca-contrib/itest/domain/src/main/java/calculator/SubtractService.java delete mode 100644 java/sca-contrib/itest/domain/src/main/java/calculator/SubtractServiceImpl.java delete mode 100644 java/sca-contrib/itest/domain/src/main/resources/contributionA/Calculator.composite delete mode 100644 java/sca-contrib/itest/domain/src/main/resources/contributionA/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/itest/domain/src/main/resources/contributionB/META-INF/sca-deployables/Calculator.composite delete mode 100644 java/sca-contrib/itest/domain/src/main/resources/contributionC/META-INF/sca-deployables/Calculator.composite delete mode 100644 java/sca-contrib/itest/domain/src/main/resources/contributionDependent/Calculator.composite delete mode 100644 java/sca-contrib/itest/domain/src/main/resources/contributionDependent/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/itest/domain/src/main/resources/contributionPrimary/Calculator.composite delete mode 100644 java/sca-contrib/itest/domain/src/main/resources/contributionPrimary/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/itest/domain/src/test/java/org/apache/tuscany/sca/itest/domain/ContributionSPIsTestCase.java delete mode 100644 java/sca-contrib/itest/exceptions-cross-binding-ws/pom.xml delete mode 100644 java/sca-contrib/itest/exceptions-cross-binding-ws/src/main/java/org/apache/tuscany/sca/test/exceptions/impl/StockExchangeJaxB.java delete mode 100644 java/sca-contrib/itest/exceptions-cross-binding-ws/src/main/java/org/apache/tuscany/sca/test/exceptions/impl/StockTraderSDO.java delete mode 100644 java/sca-contrib/itest/exceptions-cross-binding-ws/src/main/java/org/apache/tuscany/sca/test/exceptions/impl/StockTraderSDOImpl.java delete mode 100644 java/sca-contrib/itest/exceptions-cross-binding-ws/src/main/java/org/apache/tuscany/sca/test/exceptions/sdohandgen/InvalidSymbolSDOException.java delete mode 100644 java/sca-contrib/itest/exceptions-cross-binding-ws/src/main/java/org/apache/tuscany/sca/test/exceptions/sdohandgen/MarketClosedSDOException.java delete mode 100644 java/sca-contrib/itest/exceptions-cross-binding-ws/src/main/java/org/apache/tuscany/sca/test/exceptions/sdohandgen/StockExceptionTest.java delete mode 100644 java/sca-contrib/itest/exceptions-cross-binding-ws/src/main/resources/ExceptionTest.composite delete mode 100644 java/sca-contrib/itest/exceptions-cross-binding-ws/src/main/resources/intracomposite.composite delete mode 100644 java/sca-contrib/itest/exceptions-cross-binding-ws/src/main/resources/wsdl/StockExceptionTest.wsdl delete mode 100644 java/sca-contrib/itest/exceptions-cross-binding-ws/src/main/resources/xsd/StockExceptionTest.xsd delete mode 100644 java/sca-contrib/itest/exceptions-cross-binding-ws/src/test/java/org/apache/tuscany/sca/test/exceptions/IntraCompositeTestCase.java delete mode 100644 java/sca-contrib/itest/exceptions-cross-binding/pom.xml delete mode 100644 java/sca-contrib/itest/exceptions-cross-binding/src/main/java/org/apache/tuscany/sca/test/exceptions/impl/StockExceptionTestJAXB.java delete mode 100644 java/sca-contrib/itest/exceptions-cross-binding/src/main/java/org/apache/tuscany/sca/test/exceptions/impl/StockExchangeJaxB.java delete mode 100644 java/sca-contrib/itest/exceptions-cross-binding/src/main/java/org/apache/tuscany/sca/test/exceptions/impl/StockTraderSDO.java delete mode 100644 java/sca-contrib/itest/exceptions-cross-binding/src/main/java/org/apache/tuscany/sca/test/exceptions/impl/StockTraderSDOImpl.java delete mode 100644 java/sca-contrib/itest/exceptions-cross-binding/src/main/java/org/apache/tuscany/sca/test/exceptions/sdohandgen/InvalidSymbolSDOException.java delete mode 100644 java/sca-contrib/itest/exceptions-cross-binding/src/main/java/org/apache/tuscany/sca/test/exceptions/sdohandgen/MarketClosedSDOException.java delete mode 100644 java/sca-contrib/itest/exceptions-cross-binding/src/main/java/org/apache/tuscany/sca/test/exceptions/sdohandgen/StockExceptionTest.java delete mode 100644 java/sca-contrib/itest/exceptions-cross-binding/src/main/resources/ExceptionTest.composite delete mode 100644 java/sca-contrib/itest/exceptions-cross-binding/src/main/resources/intracomposite.composite delete mode 100644 java/sca-contrib/itest/exceptions-cross-binding/src/main/resources/wsdl.sdo/StockExceptionTest.wsdl delete mode 100644 java/sca-contrib/itest/exceptions-cross-binding/src/main/resources/wsdl/StockExceptionTest.wsdl delete mode 100644 java/sca-contrib/itest/exceptions-cross-binding/src/main/resources/xsd/StockExceptionTest.xsd delete mode 100644 java/sca-contrib/itest/exceptions-cross-binding/src/test/java/org/apache/tuscany/sca/test/exceptions/IntraCompositeTestCase.java delete mode 100644 java/sca-contrib/itest/exceptions-simple-ws/pom.xml delete mode 100644 java/sca-contrib/itest/exceptions-simple-ws/src/main/java/com/example/BusinessException.java delete mode 100644 java/sca-contrib/itest/exceptions-simple-ws/src/main/java/com/example/BusinessExceptionMinimal.java delete mode 100644 java/sca-contrib/itest/exceptions-simple-ws/src/main/java/com/example/ExampleClient.java delete mode 100644 java/sca-contrib/itest/exceptions-simple-ws/src/main/java/com/example/ExampleClientImpl.java delete mode 100644 java/sca-contrib/itest/exceptions-simple-ws/src/main/java/com/example/ExampleClientMinimalImpl.java delete mode 100644 java/sca-contrib/itest/exceptions-simple-ws/src/main/java/com/example/ExampleService.java delete mode 100644 java/sca-contrib/itest/exceptions-simple-ws/src/main/java/com/example/ExampleServiceImpl.java delete mode 100644 java/sca-contrib/itest/exceptions-simple-ws/src/main/java/com/example/ExampleServiceMinimal.java delete mode 100644 java/sca-contrib/itest/exceptions-simple-ws/src/main/java/com/example/ExampleServiceMinimalImpl.java delete mode 100644 java/sca-contrib/itest/exceptions-simple-ws/src/main/resources/example.composite delete mode 100644 java/sca-contrib/itest/exceptions-simple-ws/src/main/resources/wsdl/ExampleService.wsdl delete mode 100644 java/sca-contrib/itest/exceptions-simple-ws/src/test/java/com/example/ExampleMinimalTestCase.java delete mode 100644 java/sca-contrib/itest/exceptions-simple-ws/src/test/java/com/example/ExampleTestCase.java delete mode 100644 java/sca-contrib/itest/extended-api/pom.xml delete mode 100644 java/sca-contrib/itest/extended-api/src/main/java/org/apache/tuscany/sca/test/extended/BasicService.java delete mode 100644 java/sca-contrib/itest/extended-api/src/main/java/org/apache/tuscany/sca/test/extended/MathService.java delete mode 100644 java/sca-contrib/itest/extended-api/src/main/java/org/apache/tuscany/sca/test/extended/impl/BasicServiceImpl.java delete mode 100644 java/sca-contrib/itest/extended-api/src/main/java/org/apache/tuscany/sca/test/extended/impl/MathServiceImpl.java delete mode 100644 java/sca-contrib/itest/extended-api/src/main/resources/BasicService.composite delete mode 100644 java/sca-contrib/itest/extended-api/src/main/resources/MathService.composite delete mode 100644 java/sca-contrib/itest/extended-api/src/test/java/org/apache/tuscany/sca/test/extended/ServiceLocateTestCase.java delete mode 100644 java/sca-contrib/itest/interop-soap-client/pom.xml delete mode 100644 java/sca-contrib/itest/interop-soap-client/src/main/java/org/apache/tuscany/test/interop/client/LoopbackInteropDocServiceComponentImpl.java delete mode 100644 java/sca-contrib/itest/interop-soap-client/src/main/resources/default.composite delete mode 100644 java/sca-contrib/itest/interop-soap-client/src/main/resources/wsdl/interopdoc.wsdl delete mode 100644 java/sca-contrib/itest/interop-soap-client/src/test/java/org/apache/tuscany/test/interop/client/InteropDocClientTestCase.java delete mode 100644 java/sca-contrib/itest/interop-soap-round2-client/pom.xml delete mode 100644 java/sca-contrib/itest/interop-soap-round2-client/src/main/java/org/apache/tuscany/test/interop/client/InteropTestDocLit.java delete mode 100644 java/sca-contrib/itest/interop-soap-round2-client/src/main/resources/default.composite delete mode 100644 java/sca-contrib/itest/interop-soap-round2-client/src/main/resources/wsdl/interoptestdoclit.wsdl delete mode 100644 java/sca-contrib/itest/interop-soap-round2-client/src/test/java/org/apache/tuscany/test/interop/client/InteropTestDocLitTestCase.java delete mode 100644 java/sca-contrib/itest/interop-soap-service/pom.xml delete mode 100644 java/sca-contrib/itest/interop-soap-service/src/main/java/org/apache/tuscany/test/interop/server/InteropDocServiceComponentImpl.java delete mode 100644 java/sca-contrib/itest/interop-soap-service/src/main/resources/wsdl/interopdoc.wsdl delete mode 100644 java/sca-contrib/itest/interop-soap-service/src/main/webapp/META-INF/sca/default.scdl delete mode 100644 java/sca-contrib/itest/interop-soap-service/src/main/webapp/WEB-INF/web.xml delete mode 100755 java/sca-contrib/itest/interop-soap-service/t.bat delete mode 100644 java/sca-contrib/itest/jms-args/pom.xml delete mode 100644 java/sca-contrib/itest/jms-args/src/main/java/org/apache/tuscany/sca/binding/jms/ClientImpl.java delete mode 100644 java/sca-contrib/itest/jms-args/src/main/java/org/apache/tuscany/sca/binding/jms/MyService.java delete mode 100644 java/sca-contrib/itest/jms-args/src/main/java/org/apache/tuscany/sca/binding/jms/ServiceImpl.java delete mode 100644 java/sca-contrib/itest/jms-args/src/main/resources/jndi.properties delete mode 100644 java/sca-contrib/itest/jms-args/src/main/resources/selectors/selectors.composite delete mode 100644 java/sca-contrib/itest/jms-args/src/test/java/org/apache/tuscany/sca/binding/jms/ArgsTestCase.java delete mode 100644 java/sca-contrib/itest/jms-callbacks/pom.xml delete mode 100644 java/sca-contrib/itest/jms-callbacks/src/main/java/org/apache/tuscany/sca/binding/jms/JMSClient.java delete mode 100644 java/sca-contrib/itest/jms-callbacks/src/main/java/org/apache/tuscany/sca/binding/jms/JMSClientImpl.java delete mode 100644 java/sca-contrib/itest/jms-callbacks/src/main/java/org/apache/tuscany/sca/binding/jms/JMSService.java delete mode 100644 java/sca-contrib/itest/jms-callbacks/src/main/java/org/apache/tuscany/sca/binding/jms/JMSServiceCallback.java delete mode 100644 java/sca-contrib/itest/jms-callbacks/src/main/java/org/apache/tuscany/sca/binding/jms/JMSServiceImpl.java delete mode 100644 java/sca-contrib/itest/jms-callbacks/src/main/resources/jndi.properties delete mode 100644 java/sca-contrib/itest/jms-callbacks/src/main/resources/simple/client.composite delete mode 100644 java/sca-contrib/itest/jms-callbacks/src/main/resources/simple/tempq.composite delete mode 100644 java/sca-contrib/itest/jms-callbacks/src/test/java/org/apache/tuscany/sca/binding/jms/CallbackTestCase.java delete mode 100644 java/sca-contrib/itest/jms-callbacks/src/test/java/org/apache/tuscany/sca/binding/jms/TempCallbackQTestCase.java delete mode 100644 java/sca-contrib/itest/jms-definitions/pom.xml delete mode 100644 java/sca-contrib/itest/jms-definitions/src/main/java/org/apache/tuscany/sca/binding/jms/OneWayClientImpl.java delete mode 100644 java/sca-contrib/itest/jms-definitions/src/main/java/org/apache/tuscany/sca/binding/jms/OneWayService.java delete mode 100644 java/sca-contrib/itest/jms-definitions/src/main/java/org/apache/tuscany/sca/binding/jms/OneWayServiceImpl.java delete mode 100644 java/sca-contrib/itest/jms-definitions/src/main/resources/definitions.xml delete mode 100644 java/sca-contrib/itest/jms-definitions/src/main/resources/definitions/definitions.composite delete mode 100644 java/sca-contrib/itest/jms-definitions/src/main/resources/jndi.properties delete mode 100644 java/sca-contrib/itest/jms-definitions/src/test/java/org/apache/tuscany/sca/binding/jms/DefinitionsTestCase.java delete mode 100644 java/sca-contrib/itest/jms-format/pom.xml delete mode 100644 java/sca-contrib/itest/jms-format/src/main/java/org/apache/tuscany/sca/binding/jms/format/jmsbytes/helloworld/HelloWorldReference.java delete mode 100644 java/sca-contrib/itest/jms-format/src/main/java/org/apache/tuscany/sca/binding/jms/format/jmsbytes/helloworld/HelloWorldReferenceImpl.java delete mode 100644 java/sca-contrib/itest/jms-format/src/main/java/org/apache/tuscany/sca/binding/jms/format/jmsbytes/helloworld/HelloWorldService.java delete mode 100644 java/sca-contrib/itest/jms-format/src/main/java/org/apache/tuscany/sca/binding/jms/format/jmsbytes/helloworld/HelloWorldServiceImpl.java delete mode 100644 java/sca-contrib/itest/jms-format/src/main/java/org/apache/tuscany/sca/binding/jms/format/jmsdelimited/helloworld/HelloWorldReference.java delete mode 100644 java/sca-contrib/itest/jms-format/src/main/java/org/apache/tuscany/sca/binding/jms/format/jmsdelimited/helloworld/HelloWorldReferenceImpl.java delete mode 100644 java/sca-contrib/itest/jms-format/src/main/java/org/apache/tuscany/sca/binding/jms/format/jmsdelimited/helloworld/HelloWorldService.java delete mode 100644 java/sca-contrib/itest/jms-format/src/main/java/org/apache/tuscany/sca/binding/jms/format/jmsdelimited/helloworld/HelloWorldServiceImpl.java delete mode 100644 java/sca-contrib/itest/jms-format/src/main/java/org/apache/tuscany/sca/binding/jms/format/jmsmessage/helloworld/HelloWorldReference.java delete mode 100644 java/sca-contrib/itest/jms-format/src/main/java/org/apache/tuscany/sca/binding/jms/format/jmsmessage/helloworld/HelloWorldReferenceImpl.java delete mode 100644 java/sca-contrib/itest/jms-format/src/main/java/org/apache/tuscany/sca/binding/jms/format/jmsmessage/helloworld/HelloWorldService.java delete mode 100644 java/sca-contrib/itest/jms-format/src/main/java/org/apache/tuscany/sca/binding/jms/format/jmsmessage/helloworld/HelloWorldServiceImpl.java delete mode 100644 java/sca-contrib/itest/jms-format/src/main/java/org/apache/tuscany/sca/binding/jms/format/jmsmessage/helloworld/HelloWorldServiceReferenceSide.java delete mode 100644 java/sca-contrib/itest/jms-format/src/main/java/org/apache/tuscany/sca/binding/jms/format/jmsmessage/helloworld/README delete mode 100644 java/sca-contrib/itest/jms-format/src/main/java/org/apache/tuscany/sca/binding/jms/format/jmstextxml/helloworld/HelloWorldReferenceImpl.java delete mode 100644 java/sca-contrib/itest/jms-format/src/main/java/org/apache/tuscany/sca/binding/jms/format/jmstextxml/helloworld/HelloWorldService.java delete mode 100644 java/sca-contrib/itest/jms-format/src/main/java/org/apache/tuscany/sca/binding/jms/format/jmstextxml/helloworld/HelloWorldServiceImpl.java delete mode 100644 java/sca-contrib/itest/jms-format/src/main/java/org/apache/tuscany/sca/binding/jms/format/jmstextxml/helloworld/Person.java delete mode 100644 java/sca-contrib/itest/jms-format/src/main/resources/jmsbytes/helloworld.composite delete mode 100644 java/sca-contrib/itest/jms-format/src/main/resources/jmsdelimited/helloworld.composite delete mode 100644 java/sca-contrib/itest/jms-format/src/main/resources/jmsdelimited/helloworld.wsdl delete mode 100644 java/sca-contrib/itest/jms-format/src/main/resources/jmsmessage/helloworld.composite delete mode 100644 java/sca-contrib/itest/jms-format/src/main/resources/jmsmessage/helloworld.wsdl delete mode 100644 java/sca-contrib/itest/jms-format/src/main/resources/jmstextxml/helloworld.composite delete mode 100644 java/sca-contrib/itest/jms-format/src/main/resources/jmstextxml/helloworld.wsdl delete mode 100644 java/sca-contrib/itest/jms-format/src/main/resources/jmstextxml/messages.xml delete mode 100644 java/sca-contrib/itest/jms-format/src/main/resources/jndi.properties delete mode 100644 java/sca-contrib/itest/jms-format/src/test/java/org/apache/tuscany/sca/binding/jms/format/FormatJMSBytesTestCase.java delete mode 100644 java/sca-contrib/itest/jms-format/src/test/java/org/apache/tuscany/sca/binding/jms/format/FormatJMSDelimitedTestCase.java delete mode 100644 java/sca-contrib/itest/jms-format/src/test/java/org/apache/tuscany/sca/binding/jms/format/FormatJMSMessageTestCase.java delete mode 100644 java/sca-contrib/itest/jms-format/src/test/java/org/apache/tuscany/sca/binding/jms/format/FormatJMSTextXMLTestCase.java delete mode 100644 java/sca-contrib/itest/jms-selectors/pom.xml delete mode 100644 java/sca-contrib/itest/jms-selectors/src/main/java/org/apache/tuscany/sca/binding/jms/ClientImpl.java delete mode 100644 java/sca-contrib/itest/jms-selectors/src/main/java/org/apache/tuscany/sca/binding/jms/SelectorService.java delete mode 100644 java/sca-contrib/itest/jms-selectors/src/main/java/org/apache/tuscany/sca/binding/jms/SelectorServiceImpl1.java delete mode 100644 java/sca-contrib/itest/jms-selectors/src/main/java/org/apache/tuscany/sca/binding/jms/SelectorServiceImpl2.java delete mode 100644 java/sca-contrib/itest/jms-selectors/src/main/java/org/apache/tuscany/sca/binding/jms/SelectorServiceImpl3.java delete mode 100644 java/sca-contrib/itest/jms-selectors/src/main/resources/jndi.properties delete mode 100644 java/sca-contrib/itest/jms-selectors/src/main/resources/selectors/selectors.composite delete mode 100644 java/sca-contrib/itest/jms-selectors/src/test/java/org/apache/tuscany/sca/binding/jms/SelectorsTestCase.java delete mode 100644 java/sca-contrib/itest/jms/pom.xml delete mode 100644 java/sca-contrib/itest/jms/src/main/java/org/apache/tuscany/sca/binding/jms/CheckedExcpetion.java delete mode 100644 java/sca-contrib/itest/jms/src/main/java/org/apache/tuscany/sca/binding/jms/ExceptionService.java delete mode 100644 java/sca-contrib/itest/jms/src/main/java/org/apache/tuscany/sca/binding/jms/ExceptionServiceClient.java delete mode 100644 java/sca-contrib/itest/jms/src/main/java/org/apache/tuscany/sca/binding/jms/ExceptionServiceImpl.java delete mode 100644 java/sca-contrib/itest/jms/src/main/java/org/apache/tuscany/sca/binding/jms/HelloWorldClientImpl.java delete mode 100644 java/sca-contrib/itest/jms/src/main/java/org/apache/tuscany/sca/binding/jms/HelloWorldService.java delete mode 100644 java/sca-contrib/itest/jms/src/main/java/org/apache/tuscany/sca/binding/jms/HelloWorldServiceImpl.java delete mode 100644 java/sca-contrib/itest/jms/src/main/java/org/apache/tuscany/sca/binding/jms/JMSClient.java delete mode 100644 java/sca-contrib/itest/jms/src/main/java/org/apache/tuscany/sca/binding/jms/MsgClient.java delete mode 100644 java/sca-contrib/itest/jms/src/main/java/org/apache/tuscany/sca/binding/jms/MsgClientImpl.java delete mode 100644 java/sca-contrib/itest/jms/src/main/java/org/apache/tuscany/sca/binding/jms/MsgClientService.java delete mode 100644 java/sca-contrib/itest/jms/src/main/java/org/apache/tuscany/sca/binding/jms/MsgService.java delete mode 100644 java/sca-contrib/itest/jms/src/main/java/org/apache/tuscany/sca/binding/jms/MsgServiceImpl.java delete mode 100644 java/sca-contrib/itest/jms/src/main/java/org/apache/tuscany/sca/binding/jms/OneWayClientImpl.java delete mode 100644 java/sca-contrib/itest/jms/src/main/java/org/apache/tuscany/sca/binding/jms/OneWayObjectService.java delete mode 100644 java/sca-contrib/itest/jms/src/main/java/org/apache/tuscany/sca/binding/jms/OneWayObjectServiceImpl.java delete mode 100644 java/sca-contrib/itest/jms/src/main/java/org/apache/tuscany/sca/binding/jms/OneWayService.java delete mode 100644 java/sca-contrib/itest/jms/src/main/java/org/apache/tuscany/sca/binding/jms/OneWayServiceImpl.java delete mode 100644 java/sca-contrib/itest/jms/src/main/java/org/apache/tuscany/sca/binding/jms/TestMessageProcessor.java delete mode 100644 java/sca-contrib/itest/jms/src/main/resources/defaults/client.composite delete mode 100644 java/sca-contrib/itest/jms/src/main/resources/defaults/service.composite delete mode 100644 java/sca-contrib/itest/jms/src/main/resources/dynamic/client.composite delete mode 100644 java/sca-contrib/itest/jms/src/main/resources/exceptions/client.composite delete mode 100644 java/sca-contrib/itest/jms/src/main/resources/exceptions/service.composite delete mode 100644 java/sca-contrib/itest/jms/src/main/resources/external/client.composite delete mode 100644 java/sca-contrib/itest/jms/src/main/resources/external/service.composite delete mode 100644 java/sca-contrib/itest/jms/src/main/resources/jndi.properties delete mode 100644 java/sca-contrib/itest/jms/src/main/resources/nonSCAclient/service.composite delete mode 100644 java/sca-contrib/itest/jms/src/main/resources/oneway/OneWayClient.composite delete mode 100644 java/sca-contrib/itest/jms/src/main/resources/oneway/OneWayService.composite delete mode 100644 java/sca-contrib/itest/jms/src/main/resources/policyHeaders/definitions.xml delete mode 100644 java/sca-contrib/itest/jms/src/main/resources/policyHeaders/policyHeaders.composite delete mode 100644 java/sca-contrib/itest/jms/src/main/resources/properties/properties.composite delete mode 100644 java/sca-contrib/itest/jms/src/main/resources/simple/client.composite delete mode 100644 java/sca-contrib/itest/jms/src/main/resources/simple/mpclient.composite delete mode 100644 java/sca-contrib/itest/jms/src/main/resources/simple/service.composite delete mode 100644 java/sca-contrib/itest/jms/src/main/resources/simple/uriclient.composite delete mode 100644 java/sca-contrib/itest/jms/src/test/java/org/apache/tuscany/sca/binding/jms/DefaultsTestCase.java delete mode 100644 java/sca-contrib/itest/jms/src/test/java/org/apache/tuscany/sca/binding/jms/DynamicReplyQTestCase.java delete mode 100644 java/sca-contrib/itest/jms/src/test/java/org/apache/tuscany/sca/binding/jms/ExceptionsTestCase.java delete mode 100644 java/sca-contrib/itest/jms/src/test/java/org/apache/tuscany/sca/binding/jms/ExternalBrokerTestCase.java delete mode 100644 java/sca-contrib/itest/jms/src/test/java/org/apache/tuscany/sca/binding/jms/MessageProcessorTestCase.java delete mode 100644 java/sca-contrib/itest/jms/src/test/java/org/apache/tuscany/sca/binding/jms/NonSCAClientTestCase.java delete mode 100644 java/sca-contrib/itest/jms/src/test/java/org/apache/tuscany/sca/binding/jms/OneWayTestCase.java delete mode 100644 java/sca-contrib/itest/jms/src/test/java/org/apache/tuscany/sca/binding/jms/PolicyHeadersTestCase.java delete mode 100644 java/sca-contrib/itest/jms/src/test/java/org/apache/tuscany/sca/binding/jms/PropertiesTestCase.java delete mode 100644 java/sca-contrib/itest/jms/src/test/java/org/apache/tuscany/sca/binding/jms/RPCTestCase.java delete mode 100644 java/sca-contrib/itest/jms/src/test/java/org/apache/tuscany/sca/binding/jms/URIRPCTestCase.java delete mode 100644 java/sca-contrib/itest/large-sdo-ws/pom.xml delete mode 100644 java/sca-contrib/itest/large-sdo-ws/src/main/java/org/apache/tuscany/sca/itest/trninq/TrnInqClient.java delete mode 100644 java/sca-contrib/itest/large-sdo-ws/src/main/java/org/apache/tuscany/sca/itest/trninq/TrnInqService.java delete mode 100644 java/sca-contrib/itest/large-sdo-ws/src/main/java/org/apache/tuscany/sca/itest/trninq/TrninqInterface.java delete mode 100644 java/sca-contrib/itest/large-sdo-ws/src/main/resources/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/itest/large-sdo-ws/src/main/resources/trnInq.composite delete mode 100644 java/sca-contrib/itest/large-sdo-ws/src/main/resources/wsdl/IFX170_XSD.xsd delete mode 100644 java/sca-contrib/itest/large-sdo-ws/src/main/resources/wsdl/trninq.wsdl delete mode 100644 java/sca-contrib/itest/large-sdo-ws/src/test/java/trninq/TrnInqServiceTestCase.java delete mode 100644 java/sca-contrib/itest/late-reference-resolution/pom.xml delete mode 100644 java/sca-contrib/itest/late-reference-resolution/src/main/java/calculator/AddService.java delete mode 100644 java/sca-contrib/itest/late-reference-resolution/src/main/java/calculator/AddServiceImpl.java delete mode 100644 java/sca-contrib/itest/late-reference-resolution/src/main/java/calculator/CalculatorService.java delete mode 100644 java/sca-contrib/itest/late-reference-resolution/src/main/java/calculator/CalculatorServiceImpl.java delete mode 100644 java/sca-contrib/itest/late-reference-resolution/src/main/java/calculator/DivideService.java delete mode 100644 java/sca-contrib/itest/late-reference-resolution/src/main/java/calculator/DivideServiceImpl.java delete mode 100644 java/sca-contrib/itest/late-reference-resolution/src/main/java/calculator/MultiplyService.java delete mode 100644 java/sca-contrib/itest/late-reference-resolution/src/main/java/calculator/MultiplyServiceImpl.java delete mode 100644 java/sca-contrib/itest/late-reference-resolution/src/main/java/calculator/SubtractService.java delete mode 100644 java/sca-contrib/itest/late-reference-resolution/src/main/java/calculator/SubtractServiceImpl.java delete mode 100644 java/sca-contrib/itest/late-reference-resolution/src/main/resources/META-INF/services/org.apache.tuscany.sca.endpointresolver.EndpointResolverFactory delete mode 100644 java/sca-contrib/itest/late-reference-resolution/src/main/resources/nodeA/Calculator.composite delete mode 100644 java/sca-contrib/itest/late-reference-resolution/src/main/resources/nodeA/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/itest/late-reference-resolution/src/main/resources/nodeB/Calculator.composite delete mode 100644 java/sca-contrib/itest/late-reference-resolution/src/main/resources/nodeB/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/itest/late-reference-resolution/src/main/resources/nodeC/Calculator.composite delete mode 100644 java/sca-contrib/itest/late-reference-resolution/src/main/resources/nodeC/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/itest/late-reference-resolution/src/test/java/binding/sca/BindingScaEndpointResolverFactoryImpl.java delete mode 100644 java/sca-contrib/itest/late-reference-resolution/src/test/java/binding/sca/BindingScaEndpointResolverImpl.java delete mode 100644 java/sca-contrib/itest/late-reference-resolution/src/test/java/calculator/LateReferenceResolutionTestCase.java delete mode 100644 java/sca-contrib/itest/late-reference-resolution/src/test/java/calculator/TestRegistryImpl.java delete mode 100644 java/sca-contrib/itest/oneway/build.xml delete mode 100644 java/sca-contrib/itest/oneway/pom.xml delete mode 100644 java/sca-contrib/itest/oneway/src/main/java/org/apache/tuscany/sca/itest/oneway/OneWayClient.java delete mode 100644 java/sca-contrib/itest/oneway/src/main/java/org/apache/tuscany/sca/itest/oneway/OneWayService.java delete mode 100644 java/sca-contrib/itest/oneway/src/main/java/org/apache/tuscany/sca/itest/oneway/impl/OneWayClientImpl.java delete mode 100644 java/sca-contrib/itest/oneway/src/main/java/org/apache/tuscany/sca/itest/oneway/impl/OneWayServiceImpl.java delete mode 100644 java/sca-contrib/itest/oneway/src/main/resources/OneWayContribution/META-INF/sca-deployables/oneWay.composite delete mode 100644 java/sca-contrib/itest/oneway/src/test/java/org/apache/tuscany/sca/itest/oneway/OneWayTestCase.java delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes-v2/build-bundles.xml delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes-v2/pom.xml delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes-v2/src/main/java/supplychain/OSGiBundleImpl.java delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes-v2/src/main/java/supplychain/customer/Customer.java delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes-v2/src/main/java/supplychain/customer/JavaCustomerComponentImpl.java delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes-v2/src/main/java/supplychain/customer/OSGiCustomerComponentImpl.java delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes-v2/src/main/java/supplychain/customer/OSGiCustomerImpl.java delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes-v2/src/main/java/supplychain/retailer/JavaRetailerComponentImpl.java delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes-v2/src/main/java/supplychain/retailer/OSGiRetailerComponentImpl.java delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes-v2/src/main/java/supplychain/retailer/OSGiRetailerImpl.java delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes-v2/src/main/java/supplychain/retailer/Retailer.java delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes-v2/src/main/java/supplychain/shipper/JavaShipperComponentImpl.java delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes-v2/src/main/java/supplychain/shipper/OSGiShipperComponentImpl.java delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes-v2/src/main/java/supplychain/shipper/OSGiShipperImpl.java delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes-v2/src/main/java/supplychain/shipper/Shipper.java delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes-v2/src/main/java/supplychain/warehouse/JavaWarehouseComponentImpl.java delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes-v2/src/main/java/supplychain/warehouse/OSGiWarehouseComponentImpl.java delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes-v2/src/main/java/supplychain/warehouse/OSGiWarehouseImpl.java delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes-v2/src/main/java/supplychain/warehouse/Warehouse.java delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes-v2/src/main/resources/Customer2V2.componentType delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes-v2/src/main/resources/CustomerV2.componentType delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes-v2/src/main/resources/META-INF/customer-sca-contribution.xml delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes-v2/src/main/resources/META-INF/retailer-sca-contribution.xml delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes-v2/src/main/resources/META-INF/shipper-sca-contribution.xml delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes-v2/src/main/resources/META-INF/supplychain-sca-contribution.xml delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes-v2/src/main/resources/META-INF/warehouse-sca-contribution.xml delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes-v2/src/main/resources/RetailerV2.componentType delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes-v2/src/main/resources/ShipperV2.componentType delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes-v2/src/main/resources/WarehouseV2.componentType delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes-v2/src/main/resources/osgi/Customer.mf delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes-v2/src/main/resources/osgi/Customer2.mf delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes-v2/src/main/resources/osgi/Retailer.mf delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes-v2/src/main/resources/osgi/RetailerJar.mf delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes-v2/src/main/resources/osgi/Shipper.mf delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes-v2/src/main/resources/osgi/SupplyChain.mf delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes-v2/src/main/resources/osgi/Warehouse.mf delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes-v2/src/main/resources/supplychain.composite delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes/build-bundles.xml delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes/pom.xml delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes/src/main/java/supplychain/OSGiBundleImpl.java delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes/src/main/java/supplychain/customer/Customer.java delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes/src/main/java/supplychain/customer/JavaCustomerComponentImpl.java delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes/src/main/java/supplychain/customer/OSGiCustomerComponentImpl.java delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes/src/main/java/supplychain/customer/OSGiCustomerImpl.java delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes/src/main/java/supplychain/retailer/JavaRetailerComponentImpl.java delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes/src/main/java/supplychain/retailer/OSGiRetailerComponentImpl.java delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes/src/main/java/supplychain/retailer/OSGiRetailerImpl.java delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes/src/main/java/supplychain/retailer/Retailer.java delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes/src/main/java/supplychain/shipper/JavaShipperComponentImpl.java delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes/src/main/java/supplychain/shipper/OSGiShipperComponentImpl.java delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes/src/main/java/supplychain/shipper/OSGiShipperImpl.java delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes/src/main/java/supplychain/shipper/Shipper.java delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes/src/main/java/supplychain/warehouse/JavaWarehouseComponentImpl.java delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes/src/main/java/supplychain/warehouse/OSGiWarehouseComponentImpl.java delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes/src/main/java/supplychain/warehouse/OSGiWarehouseImpl.java delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes/src/main/java/supplychain/warehouse/Warehouse.java delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes/src/main/resources/Customer2V1.componentType delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes/src/main/resources/CustomerV1.componentType delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes/src/main/resources/META-INF/customer-sca-contribution.xml delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes/src/main/resources/META-INF/retailer-sca-contribution.xml delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes/src/main/resources/META-INF/shipper-sca-contribution.xml delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes/src/main/resources/META-INF/supplychain-sca-contribution.xml delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes/src/main/resources/META-INF/warehouse-sca-contribution.xml delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes/src/main/resources/RetailerV1.componentType delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes/src/main/resources/ShipperV1.componentType delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes/src/main/resources/WarehouseV1.componentType delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes/src/main/resources/osgi/Customer.mf delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes/src/main/resources/osgi/Customer2.mf delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes/src/main/resources/osgi/Retailer.mf delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes/src/main/resources/osgi/RetailerJar.mf delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes/src/main/resources/osgi/Shipper.mf delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes/src/main/resources/osgi/SupplyChain.mf delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes/src/main/resources/osgi/Warehouse.mf delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-classes/src/main/resources/supplychain.composite delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-test/pom.xml delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-test/src/main/java/org/apache/tuscany/sca/contribution/osgi/OSGiTestUtil.java delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-test/src/test/java/org/apache/tuscany/sca/contribution/osgi/test/MixedContributionTestCase.java delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-test/src/test/java/org/apache/tuscany/sca/contribution/osgi/test/NestedBundleTestCase.java delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-test/src/test/java/org/apache/tuscany/sca/contribution/osgi/test/OSGiResolverTestCase.java delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-test/src/test/java/org/apache/tuscany/sca/contribution/osgi/test/SCAResolverTestCase.java delete mode 100644 java/sca-contrib/itest/osgi-contribution/contribution-test/src/test/resources/osgi/felix/felix.config.properties delete mode 100644 java/sca-contrib/itest/osgi-contribution/pom.xml delete mode 100644 java/sca-contrib/itest/osgi-implementation/build-bundles.xml delete mode 100644 java/sca-contrib/itest/osgi-implementation/pom.xml delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/callback/client/CallbackCallback.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/callback/client/CallbackClient.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/callback/client/JavaCallbackClientImpl.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/callback/client/OSGiCallbackClientImpl.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/callback/service/CallbackService.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/callback/service/JavaCallbackServiceImpl.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/callback/service/OSGiCallbackServiceImpl.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/conversation/client/ConversationalCallback.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/conversation/client/ConversationalClient.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/conversation/client/ConversationalClientActivator.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/conversation/client/ConversationalClientServiceFactory.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/conversation/client/ConversationalClientStatefulImpl.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/conversation/client/ConversationalClientStatelessImpl.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/conversation/referenceclient/ConversationalReferenceClient.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/conversation/referenceclient/ConversationalReferenceClientActivator.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/conversation/referenceclient/ConversationalReferenceClientImpl.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/conversation/service/ConversationalService.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/conversation/service/ConversationalServiceActivator.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/conversation/service/ConversationalServiceFactory.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/conversation/service/ConversationalServiceStatefulImpl.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/conversation/service/ConversationalServiceStatelessImpl.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/helloworld/Greetings.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/helloworld/HelloWorld.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/helloworld/JavaGreetingsComponent.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/helloworld/JavaHelloWorldComponent.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/helloworld/OSGiGreetingsImpl.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/helloworld/OSGiHelloWorldImpl.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/helloworld/sdo/HelloWorldService.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/helloworld/sdo/HelloWorldServiceComponent.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/helloworld/sdo/client/HelloWorldClient.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/helloworld/sdo/client/HelloWorldClientComponent.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/helloworld/ws/HelloWorld.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/helloworld/ws/HelloWorldService.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/stockquote/OSGiStockQuoteComponentImpl.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/stockquote/OSGiStockQuoteFactoryImpl.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/stockquote/OSGiStockQuoteImpl.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/stockquote/StockQuote.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/supplychain/OSGiBundleImpl.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/supplychain/customer/Customer.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/supplychain/customer/JavaCustomerComponentImpl.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/supplychain/customer/OSGiCustomerComponentImpl.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/supplychain/customer/OSGiCustomerFactoryImpl.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/supplychain/customer/OSGiCustomerImpl.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/supplychain/customer/OSGiCustomerWithQueryComponentImpl.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/supplychain/customer/OSGiCustomerWithQueryImpl.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/supplychain/customer/OSGiStatelessCustomerComponentImpl.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/supplychain/customer/OSGiStatelessCustomerImpl.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/supplychain/customer/OSGiVersionedCustomerImpl.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/supplychain/retailer/JavaRetailerComponentImpl.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/supplychain/retailer/OSGiRetailerComponentImpl.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/supplychain/retailer/OSGiRetailerImpl.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/supplychain/retailer/OSGiRetailerServiceImpl.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/supplychain/retailer/OSGiRetailerWithQueryComponentImpl.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/supplychain/retailer/OSGiRetailerWithQueryImpl.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/supplychain/retailer/OSGiVersionedRetailerImpl.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/supplychain/retailer/OSGiVersionedRetailerServiceImpl.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/supplychain/retailer/Retailer.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/supplychain/retailer/RetailerQuery.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/supplychain/shipper/JavaShipperComponentImpl.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/supplychain/shipper/OSGiShipperComponentImpl.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/supplychain/shipper/OSGiShipperFactoryImpl.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/supplychain/shipper/OSGiShipperImpl.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/supplychain/shipper/OSGiShipperServiceImpl.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/supplychain/shipper/OSGiStatelessShipperComponentImpl.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/supplychain/shipper/OSGiStatelessShipperServiceImpl.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/supplychain/shipper/OSGiVersionedShipperImpl.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/supplychain/shipper/OSGiVersionedShipperServiceImpl.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/supplychain/shipper/Shipper.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/supplychain/warehouse/JavaWarehouseComponentImpl.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/supplychain/warehouse/JavaWarehouseWithQueryComponentImpl.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/supplychain/warehouse/OSGiWarehouseComponentImpl.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/supplychain/warehouse/OSGiWarehouseImpl.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/supplychain/warehouse/OSGiWarehouseServiceImpl.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/supplychain/warehouse/Warehouse.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/java/supplychain/warehouse/WarehouseQuery.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/callback/CallbackClient.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/callback/CallbackService.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/callback/callback-test1.composite delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/callback/callback-test2.composite delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/callback/callback-test3.composite delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/conversation/ConversationalClient.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/conversation/ConversationalReferenceClient.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/conversation/ConversationalService.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/conversation/conversation-test.composite delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/factory/Customer.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/factory/Retailer.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/factory/Shipper.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/factory/Warehouse.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/factory/ds/Customer.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/factory/ds/Retailer.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/factory/ds/Shipper.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/factory/ds/Warehouse.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/factory/ds/factory-ds-test.composite delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/factory/factory-test.composite delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/helloworld/Greetings.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/helloworld/HelloWorld.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/interfaces/Customer.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/interfaces/Retailer.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/interfaces/Shipper.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/interfaces/Warehouse.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/interfaces/ds/Customer.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/interfaces/ds/Retailer.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/interfaces/ds/Shipper.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/interfaces/ds/Warehouse.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/interfaces/ds/interfaces-ds-test.composite delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/interfaces/interfaces-test.composite delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/callback/CallbackClient.mf delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/callback/CallbackService.mf delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/conversation/ConversationalClient.mf delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/conversation/ConversationalReferenceClient.mf delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/conversation/ConversationalService.mf delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/factory/Customer.mf delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/factory/Retailer.mf delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/factory/Shipper.mf delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/factory/ds/Customer.mf delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/factory/ds/Customer.xml delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/factory/ds/Retailer.mf delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/factory/ds/Retailer1.xml delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/factory/ds/Retailer2.xml delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/factory/ds/Shipper.mf delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/factory/ds/Shipper1.xml delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/factory/ds/Shipper2.xml delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/factory/ds/Warehouse.mf delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/factory/ds/Warehouse.xml delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/interfaces/Customer.mf delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/interfaces/Retailer.mf delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/interfaces/Shipper.mf delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/interfaces/ds/Customer.mf delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/interfaces/ds/Customer.xml delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/interfaces/ds/Retailer.mf delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/interfaces/ds/Retailer.xml delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/interfaces/ds/Shipper.mf delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/interfaces/ds/Shipper.xml delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/passbyref/Greetings.mf delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/properties/ManagedStockQuoteFactory.mf delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/properties/StockQuote.mf delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/properties/StockQuoteFactory.mf delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/properties/ds/StockQuote.mf delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/properties/ds/StockQuote.xml delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/properties/ds/StockQuoteFactory.mf delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/properties/ds/StockQuoteFactory.xml delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/sdo/ds/HelloWorldClient.mf delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/sdo/ds/HelloWorldClient.xml delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/sdo/ds/HelloWorldService.mf delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/sdo/ds/HelloWorldService.xml delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/services/Customer.mf delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/services/Retailer.mf delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/services/Shipper.mf delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/services/Warehouse.mf delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/services/ds/Customer.mf delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/services/ds/Customer.xml delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/services/ds/Retailer.mf delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/services/ds/Retailer1.xml delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/services/ds/Retailer2.xml delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/services/ds/Shipper.mf delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/services/ds/Shipper1.xml delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/services/ds/Shipper2.xml delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/services/ds/Warehouse.mf delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/services/ds/Warehouse1.xml delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/services/ds/Warehouse2.xml delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/version/Customer1.mf delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/version/Customer2.mf delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/version/Retailer1.mf delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/version/Retailer2.mf delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/version/Shipper1.mf delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/version/Shipper2.mf delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/version/Warehouse1.mf delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/version/Warehouse2.mf delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/version/ds/Customer1.mf delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/version/ds/Customer2.mf delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/version/ds/CustomerV1.xml delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/version/ds/CustomerV2.xml delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/version/ds/Retailer1.mf delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/version/ds/Retailer1V1.xml delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/version/ds/Retailer1V2.xml delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/version/ds/Retailer2.mf delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/version/ds/Retailer2V1.xml delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/version/ds/Retailer2V2.xml delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/version/ds/Shipper1.mf delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/version/ds/Shipper1V1.xml delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/version/ds/Shipper1V2.xml delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/version/ds/Shipper2.mf delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/version/ds/Shipper2V1.xml delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/version/ds/Shipper2V2.xml delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/version/ds/Warehouse1.mf delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/version/ds/Warehouse1V1.xml delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/version/ds/Warehouse1V2.xml delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/version/ds/Warehouse2.mf delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/version/ds/Warehouse2V1.xml delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/version/ds/Warehouse2V2.xml delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/wiring/Customer.mf delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/wiring/Retailer.mf delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/wiring/Shipper.mf delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/wiring/Warehouse.mf delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Customer.mf delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Customer.xml delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Retailer.mf delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Retailer1.xml delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Retailer2.xml delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Shipper.mf delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Shipper1.xml delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Shipper2.xml delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Warehouse.mf delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Warehouse1.xml delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Warehouse2.xml delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/osgi/ws/HelloWorld.mf delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/passbyref/Greetings.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/passbyref/passbyref-test.composite delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/properties/StockQuote.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/properties/StockQuoteFactory.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/properties/ds/StockQuote.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/properties/ds/StockQuoteFactory.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/properties/ds/properties-ds-test.composite delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/properties/ds/properties2-ds-test.composite delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/properties/properties-test.composite delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/properties/properties2-test.composite delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/sdo/ds/HelloWorldClient.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/sdo/ds/HelloWorldService.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/sdo/ds/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/sdo/ds/helloworld.wsdl delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/sdo/ds/helloworldsdo.composite delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/services/Customer.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/services/Retailer.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/services/Shipper.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/services/Warehouse.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/services/ds/Customer.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/services/ds/Retailer.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/services/ds/Shipper.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/services/ds/Warehouse.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/services/ds/services-ds-test.composite delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/services/services-test.composite delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/stockquote/StockQuote.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/version/Customer1.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/version/Customer2.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/version/Retailer1.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/version/Retailer2.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/version/Shipper1.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/version/Shipper2.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/version/Warehouse1.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/version/Warehouse2.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/version/ds/Customer1.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/version/ds/Customer2.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/version/ds/Retailer1.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/version/ds/Retailer2.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/version/ds/Shipper1.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/version/ds/Shipper2.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/version/ds/Warehouse1.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/version/ds/Warehouse2.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/version/ds/version-ds-test.composite delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/version/version-test.composite delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/wiring/Customer.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/wiring/Retailer.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/wiring/Shipper.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/wiring/Warehouse.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/wiring/ds/Customer.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/wiring/ds/Retailer.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/wiring/ds/Shipper.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/wiring/ds/Warehouse.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/wiring/ds/wiring-ds-test1.composite delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/wiring/ds/wiring-ds-test2.composite delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/wiring/wiring-test1.composite delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/wiring/wiring-test2.composite delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/ws/HelloWorld.componentType delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/ws/helloworld.wsdl delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/main/resources/ws/ws-helloworld.composite delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/test/java/callback/Callback1TestCase.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/test/java/callback/Callback2TestCase.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/test/java/callback/Callback3TestCase.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/test/java/callback/CallbackTestCase.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/test/java/conversation/ConversationTestCase.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/test/java/helloworld/passbyref/PassByRefTestCase.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/test/java/helloworld/sdo/SdoTestCase.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/test/java/helloworld/ws/HelloWorldTestCase.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/test/java/supplychain/SupplyChainTestCase.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/test/java/supplychain/VersionedSupplyChainTestCase.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/test/java/supplychain/factory/DSFactoryTestCase.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/test/java/supplychain/factory/FactoryTestCase.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/test/java/supplychain/interfaces/DSInterfacesTestCase.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/test/java/supplychain/interfaces/InterfacesTestCase.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/test/java/supplychain/properties/DSProperties2TestCase.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/test/java/supplychain/properties/DSPropertiesTestCase.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/test/java/supplychain/properties/Properties2TestCase.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/test/java/supplychain/properties/PropertiesTestCase.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/test/java/supplychain/services/DSServicesTestCase.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/test/java/supplychain/services/ServicesTestCase.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/test/java/supplychain/version/DSVersionTestCase.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/test/java/supplychain/version/VersionTestCase.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/test/java/supplychain/wiring/DSWiring1TestCase.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/test/java/supplychain/wiring/DSWiring2TestCase.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/test/java/supplychain/wiring/Wiring1TestCase.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/test/java/supplychain/wiring/Wiring2TestCase.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/test/java/test/OSGiTestCase.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/test/java/util/OSGiTestUtil.java delete mode 100644 java/sca-contrib/itest/osgi-implementation/src/test/resources/osgi/felix/felix.config.properties delete mode 100644 java/sca-contrib/itest/osgi-tuscany/osgi-tuscany-test/pom.xml delete mode 100644 java/sca-contrib/itest/osgi-tuscany/osgi-tuscany-test/src/main/java/org/apache/tuscany/sca/test/osgi/runtime/impl/EquinoxTestRuntime.java delete mode 100644 java/sca-contrib/itest/osgi-tuscany/osgi-tuscany-test/src/main/java/org/apache/tuscany/sca/test/osgi/runtime/impl/FelixTestRuntime.java delete mode 100644 java/sca-contrib/itest/osgi-tuscany/osgi-tuscany-test/src/main/java/org/apache/tuscany/sca/test/osgi/runtime/impl/OSGiTestRuntime.java delete mode 100644 java/sca-contrib/itest/osgi-tuscany/osgi-tuscany-test/src/main/java/org/apache/tuscany/sca/test/util/OSGiRuntimeLoader.java delete mode 100644 java/sca-contrib/itest/osgi-tuscany/osgi-tuscany-test/src/main/java/org/apache/tuscany/sca/test/util/TuscanyLoader.java delete mode 100644 java/sca-contrib/itest/osgi-tuscany/osgi-tuscany-test/src/test/java/org/apache/tuscany/sca/test/osgi/harness/OSGiTuscanyNonOSGiTestHarness.java delete mode 100644 java/sca-contrib/itest/osgi-tuscany/osgi-tuscany-test/src/test/java/org/apache/tuscany/sca/test/osgi/harness/OSGiTuscanyTestHarness.java delete mode 100644 java/sca-contrib/itest/osgi-tuscany/osgi-tuscany-test/src/test/java/org/apache/tuscany/sca/test/osgi/tuscany/CalculatorImplementationPoliciesTestCase.java delete mode 100644 java/sca-contrib/itest/osgi-tuscany/osgi-tuscany-test/src/test/java/org/apache/tuscany/sca/test/osgi/tuscany/CalculatorRmiTestCase.java delete mode 100644 java/sca-contrib/itest/osgi-tuscany/osgi-tuscany-test/src/test/java/org/apache/tuscany/sca/test/osgi/tuscany/CalculatorScriptTestCase.java delete mode 100644 java/sca-contrib/itest/osgi-tuscany/osgi-tuscany-test/src/test/java/org/apache/tuscany/sca/test/osgi/tuscany/CallbackWsClientTestCase.java delete mode 100644 java/sca-contrib/itest/osgi-tuscany/osgi-tuscany-test/src/test/java/org/apache/tuscany/sca/test/osgi/tuscany/CallbackWsServiceTestCase.java delete mode 100644 java/sca-contrib/itest/osgi-tuscany/osgi-tuscany-test/src/test/java/org/apache/tuscany/sca/test/osgi/tuscany/HelloworldWsServiceJmsTestCase.java delete mode 100644 java/sca-contrib/itest/osgi-tuscany/osgi-tuscany-test/src/test/java/org/apache/tuscany/sca/test/osgi/tuscany/HelloworldWsServiceSecureTestCase.java delete mode 100644 java/sca-contrib/itest/osgi-tuscany/osgi-tuscany-test/src/test/java/org/apache/tuscany/sca/test/osgi/tuscany/HelloworldWsServiceTestCase.java delete mode 100644 java/sca-contrib/itest/osgi-tuscany/osgi-tuscany-test/src/test/java/org/apache/tuscany/sca/test/osgi/tuscany/NonOSGiSamplesTestCase.java delete mode 100644 java/sca-contrib/itest/osgi-tuscany/osgi-tuscany-test/src/test/java/org/apache/tuscany/sca/test/osgi/tuscany/OSGiSupplyChainTestCase.java delete mode 100644 java/sca-contrib/itest/osgi-tuscany/osgi-tuscany-test/src/test/java/org/apache/tuscany/sca/test/osgi/tuscany/OSGiTuscanyRuntimeTestCase.java delete mode 100644 java/sca-contrib/itest/osgi-tuscany/osgi-tuscany-test/src/test/java/org/apache/tuscany/sca/test/osgi/tuscany/TuscanySampleExtensionsTestCase.java delete mode 100644 java/sca-contrib/itest/osgi-tuscany/osgi-tuscany-test/src/test/java/org/apache/tuscany/sca/test/osgi/tuscany/TuscanySamplesUsingOldDomainTestCase.java delete mode 100644 java/sca-contrib/itest/osgi-tuscany/osgi-tuscany-test/src/test/resources/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/itest/osgi-tuscany/osgi-tuscany-test/src/test/resources/felix/felix.config.properties delete mode 100644 java/sca-contrib/itest/osgi-tuscany/pom.xml delete mode 100644 java/sca-contrib/itest/osgi-tuscany/test-bundles/build-bundles.xml delete mode 100644 java/sca-contrib/itest/osgi-tuscany/test-bundles/pom.xml delete mode 100644 java/sca-contrib/itest/osgi-tuscany/test-bundles/src/main/java/supplychain/client/SupplyChainClient.java delete mode 100644 java/sca-contrib/itest/osgi-tuscany/test-bundles/src/main/java/supplychain/customer/Customer.java delete mode 100644 java/sca-contrib/itest/osgi-tuscany/test-bundles/src/main/java/supplychain/customer/JavaCustomerComponentImpl.java delete mode 100644 java/sca-contrib/itest/osgi-tuscany/test-bundles/src/main/java/supplychain/retailer/JavaRetailerComponentImpl.java delete mode 100644 java/sca-contrib/itest/osgi-tuscany/test-bundles/src/main/java/supplychain/retailer/Retailer.java delete mode 100644 java/sca-contrib/itest/osgi-tuscany/test-bundles/src/main/java/supplychain/shipper/JavaShipperComponentImpl.java delete mode 100644 java/sca-contrib/itest/osgi-tuscany/test-bundles/src/main/java/supplychain/shipper/Shipper.java delete mode 100644 java/sca-contrib/itest/osgi-tuscany/test-bundles/src/main/java/supplychain/warehouse/JavaWarehouseComponentImpl.java delete mode 100644 java/sca-contrib/itest/osgi-tuscany/test-bundles/src/main/java/supplychain/warehouse/Warehouse.java delete mode 100644 java/sca-contrib/itest/osgi-tuscany/test-bundles/src/main/resources/META-INF/SupplyChain.mf delete mode 100644 java/sca-contrib/itest/osgi-tuscany/test-bundles/src/main/resources/META-INF/SupplyChainClient.mf delete mode 100644 java/sca-contrib/itest/osgi-tuscany/test-bundles/src/main/resources/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/itest/osgi-tuscany/test-bundles/src/main/resources/supplychain/supplychain.composite delete mode 100644 java/sca-contrib/itest/osgi-tuscany/test-bundles/src/main/resources/supplychain/ws/Customer.wsdl delete mode 100644 java/sca-contrib/itest/osgi-tuscany/test-bundles/src/main/resources/supplychain/ws/supplychain.composite delete mode 100644 java/sca-contrib/itest/osgi-tuscany/tuscany-osgi-installer/pom.xml delete mode 100644 java/sca-contrib/itest/osgi-tuscany/tuscany-osgi-installer/src/main/java/org/apache/tuscany/sca/installer/InstallerBundleActivator.java delete mode 100644 java/sca-contrib/itest/osgi-tuscany/tuscany-versioned/pom.xml delete mode 100644 java/sca-contrib/itest/policy-security-basicauth/pom.xml delete mode 100644 java/sca-contrib/itest/policy-security-basicauth/src/main/java/helloworld/HelloWorldClientImpl.java delete mode 100644 java/sca-contrib/itest/policy-security-basicauth/src/main/java/helloworld/HelloWorldService.java delete mode 100644 java/sca-contrib/itest/policy-security-basicauth/src/main/java/helloworld/HelloWorldServiceImpl.java delete mode 100644 java/sca-contrib/itest/policy-security-basicauth/src/main/resources/definitions.xml delete mode 100644 java/sca-contrib/itest/policy-security-basicauth/src/main/resources/helloworld.composite delete mode 100644 java/sca-contrib/itest/policy-security-basicauth/src/test/java/org/apache/tuscany/sca/itest/BasicAuthTestCase.java delete mode 100644 java/sca-contrib/itest/policy-security-jsr250/pom.xml delete mode 100644 java/sca-contrib/itest/policy-security-jsr250/src/main/java/helloworld/HelloWorldImpl.java delete mode 100644 java/sca-contrib/itest/policy-security-jsr250/src/main/java/helloworld/HelloWorldService.java delete mode 100644 java/sca-contrib/itest/policy-security-jsr250/src/main/resources/definitions.xml delete mode 100644 java/sca-contrib/itest/policy-security-jsr250/src/main/resources/helloworld.composite delete mode 100644 java/sca-contrib/itest/policy-security-jsr250/src/test/java/org/apache/tuscany/sca/itest/PolicySecurityJSR250TestCase.java delete mode 100644 java/sca-contrib/itest/policy-security-token/pom.xml delete mode 100644 java/sca-contrib/itest/policy-security-token/src/main/java/helloworld/HelloWorldClientImpl.java delete mode 100644 java/sca-contrib/itest/policy-security-token/src/main/java/helloworld/HelloWorldService.java delete mode 100644 java/sca-contrib/itest/policy-security-token/src/main/java/helloworld/HelloWorldServiceImpl.java delete mode 100644 java/sca-contrib/itest/policy-security-token/src/main/resources/definitions.xml delete mode 100644 java/sca-contrib/itest/policy-security-token/src/main/resources/helloworld.composite delete mode 100644 java/sca-contrib/itest/policy-security-token/src/main/resources/jndi.properties delete mode 100644 java/sca-contrib/itest/policy-security-token/src/test/java/org/apache/tuscany/sca/itest/TokenAuthTestCase.java delete mode 100644 java/sca-contrib/itest/policy-security/pom.xml delete mode 100644 java/sca-contrib/itest/policy-security/src/main/java/helloworld/HelloWorldImpl.java delete mode 100644 java/sca-contrib/itest/policy-security/src/main/java/helloworld/HelloWorldService.java delete mode 100644 java/sca-contrib/itest/policy-security/src/main/resources/definitions.xml delete mode 100644 java/sca-contrib/itest/policy-security/src/main/resources/helloworld.composite delete mode 100644 java/sca-contrib/itest/policy-security/src/test/java/org/apache/tuscany/sca/itest/PolicyIdentityTestCase.java delete mode 100644 java/sca-contrib/itest/policy/pom.xml delete mode 100644 java/sca-contrib/itest/policy/src/main/java/calculator/AddService.java delete mode 100644 java/sca-contrib/itest/policy/src/main/java/calculator/AddServiceImpl.java delete mode 100644 java/sca-contrib/itest/policy/src/main/java/calculator/CalculatorClient.java delete mode 100644 java/sca-contrib/itest/policy/src/main/java/calculator/CalculatorService.java delete mode 100644 java/sca-contrib/itest/policy/src/main/java/calculator/CalculatorServiceImpl.java delete mode 100644 java/sca-contrib/itest/policy/src/main/java/calculator/DivideService.java delete mode 100644 java/sca-contrib/itest/policy/src/main/java/calculator/DivideServiceImpl.java delete mode 100644 java/sca-contrib/itest/policy/src/main/java/calculator/MultiplyService.java delete mode 100644 java/sca-contrib/itest/policy/src/main/java/calculator/MultiplyServiceImpl.java delete mode 100644 java/sca-contrib/itest/policy/src/main/java/calculator/PolicyQNames.java delete mode 100644 java/sca-contrib/itest/policy/src/main/java/calculator/SubtractService.java delete mode 100644 java/sca-contrib/itest/policy/src/main/java/calculator/SubtractServiceImpl.java delete mode 100644 java/sca-contrib/itest/policy/src/main/java/calculator/policy/TestImplPolicyHandler.java delete mode 100644 java/sca-contrib/itest/policy/src/main/java/calculator/policy/TestRefPolicyHandler.java delete mode 100644 java/sca-contrib/itest/policy/src/main/java/calculator/policy/TestSvcPolicyHandler.java delete mode 100644 java/sca-contrib/itest/policy/src/main/resources/Calculator.composite delete mode 100644 java/sca-contrib/itest/policy/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor delete mode 100644 java/sca-contrib/itest/policy/src/main/resources/META-INF/services/org.apache.tuscany.sca.policy.util.PolicyHandler delete mode 100644 java/sca-contrib/itest/policy/src/main/resources/definitions.xml delete mode 100644 java/sca-contrib/itest/policy/src/test/java/org/apache/tuscany/sca/itest/PoliciedCalculatorTestCase.java delete mode 100644 java/sca-contrib/itest/policy/src/test/java/org/apache/tuscany/sca/itest/Policy.java delete mode 100644 java/sca-contrib/itest/policy/src/test/java/org/apache/tuscany/sca/itest/TestPolicyProcessor.java delete mode 100644 java/sca-contrib/itest/promotion-interface-missmatch/pom.xml delete mode 100644 java/sca-contrib/itest/promotion-interface-missmatch/src/main/java/com/example/BusinessException.java delete mode 100644 java/sca-contrib/itest/promotion-interface-missmatch/src/main/java/com/example/ExampleClient.java delete mode 100644 java/sca-contrib/itest/promotion-interface-missmatch/src/main/java/com/example/ExampleClientImpl.java delete mode 100644 java/sca-contrib/itest/promotion-interface-missmatch/src/main/java/com/example/ExampleService.java delete mode 100644 java/sca-contrib/itest/promotion-interface-missmatch/src/main/java/com/example/ExampleServiceImpl.java delete mode 100644 java/sca-contrib/itest/promotion-interface-missmatch/src/main/resources/example.composite delete mode 100644 java/sca-contrib/itest/promotion-interface-missmatch/src/main/resources/wsdl/ExampleService.wsdl delete mode 100644 java/sca-contrib/itest/promotion-interface-missmatch/src/main/resources/wsdl/ExampleServiceTypes.xsd delete mode 100644 java/sca-contrib/itest/promotion-interface-missmatch/src/test/java/com/example/ExampleTestCase.java delete mode 100644 java/sca-contrib/itest/recursive-ws/pom.xml delete mode 100644 java/sca-contrib/itest/recursive-ws/src/main/java/policy/Target.java delete mode 100644 java/sca-contrib/itest/recursive-ws/src/main/java/policy/TargetClientImpl.java delete mode 100644 java/sca-contrib/itest/recursive-ws/src/main/java/policy/TargetServiceImpl.java delete mode 100644 java/sca-contrib/itest/recursive-ws/src/main/java/recursive/Composer.java delete mode 100644 java/sca-contrib/itest/recursive-ws/src/main/java/recursive/ComposerClient.java delete mode 100644 java/sca-contrib/itest/recursive-ws/src/main/java/recursive/ComposerClientImpl.java delete mode 100644 java/sca-contrib/itest/recursive-ws/src/main/java/recursive/ComposerImpl.java delete mode 100644 java/sca-contrib/itest/recursive-ws/src/main/java/recursive/ComposerServer.java delete mode 100644 java/sca-contrib/itest/recursive-ws/src/main/resources/Client.composite delete mode 100644 java/sca-contrib/itest/recursive-ws/src/main/resources/Inner.composite delete mode 100644 java/sca-contrib/itest/recursive-ws/src/main/resources/Outer.composite delete mode 100644 java/sca-contrib/itest/recursive-ws/src/main/resources/bindingoverride/InnerComposite.composite delete mode 100644 java/sca-contrib/itest/recursive-ws/src/main/resources/bindingoverride/OuterComposite.composite delete mode 100644 java/sca-contrib/itest/recursive-ws/src/main/resources/policy/PolicyInnerComposite.composite delete mode 100644 java/sca-contrib/itest/recursive-ws/src/main/resources/policy/PolicyOuterComposite.composite delete mode 100644 java/sca-contrib/itest/recursive-ws/src/main/resources/policy/definitions.xml delete mode 100644 java/sca-contrib/itest/recursive-ws/src/test/java/bindingoverride/BindingOverrideTestCase.java delete mode 100644 java/sca-contrib/itest/recursive-ws/src/test/java/policy/PolicyTestCase.java delete mode 100644 java/sca-contrib/itest/recursive-ws/src/test/java/recursive/ComposerClientTestCase.java delete mode 100644 java/sca-contrib/itest/recursive-ws/src/test/java/recursive/ComposerTestServer.java delete mode 100644 java/sca-contrib/itest/recursive/pom.xml delete mode 100644 java/sca-contrib/itest/recursive/src/main/java/circular/include/DemoClass.java delete mode 100644 java/sca-contrib/itest/recursive/src/main/java/composite/CompositeClient.java delete mode 100644 java/sca-contrib/itest/recursive/src/main/java/composite/Source.java delete mode 100644 java/sca-contrib/itest/recursive/src/main/java/composite/SourceCallback.java delete mode 100644 java/sca-contrib/itest/recursive/src/main/java/composite/SourceImpl.java delete mode 100644 java/sca-contrib/itest/recursive/src/main/java/composite/Target.java delete mode 100644 java/sca-contrib/itest/recursive/src/main/java/composite/TargetImpl.java delete mode 100644 java/sca-contrib/itest/recursive/src/main/java/foo/A.java delete mode 100644 java/sca-contrib/itest/recursive/src/main/java/foo/B.java delete mode 100644 java/sca-contrib/itest/recursive/src/main/java/foo/I.java delete mode 100644 java/sca-contrib/itest/recursive/src/main/java/policy/Target.java delete mode 100644 java/sca-contrib/itest/recursive/src/main/java/policy/TargetClientImpl.java delete mode 100644 java/sca-contrib/itest/recursive/src/main/java/policy/TargetServiceImpl.java delete mode 100644 java/sca-contrib/itest/recursive/src/main/java/sample/ComponentAImpl.java delete mode 100644 java/sca-contrib/itest/recursive/src/main/java/sample/ComponentCImpl.java delete mode 100644 java/sca-contrib/itest/recursive/src/main/java/sample/ComponentEImpl.java delete mode 100644 java/sca-contrib/itest/recursive/src/main/java/sample/ComponentFImpl.java delete mode 100644 java/sca-contrib/itest/recursive/src/main/java/sample/Service1.java delete mode 100644 java/sca-contrib/itest/recursive/src/main/java/test/Aggregator.java delete mode 100644 java/sca-contrib/itest/recursive/src/main/java/test/AggregatorImpl.java delete mode 100644 java/sca-contrib/itest/recursive/src/main/java/test/InnerSourceImpl.java delete mode 100644 java/sca-contrib/itest/recursive/src/main/java/test/OuterSourceImpl.java delete mode 100644 java/sca-contrib/itest/recursive/src/main/java/test/Source.java delete mode 100644 java/sca-contrib/itest/recursive/src/main/java/test1/composite/Target.java delete mode 100644 java/sca-contrib/itest/recursive/src/main/java/test1/composite/TargetOne.java delete mode 100644 java/sca-contrib/itest/recursive/src/main/java/test1/composite/TargetTwo.java delete mode 100644 java/sca-contrib/itest/recursive/src/main/resources/AComposite.composite delete mode 100644 java/sca-contrib/itest/recursive/src/main/resources/BComposite.composite delete mode 100644 java/sca-contrib/itest/recursive/src/main/resources/CComposite.composite delete mode 100644 java/sca-contrib/itest/recursive/src/main/resources/Composite1.composite delete mode 100644 java/sca-contrib/itest/recursive/src/main/resources/Composite2.composite delete mode 100644 java/sca-contrib/itest/recursive/src/main/resources/Composite3.composite delete mode 100644 java/sca-contrib/itest/recursive/src/main/resources/Demo1Composite.composite delete mode 100644 java/sca-contrib/itest/recursive/src/main/resources/Demo2Composite.composite delete mode 100644 java/sca-contrib/itest/recursive/src/main/resources/Inner.composite delete mode 100644 java/sca-contrib/itest/recursive/src/main/resources/InnerComposite.composite delete mode 100644 java/sca-contrib/itest/recursive/src/main/resources/InnerComposite2.composite delete mode 100644 java/sca-contrib/itest/recursive/src/main/resources/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/itest/recursive/src/main/resources/Outer.composite delete mode 100644 java/sca-contrib/itest/recursive/src/main/resources/OuterComposite.composite delete mode 100644 java/sca-contrib/itest/recursive/src/main/resources/foo/foo.png delete mode 100644 java/sca-contrib/itest/recursive/src/main/resources/foo/o1.composite delete mode 100644 java/sca-contrib/itest/recursive/src/main/resources/foo/o2.composite delete mode 100644 java/sca-contrib/itest/recursive/src/main/resources/foo/o3.composite delete mode 100644 java/sca-contrib/itest/recursive/src/main/resources/foo/o4.composite delete mode 100644 java/sca-contrib/itest/recursive/src/main/resources/policy/PolicyInnerComposite.composite delete mode 100644 java/sca-contrib/itest/recursive/src/main/resources/policy/PolicyOuterComposite.composite delete mode 100644 java/sca-contrib/itest/recursive/src/main/resources/policy/definitions.xml delete mode 100644 java/sca-contrib/itest/recursive/src/main/resources/test1/InnerComposite.composite delete mode 100644 java/sca-contrib/itest/recursive/src/main/resources/test1/OuterComposite.composite delete mode 100644 java/sca-contrib/itest/recursive/src/test/java/circular/include/CircularIncludeTestCase.java delete mode 100644 java/sca-contrib/itest/recursive/src/test/java/composite/CompositeTestCase.java delete mode 100644 java/sca-contrib/itest/recursive/src/test/java/composite/LocateServiceEmbeddedSCADomainTestCase.java delete mode 100644 java/sca-contrib/itest/recursive/src/test/java/composite/LocateServiceSCADomainTestCase.java delete mode 100644 java/sca-contrib/itest/recursive/src/test/java/foo/O2TestCase.java delete mode 100644 java/sca-contrib/itest/recursive/src/test/java/foo/O4TestCase.java delete mode 100644 java/sca-contrib/itest/recursive/src/test/java/policy/PolicyTestCase.java delete mode 100644 java/sca-contrib/itest/recursive/src/test/java/sample/C.java delete mode 100644 java/sca-contrib/itest/recursive/src/test/java/sample/CImpl.java delete mode 100644 java/sca-contrib/itest/recursive/src/test/java/sample/NestedTestCase.java delete mode 100644 java/sca-contrib/itest/recursive/src/test/java/sample/RecursiveCompositeTestCaseFIXME.java delete mode 100644 java/sca-contrib/itest/recursive/src/test/java/sample/X.java delete mode 100644 java/sca-contrib/itest/recursive/src/test/java/sample/XImpl.java delete mode 100644 java/sca-contrib/itest/recursive/src/test/java/sample/Y.java delete mode 100644 java/sca-contrib/itest/recursive/src/test/java/sample/YImpl.java delete mode 100644 java/sca-contrib/itest/recursive/src/test/java/test/InnerTestCase.java delete mode 100644 java/sca-contrib/itest/recursive/src/test/java/test/OuterTestCase.java delete mode 100644 java/sca-contrib/itest/recursive/src/test/java/test1/composite/CompositeClientTestCase.java delete mode 100644 java/sca-contrib/itest/serialization/pom.xml delete mode 100644 java/sca-contrib/itest/serialization/src/main/java/org/apache/tuscany/sca/itest/servicereference/ConversationalService.java delete mode 100644 java/sca-contrib/itest/serialization/src/main/java/org/apache/tuscany/sca/itest/servicereference/ConversationalServiceCallback.java delete mode 100644 java/sca-contrib/itest/serialization/src/main/java/org/apache/tuscany/sca/itest/servicereference/ConversationalServiceImpl.java delete mode 100644 java/sca-contrib/itest/serialization/src/main/java/org/apache/tuscany/sca/itest/servicereference/SCAManagedClient.java delete mode 100644 java/sca-contrib/itest/serialization/src/main/java/org/apache/tuscany/sca/itest/servicereference/SCAManagedClientImpl.java delete mode 100644 java/sca-contrib/itest/serialization/src/main/java/org/apache/tuscany/sca/itest/servicereference/SCAManagedConversationalClient.java delete mode 100644 java/sca-contrib/itest/serialization/src/main/java/org/apache/tuscany/sca/itest/servicereference/SCAManagedConversationalClientImpl.java delete mode 100644 java/sca-contrib/itest/serialization/src/main/java/org/apache/tuscany/sca/itest/servicereference/StatelessService.java delete mode 100644 java/sca-contrib/itest/serialization/src/main/java/org/apache/tuscany/sca/itest/servicereference/StatelessServiceCallback.java delete mode 100644 java/sca-contrib/itest/serialization/src/main/java/org/apache/tuscany/sca/itest/servicereference/StatelessServiceImpl.java delete mode 100644 java/sca-contrib/itest/serialization/src/main/java/org/apache/tuscany/sca/itest/servicereference/utils/ServiceReferenceUtils.java delete mode 100644 java/sca-contrib/itest/serialization/src/main/resources/ServiceReferenceSerializationTest.composite delete mode 100644 java/sca-contrib/itest/serialization/src/main/resources/nestedcomposite.composite delete mode 100644 java/sca-contrib/itest/serialization/src/test/java/org/apache/tuscany/sca/itest/servicereference/SerializeServiceReferenceTestCase.java delete mode 100644 java/sca-contrib/itest/spring/pom.xml delete mode 100644 java/sca-contrib/itest/spring/src/main/java/bigbank/stockquote/StockQuoteImpl.java delete mode 100644 java/sca-contrib/itest/spring/src/main/java/bigbank/stockquote/StockQuoteService.java delete mode 100644 java/sca-contrib/itest/spring/src/main/java/calculator/AddService.java delete mode 100644 java/sca-contrib/itest/spring/src/main/java/calculator/AddServiceImpl.java delete mode 100644 java/sca-contrib/itest/spring/src/main/java/calculator/CalculatorService.java delete mode 100644 java/sca-contrib/itest/spring/src/main/java/calculator/CalculatorServiceImpl.java delete mode 100644 java/sca-contrib/itest/spring/src/main/java/calculator/DivideService.java delete mode 100644 java/sca-contrib/itest/spring/src/main/java/calculator/DivideServiceImpl.java delete mode 100644 java/sca-contrib/itest/spring/src/main/java/calculator/MultiplyService.java delete mode 100644 java/sca-contrib/itest/spring/src/main/java/calculator/MultiplyServiceImpl.java delete mode 100644 java/sca-contrib/itest/spring/src/main/java/calculator/SubtractService.java delete mode 100644 java/sca-contrib/itest/spring/src/main/java/calculator/SubtractServiceImpl.java delete mode 100644 java/sca-contrib/itest/spring/src/main/java/calculator/security/CalculatorCallbackHandler.java delete mode 100644 java/sca-contrib/itest/spring/src/main/java/calculator/security/JaasLoginModule.java delete mode 100644 java/sca-contrib/itest/spring/src/main/java/calculator/security/UserPrincipal.java delete mode 100644 java/sca-contrib/itest/spring/src/main/java/context/access/SCAApplicationContextProvider.java delete mode 100644 java/sca-contrib/itest/spring/src/main/java/spring/annotations/CalculatorServiceImpl.java delete mode 100644 java/sca-contrib/itest/spring/src/main/resources/CalculatorService-context.xml delete mode 100644 java/sca-contrib/itest/spring/src/main/resources/META-INF/sca/SpringDelegationHelloWorld-context.xml delete mode 100644 java/sca-contrib/itest/spring/src/main/resources/META-INF/sca/SpringHelloWorld-context.xml delete mode 100644 java/sca-contrib/itest/spring/src/main/resources/META-INF/sca/context-access/CalculatorService-context.xml delete mode 100644 java/sca-contrib/itest/spring/src/main/resources/META-INF/sca/context-imports/CalculatorService-context.xml delete mode 100644 java/sca-contrib/itest/spring/src/main/resources/META-INF/sca/context-imports/SpringImport-context.xml delete mode 100644 java/sca-contrib/itest/spring/src/main/resources/META-INF/sca/context-multiple/StockQuoteService-context.xml delete mode 100644 java/sca-contrib/itest/spring/src/main/resources/META-INF/sca/context-multiple/beanRefContext.xml delete mode 100644 java/sca-contrib/itest/spring/src/main/resources/META-INF/sca/implementation-policies/CalculatorService-context.xml delete mode 100644 java/sca-contrib/itest/spring/src/main/resources/META-INF/sca/spring-annotation/CalculatorService-context.xml delete mode 100644 java/sca-contrib/itest/spring/src/main/resources/context/access/Calculator.composite delete mode 100644 java/sca-contrib/itest/spring/src/main/resources/context/imports/Calculator.composite delete mode 100644 java/sca-contrib/itest/spring/src/main/resources/context/multiple/StockQuote.composite delete mode 100644 java/sca-contrib/itest/spring/src/main/resources/implementation/policies/Calculator.composite delete mode 100644 java/sca-contrib/itest/spring/src/main/resources/implementation/policies/CalculatorJass.config delete mode 100644 java/sca-contrib/itest/spring/src/main/resources/implementation/policies/CalculatorLogMessages.properties delete mode 100644 java/sca-contrib/itest/spring/src/main/resources/implementation/policies/definitions.xml delete mode 100644 java/sca-contrib/itest/spring/src/main/resources/org/apache/tuscany/sca/itest/spring/SpringDelegationHelloWorld.composite delete mode 100644 java/sca-contrib/itest/spring/src/main/resources/org/apache/tuscany/sca/itest/spring/SpringHelloWorld.composite delete mode 100644 java/sca-contrib/itest/spring/src/main/resources/spring/annotations/Calculator.composite delete mode 100644 java/sca-contrib/itest/spring/src/test/java/context/access/CalculatorClient.java delete mode 100644 java/sca-contrib/itest/spring/src/test/java/context/access/ContextAccessTestCase.java delete mode 100644 java/sca-contrib/itest/spring/src/test/java/context/imports/CalculatorClient.java delete mode 100644 java/sca-contrib/itest/spring/src/test/java/context/imports/ContextImportsTestCase.java delete mode 100644 java/sca-contrib/itest/spring/src/test/java/context/multiple/MultipleContextTestCase.java delete mode 100644 java/sca-contrib/itest/spring/src/test/java/context/multiple/StockQuoteServer.java delete mode 100644 java/sca-contrib/itest/spring/src/test/java/implementation/policies/CalculatorClient.java delete mode 100644 java/sca-contrib/itest/spring/src/test/java/implementation/policies/ImplementationPoliciesTestCase.java delete mode 100644 java/sca-contrib/itest/spring/src/test/java/org/apache/tuscany/sca/itest/spring/AbstractHelloWorldTestCase.java delete mode 100644 java/sca-contrib/itest/spring/src/test/java/org/apache/tuscany/sca/itest/spring/AbstractSCATestCase.java delete mode 100644 java/sca-contrib/itest/spring/src/test/java/org/apache/tuscany/sca/itest/spring/HelloWorld.java delete mode 100644 java/sca-contrib/itest/spring/src/test/java/org/apache/tuscany/sca/itest/spring/HelloWorldProxy.java delete mode 100644 java/sca-contrib/itest/spring/src/test/java/org/apache/tuscany/sca/itest/spring/SpringDelegationHelloWorldTestCase.java delete mode 100644 java/sca-contrib/itest/spring/src/test/java/org/apache/tuscany/sca/itest/spring/SpringHelloWorldTestCase.java delete mode 100644 java/sca-contrib/itest/spring/src/test/java/org/apache/tuscany/sca/itest/spring/TestHelloWorldBean.java delete mode 100644 java/sca-contrib/itest/spring/src/test/java/org/apache/tuscany/sca/itest/spring/TestHelloWorldDelegatorBean.java delete mode 100644 java/sca-contrib/itest/spring/src/test/java/spring/annotations/CalculatorClient.java delete mode 100644 java/sca-contrib/itest/spring/src/test/java/spring/annotations/SpringAnnotationsTestCase.java delete mode 100644 java/sca-contrib/itest/transaction/pom.xml delete mode 100644 java/sca-contrib/itest/transaction/src/main/java/org/apache/tuscany/sca/itest/transaction/AccountNotFoundException.java delete mode 100644 java/sca-contrib/itest/transaction/src/main/java/org/apache/tuscany/sca/itest/transaction/AccountService.java delete mode 100644 java/sca-contrib/itest/transaction/src/main/java/org/apache/tuscany/sca/itest/transaction/AccountServiceImpl.java delete mode 100644 java/sca-contrib/itest/transaction/src/main/java/org/apache/tuscany/sca/itest/transaction/CheckingAccountServiceImpl.java delete mode 100644 java/sca-contrib/itest/transaction/src/main/java/org/apache/tuscany/sca/itest/transaction/OverDraftException.java delete mode 100644 java/sca-contrib/itest/transaction/src/main/java/org/apache/tuscany/sca/itest/transaction/SavingsAccountServiceImpl.java delete mode 100644 java/sca-contrib/itest/transaction/src/main/java/org/apache/tuscany/sca/itest/transaction/TransferService.java delete mode 100644 java/sca-contrib/itest/transaction/src/main/java/org/apache/tuscany/sca/itest/transaction/TransferServiceImpl.java delete mode 100644 java/sca-contrib/itest/transaction/src/main/resources/accounts.composite delete mode 100644 java/sca-contrib/itest/transaction/src/main/resources/definitions.xml delete mode 100644 java/sca-contrib/itest/transaction/src/main/resources/log4j.properties delete mode 100644 java/sca-contrib/itest/transaction/src/test/java/org/apache/tuscany/sca/itest/transaction/ConcurrentXAResourceTestCase.java delete mode 100644 java/sca-contrib/itest/transaction/src/test/java/org/apache/tuscany/sca/itest/transaction/TransactionTestCase.java delete mode 100644 java/sca-contrib/itest/validation/pom.xml delete mode 100644 java/sca-contrib/itest/validation/src/main/java/binding/ejb/account/Customer.java delete mode 100644 java/sca-contrib/itest/validation/src/main/java/binding/ejb/account/CustomerImpl.java delete mode 100644 java/sca-contrib/itest/validation/src/main/java/binding/ejb/calculator/AddService.java delete mode 100644 java/sca-contrib/itest/validation/src/main/java/binding/ejb/calculator/AddServiceHome.java delete mode 100644 java/sca-contrib/itest/validation/src/main/java/binding/jms/HelloWorldService.java delete mode 100644 java/sca-contrib/itest/validation/src/main/java/binding/jms/HelloWorldServiceImpl.java delete mode 100644 java/sca-contrib/itest/validation/src/main/java/calculator/warning/AddService.java delete mode 100644 java/sca-contrib/itest/validation/src/main/java/calculator/warning/AddServiceImpl.java delete mode 100644 java/sca-contrib/itest/validation/src/main/java/calculator/warning/AddServiceImplWithServiceName.java delete mode 100644 java/sca-contrib/itest/validation/src/main/java/calculator/warning/CalculatorClient.java delete mode 100644 java/sca-contrib/itest/validation/src/main/java/calculator/warning/CalculatorService.java delete mode 100644 java/sca-contrib/itest/validation/src/main/java/calculator/warning/CalculatorServiceImpl.java delete mode 100644 java/sca-contrib/itest/validation/src/main/java/calculator/warning/DivideService.java delete mode 100644 java/sca-contrib/itest/validation/src/main/java/calculator/warning/DivideServiceImpl.java delete mode 100644 java/sca-contrib/itest/validation/src/main/java/calculator/warning/MultiplyService.java delete mode 100644 java/sca-contrib/itest/validation/src/main/java/calculator/warning/MultiplyServiceImpl.java delete mode 100644 java/sca-contrib/itest/validation/src/main/java/calculator/warning/PropertyService.java delete mode 100644 java/sca-contrib/itest/validation/src/main/java/calculator/warning/PropertyServiceImpl.java delete mode 100644 java/sca-contrib/itest/validation/src/main/java/calculator/warning/SubtractService.java delete mode 100644 java/sca-contrib/itest/validation/src/main/java/calculator/warning/SubtractServiceImpl.java delete mode 100644 java/sca-contrib/itest/validation/src/main/java/calculator/warning/SubtractServiceImplWithServiceName.java delete mode 100644 java/sca-contrib/itest/validation/src/main/java/impl/java/AddService.java delete mode 100644 java/sca-contrib/itest/validation/src/main/java/impl/java/AddServiceImpl.java delete mode 100644 java/sca-contrib/itest/validation/src/main/java/impl/java/CalculatorClient.java delete mode 100644 java/sca-contrib/itest/validation/src/main/java/impl/java/CalculatorService.java delete mode 100644 java/sca-contrib/itest/validation/src/main/java/impl/java/CalculatorServiceImpl.java delete mode 100644 java/sca-contrib/itest/validation/src/main/java/impl/java/DivideService.java delete mode 100644 java/sca-contrib/itest/validation/src/main/java/impl/java/DivideServiceImpl.java delete mode 100644 java/sca-contrib/itest/validation/src/main/java/impl/java/MultiplyService.java delete mode 100644 java/sca-contrib/itest/validation/src/main/java/impl/java/MultiplyServiceImpl.java delete mode 100644 java/sca-contrib/itest/validation/src/main/java/impl/java/SubtractService.java delete mode 100644 java/sca-contrib/itest/validation/src/main/java/impl/java/SubtractServiceImpl.java delete mode 100644 java/sca-contrib/itest/validation/src/main/java/impl/spring/HelloWorld.java delete mode 100644 java/sca-contrib/itest/validation/src/main/java/impl/spring/HelloWorldProxy.java delete mode 100644 java/sca-contrib/itest/validation/src/main/java/impl/spring/TestHelloWorldBean.java delete mode 100644 java/sca-contrib/itest/validation/src/main/java/interfacejava/xml/CalculatorService.java delete mode 100644 java/sca-contrib/itest/validation/src/main/java/interfacejava/xml/CalculatorServiceImpl.java delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/ComponentReferenceTargetNotFound/Calculator.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/DuplicateComponentName/Calculator.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/DuplicateImplementationPropertyName/Calculator.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/DuplicateImplementationPropertyName/dummyImplementation.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/DuplicateImplementationReferenceName/Calculator.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/DuplicateImplementationReferenceName/dummyImplementation.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/DuplicatePropertyName/Calculator.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/DuplicateReferenceName/Calculator.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/META-INF/sca/SpringHelloWorld-context.xml delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/MultipleBindingsForService/Calculator.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/NoComponentImplementation/Calculator.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/NoCompositeNamespace/Calculator.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/NoMatchingBinding/Calculator.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/PromotedReferenceNotFound/Calculator.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/PromotedServiceNotFound/Calculator.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/PropertyAttribute/Calculator.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/PropertyAttribute/CalculatorNullMustSupply.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/PropertyAttribute/CalculatorOverrideManyAttribute.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/PropertyNotFound/Calculator.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/ReferenceIncompatibleComponentInterface/Calculator.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/ReferenceIncompatibleInterface/Calculator.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/ReferenceIncompatibleMultiplicity/Calculator.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/ReferenceNotFound/Calculator.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/ReferenceWithoutTargets/Calculator.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/ServiceNotFoundForComponentService/Calculator.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/UnresolvedComponentImplementation/Calculator.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/XsdValidation/Calculator.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/assemblyxml/ContributionReadException/Calculator.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/assemblyxml/PolicyImplValidationException/Calculator.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/assemblyxml/PolicyServiceValidationException/Calculator.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/assemblyxml/UnexpectedBindingElement/Calculator.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/assemblyxml/UnexpectedImplementationElement/Calculator.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/assemblyxml/UnexpectedInterfaceElement/Calculator.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/binding/wsxml/InvalidWsdlElementAttr/Calculator.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/binding/wsxml/MustUseWsdlBinding/Calculator.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/binding/wsxml/WsdlBindingDoesNotMatch/helloworld.wsdl delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/binding/wsxml/WsdlBindingDoesNotMatch/helloworldwsjms.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/binding/wsxml/WsdlPortTypeDoesNotMatch/helloworld.wsdl delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/binding/wsxml/WsdlPortTypeDoesNotMatch/helloworldwsclient.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/binding/wsxml/WsdlServiceDoesNotMatch/helloworld.wsdl delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/binding/wsxml/WsdlServiceDoesNotMatch/helloworldwsjms.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/bindingejb/UnknownEJBSessionType/account.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/bindingejb/UnknownEJBVersion/account.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/bindingjms/DoesntProcessActivationSpec/service.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/bindingjms/DoesntProcessDestinationType/service.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/bindingjms/DoesntProcessHeaders/service.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/bindingjms/DoesntProcessResourceAdapter/service.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/bindingjms/DoesntProcessResponseActivationSpec/service.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/bindingjms/DoesntProcessResponseConnectionFactory/service.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/bindingjms/DoesntProcessResponseDestinationType/service.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/bindingjms/InvalidCorrelationScheme/service.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/bindingjms/InvalidJMSDeliveryMode/service.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/bindingjms/InvalidJMSPriority/service.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/bindingjms/InvalidResponseDestinationType/service.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/bindingjms/MissingActivationSpecName/service.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/bindingjms/MissingConnectionFactoryName/service.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/bindingjms/MissingResponseActivationSpec/service.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/bindingjms/MissingResponseConnectionFactory/service.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/bindingjms/MustStartWithSchema/service.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/bindingjms/UnexpectedElement/service.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/bindingjms/UnexpectedResponseElement/service.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/bindingjms/UnknownTokenInURI/service.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/contribution/java/AttributePackageMissing/Calculator.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/contribution/namespace/AttributeNameSpaceMissing/Calculator.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/contribution/resource/AttributeURIMissing/Calculator.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/contribution/resource/AttributeURIMissing/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/contribution/xml/AttributeCompositeMissing/Calculator.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/contribution/xml/AttributeCompositeMissing/sca-contribution.xml delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/contribution/xml/MultipleCompositeErrors/Calculator.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/contribution/xml/MultipleCompositeErrors/sca-contribution.xml delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/impl/bpel/AttributeUnrecognizedNamespace/helloworld.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/impl/bpel/AttributeWithoutNamespace/helloworld.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/impl/bpel/BPELProcessNotFound/deploy.xml delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/impl/bpel/BPELProcessNotFound/helloworld.bpel delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/impl/bpel/BPELProcessNotFound/helloworld.componentType delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/impl/bpel/BPELProcessNotFound/helloworld.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/impl/bpel/BPELProcessNotFound/helloworld.wsdl delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/impl/bpel/CannotResolveWSDLReference/deploy.xml delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/impl/bpel/CannotResolveWSDLReference/helloworld.bpel delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/impl/bpel/CannotResolveWSDLReference/helloworld.componentType delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/impl/bpel/CannotResolveWSDLReference/helloworld.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/impl/bpel/MyRolePartnerRoleNull/deploy.xml delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/impl/bpel/MyRolePartnerRoleNull/helloworld.bpel delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/impl/bpel/MyRolePartnerRoleNull/helloworld.componentType delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/impl/bpel/MyRolePartnerRoleNull/helloworld.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/impl/bpel/MyRolePartnerRoleNull/helloworld.wsdl delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkHasBothAttr/deploy.xml delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkHasBothAttr/helloworld.bpel delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkHasBothAttr/helloworld.componentType delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkHasBothAttr/helloworld.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkHasBothAttr/helloworld.wsdl delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkNoMatchingType/deploy.xml delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkNoMatchingType/helloworld.bpel delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkNoMatchingType/helloworld.componentType delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkNoMatchingType/helloworld.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkNoMatchingType/helloworld.wsdl delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkTypeNoRoles/deploy.xml delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkTypeNoRoles/helloworld.bpel delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkTypeNoRoles/helloworld.componentType delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkTypeNoRoles/helloworld.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkTypeNoRoles/helloworld.wsdl delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/impl/ejb/EJBLinkAttributeMissing/ejb.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/impl/java/ClassNotFoundException/Calculator.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/impl/java/ContributionResolveException/Calculator.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/impl/osgi/CouldNotLocateOSGiBundle/OSGiTestService.componentType delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/impl/osgi/CouldNotLocateOSGiBundle/osgitest.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/impl/osgi/MissingComponentTypeFile/osgitest.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/impl/osgi/PropertyShouldSpecifySR/OSGiTestService.componentType delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/impl/osgi/PropertyShouldSpecifySR/osgitest.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/impl/resource/CouldNotResolveLocation/resource.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/impl/resource/LocationAttributeMissing/resource.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/impl/spring/ContributionResolveException/SpringHelloWorld.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/impl/spring/LocationAttributeMissing/SpringHelloWorld.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/impl/spring/UnableToResolveComponentType/SpringHelloWorld-context.xml delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/impl/spring/UnableToResolveComponentType/SpringHelloWorld.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/impl/spring/UnableToResolveComponentType/TestHelloWorldBean.componentType delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/impl/widget/CouldNotResolveLocation/widget.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/impl/widget/LocationAttributeMissing/widget.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/impl/xquery/CouldNotLocateFile/HelloWorld.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/impl/xquery/LocationAttributeMissing/HelloWorld.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/interfacejava/xml/ClassNotFoundException/Calculator.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/interfacejava/xml/ClassNotFoundException/CalculatorServiceImpl.componentType delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/interfacejava/xml/ContributionResolveException/Calculator.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/interfacejava/xml/ContributionResolveException/CalculatorServiceImpl.componentType delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/interfacewsdl/xml/InvalidWSDLInterfaceAttr/Calculator.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/interfacewsdl/xml/InvalidWSDLInterfaceAttr/helloworld-interface.wsdl delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/interfacewsdl/xml/InvalidWSDLInterfaceAttr/helloworld-service.wsdl delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/interfacewsdl/xml/WsdlInterfaceDoesNotMatch/helloworld.wsdl delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/interfacewsdl/xml/WsdlInterfaceDoesNotMatch/helloworldwsjms.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/policy/security/ClassNotFoundException/Calculator.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/policy/security/ClassNotFoundException/definitions.xml delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/policy/security/RequiredAttributeRolesMissing/Calculator.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/policy/security/RequiredAttributeRolesMissing/definitions.xml delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/policy/xml/AlwaysProvidedIntentNotFound/Calculator.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/policy/xml/AlwaysProvidedIntentNotFound/definitions.xml delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/policy/xml/ErrorInPolicyIntentDefinition/Calculator.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/policy/xml/ErrorInPolicyIntentDefinition/definitions.xml delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/policy/xml/IntentNotSpecified/Calculator.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/policy/xml/IntentNotSpecified/definitions.xml delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/policy/xml/MayProvideIntentNotFound/Calculator.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/policy/xml/MayProvideIntentNotFound/definitions.xml delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/policy/xml/RequiredAttributeMissing/Calculator.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/policy/xml/RequiredAttributeMissing/definitions.xml delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/policy/xml/UnableToMapPolicies/Calculator.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/policy/xml/UnableToMapPolicies/definitions.xml delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/policy/xml/UnrecognizedIntentAttachPointType/Calculator.composite delete mode 100644 java/sca-contrib/itest/validation/src/main/resources/policy/xml/UnrecognizedIntentAttachPointType/definitions.xml delete mode 100644 java/sca-contrib/itest/validation/src/test/java/assembly/xml/ContributionReadException.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/assembly/xml/PolicyImplValidationException.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/assembly/xml/PolicyServiceValidationException.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/assembly/xml/UnexpectedBindingElement.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/assembly/xml/UnexpectedImplementationElement.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/assembly/xml/UnexpectedInterfaceElement.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/binding/ejb/UnknownEJBSessionTypeTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/binding/ejb/UnknownEJBVersionTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/binding/jms/DoesntProcessActivationSpecTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/binding/jms/DoesntProcessDestinationTypeTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/binding/jms/DoesntProcessHeadersTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/binding/jms/DoesntProcessResourceAdapterTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/binding/jms/DoesntProcessResponseActivationSpecTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/binding/jms/DoesntProcessResponseConnectionFactoryTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/binding/jms/DoesntProcessResponseDestinationTypeTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/binding/jms/InvalidCorrelationSchemeTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/binding/jms/InvalidJMSDeliveryModeTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/binding/jms/InvalidJMSPriorityTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/binding/jms/InvalidResponseDestinationTypeTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/binding/jms/MissingActivationSpecNameTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/binding/jms/MissingConnectionFactoryNameTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/binding/jms/MissingResponseActivationSpecTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/binding/jms/MissingResponseConnectionFactoryTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/binding/jms/MustStartWithSchemaTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/binding/jms/UnexpectedElementTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/binding/jms/UnexpectedResponseElementTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/binding/jms/UnknownTokenInURITestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/binding/wsxml/InvalidWsdlElementAttrTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/binding/wsxml/MustUseWsdlBindingTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/binding/wsxml/WsdlBindingDoesNotMatchTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/binding/wsxml/WsdlPortTypeDoesNotMatchTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/binding/wsxml/WsdlServiceDoesNotMatchTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/calculator/warning/ComponentReferenceTargetNotFoundTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/calculator/warning/DuplicateComponentNameTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/calculator/warning/DuplicateImplementationPropertyNameTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/calculator/warning/DuplicateImplementationReferenceNameTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/calculator/warning/DuplicatePropertyNameTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/calculator/warning/DuplicateReferenceNameTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/calculator/warning/MultipleBindingsForServiceTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/calculator/warning/NoComponentImplementationTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/calculator/warning/NoCompositeNamespaceTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/calculator/warning/NoMatchingBindingTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/calculator/warning/PromotedReferenceNotFoundTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/calculator/warning/PromotedServiceNotFoundTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/calculator/warning/PropertyAttributeMustSupplyNullTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/calculator/warning/PropertyAttributeTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/calculator/warning/PropertyNotFoundTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/calculator/warning/PropertyOverrideManyAttributeTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/calculator/warning/ReferenceIncompatibleComponentInterfaceTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/calculator/warning/ReferenceIncompatibleInterfaceTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/calculator/warning/ReferenceIncompatibleMultiplicityTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/calculator/warning/ReferenceNotFoundTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/calculator/warning/ReferenceWithoutTargetsTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/calculator/warning/ServiceNotFoundForComponentServiceTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/calculator/warning/UnresolvedComponentImplementationTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/calculator/warning/XSDValidationTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/contribution/java/AttributePackageMissingTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/contribution/namespace/AttributeNameSpaceMissingTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/contribution/resource/AttributeURIMissingTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/contribution/xml/AttributeCompositeMissingTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/contribution/xml/MultipleCompositeErrorsTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/domain/CustomCompositeBuilder.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/impl/bpel/AttributeUnrecognizedNamespaceTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/impl/bpel/AttributeWithoutNamespaceTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/impl/bpel/BPELProcessNotFoundTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/impl/bpel/CannotResolveWSDLReferenceTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/impl/bpel/MyRolePartnerRoleNullTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/impl/bpel/PartnerLinkHasBothAttrTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/impl/bpel/PartnerLinkNoMatchingTypeTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/impl/bpel/PartnerLinkTypeNoRolesTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/impl/ejb/EJBLinkAttributeMissingTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/impl/java/ClassNotFoundExceptionTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/impl/java/ContributionResolveExceptionTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/impl/resource/CouldNotResolveLocationTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/impl/resource/LocationAttributeMissingTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/impl/spring/ContributionResolveExceptionTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/impl/spring/LocationAttributeMissingTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/impl/spring/UnableToResolveComponentTypeTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/impl/widget/CouldNotResolveLocationTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/impl/widget/LocationAttributeMissingTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/impl/xquery/CouldNotLocateFileTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/impl/xquery/LocationAttributeMissingTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/interfacejava/xml/ClassNotFoundTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/interfacejava/xml/ContributionResolveExceptionTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/interfacewsdl/xml/InvalidWSDLInterfaceAttrTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/interfacewsdl/xml/WsdlInterfaceDoesNotMatchTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/policy/xml/AlwaysProvidedIntentNotFoundTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/policy/xml/ErrorInPolicyIntentDefinitionTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/policy/xml/IntentNotSpecifiedTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/policy/xml/MayProvideIntentNotFoundTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/policy/xml/RequiredAttributeMissingTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/policy/xml/UnableToMapPoliciesTestCase.java delete mode 100644 java/sca-contrib/itest/validation/src/test/java/policy/xml/UnrecognizedIntentAttachPointTypeTestCase.java delete mode 100644 java/sca-contrib/itest/ws-void-args-return/pom.xml delete mode 100644 java/sca-contrib/itest/ws-void-args-return/src/main/java/voidtest/Bean.java delete mode 100644 java/sca-contrib/itest/ws-void-args-return/src/main/java/voidtest/HelloWorldImpl.java delete mode 100644 java/sca-contrib/itest/ws-void-args-return/src/main/java/voidtest/HelloWorldService.java delete mode 100644 java/sca-contrib/itest/ws-void-args-return/src/main/java/voidtest/TestClient.java delete mode 100644 java/sca-contrib/itest/ws-void-args-return/src/main/java/voidtest/TestClientImpl.java delete mode 100644 java/sca-contrib/itest/ws-void-args-return/src/main/resources/voidtest.composite delete mode 100644 java/sca-contrib/itest/ws-void-args-return/src/test/java/voidtest/VoidArgsReturnTestCase.java delete mode 100644 java/sca-contrib/itest/wsdl-multiple/pom.xml delete mode 100644 java/sca-contrib/itest/wsdl-multiple/src/main/java/helloworld/HelloWorldCallback.java delete mode 100644 java/sca-contrib/itest/wsdl-multiple/src/main/java/helloworld/HelloWorldClientImpl.java delete mode 100644 java/sca-contrib/itest/wsdl-multiple/src/main/java/helloworld/HelloWorldService.java delete mode 100644 java/sca-contrib/itest/wsdl-multiple/src/main/java/helloworld/HelloWorldServiceImpl.java delete mode 100644 java/sca-contrib/itest/wsdl-multiple/src/main/resources/auto-wsdl.composite delete mode 100644 java/sca-contrib/itest/wsdl-multiple/src/main/resources/manual-wsdl.composite delete mode 100644 java/sca-contrib/itest/wsdl-multiple/src/main/resources/wsdl/helloworld.HelloWorldCallback.wsdl delete mode 100644 java/sca-contrib/itest/wsdl-multiple/src/main/resources/wsdl/helloworld.HelloWorldService.wsdl delete mode 100644 java/sca-contrib/itest/wsdl-multiple/src/test/java/org/apache/tuscany/sca/itest/AutoWSDLTestCase.java delete mode 100644 java/sca-contrib/itest/wsdl-multiple/src/test/java/org/apache/tuscany/sca/itest/ManualWSDLTestCase.java delete mode 100644 java/sca-contrib/itest/wsdl/pom.xml delete mode 100644 java/sca-contrib/itest/wsdl/src/main/java/bigbank/account/services/accountdata/AccountDataService.java delete mode 100644 java/sca-contrib/itest/wsdl/src/main/java/bigbank/account/services/accountdata/AccountDataServiceImpl.java delete mode 100644 java/sca-contrib/itest/wsdl/src/main/java/bigbank/account/services/accountdata/AccountServiceClientImpl.java delete mode 100644 java/sca-contrib/itest/wsdl/src/main/java/bigbank/account/services/accountdata/Component2aImpl.java delete mode 100644 java/sca-contrib/itest/wsdl/src/main/java/bigbank/account/services/accountdata/Component2bImpl.java delete mode 100644 java/sca-contrib/itest/wsdl/src/main/java/bigbank/account/services/accountdata/Component3aImpl.java delete mode 100644 java/sca-contrib/itest/wsdl/src/main/java/bigbank/account/services/accountdata/Component3bImpl.java delete mode 100644 java/sca-contrib/itest/wsdl/src/main/java/bigbank/account/services/accountdata/CustomerIdService.java delete mode 100644 java/sca-contrib/itest/wsdl/src/main/java/helloworld/HelloWorldImpl.java delete mode 100644 java/sca-contrib/itest/wsdl/src/main/java/helloworld/HelloWorldService.java delete mode 100644 java/sca-contrib/itest/wsdl/src/main/java/helloworld/HelloWorldServiceComponent.java delete mode 100644 java/sca-contrib/itest/wsdl/src/main/java/org/apache/tuscany/sca/itest/Component2aImpl.java delete mode 100644 java/sca-contrib/itest/wsdl/src/main/java/org/apache/tuscany/sca/itest/Component2bImpl.java delete mode 100644 java/sca-contrib/itest/wsdl/src/main/java/org/apache/tuscany/sca/itest/Component3aImpl.java delete mode 100644 java/sca-contrib/itest/wsdl/src/main/java/org/apache/tuscany/sca/itest/Component3bImpl.java delete mode 100644 java/sca-contrib/itest/wsdl/src/main/resources/SDOWSDLTest.composite delete mode 100644 java/sca-contrib/itest/wsdl/src/main/resources/WSDLTest.composite delete mode 100644 java/sca-contrib/itest/wsdl/src/main/resources/wsdl/AccountService.wsdl delete mode 100644 java/sca-contrib/itest/wsdl/src/main/resources/wsdl/Hello.xsd delete mode 100644 java/sca-contrib/itest/wsdl/src/main/resources/wsdl/helloworld.wsdl delete mode 100644 java/sca-contrib/itest/wsdl/src/test/java/org/apache/tuscany/sca/itest/SDOWSDLTestCase.java delete mode 100644 java/sca-contrib/itest/wsdl/src/test/java/org/apache/tuscany/sca/itest/WSDLTestCase.java delete mode 100644 java/sca-contrib/itest/wsdl2java/pom.xml delete mode 100644 java/sca-contrib/itest/wsdl2java/src/test/resources/AccountService.wsdl delete mode 100644 java/sca-contrib/itest/wsdl2java/src/test/resources/EchoService.wsdl delete mode 100644 java/sca-contrib/itest/wsdl2java/src/test/resources/EchoService.xsd delete mode 100644 java/sca-contrib/itest/wsdl2java/src/test/resources/StockExceptionTest.wsdl delete mode 100644 java/sca-contrib/itest/wsdlless/pom.xml delete mode 100644 java/sca-contrib/itest/wsdlless/src/main/java/bigbank/account/services/accountdata/AccountDataService.java delete mode 100644 java/sca-contrib/itest/wsdlless/src/main/java/bigbank/account/services/accountdata/AccountDataServiceImpl.java delete mode 100644 java/sca-contrib/itest/wsdlless/src/main/java/bigbank/account/services/accountdata/AccountServiceClientImpl.java delete mode 100644 java/sca-contrib/itest/wsdlless/src/main/java/bigbank/account/services/accountdata/Component2aImpl.java delete mode 100644 java/sca-contrib/itest/wsdlless/src/main/java/bigbank/account/services/accountdata/Component2bImpl.java delete mode 100644 java/sca-contrib/itest/wsdlless/src/main/java/bigbank/account/services/accountdata/Component3aImpl.java delete mode 100644 java/sca-contrib/itest/wsdlless/src/main/java/bigbank/account/services/accountdata/Component3bImpl.java delete mode 100644 java/sca-contrib/itest/wsdlless/src/main/java/bigbank/account/services/accountdata/CustomerIdService.java delete mode 100644 java/sca-contrib/itest/wsdlless/src/main/java/helloworld/HelloWorldImpl.java delete mode 100644 java/sca-contrib/itest/wsdlless/src/main/java/helloworld/HelloWorldService.java delete mode 100644 java/sca-contrib/itest/wsdlless/src/main/java/helloworld/HelloWorldServiceComponent.java delete mode 100644 java/sca-contrib/itest/wsdlless/src/main/java/org/apache/tuscany/sca/itest/Component2aImpl.java delete mode 100644 java/sca-contrib/itest/wsdlless/src/main/java/org/apache/tuscany/sca/itest/Component2bImpl.java delete mode 100644 java/sca-contrib/itest/wsdlless/src/main/java/org/apache/tuscany/sca/itest/Component3aImpl.java delete mode 100644 java/sca-contrib/itest/wsdlless/src/main/java/org/apache/tuscany/sca/itest/Component3bImpl.java delete mode 100644 java/sca-contrib/itest/wsdlless/src/main/java/service/AnObject.java delete mode 100644 java/sca-contrib/itest/wsdlless/src/main/java/service/MoreComplexObject.java delete mode 100644 java/sca-contrib/itest/wsdlless/src/main/java/service/SomeService.java delete mode 100644 java/sca-contrib/itest/wsdlless/src/main/java/service/SomeServiceImpl.java delete mode 100644 java/sca-contrib/itest/wsdlless/src/main/resources/SDOWSDLTest.composite delete mode 100644 java/sca-contrib/itest/wsdlless/src/main/resources/WSDLTest.composite delete mode 100644 java/sca-contrib/itest/wsdlless/src/main/resources/some.composite delete mode 100644 java/sca-contrib/itest/wsdlless/src/main/resources/wsdl/AccountService.wsdl delete mode 100644 java/sca-contrib/itest/wsdlless/src/main/resources/wsdl/helloworld.wsdl delete mode 100644 java/sca-contrib/itest/wsdlless/src/test/java/org/apache/tuscany/sca/itest/SDOWSDLTestCase.java delete mode 100644 java/sca-contrib/itest/wsdlless/src/test/java/org/apache/tuscany/sca/itest/WSDLTestCase.java delete mode 100644 java/sca-contrib/itest/wsdlless/src/test/java/service/SomeComponentTestCase.java delete mode 100644 java/sca-contrib/itest/wsdlless/src/test/java/service/generated/AnObject.java delete mode 100644 java/sca-contrib/itest/wsdlless/src/test/java/service/generated/GetUsingMoreComplexObject.java delete mode 100644 java/sca-contrib/itest/wsdlless/src/test/java/service/generated/GetUsingMoreComplexObjectResponse.java delete mode 100644 java/sca-contrib/itest/wsdlless/src/test/java/service/generated/GetUsingString.java delete mode 100644 java/sca-contrib/itest/wsdlless/src/test/java/service/generated/GetUsingStringResponse.java delete mode 100644 java/sca-contrib/itest/wsdlless/src/test/java/service/generated/MoreComplexObject.java delete mode 100644 java/sca-contrib/itest/wsdlless/src/test/java/service/generated/ObjectFactory.java delete mode 100644 java/sca-contrib/itest/wsdlless/src/test/java/service/generated/SomeService.java delete mode 100644 java/sca-contrib/itest/wsdlless/src/test/java/service/generated/SomeServiceService.java delete mode 100644 java/sca-contrib/itest/wsdlless/src/test/java/service/generated/package-info.java delete mode 100644 java/sca-contrib/modules/assembly-xml-osoa/LICENSE delete mode 100644 java/sca-contrib/modules/assembly-xml-osoa/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/assembly-xml-osoa/NOTICE delete mode 100644 java/sca-contrib/modules/assembly-xml-osoa/pom.xml delete mode 100644 java/sca-contrib/modules/assembly-xml-osoa/src/main/java/org/apache/tuscany/sca/assembly/xml/osoa/BaseAssemblyProcessor.java delete mode 100644 java/sca-contrib/modules/assembly-xml-osoa/src/main/java/org/apache/tuscany/sca/assembly/xml/osoa/ComponentTypeProcessor.java delete mode 100644 java/sca-contrib/modules/assembly-xml-osoa/src/main/java/org/apache/tuscany/sca/assembly/xml/osoa/CompositeProcessor.java delete mode 100644 java/sca-contrib/modules/assembly-xml-osoa/src/main/java/org/apache/tuscany/sca/assembly/xml/osoa/Constants.java delete mode 100644 java/sca-contrib/modules/assembly-xml-osoa/src/main/java/org/apache/tuscany/sca/assembly/xml/osoa/ConstrainingTypeProcessor.java delete mode 100644 java/sca-contrib/modules/assembly-xml-osoa/src/main/java/org/apache/tuscany/sca/assembly/xml/osoa/PolicySubjectProcessor.java delete mode 100644 java/sca-contrib/modules/assembly-xml-osoa/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor delete mode 100644 java/sca-contrib/modules/assembly-xml-osoa/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.URLArtifactProcessor delete mode 100644 java/sca-contrib/modules/assembly-xml-osoa/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.resolver.ModelResolver delete mode 100644 java/sca-contrib/modules/assembly-xml-osoa/src/main/resources/assembly-xml-validation-messages.properties delete mode 100644 java/sca-contrib/modules/assembly-xml-osoa/src/test/java/org/apache/tuscany/sca/assembly/xml/osoa/BuildPolicyTestCase.java delete mode 100644 java/sca-contrib/modules/assembly-xml-osoa/src/test/java/org/apache/tuscany/sca/assembly/xml/osoa/MultiplicityReadWriteTestCase.java delete mode 100644 java/sca-contrib/modules/assembly-xml-osoa/src/test/java/org/apache/tuscany/sca/assembly/xml/osoa/ReadAllTestCase.java delete mode 100644 java/sca-contrib/modules/assembly-xml-osoa/src/test/java/org/apache/tuscany/sca/assembly/xml/osoa/ReadDocumentTestCase.java delete mode 100644 java/sca-contrib/modules/assembly-xml-osoa/src/test/java/org/apache/tuscany/sca/assembly/xml/osoa/ReadTestCase.java delete mode 100644 java/sca-contrib/modules/assembly-xml-osoa/src/test/java/org/apache/tuscany/sca/assembly/xml/osoa/ReadWriteAnyAttributeTestCase.java delete mode 100644 java/sca-contrib/modules/assembly-xml-osoa/src/test/java/org/apache/tuscany/sca/assembly/xml/osoa/ReadWriteAnyElementTestCase.java delete mode 100644 java/sca-contrib/modules/assembly-xml-osoa/src/test/java/org/apache/tuscany/sca/assembly/xml/osoa/ReadWriteLocalCompositeTestCase.java delete mode 100644 java/sca-contrib/modules/assembly-xml-osoa/src/test/java/org/apache/tuscany/sca/assembly/xml/osoa/ResolvePolicyTestCase.java delete mode 100644 java/sca-contrib/modules/assembly-xml-osoa/src/test/java/org/apache/tuscany/sca/assembly/xml/osoa/ResolveTestCase.java delete mode 100644 java/sca-contrib/modules/assembly-xml-osoa/src/test/java/org/apache/tuscany/sca/assembly/xml/osoa/TestAttributeProcessor.java delete mode 100644 java/sca-contrib/modules/assembly-xml-osoa/src/test/java/org/apache/tuscany/sca/assembly/xml/osoa/TestPolicyProcessor.java delete mode 100644 java/sca-contrib/modules/assembly-xml-osoa/src/test/java/org/apache/tuscany/sca/assembly/xml/osoa/TestSCABindingFactoryImpl.java delete mode 100644 java/sca-contrib/modules/assembly-xml-osoa/src/test/java/org/apache/tuscany/sca/assembly/xml/osoa/TestSCABindingImpl.java delete mode 100644 java/sca-contrib/modules/assembly-xml-osoa/src/test/java/org/apache/tuscany/sca/assembly/xml/osoa/WireTestCase.java delete mode 100644 java/sca-contrib/modules/assembly-xml-osoa/src/test/java/org/apache/tuscany/sca/assembly/xml/osoa/WriteAllTestCase.java delete mode 100644 java/sca-contrib/modules/assembly-xml-osoa/src/test/java/org/apache/tuscany/sca/assembly/xml/osoa/WriteNamespacesTestCase.java delete mode 100644 java/sca-contrib/modules/assembly-xml-osoa/src/test/resources/org/apache/tuscany/sca/assembly/xml/osoa/Calculator.composite delete mode 100644 java/sca-contrib/modules/assembly-xml-osoa/src/test/resources/org/apache/tuscany/sca/assembly/xml/osoa/CalculatorComponent.constrainingType delete mode 100644 java/sca-contrib/modules/assembly-xml-osoa/src/test/resources/org/apache/tuscany/sca/assembly/xml/osoa/CalculatorImpl.componentType delete mode 100644 java/sca-contrib/modules/assembly-xml-osoa/src/test/resources/org/apache/tuscany/sca/assembly/xml/osoa/JavaScriptReference.composite delete mode 100644 java/sca-contrib/modules/assembly-xml-osoa/src/test/resources/org/apache/tuscany/sca/assembly/xml/osoa/Multiplicity.composite delete mode 100644 java/sca-contrib/modules/assembly-xml-osoa/src/test/resources/org/apache/tuscany/sca/assembly/xml/osoa/NestedCalculator.composite delete mode 100644 java/sca-contrib/modules/assembly-xml-osoa/src/test/resources/org/apache/tuscany/sca/assembly/xml/osoa/RMIBindingTest.composite delete mode 100644 java/sca-contrib/modules/assembly-xml-osoa/src/test/resources/org/apache/tuscany/sca/assembly/xml/osoa/TestAllCalculator.composite delete mode 100644 java/sca-contrib/modules/assembly-xml-osoa/src/test/resources/org/apache/tuscany/sca/assembly/xml/osoa/TestAllDivide.composite delete mode 100644 java/sca-contrib/modules/assembly-xml-osoa/src/test/resources/org/apache/tuscany/sca/assembly/xml/osoa/TestAllPolicyCalculator.composite delete mode 100644 java/sca-contrib/modules/assembly-xml-osoa/src/test/resources/org/apache/tuscany/sca/assembly/xml/osoa/another_test_definitions.xml delete mode 100644 java/sca-contrib/modules/assembly-xml-osoa/src/test/resources/org/apache/tuscany/sca/assembly/xml/osoa/local.composite delete mode 100644 java/sca-contrib/modules/assembly-xml-osoa/src/test/resources/org/apache/tuscany/sca/assembly/xml/osoa/test_definitions.xml delete mode 100644 java/sca-contrib/modules/assembly-xsd-osoa/LICENSE delete mode 100644 java/sca-contrib/modules/assembly-xsd-osoa/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/assembly-xsd-osoa/NOTICE delete mode 100644 java/sca-contrib/modules/assembly-xsd-osoa/pom.xml delete mode 100644 java/sca-contrib/modules/assembly-xsd-osoa/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.ValidationSchema delete mode 100644 java/sca-contrib/modules/assembly-xsd-osoa/src/main/resources/sca-all.xsd delete mode 100644 java/sca-contrib/modules/assembly-xsd-osoa/src/main/resources/sca-binding-ejb.xsd delete mode 100644 java/sca-contrib/modules/assembly-xsd-osoa/src/main/resources/sca-binding-sca.xsd delete mode 100644 java/sca-contrib/modules/assembly-xsd-osoa/src/main/resources/sca-binding-webservice.xsd delete mode 100644 java/sca-contrib/modules/assembly-xsd-osoa/src/main/resources/sca-contributions.xsd delete mode 100644 java/sca-contrib/modules/assembly-xsd-osoa/src/main/resources/sca-core.xsd delete mode 100644 java/sca-contrib/modules/assembly-xsd-osoa/src/main/resources/sca-definitions.xsd delete mode 100644 java/sca-contrib/modules/assembly-xsd-osoa/src/main/resources/sca-implementation-bpel.xsd delete mode 100644 java/sca-contrib/modules/assembly-xsd-osoa/src/main/resources/sca-implementation-composite.xsd delete mode 100644 java/sca-contrib/modules/assembly-xsd-osoa/src/main/resources/sca-implementation-java.xsd delete mode 100644 java/sca-contrib/modules/assembly-xsd-osoa/src/main/resources/sca-implementation-jee.xsd delete mode 100644 java/sca-contrib/modules/assembly-xsd-osoa/src/main/resources/sca-implementation-web.xsd delete mode 100644 java/sca-contrib/modules/assembly-xsd-osoa/src/main/resources/sca-interface-java.xsd delete mode 100644 java/sca-contrib/modules/assembly-xsd-osoa/src/main/resources/sca-interface-wsdl.xsd delete mode 100644 java/sca-contrib/modules/assembly-xsd-osoa/src/main/resources/sca-policy.xsd delete mode 100644 java/sca-contrib/modules/assembly-xsd-osoa/src/main/resources/sca.xsd delete mode 100644 java/sca-contrib/modules/assembly-xsd-osoa/src/main/resources/tuscany-sca-binding-dwr.xsd delete mode 100644 java/sca-contrib/modules/assembly-xsd-osoa/src/main/resources/tuscany-sca-binding-http.xsd delete mode 100644 java/sca-contrib/modules/assembly-xsd-osoa/src/main/resources/tuscany-sca-binding-jsonrpc.xsd delete mode 100644 java/sca-contrib/modules/assembly-xsd-osoa/src/main/resources/tuscany-sca-binding-rmi.xsd delete mode 100644 java/sca-contrib/modules/assembly-xsd-osoa/src/main/resources/tuscany-sca-implementation-node.xsd delete mode 100644 java/sca-contrib/modules/assembly-xsd-osoa/src/main/resources/tuscany-sca.xsd delete mode 100644 java/sca-contrib/modules/assembly-xsd-osoa/src/main/resources/wsdli.xsd delete mode 100644 java/sca-contrib/modules/binding-atom-abdera/LICENSE delete mode 100644 java/sca-contrib/modules/binding-atom-abdera/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/binding-atom-abdera/NOTICE delete mode 100644 java/sca-contrib/modules/binding-atom-abdera/ReceiptToms.gif delete mode 100644 java/sca-contrib/modules/binding-atom-abdera/ReceiptValue.jpg delete mode 100644 java/sca-contrib/modules/binding-atom-abdera/pom.xml delete mode 100644 java/sca-contrib/modules/binding-atom-abdera/src/main/java/org/apache/tuscany/sca/binding/atom/collection/Collection.java delete mode 100644 java/sca-contrib/modules/binding-atom-abdera/src/main/java/org/apache/tuscany/sca/binding/atom/collection/MediaCollection.java delete mode 100644 java/sca-contrib/modules/binding-atom-abdera/src/main/java/org/apache/tuscany/sca/binding/atom/collection/NotFoundException.java delete mode 100644 java/sca-contrib/modules/binding-atom-abdera/src/main/java/org/apache/tuscany/sca/binding/atom/provider/AtomBindingInvoker.java delete mode 100644 java/sca-contrib/modules/binding-atom-abdera/src/main/java/org/apache/tuscany/sca/binding/atom/provider/AtomBindingListenerServlet.java delete mode 100644 java/sca-contrib/modules/binding-atom-abdera/src/main/java/org/apache/tuscany/sca/binding/atom/provider/AtomBindingProviderFactory.java delete mode 100644 java/sca-contrib/modules/binding-atom-abdera/src/main/java/org/apache/tuscany/sca/binding/atom/provider/AtomBindingUtil.java delete mode 100644 java/sca-contrib/modules/binding-atom-abdera/src/main/java/org/apache/tuscany/sca/binding/atom/provider/AtomReferenceBindingProvider.java delete mode 100644 java/sca-contrib/modules/binding-atom-abdera/src/main/java/org/apache/tuscany/sca/binding/atom/provider/AtomServiceBindingProvider.java delete mode 100644 java/sca-contrib/modules/binding-atom-abdera/src/main/resources/META-INF/services/org.apache.tuscany.sca.provider.BindingProviderFactory delete mode 100644 java/sca-contrib/modules/binding-atom-abdera/src/test/java/org/apache/tuscany/sca/binding/atom/AtomDeleteTestCase.java delete mode 100644 java/sca-contrib/modules/binding-atom-abdera/src/test/java/org/apache/tuscany/sca/binding/atom/AtomGetTestCase.java delete mode 100644 java/sca-contrib/modules/binding-atom-abdera/src/test/java/org/apache/tuscany/sca/binding/atom/AtomPostTestCase.java delete mode 100644 java/sca-contrib/modules/binding-atom-abdera/src/test/java/org/apache/tuscany/sca/binding/atom/AtomPutTestCase.java delete mode 100644 java/sca-contrib/modules/binding-atom-abdera/src/test/java/org/apache/tuscany/sca/binding/atom/AtomTestCaseUtils.java delete mode 100644 java/sca-contrib/modules/binding-atom-abdera/src/test/java/org/apache/tuscany/sca/binding/atom/Consumer.java delete mode 100644 java/sca-contrib/modules/binding-atom-abdera/src/test/java/org/apache/tuscany/sca/binding/atom/ConsumerProviderAtomTestCase.java delete mode 100644 java/sca-contrib/modules/binding-atom-abdera/src/test/java/org/apache/tuscany/sca/binding/atom/ContentNegotiationTest.java delete mode 100644 java/sca-contrib/modules/binding-atom-abdera/src/test/java/org/apache/tuscany/sca/binding/atom/CustomerClient.java delete mode 100644 java/sca-contrib/modules/binding-atom-abdera/src/test/java/org/apache/tuscany/sca/binding/atom/CustomerClientImpl.java delete mode 100644 java/sca-contrib/modules/binding-atom-abdera/src/test/java/org/apache/tuscany/sca/binding/atom/CustomerCollectionImpl.java delete mode 100644 java/sca-contrib/modules/binding-atom-abdera/src/test/java/org/apache/tuscany/sca/binding/atom/MediaCollectionImpl.java delete mode 100644 java/sca-contrib/modules/binding-atom-abdera/src/test/java/org/apache/tuscany/sca/binding/atom/MediaCollectionTestCase.java delete mode 100644 java/sca-contrib/modules/binding-atom-abdera/src/test/java/org/apache/tuscany/sca/binding/atom/Provider.java delete mode 100644 java/sca-contrib/modules/binding-atom-abdera/src/test/java/org/apache/tuscany/sca/binding/atom/ProviderEntryEntityTagsTestCase.java delete mode 100644 java/sca-contrib/modules/binding-atom-abdera/src/test/java/org/apache/tuscany/sca/binding/atom/ProviderFeedEntityTagsTestCase.java delete mode 100644 java/sca-contrib/modules/binding-atom-abdera/src/test/java/org/apache/tuscany/sca/binding/atom/ProviderServiceDocumentTestCase.java delete mode 100644 java/sca-contrib/modules/binding-atom-abdera/src/test/resources/org/apache/tuscany/sca/binding/atom/Consumer.composite delete mode 100644 java/sca-contrib/modules/binding-atom-abdera/src/test/resources/org/apache/tuscany/sca/binding/atom/Provider.composite delete mode 100644 java/sca-contrib/modules/binding-atom-abdera/src/test/resources/org/apache/tuscany/sca/binding/atom/ReceiptProvider.composite delete mode 100644 java/sca-contrib/modules/binding-atom/LICENSE delete mode 100644 java/sca-contrib/modules/binding-atom/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/binding-atom/NOTICE delete mode 100644 java/sca-contrib/modules/binding-atom/pom.xml delete mode 100644 java/sca-contrib/modules/binding-atom/src/main/java/org/apache/tuscany/sca/binding/atom/AtomBinding.java delete mode 100644 java/sca-contrib/modules/binding-atom/src/main/java/org/apache/tuscany/sca/binding/atom/AtomBindingFactory.java delete mode 100644 java/sca-contrib/modules/binding-atom/src/main/java/org/apache/tuscany/sca/binding/atom/impl/AtomBindingFactoryImpl.java delete mode 100644 java/sca-contrib/modules/binding-atom/src/main/java/org/apache/tuscany/sca/binding/atom/impl/AtomBindingImpl.java delete mode 100644 java/sca-contrib/modules/binding-atom/src/main/resources/META-INF/services/org.apache.tuscany.sca.binding.atom.AtomBindingFactory delete mode 100644 java/sca-contrib/modules/binding-atom/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor delete mode 100644 java/sca-contrib/modules/binding-atom/src/test/java/org/apache/tuscany/sca/binding/atom/AtomBindingProcessorTestCase.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/LICENSE delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/NOTICE delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/pom.xml delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/main/java/org/apache/tuscany/sca/binding/corba/provider/CorbaBindingProviderFactory.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/main/java/org/apache/tuscany/sca/binding/corba/provider/CorbaInvoker.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/main/java/org/apache/tuscany/sca/binding/corba/provider/CorbaReferenceBindingProvider.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/main/java/org/apache/tuscany/sca/binding/corba/provider/CorbaServiceBindingProvider.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/main/java/org/apache/tuscany/sca/binding/corba/provider/exceptions/CorbaException.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/main/java/org/apache/tuscany/sca/binding/corba/provider/exceptions/RequestConfigurationException.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/main/java/org/apache/tuscany/sca/binding/corba/provider/meta/CorbaArray.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/main/java/org/apache/tuscany/sca/binding/corba/provider/meta/CorbaUnionElement.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/main/java/org/apache/tuscany/sca/binding/corba/provider/meta/CorbaUnionElementType.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/main/java/org/apache/tuscany/sca/binding/corba/provider/reference/DynaCorbaRequest.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/main/java/org/apache/tuscany/sca/binding/corba/provider/reference/DynaCorbaResponse.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/main/java/org/apache/tuscany/sca/binding/corba/provider/reference/InterfaceInstanceCreator.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/main/java/org/apache/tuscany/sca/binding/corba/provider/reference/InterfaceMethodInterceptor.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/main/java/org/apache/tuscany/sca/binding/corba/provider/service/ComponentInvocationProxy.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/main/java/org/apache/tuscany/sca/binding/corba/provider/service/DynaCorbaServant.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/main/java/org/apache/tuscany/sca/binding/corba/provider/service/InvocationException.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/main/java/org/apache/tuscany/sca/binding/corba/provider/service/InvocationProxy.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/main/java/org/apache/tuscany/sca/binding/corba/provider/service/OperationTypes.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/main/java/org/apache/tuscany/sca/binding/corba/provider/types/AnnotationAttributes.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/main/java/org/apache/tuscany/sca/binding/corba/provider/types/NodeType.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/main/java/org/apache/tuscany/sca/binding/corba/provider/types/TypeTree.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/main/java/org/apache/tuscany/sca/binding/corba/provider/types/TypeTreeCreator.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/main/java/org/apache/tuscany/sca/binding/corba/provider/types/TypeTreeNode.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/main/java/org/apache/tuscany/sca/binding/corba/provider/types/UnionAttributes.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/main/java/org/apache/tuscany/sca/binding/corba/provider/types/util/ArrayTypeHelper.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/main/java/org/apache/tuscany/sca/binding/corba/provider/types/util/BooleanTypeHelper.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/main/java/org/apache/tuscany/sca/binding/corba/provider/types/util/ByteTypeHelper.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/main/java/org/apache/tuscany/sca/binding/corba/provider/types/util/CharTypeHelper.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/main/java/org/apache/tuscany/sca/binding/corba/provider/types/util/DoubleTypeHelper.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/main/java/org/apache/tuscany/sca/binding/corba/provider/types/util/EnumTypeHelper.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/main/java/org/apache/tuscany/sca/binding/corba/provider/types/util/FloatTypeHelper.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/main/java/org/apache/tuscany/sca/binding/corba/provider/types/util/IntTypeHelper.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/main/java/org/apache/tuscany/sca/binding/corba/provider/types/util/LongTypeHelper.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/main/java/org/apache/tuscany/sca/binding/corba/provider/types/util/ReferenceTypeHelper.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/main/java/org/apache/tuscany/sca/binding/corba/provider/types/util/SequenceTypeHelper.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/main/java/org/apache/tuscany/sca/binding/corba/provider/types/util/ShortTypeHelper.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/main/java/org/apache/tuscany/sca/binding/corba/provider/types/util/StringTypeHelper.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/main/java/org/apache/tuscany/sca/binding/corba/provider/types/util/StructTypeHelper.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/main/java/org/apache/tuscany/sca/binding/corba/provider/types/util/TypeHelper.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/main/java/org/apache/tuscany/sca/binding/corba/provider/types/util/TypeHelpersProxy.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/main/java/org/apache/tuscany/sca/binding/corba/provider/types/util/UnionTypeHelper.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/main/java/org/apache/tuscany/sca/binding/corba/provider/types/util/Utils.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/main/java/org/apache/tuscany/sca/binding/corba/provider/util/MethodFinder.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/main/java/org/apache/tuscany/sca/binding/corba/provider/util/OperationMapper.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/main/resources/META-INF/services/org.apache.tuscany.sca.provider.BindingProviderFactory delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/CorbaServantTestCase.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/CorbaTypesTestCase.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/MappingTestInterface.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/MethodFinderTestCase.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/OperationMappingTestCase.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/TestConstants.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/arrays_unions/ArraysUnionsTests.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/arrays_unions/ArraysUnionsTestsHelper.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/arrays_unions/ArraysUnionsTestsHolder.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/arrays_unions/ArraysUnionsTestsOperations.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/arrays_unions/InnerUnion.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/arrays_unions/InnerUnionHelper.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/arrays_unions/InnerUnionHolder.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/arrays_unions/RichUnion.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/arrays_unions/RichUnionHelper.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/arrays_unions/RichUnionHolder.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/arrays_unions/StringArrayHelper.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/arrays_unions/StringArrayHolder.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/arrays_unions/TestStruct.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/arrays_unions/TestStructHelper.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/arrays_unions/TestStructHolder.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/arrays_unions/_ArraysUnionsTestsImplBase.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/arrays_unions/_ArraysUnionsTestsStub.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/enums/Color.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/enums/ColorHelper.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/enums/ColorHolder.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/enums/EnumManager.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/enums/EnumManagerHelper.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/enums/EnumManagerHolder.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/enums/EnumManagerOperations.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/enums/_EnumManagerImplBase.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/enums/_EnumManagerStub.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/exceptions/Calc.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/exceptions/CalcHelper.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/exceptions/CalcHolder.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/exceptions/CalcOperations.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/exceptions/CalcPackage/Arguments.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/exceptions/CalcPackage/ArgumentsHelper.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/exceptions/CalcPackage/ArgumentsHolder.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/exceptions/CalcPackage/DivByZero.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/exceptions/CalcPackage/DivByZeroHelper.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/exceptions/CalcPackage/DivByZeroHolder.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/exceptions/CalcPackage/NotSupported.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/exceptions/CalcPackage/NotSupportedHelper.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/exceptions/CalcPackage/NotSupportedHolder.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/exceptions/_CalcImplBase.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/exceptions/_CalcStub.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/ArraysSetter.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/ArraysSetterHelper.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/ArraysSetterHolder.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/ArraysSetterOperations.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/PrimitivesSetter.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/PrimitivesSetterHelper.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/PrimitivesSetterHolder.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/PrimitivesSetterOperations.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/RemoteObject.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/RemoteObjectHelper.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/RemoteObjectHolder.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/RemoteObjectOperations.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/SimpleStruct.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/SimpleStructHelper.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/SimpleStructHolder.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/SomeStruct.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/SomeStructHelper.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/SomeStructHolder.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/TestObject.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/TestObjectHelper.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/TestObjectHolder.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/TestObjectOperations.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_ArraysSetterImplBase.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_ArraysSetterStub.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_PrimitivesSetterImplBase.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_PrimitivesSetterStub.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_RemoteObjectImplBase.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_RemoteObjectStub.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_TestObjectImplBase.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_TestObjectStub.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/boolean_listHelper.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/boolean_listHolder.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/char_listHelper.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/char_listHolder.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/double_listHelper.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/double_listHolder.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/float_listHelper.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/float_listHolder.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/long_listHelper.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/long_listHolder.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/long_long_listHelper.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/long_long_listHolder.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/long_seq1Helper.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/long_seq1Holder.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/long_seq2Helper.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/long_seq2Holder.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/long_seq3Helper.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/long_seq3Holder.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/octet_listHelper.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/octet_listHolder.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/remote_object_listHelper.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/remote_object_listHolder.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/short_listHelper.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/short_listHolder.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/string_listHelper.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/string_listHolder.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/unsigned_long_listHelper.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/unsigned_long_listHolder.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/unsigned_long_long_listHelper.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/unsigned_long_long_listHolder.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/unsigned_short_listHelper.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/unsigned_short_listHolder.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/wchar_listHelper.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/wchar_listHolder.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/wstring_listHelper.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/wstring_listHolder.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/hierarchy/ArraysTestStruct.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/hierarchy/Calc.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/hierarchy/DummyObject.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/hierarchy/InnerUnion.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/hierarchy/InvalidCorbaArray.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/hierarchy/InvalidEnum1.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/hierarchy/InvalidEnum2.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/hierarchy/InvalidEnum3.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/hierarchy/InvalidStruct1.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/hierarchy/InvalidStruct2.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/hierarchy/InvalidStruct3.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/hierarchy/InvalidUnion1.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/hierarchy/InvalidUnion2.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/hierarchy/InvalidUnion3.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/hierarchy/InvalidUnion4.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/hierarchy/InvalidUnion5.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/hierarchy/NonCorbaException.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/hierarchy/RichUnion.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/hierarchy/SimpleStruct.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/hierarchy/SomeStruct.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/references/DummyObject.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/references/DummyObjectHelper.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/references/DummyObjectHolder.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/references/DummyObjectOperations.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/references/ObjectManager.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/references/ObjectManagerHelper.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/references/ObjectManagerHolder.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/references/ObjectManagerOperations.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/references/_DummyObjectImplBase.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/references/_DummyObjectStub.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/references/_ObjectManagerImplBase.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/references/_ObjectManagerStub.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/servants/ArraysSetterServant.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/servants/ArraysUnionsServant.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/servants/ArraysUnionsTuscanyServant.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/servants/CalcServant.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/servants/DummyObjectServant.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/servants/EnumManagerServant.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/servants/InvalidTestObjectServant.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/servants/InvalidTypesServant.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/servants/NonCorbaServant.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/servants/ObjectManagerServant.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/servants/PrimitivesSetterServant.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/servants/TestObjectServant.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestDataType.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestInterface.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestInterfaceContract.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestOperation.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestRuntimeComponentService.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestRuntimeWire.java delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/resources/arrays_unions.idl delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/resources/enums.idl delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/resources/exceptions.idl delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/resources/general_tests.idl delete mode 100644 java/sca-contrib/modules/binding-corba-runtime/src/test/resources/references.idl delete mode 100644 java/sca-contrib/modules/binding-corba/LICENSE delete mode 100644 java/sca-contrib/modules/binding-corba/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/binding-corba/NOTICE delete mode 100644 java/sca-contrib/modules/binding-corba/pom.xml delete mode 100644 java/sca-contrib/modules/binding-corba/src/main/java/org/apache/tuscany/sca/binding/corba/CorbaBinding.java delete mode 100644 java/sca-contrib/modules/binding-corba/src/main/java/org/apache/tuscany/sca/binding/corba/CorbaBindingFactory.java delete mode 100644 java/sca-contrib/modules/binding-corba/src/main/java/org/apache/tuscany/sca/binding/corba/impl/CorbaBindingFactoryImpl.java delete mode 100644 java/sca-contrib/modules/binding-corba/src/main/java/org/apache/tuscany/sca/binding/corba/impl/CorbaBindingImpl.java delete mode 100644 java/sca-contrib/modules/binding-corba/src/main/java/org/apache/tuscany/sca/binding/corba/impl/CorbaBindingProcessor.java delete mode 100644 java/sca-contrib/modules/binding-corba/src/main/resources/META-INF/services/org.apache.tuscany.sca.binding.corba.CorbaBindingFactory delete mode 100644 java/sca-contrib/modules/binding-corba/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor delete mode 100644 java/sca-contrib/modules/binding-dwr-runtime/LICENSE delete mode 100644 java/sca-contrib/modules/binding-dwr-runtime/NOTICE delete mode 100644 java/sca-contrib/modules/binding-dwr-runtime/pom.xml delete mode 100644 java/sca-contrib/modules/binding-dwr-runtime/src/main/java/org/apache/tuscany/sca/binding/dwr/DWRBinding.java delete mode 100644 java/sca-contrib/modules/binding-dwr-runtime/src/main/java/org/apache/tuscany/sca/binding/dwr/DWRBindingActivator.java delete mode 100644 java/sca-contrib/modules/binding-dwr-runtime/src/main/java/org/apache/tuscany/sca/binding/dwr/DWRInvoker.java delete mode 100644 java/sca-contrib/modules/binding-dwr-runtime/src/main/java/org/apache/tuscany/sca/binding/dwr/DWRInvokerFactory.java delete mode 100644 java/sca-contrib/modules/binding-dwr-runtime/src/main/java/org/apache/tuscany/sca/binding/dwr/DWRService.java delete mode 100644 java/sca-contrib/modules/binding-dwr-runtime/src/main/java/org/apache/tuscany/sca/binding/dwr/DWRServlet.java delete mode 100644 java/sca-contrib/modules/binding-dwr-runtime/src/main/resources/META-INF/services/org.apache.tuscany.sca.extension.helper.BindingActivator delete mode 100644 java/sca-contrib/modules/binding-dwr/LICENSE delete mode 100644 java/sca-contrib/modules/binding-dwr/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/binding-dwr/NOTICE delete mode 100644 java/sca-contrib/modules/binding-dwr/pom.xml delete mode 100644 java/sca-contrib/modules/binding-dwr/src/main/java/org/apache/tuscany/sca/binding/dwr/DWRBinding.java delete mode 100644 java/sca-contrib/modules/binding-dwr/src/main/java/org/apache/tuscany/sca/binding/dwr/DWRBindingFactory.java delete mode 100644 java/sca-contrib/modules/binding-dwr/src/main/java/org/apache/tuscany/sca/binding/dwr/impl/DWRBindingFactoryImpl.java delete mode 100644 java/sca-contrib/modules/binding-dwr/src/main/java/org/apache/tuscany/sca/binding/dwr/impl/DWRBindingImpl.java delete mode 100644 java/sca-contrib/modules/binding-dwr/src/main/resources/META-INF/services/org.apache.tuscany.sca.binding.dwr.DWRBindingFactory delete mode 100644 java/sca-contrib/modules/binding-dwr/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor delete mode 100644 java/sca-contrib/modules/binding-ejb-runtime/LICENSE delete mode 100644 java/sca-contrib/modules/binding-ejb-runtime/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/binding-ejb-runtime/NOTICE delete mode 100644 java/sca-contrib/modules/binding-ejb-runtime/pom.xml delete mode 100644 java/sca-contrib/modules/binding-ejb-runtime/src/main/java/org/apache/tuscany/sca/binding/ejb/corba/ClassLoadingUtil.java delete mode 100644 java/sca-contrib/modules/binding-ejb-runtime/src/main/java/org/apache/tuscany/sca/binding/ejb/corba/DynamicStubClassLoader.java delete mode 100644 java/sca-contrib/modules/binding-ejb-runtime/src/main/java/org/apache/tuscany/sca/binding/ejb/corba/Java2IDLUtil.java delete mode 100644 java/sca-contrib/modules/binding-ejb-runtime/src/main/java/org/apache/tuscany/sca/binding/ejb/corba/ObjectInputStreamExt.java delete mode 100644 java/sca-contrib/modules/binding-ejb-runtime/src/main/java/org/apache/tuscany/sca/binding/ejb/corba/StubMethodInterceptor.java delete mode 100644 java/sca-contrib/modules/binding-ejb-runtime/src/main/java/org/apache/tuscany/sca/binding/ejb/corba/UtilInitializer.java delete mode 100644 java/sca-contrib/modules/binding-ejb-runtime/src/main/java/org/apache/tuscany/sca/binding/ejb/provider/EJBBindingInvoker.java delete mode 100644 java/sca-contrib/modules/binding-ejb-runtime/src/main/java/org/apache/tuscany/sca/binding/ejb/provider/EJBBindingProviderFactory.java delete mode 100644 java/sca-contrib/modules/binding-ejb-runtime/src/main/java/org/apache/tuscany/sca/binding/ejb/provider/EJBBindingReferenceBindingProvider.java delete mode 100644 java/sca-contrib/modules/binding-ejb-runtime/src/main/java/org/apache/tuscany/sca/binding/ejb/util/EJBHandler.java delete mode 100644 java/sca-contrib/modules/binding-ejb-runtime/src/main/java/org/apache/tuscany/sca/binding/ejb/util/EJBLocator.java delete mode 100644 java/sca-contrib/modules/binding-ejb-runtime/src/main/java/org/apache/tuscany/sca/binding/ejb/util/EJBObjectFactory.java delete mode 100644 java/sca-contrib/modules/binding-ejb-runtime/src/main/java/org/apache/tuscany/sca/binding/ejb/util/EJBStubHelper.java delete mode 100644 java/sca-contrib/modules/binding-ejb-runtime/src/main/java/org/apache/tuscany/sca/binding/ejb/util/InterfaceInfo.java delete mode 100644 java/sca-contrib/modules/binding-ejb-runtime/src/main/java/org/apache/tuscany/sca/binding/ejb/util/JavaReflectionAdapter.java delete mode 100644 java/sca-contrib/modules/binding-ejb-runtime/src/main/java/org/apache/tuscany/sca/binding/ejb/util/MethodInfo.java delete mode 100644 java/sca-contrib/modules/binding-ejb-runtime/src/main/java/org/apache/tuscany/sca/binding/ejb/util/NamingEndpoint.java delete mode 100644 java/sca-contrib/modules/binding-ejb-runtime/src/main/resources/META-INF/services/org.apache.tuscany.sca.provider.BindingProviderFactory delete mode 100644 java/sca-contrib/modules/binding-ejb-runtime/src/main/resources/binding-ejb-validation-messages.properties delete mode 100644 java/sca-contrib/modules/binding-ejb-runtime/src/test/java/account/BankManagerFacade.java delete mode 100644 java/sca-contrib/modules/binding-ejb-runtime/src/test/java/account/Customer.java delete mode 100644 java/sca-contrib/modules/binding-ejb-runtime/src/test/java/account/CustomerImpl.java delete mode 100644 java/sca-contrib/modules/binding-ejb-runtime/src/test/java/calculator/AddService.java delete mode 100644 java/sca-contrib/modules/binding-ejb-runtime/src/test/java/calculator/AddServiceHome.java delete mode 100644 java/sca-contrib/modules/binding-ejb-runtime/src/test/java/org/apache/geronimo/samples/bank/ejb/BankManagerFacade.java delete mode 100644 java/sca-contrib/modules/binding-ejb-runtime/src/test/java/org/apache/geronimo/samples/bank/ejb/BankManagerFacadeHome.java delete mode 100644 java/sca-contrib/modules/binding-ejb-runtime/src/test/java/org/apache/tuscany/sca/binding/ejb/tests/EJBReferenceTestCase.java delete mode 100644 java/sca-contrib/modules/binding-ejb-runtime/src/test/java/org/apache/tuscany/sca/binding/ejb/tests/MockServer.java delete mode 100644 java/sca-contrib/modules/binding-ejb-runtime/src/test/java/org/apache/tuscany/sca/binding/ejb/tests/SocketTracer.java delete mode 100644 java/sca-contrib/modules/binding-ejb-runtime/src/test/resources/account/account.composite delete mode 100644 java/sca-contrib/modules/binding-ejb/LICENSE delete mode 100644 java/sca-contrib/modules/binding-ejb/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/binding-ejb/NOTICE delete mode 100644 java/sca-contrib/modules/binding-ejb/pom.xml delete mode 100644 java/sca-contrib/modules/binding-ejb/src/main/java/org/apache/tuscany/sca/binding/ejb/EJBBinding.java delete mode 100644 java/sca-contrib/modules/binding-ejb/src/main/java/org/apache/tuscany/sca/binding/ejb/EJBBindingException.java delete mode 100644 java/sca-contrib/modules/binding-ejb/src/main/java/org/apache/tuscany/sca/binding/ejb/EJBBindingFactory.java delete mode 100644 java/sca-contrib/modules/binding-ejb/src/main/java/org/apache/tuscany/sca/binding/ejb/impl/EJBBindingFactoryImpl.java delete mode 100644 java/sca-contrib/modules/binding-ejb/src/main/java/org/apache/tuscany/sca/binding/ejb/impl/EJBBindingImpl.java delete mode 100644 java/sca-contrib/modules/binding-ejb/src/main/java/org/apache/tuscany/sca/binding/ejb/impl/EJBBindingProcessor.java delete mode 100644 java/sca-contrib/modules/binding-ejb/src/main/resources/META-INF/services/org.apache.tuscany.sca.binding.ejb.EJBBindingFactory delete mode 100644 java/sca-contrib/modules/binding-ejb/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor delete mode 100644 java/sca-contrib/modules/binding-ejb/src/main/resources/binding-ejb-validation-messages.properties delete mode 100644 java/sca-contrib/modules/binding-gdata-runtime/LICENSE delete mode 100644 java/sca-contrib/modules/binding-gdata-runtime/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/binding-gdata-runtime/NOTICE delete mode 100644 java/sca-contrib/modules/binding-gdata-runtime/pom.xml delete mode 100644 java/sca-contrib/modules/binding-gdata-runtime/src/main/java/org/apache/tuscany/sca/binding/gdata/collection/Collection.java delete mode 100644 java/sca-contrib/modules/binding-gdata-runtime/src/main/java/org/apache/tuscany/sca/binding/gdata/collection/MediaCollection.java delete mode 100644 java/sca-contrib/modules/binding-gdata-runtime/src/main/java/org/apache/tuscany/sca/binding/gdata/collection/NotFoundException.java delete mode 100644 java/sca-contrib/modules/binding-gdata-runtime/src/main/java/org/apache/tuscany/sca/binding/gdata/provider/GdataBindingInvoker.java delete mode 100644 java/sca-contrib/modules/binding-gdata-runtime/src/main/java/org/apache/tuscany/sca/binding/gdata/provider/GdataBindingListenerServlet.java delete mode 100644 java/sca-contrib/modules/binding-gdata-runtime/src/main/java/org/apache/tuscany/sca/binding/gdata/provider/GdataBindingProviderFactory.java delete mode 100644 java/sca-contrib/modules/binding-gdata-runtime/src/main/java/org/apache/tuscany/sca/binding/gdata/provider/GdataBindingUtil.java delete mode 100644 java/sca-contrib/modules/binding-gdata-runtime/src/main/java/org/apache/tuscany/sca/binding/gdata/provider/GdataReferenceBindingProvider.java delete mode 100644 java/sca-contrib/modules/binding-gdata-runtime/src/main/java/org/apache/tuscany/sca/binding/gdata/provider/GdataServiceBindingProvider.java delete mode 100644 java/sca-contrib/modules/binding-gdata-runtime/src/main/resources/META-INF/services/org.apache.tuscany.sca.provider.BindingProviderFactory delete mode 100644 java/sca-contrib/modules/binding-gdata-runtime/src/main/resources/tuscany-binding-gdata.xsd delete mode 100644 java/sca-contrib/modules/binding-gdata-runtime/src/test/java/org/apache/tuscany/sca/binding/gdata/Consumer.java delete mode 100644 java/sca-contrib/modules/binding-gdata-runtime/src/test/java/org/apache/tuscany/sca/binding/gdata/ConsumerProviderTestCase.java delete mode 100644 java/sca-contrib/modules/binding-gdata-runtime/src/test/java/org/apache/tuscany/sca/binding/gdata/CustomerClient.java delete mode 100644 java/sca-contrib/modules/binding-gdata-runtime/src/test/java/org/apache/tuscany/sca/binding/gdata/CustomerClientImpl.java delete mode 100644 java/sca-contrib/modules/binding-gdata-runtime/src/test/java/org/apache/tuscany/sca/binding/gdata/CustomerCollectionImpl.java delete mode 100644 java/sca-contrib/modules/binding-gdata-runtime/src/test/java/org/apache/tuscany/sca/binding/gdata/GoogleBloggerServiceTestCase.java delete mode 100644 java/sca-contrib/modules/binding-gdata-runtime/src/test/java/org/apache/tuscany/sca/binding/gdata/GoogleCalendarServiceTestCase.java delete mode 100644 java/sca-contrib/modules/binding-gdata-runtime/src/test/java/org/apache/tuscany/sca/binding/gdata/GoogleContactsServiceTestCase.java delete mode 100644 java/sca-contrib/modules/binding-gdata-runtime/src/test/java/org/apache/tuscany/sca/binding/gdata/Provider.java delete mode 100644 java/sca-contrib/modules/binding-gdata-runtime/src/test/java/org/apache/tuscany/sca/binding/gdata/StartLocalhostServlet.java delete mode 100644 java/sca-contrib/modules/binding-gdata-runtime/src/test/resources/log4j.properties delete mode 100644 java/sca-contrib/modules/binding-gdata-runtime/src/test/resources/org/apache/tuscany/sca/binding/gdata/Consumer.composite delete mode 100644 java/sca-contrib/modules/binding-gdata-runtime/src/test/resources/org/apache/tuscany/sca/binding/gdata/ConsumerGoogleBlogger.composite delete mode 100644 java/sca-contrib/modules/binding-gdata-runtime/src/test/resources/org/apache/tuscany/sca/binding/gdata/ConsumerGoogleCalendar.composite delete mode 100644 java/sca-contrib/modules/binding-gdata-runtime/src/test/resources/org/apache/tuscany/sca/binding/gdata/ConsumerGoogleContacts.composite delete mode 100644 java/sca-contrib/modules/binding-gdata-runtime/src/test/resources/org/apache/tuscany/sca/binding/gdata/Provider.composite delete mode 100644 java/sca-contrib/modules/binding-gdata/LICENSE delete mode 100644 java/sca-contrib/modules/binding-gdata/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/binding-gdata/NOTICE delete mode 100644 java/sca-contrib/modules/binding-gdata/pom.xml delete mode 100644 java/sca-contrib/modules/binding-gdata/src/main/java/org/apache/tuscany/sca/binding/gdata/GdataBinding.java delete mode 100644 java/sca-contrib/modules/binding-gdata/src/main/java/org/apache/tuscany/sca/binding/gdata/GdataBindingFactory.java delete mode 100644 java/sca-contrib/modules/binding-gdata/src/main/java/org/apache/tuscany/sca/binding/gdata/impl/GdataBindingFactoryImpl.java delete mode 100644 java/sca-contrib/modules/binding-gdata/src/main/java/org/apache/tuscany/sca/binding/gdata/impl/GdataBindingImpl.java delete mode 100644 java/sca-contrib/modules/binding-gdata/src/main/java/org/apache/tuscany/sca/binding/gdata/xml/GdataBindingProcessor.java delete mode 100644 java/sca-contrib/modules/binding-gdata/src/main/resources/META-INF/services/org.apache.tuscany.sca.binding.gdata.GdataBindingFactory delete mode 100644 java/sca-contrib/modules/binding-gdata/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor delete mode 100644 java/sca-contrib/modules/binding-http-runtime/LICENSE delete mode 100644 java/sca-contrib/modules/binding-http-runtime/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/binding-http-runtime/NOTICE delete mode 100644 java/sca-contrib/modules/binding-http-runtime/pom.xml delete mode 100644 java/sca-contrib/modules/binding-http-runtime/src/main/java/org/apache/tuscany/sca/binding/http/provider/HTTPBindingListenerServlet.java delete mode 100644 java/sca-contrib/modules/binding-http-runtime/src/main/java/org/apache/tuscany/sca/binding/http/provider/HTTPBindingProviderFactory.java delete mode 100644 java/sca-contrib/modules/binding-http-runtime/src/main/java/org/apache/tuscany/sca/binding/http/provider/HTTPGetListenerServlet.java delete mode 100644 java/sca-contrib/modules/binding-http-runtime/src/main/java/org/apache/tuscany/sca/binding/http/provider/HTTPServiceBindingProvider.java delete mode 100644 java/sca-contrib/modules/binding-http-runtime/src/main/java/org/apache/tuscany/sca/binding/http/provider/HTTPServiceListenerServlet.java delete mode 100644 java/sca-contrib/modules/binding-http-runtime/src/main/java/org/apache/tuscany/sca/binding/http/util/HTTPHeadersParser.java delete mode 100644 java/sca-contrib/modules/binding-http-runtime/src/main/resources/META-INF/services/org.apache.tuscany.sca.provider.BindingProviderFactory delete mode 100644 java/sca-contrib/modules/binding-http-runtime/src/test/java/org/apache/tuscany/sca/binding/http/HTTPBindingCacheTestCaseFIXME.java delete mode 100644 java/sca-contrib/modules/binding-http-runtime/src/test/java/org/apache/tuscany/sca/binding/http/HTTPBindingTestCase.java delete mode 100644 java/sca-contrib/modules/binding-http-runtime/src/test/java/org/apache/tuscany/sca/binding/http/NotModifiedException.java delete mode 100644 java/sca-contrib/modules/binding-http-runtime/src/test/java/org/apache/tuscany/sca/binding/http/PreconditionFailedException.java delete mode 100644 java/sca-contrib/modules/binding-http-runtime/src/test/java/org/apache/tuscany/sca/binding/http/TestBindingCacheImpl.java delete mode 100644 java/sca-contrib/modules/binding-http-runtime/src/test/java/org/apache/tuscany/sca/binding/http/TestGetImpl.java delete mode 100644 java/sca-contrib/modules/binding-http-runtime/src/test/java/org/apache/tuscany/sca/binding/http/TestServiceCacheImpl.java delete mode 100644 java/sca-contrib/modules/binding-http-runtime/src/test/java/org/apache/tuscany/sca/binding/http/TestServiceImpl.java delete mode 100644 java/sca-contrib/modules/binding-http-runtime/src/test/resources/content/test.html delete mode 100644 java/sca-contrib/modules/binding-http-runtime/src/test/resources/test.composite delete mode 100644 java/sca-contrib/modules/binding-http-runtime/src/test/resources/testCache.composite delete mode 100644 java/sca-contrib/modules/binding-http/LICENSE delete mode 100644 java/sca-contrib/modules/binding-http/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/binding-http/NOTICE delete mode 100644 java/sca-contrib/modules/binding-http/pom.xml delete mode 100644 java/sca-contrib/modules/binding-http/src/main/java/org/apache/tuscany/sca/binding/http/HTTPBinding.java delete mode 100644 java/sca-contrib/modules/binding-http/src/main/java/org/apache/tuscany/sca/binding/http/HTTPBindingFactory.java delete mode 100644 java/sca-contrib/modules/binding-http/src/main/java/org/apache/tuscany/sca/binding/http/HTTPCacheContext.java delete mode 100644 java/sca-contrib/modules/binding-http/src/main/java/org/apache/tuscany/sca/binding/http/HTTPHeader.java delete mode 100644 java/sca-contrib/modules/binding-http/src/main/java/org/apache/tuscany/sca/binding/http/impl/HTTPBindingFactoryImpl.java delete mode 100644 java/sca-contrib/modules/binding-http/src/main/java/org/apache/tuscany/sca/binding/http/impl/HTTPBindingImpl.java delete mode 100644 java/sca-contrib/modules/binding-http/src/main/resources/META-INF/services/org.apache.tuscany.sca.binding.http.HTTPBindingFactory delete mode 100644 java/sca-contrib/modules/binding-http/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor delete mode 100644 java/sca-contrib/modules/binding-jms-policy/LICENSE delete mode 100644 java/sca-contrib/modules/binding-jms-policy/NOTICE delete mode 100644 java/sca-contrib/modules/binding-jms-policy/pom.xml delete mode 100644 java/sca-contrib/modules/binding-jms-policy/src/main/java/org/apache/tuscany/sca/binding/jms/policy/JMSBindingDefinitionsProvider.java delete mode 100644 java/sca-contrib/modules/binding-jms-policy/src/main/java/org/apache/tuscany/sca/binding/jms/policy/authentication/token/JMSTokenAuthenticationPolicy.java delete mode 100644 java/sca-contrib/modules/binding-jms-policy/src/main/java/org/apache/tuscany/sca/binding/jms/policy/authentication/token/JMSTokenAuthenticationPolicyProcessor.java delete mode 100644 java/sca-contrib/modules/binding-jms-policy/src/main/java/org/apache/tuscany/sca/binding/jms/policy/authentication/token/JMSTokenAuthenticationPolicyProviderFactory.java delete mode 100644 java/sca-contrib/modules/binding-jms-policy/src/main/java/org/apache/tuscany/sca/binding/jms/policy/authentication/token/JMSTokenAuthenticationReferencePolicyInterceptor.java delete mode 100644 java/sca-contrib/modules/binding-jms-policy/src/main/java/org/apache/tuscany/sca/binding/jms/policy/authentication/token/JMSTokenAuthenticationReferencePolicyProvider.java delete mode 100644 java/sca-contrib/modules/binding-jms-policy/src/main/java/org/apache/tuscany/sca/binding/jms/policy/authentication/token/JMSTokenAuthenticationServicePolicyInterceptor.java delete mode 100644 java/sca-contrib/modules/binding-jms-policy/src/main/java/org/apache/tuscany/sca/binding/jms/policy/authentication/token/JMSTokenAuthenticationServicePolicyProvider.java delete mode 100644 java/sca-contrib/modules/binding-jms-policy/src/main/java/org/apache/tuscany/sca/binding/jms/policy/header/JMSHeaderPolicy.java delete mode 100644 java/sca-contrib/modules/binding-jms-policy/src/main/java/org/apache/tuscany/sca/binding/jms/policy/header/JMSHeaderPolicyProcessor.java delete mode 100644 java/sca-contrib/modules/binding-jms-policy/src/main/java/org/apache/tuscany/sca/binding/jms/policy/header/JMSHeaderPolicyProviderFactory.java delete mode 100644 java/sca-contrib/modules/binding-jms-policy/src/main/java/org/apache/tuscany/sca/binding/jms/policy/header/JMSHeaderReferencePolicyInterceptor.java delete mode 100644 java/sca-contrib/modules/binding-jms-policy/src/main/java/org/apache/tuscany/sca/binding/jms/policy/header/JMSHeaderReferencePolicyProvider.java delete mode 100644 java/sca-contrib/modules/binding-jms-policy/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor delete mode 100644 java/sca-contrib/modules/binding-jms-policy/src/main/resources/META-INF/services/org.apache.tuscany.sca.provider.PolicyProviderFactory delete mode 100644 java/sca-contrib/modules/binding-jms-policy/src/main/resources/META-INF/services/org.apache.tuscany.sca.provider.SCADefinitionsProvider delete mode 100644 java/sca-contrib/modules/binding-jms-policy/src/main/resources/binding-jms-policy-validation-messages.properties delete mode 100644 java/sca-contrib/modules/binding-jms-policy/src/main/resources/org/apache/tuscany/sca/binding/jms/policy/definitions.xml delete mode 100644 java/sca-contrib/modules/binding-jms-policy/src/test/java/org/apache/tuscany/sca/binding/jms/policy/PolicyProcessorTestCase.java delete mode 100644 java/sca-contrib/modules/binding-jms-policy/src/test/resources/org/apache/tuscany/sca/binding/jms/policy/mock_policy_definitions.xml delete mode 100644 java/sca-contrib/modules/binding-jms-runtime/LICENSE delete mode 100644 java/sca-contrib/modules/binding-jms-runtime/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/binding-jms-runtime/NOTICE delete mode 100644 java/sca-contrib/modules/binding-jms-runtime/pom.xml delete mode 100644 java/sca-contrib/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/context/JMSBindingContext.java delete mode 100644 java/sca-contrib/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/headers/HeaderReferenceInterceptor.java delete mode 100644 java/sca-contrib/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/operationselector/jmsdefault/OperationSelectorJMSDefaultProviderFactory.java delete mode 100644 java/sca-contrib/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/operationselector/jmsdefault/OperationSelectorJMSDefaultServiceInterceptor.java delete mode 100644 java/sca-contrib/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/operationselector/jmsdefault/OperationSelectorJMSDefaultServiceProvider.java delete mode 100644 java/sca-contrib/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/provider/AbstractMessageProcessor.java delete mode 100644 java/sca-contrib/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/provider/BytesMessageProcessor.java delete mode 100644 java/sca-contrib/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/provider/DefaultJMSBindingListener.java delete mode 100644 java/sca-contrib/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/provider/DefaultJMSResourceFactoryExtensionPoint.java delete mode 100644 java/sca-contrib/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/provider/JMSBindingInvoker.java delete mode 100644 java/sca-contrib/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/provider/JMSBindingProviderFactory.java delete mode 100644 java/sca-contrib/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/provider/JMSBindingReferenceBindingProvider.java delete mode 100644 java/sca-contrib/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/provider/JMSBindingServiceBindingProvider.java delete mode 100644 java/sca-contrib/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/provider/JMSMessageProcessor.java delete mode 100644 java/sca-contrib/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/provider/JMSMessageProcessorUtil.java delete mode 100644 java/sca-contrib/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/provider/JMSResourceFactory.java delete mode 100644 java/sca-contrib/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/provider/JMSResourceFactoryExtensionPoint.java delete mode 100644 java/sca-contrib/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/provider/JMSResourceFactoryImpl.java delete mode 100644 java/sca-contrib/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/provider/ObjectMessageProcessor.java delete mode 100644 java/sca-contrib/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/provider/RRBJMSBindingInvoker.java delete mode 100644 java/sca-contrib/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/provider/RRBJMSBindingListener.java delete mode 100644 java/sca-contrib/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/provider/TextMessageProcessor.java delete mode 100644 java/sca-contrib/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/provider/XMLTextMessageProcessor.java delete mode 100644 java/sca-contrib/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/transport/TransportReferenceInterceptor.java delete mode 100644 java/sca-contrib/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/transport/TransportServiceInterceptor.java delete mode 100644 java/sca-contrib/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/wireformat/jmsbytes/WireFormatJMSBytesProviderFactory.java delete mode 100644 java/sca-contrib/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/wireformat/jmsbytes/WireFormatJMSBytesReferenceInterceptor.java delete mode 100644 java/sca-contrib/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/wireformat/jmsbytes/WireFormatJMSBytesReferenceProvider.java delete mode 100644 java/sca-contrib/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/wireformat/jmsbytes/WireFormatJMSBytesServiceInterceptor.java delete mode 100644 java/sca-contrib/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/wireformat/jmsbytes/WireFormatJMSBytesServiceProvider.java delete mode 100644 java/sca-contrib/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/wireformat/jmsobject/WireFormatJMSObjectProviderFactory.java delete mode 100644 java/sca-contrib/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/wireformat/jmsobject/WireFormatJMSObjectReferenceInterceptor.java delete mode 100644 java/sca-contrib/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/wireformat/jmsobject/WireFormatJMSObjectReferenceProvider.java delete mode 100644 java/sca-contrib/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/wireformat/jmsobject/WireFormatJMSObjectServiceInterceptor.java delete mode 100644 java/sca-contrib/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/wireformat/jmsobject/WireFormatJMSObjectServiceProvider.java delete mode 100644 java/sca-contrib/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/wireformat/jmstext/WireFormatJMSTextProviderFactory.java delete mode 100644 java/sca-contrib/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/wireformat/jmstext/WireFormatJMSTextReferenceInterceptor.java delete mode 100644 java/sca-contrib/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/wireformat/jmstext/WireFormatJMSTextReferenceProvider.java delete mode 100644 java/sca-contrib/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/wireformat/jmstext/WireFormatJMSTextServiceInterceptor.java delete mode 100644 java/sca-contrib/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/wireformat/jmstext/WireFormatJMSTextServiceProvider.java delete mode 100644 java/sca-contrib/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/wireformat/jmstextxml/WireFormatJMSTextXMLProviderFactory.java delete mode 100644 java/sca-contrib/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/wireformat/jmstextxml/WireFormatJMSTextXMLReferenceInterceptor.java delete mode 100644 java/sca-contrib/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/wireformat/jmstextxml/WireFormatJMSTextXMLReferenceProvider.java delete mode 100644 java/sca-contrib/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/wireformat/jmstextxml/WireFormatJMSTextXMLServiceInterceptor.java delete mode 100644 java/sca-contrib/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/wireformat/jmstextxml/WireFormatJMSTextXMLServiceProvider.java delete mode 100644 java/sca-contrib/modules/binding-jms-runtime/src/main/resources/META-INF/services/org.apache.tuscany.sca.provider.BindingProviderFactory delete mode 100644 java/sca-contrib/modules/binding-jms-runtime/src/main/resources/META-INF/services/org.apache.tuscany.sca.provider.OperationSelectorProviderFactory delete mode 100644 java/sca-contrib/modules/binding-jms-runtime/src/main/resources/META-INF/services/org.apache.tuscany.sca.provider.WireFormatProviderFactory delete mode 100644 java/sca-contrib/modules/binding-jms-runtime/src/test/java/org/apache/tuscany/sca/binding/jms/HelloWorldClientImpl.java delete mode 100644 java/sca-contrib/modules/binding-jms-runtime/src/test/java/org/apache/tuscany/sca/binding/jms/HelloWorldService.java delete mode 100644 java/sca-contrib/modules/binding-jms-runtime/src/test/java/org/apache/tuscany/sca/binding/jms/HelloWorldServiceImpl.java delete mode 100644 java/sca-contrib/modules/binding-jms-runtime/src/test/resources/simple/client.composite delete mode 100644 java/sca-contrib/modules/binding-jms-runtime/src/test/resources/simple/service.composite delete mode 100644 java/sca-contrib/modules/binding-jms/LICENSE delete mode 100644 java/sca-contrib/modules/binding-jms/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/binding-jms/NOTICE delete mode 100644 java/sca-contrib/modules/binding-jms/pom.xml delete mode 100644 java/sca-contrib/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/JMSBinding.java delete mode 100644 java/sca-contrib/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/JMSBindingException.java delete mode 100644 java/sca-contrib/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/JMSBindingFactory.java delete mode 100644 java/sca-contrib/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/impl/JMSBindingFactoryImpl.java delete mode 100644 java/sca-contrib/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/impl/JMSBindingImpl.java delete mode 100644 java/sca-contrib/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/operationselector/jmsdefault/OperationSelectorJMSDefault.java delete mode 100644 java/sca-contrib/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/operationselector/jmsdefault/OperationSelectorJMSDefaultProcessor.java delete mode 100644 java/sca-contrib/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/wireformat/jmsbytes/WireFormatJMSBytes.java delete mode 100644 java/sca-contrib/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/wireformat/jmsbytes/WireFormatJMSBytesProcessor.java delete mode 100644 java/sca-contrib/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/wireformat/jmsobject/WireFormatJMSObject.java delete mode 100644 java/sca-contrib/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/wireformat/jmsobject/WireFormatJMSObjectProcessor.java delete mode 100644 java/sca-contrib/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/wireformat/jmstext/WireFormatJMSText.java delete mode 100644 java/sca-contrib/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/wireformat/jmstext/WireFormatJMSTextProcessor.java delete mode 100644 java/sca-contrib/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/wireformat/jmstextxml/WireFormatJMSTextXML.java delete mode 100644 java/sca-contrib/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/wireformat/jmstextxml/WireFormatJMSTextXMLProcessor.java delete mode 100644 java/sca-contrib/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/xml/JMSBindingConstants.java delete mode 100644 java/sca-contrib/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/xml/JMSBindingProcessor.java delete mode 100644 java/sca-contrib/modules/binding-jms/src/main/resources/META-INF/services/org.apache.tuscany.sca.binding.jms.JMSBindingFactory delete mode 100644 java/sca-contrib/modules/binding-jms/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor delete mode 100644 java/sca-contrib/modules/binding-jms/src/main/resources/binding-jms-validation-messages.properties delete mode 100644 java/sca-contrib/modules/binding-jms/src/test/java/org/apache/tuscany/sca/binding/jms/impl/JMSBindingProcessorTestCase.java delete mode 100644 java/sca-contrib/modules/binding-jsonrpc-runtime/LICENSE delete mode 100644 java/sca-contrib/modules/binding-jsonrpc-runtime/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/binding-jsonrpc-runtime/NOTICE delete mode 100644 java/sca-contrib/modules/binding-jsonrpc-runtime/pom.xml delete mode 100644 java/sca-contrib/modules/binding-jsonrpc-runtime/src/main/java/org/apache/tuscany/sca/binding/jsonrpc/provider/JSONRPCBindingInvoker.java delete mode 100644 java/sca-contrib/modules/binding-jsonrpc-runtime/src/main/java/org/apache/tuscany/sca/binding/jsonrpc/provider/JSONRPCBindingProviderFactory.java delete mode 100644 java/sca-contrib/modules/binding-jsonrpc-runtime/src/main/java/org/apache/tuscany/sca/binding/jsonrpc/provider/JSONRPCReferenceBindingProvider.java delete mode 100644 java/sca-contrib/modules/binding-jsonrpc-runtime/src/main/java/org/apache/tuscany/sca/binding/jsonrpc/provider/JSONRPCServiceBindingProvider.java delete mode 100644 java/sca-contrib/modules/binding-jsonrpc-runtime/src/main/java/org/apache/tuscany/sca/binding/jsonrpc/provider/JSONRPCServiceServlet.java delete mode 100644 java/sca-contrib/modules/binding-jsonrpc-runtime/src/main/java/org/apache/tuscany/sca/binding/jsonrpc/provider/JavaToSmd.java delete mode 100644 java/sca-contrib/modules/binding-jsonrpc-runtime/src/main/java/org/apache/tuscany/sca/binding/jsonrpc/provider/ScaDomainScriptServlet.java delete mode 100644 java/sca-contrib/modules/binding-jsonrpc-runtime/src/main/resources/META-INF/services/org.apache.tuscany.sca.provider.BindingProviderFactory delete mode 100644 java/sca-contrib/modules/binding-jsonrpc-runtime/src/main/resources/org/apache/tuscany/sca/binding/jsonrpc/provider/jsonrpc.js delete mode 100644 java/sca-contrib/modules/binding-jsonrpc-runtime/src/test/java/bean/TestBean.java delete mode 100644 java/sca-contrib/modules/binding-jsonrpc-runtime/src/test/java/echo/Echo.java delete mode 100644 java/sca-contrib/modules/binding-jsonrpc-runtime/src/test/java/echo/EchoBusinessException.java delete mode 100644 java/sca-contrib/modules/binding-jsonrpc-runtime/src/test/java/echo/EchoComponentImpl.java delete mode 100644 java/sca-contrib/modules/binding-jsonrpc-runtime/src/test/java/org/apache/tuscany/sca/binding/jsonrpc/JSONRPCDataTypeTestCase.java delete mode 100644 java/sca-contrib/modules/binding-jsonrpc-runtime/src/test/java/org/apache/tuscany/sca/binding/jsonrpc/JSONRPCExceptionTestCase.java delete mode 100644 java/sca-contrib/modules/binding-jsonrpc-runtime/src/test/java/org/apache/tuscany/sca/binding/jsonrpc/JSONRPCServiceTestCase.java delete mode 100644 java/sca-contrib/modules/binding-jsonrpc-runtime/src/test/resources/JSONRPCBinding.composite delete mode 100644 java/sca-contrib/modules/binding-jsonrpc/LICENSE delete mode 100644 java/sca-contrib/modules/binding-jsonrpc/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/binding-jsonrpc/NOTICE delete mode 100644 java/sca-contrib/modules/binding-jsonrpc/pom.xml delete mode 100644 java/sca-contrib/modules/binding-jsonrpc/src/main/java/org/apache/tuscany/sca/binding/jsonrpc/JSONRPCBinding.java delete mode 100644 java/sca-contrib/modules/binding-jsonrpc/src/main/java/org/apache/tuscany/sca/binding/jsonrpc/JSONRPCBindingFactory.java delete mode 100644 java/sca-contrib/modules/binding-jsonrpc/src/main/java/org/apache/tuscany/sca/binding/jsonrpc/impl/JSONRPCBindingFactoryImpl.java delete mode 100644 java/sca-contrib/modules/binding-jsonrpc/src/main/java/org/apache/tuscany/sca/binding/jsonrpc/impl/JSONRPCBindingImpl.java delete mode 100644 java/sca-contrib/modules/binding-jsonrpc/src/main/resources/META-INF/services/org.apache.tuscany.sca.binding.jsonrpc.JSONRPCBindingFactory delete mode 100644 java/sca-contrib/modules/binding-jsonrpc/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor delete mode 100644 java/sca-contrib/modules/binding-rest-runtime/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/binding-rest-runtime/pom.xml delete mode 100644 java/sca-contrib/modules/binding-rest-runtime/src/main/java/org/apache/tuscany/sca/binding/rest/RESTBindingForJersey.java delete mode 100644 java/sca-contrib/modules/binding-rest-runtime/src/main/java/org/apache/tuscany/sca/binding/rest/provider/RESTBindingInvoker.java delete mode 100644 java/sca-contrib/modules/binding-rest-runtime/src/main/java/org/apache/tuscany/sca/binding/rest/provider/RESTBindingProviderFactory.java delete mode 100644 java/sca-contrib/modules/binding-rest-runtime/src/main/java/org/apache/tuscany/sca/binding/rest/provider/RESTReferenceBindingProvider.java delete mode 100644 java/sca-contrib/modules/binding-rest-runtime/src/main/java/org/apache/tuscany/sca/binding/rest/provider/RESTServiceBindingProvider.java delete mode 100644 java/sca-contrib/modules/binding-rest-runtime/src/main/java/org/apache/tuscany/sca/binding/rest/provider/RESTServiceServlet.java delete mode 100644 java/sca-contrib/modules/binding-rest-runtime/src/main/resources/META-INF/services/org.apache.tuscany.sca.provider.BindingProviderFactory delete mode 100644 java/sca-contrib/modules/binding-rest/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/binding-rest/pom.xml delete mode 100644 java/sca-contrib/modules/binding-rest/src/main/java/org/apache/tuscany/sca/binding/rest/RESTBinding.java delete mode 100644 java/sca-contrib/modules/binding-rest/src/main/java/org/apache/tuscany/sca/binding/rest/RESTBindingFactory.java delete mode 100644 java/sca-contrib/modules/binding-rest/src/main/java/org/apache/tuscany/sca/binding/rest/impl/RESTBindingFactoryImpl.java delete mode 100644 java/sca-contrib/modules/binding-rest/src/main/java/org/apache/tuscany/sca/binding/rest/impl/RESTBindingImpl.java delete mode 100644 java/sca-contrib/modules/binding-rest/src/main/resources/META-INF/services/org.apache.tuscany.sca.binding.rest.RESTBindingFactory delete mode 100644 java/sca-contrib/modules/binding-rest/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor delete mode 100644 java/sca-contrib/modules/binding-rss-rome/LICENSE delete mode 100644 java/sca-contrib/modules/binding-rss-rome/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/binding-rss-rome/NOTICE delete mode 100644 java/sca-contrib/modules/binding-rss-rome/pom.xml delete mode 100644 java/sca-contrib/modules/binding-rss-rome/src/main/java/org/apache/tuscany/sca/binding/rss/collection/Collection.java delete mode 100644 java/sca-contrib/modules/binding-rss-rome/src/main/java/org/apache/tuscany/sca/binding/rss/collection/MediaCollection.java delete mode 100644 java/sca-contrib/modules/binding-rss-rome/src/main/java/org/apache/tuscany/sca/binding/rss/collection/NotFoundException.java delete mode 100644 java/sca-contrib/modules/binding-rss-rome/src/main/java/org/apache/tuscany/sca/binding/rss/provider/RSSBindingInvoker.java delete mode 100644 java/sca-contrib/modules/binding-rss-rome/src/main/java/org/apache/tuscany/sca/binding/rss/provider/RSSBindingListenerServlet.java delete mode 100644 java/sca-contrib/modules/binding-rss-rome/src/main/java/org/apache/tuscany/sca/binding/rss/provider/RSSBindingProviderFactory.java delete mode 100644 java/sca-contrib/modules/binding-rss-rome/src/main/java/org/apache/tuscany/sca/binding/rss/provider/RSSReferenceBindingProvider.java delete mode 100644 java/sca-contrib/modules/binding-rss-rome/src/main/java/org/apache/tuscany/sca/binding/rss/provider/RSSServiceBindingProvider.java delete mode 100644 java/sca-contrib/modules/binding-rss-rome/src/main/resources/META-INF/services/org.apache.tuscany.sca.provider.BindingProviderFactory delete mode 100644 java/sca-contrib/modules/binding-rss-rome/src/test/java/org/apache/tuscany/sca/binding/rss/Consumer.java delete mode 100644 java/sca-contrib/modules/binding-rss-rome/src/test/java/org/apache/tuscany/sca/binding/rss/CustomerClient.java delete mode 100644 java/sca-contrib/modules/binding-rss-rome/src/test/java/org/apache/tuscany/sca/binding/rss/CustomerClientImpl.java delete mode 100644 java/sca-contrib/modules/binding-rss-rome/src/test/java/org/apache/tuscany/sca/binding/rss/CustomerCollectionImpl.java delete mode 100644 java/sca-contrib/modules/binding-rss-rome/src/test/java/org/apache/tuscany/sca/binding/rss/Provider.java delete mode 100644 java/sca-contrib/modules/binding-rss-rome/src/test/resources/org/apache/tuscany/sca/binding/feed/Consumer.composite delete mode 100644 java/sca-contrib/modules/binding-rss-rome/src/test/resources/org/apache/tuscany/sca/binding/feed/Provider.composite delete mode 100644 java/sca-contrib/modules/binding-rss/LICENSE delete mode 100644 java/sca-contrib/modules/binding-rss/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/binding-rss/NOTICE delete mode 100644 java/sca-contrib/modules/binding-rss/pom.xml delete mode 100644 java/sca-contrib/modules/binding-rss/src/main/java/org/apache/tuscany/sca/binding/rss/RSSBinding.java delete mode 100644 java/sca-contrib/modules/binding-rss/src/main/java/org/apache/tuscany/sca/binding/rss/RSSBindingFactory.java delete mode 100644 java/sca-contrib/modules/binding-rss/src/main/java/org/apache/tuscany/sca/binding/rss/impl/RSSBindingFactoryImpl.java delete mode 100644 java/sca-contrib/modules/binding-rss/src/main/java/org/apache/tuscany/sca/binding/rss/impl/RSSBindingImpl.java delete mode 100644 java/sca-contrib/modules/binding-rss/src/main/resources/META-INF/services/org.apache.tuscany.sca.binding.rss.RSSBindingFactory delete mode 100644 java/sca-contrib/modules/binding-rss/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor delete mode 100644 java/sca-contrib/modules/binding-sca-axis2/LICENSE delete mode 100644 java/sca-contrib/modules/binding-sca-axis2/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/binding-sca-axis2/NOTICE delete mode 100644 java/sca-contrib/modules/binding-sca-axis2/pom.xml delete mode 100644 java/sca-contrib/modules/binding-sca-axis2/src/main/java/org/apache/tuscany/sca/binding/sca/axis2/impl/Axis2SCABindingInvoker.java delete mode 100644 java/sca-contrib/modules/binding-sca-axis2/src/main/java/org/apache/tuscany/sca/binding/sca/axis2/impl/Axis2SCABindingProviderFactory.java delete mode 100644 java/sca-contrib/modules/binding-sca-axis2/src/main/java/org/apache/tuscany/sca/binding/sca/axis2/impl/Axis2SCAReferenceBindingProvider.java delete mode 100644 java/sca-contrib/modules/binding-sca-axis2/src/main/java/org/apache/tuscany/sca/binding/sca/axis2/impl/Axis2SCAServiceBindingProvider.java delete mode 100644 java/sca-contrib/modules/binding-sca-axis2/src/main/java/org/apache/tuscany/sca/binding/sca/axis2/impl/Axis2SCAServiceProvider.java delete mode 100644 java/sca-contrib/modules/binding-sca-axis2/src/main/resources/META-INF/services/org.apache.tuscany.sca.provider.BindingProviderFactory delete mode 100644 java/sca-contrib/modules/binding-sca-axis2/src/test/java/org/apache/tuscany/sca/binding/sca/axis2/AsynchTestCase.java delete mode 100644 java/sca-contrib/modules/binding-sca-axis2/src/test/java/org/apache/tuscany/sca/binding/sca/axis2/BindingScaEndpointResolverFactoryImpl.java delete mode 100644 java/sca-contrib/modules/binding-sca-axis2/src/test/java/org/apache/tuscany/sca/binding/sca/axis2/BindingScaEndpointResolverImpl.java delete mode 100644 java/sca-contrib/modules/binding-sca-axis2/src/test/java/org/apache/tuscany/sca/binding/sca/axis2/CallbackTestCase.java delete mode 100644 java/sca-contrib/modules/binding-sca-axis2/src/test/java/org/apache/tuscany/sca/binding/sca/axis2/PromotionTestCase.java delete mode 100644 java/sca-contrib/modules/binding-sca-axis2/src/test/java/org/apache/tuscany/sca/binding/sca/axis2/SimpleTestCase.java delete mode 100644 java/sca-contrib/modules/binding-sca-axis2/src/test/java/org/apache/tuscany/sca/binding/sca/axis2/helloworld/HelloWorldCallbackRemote.java delete mode 100644 java/sca-contrib/modules/binding-sca-axis2/src/test/java/org/apache/tuscany/sca/binding/sca/axis2/helloworld/HelloWorldClient.java delete mode 100644 java/sca-contrib/modules/binding-sca-axis2/src/test/java/org/apache/tuscany/sca/binding/sca/axis2/helloworld/HelloWorldServiceCallbackOnewayRemote.java delete mode 100644 java/sca-contrib/modules/binding-sca-axis2/src/test/java/org/apache/tuscany/sca/binding/sca/axis2/helloworld/HelloWorldServiceCallbackRemote.java delete mode 100644 java/sca-contrib/modules/binding-sca-axis2/src/test/java/org/apache/tuscany/sca/binding/sca/axis2/helloworld/HelloWorldServiceLocal.java delete mode 100644 java/sca-contrib/modules/binding-sca-axis2/src/test/java/org/apache/tuscany/sca/binding/sca/axis2/helloworld/HelloWorldServiceRemote.java delete mode 100644 java/sca-contrib/modules/binding-sca-axis2/src/test/java/org/apache/tuscany/sca/binding/sca/axis2/helloworld/HelloWorldServiceRemote2.java delete mode 100644 java/sca-contrib/modules/binding-sca-axis2/src/test/java/org/apache/tuscany/sca/binding/sca/axis2/helloworld/impl/HelloWorldClientCallbackOnewayRemoteImpl.java delete mode 100644 java/sca-contrib/modules/binding-sca-axis2/src/test/java/org/apache/tuscany/sca/binding/sca/axis2/helloworld/impl/HelloWorldClientCallbackRemoteImpl.java delete mode 100644 java/sca-contrib/modules/binding-sca-axis2/src/test/java/org/apache/tuscany/sca/binding/sca/axis2/helloworld/impl/HelloWorldClientLocalImpl.java delete mode 100644 java/sca-contrib/modules/binding-sca-axis2/src/test/java/org/apache/tuscany/sca/binding/sca/axis2/helloworld/impl/HelloWorldClientRemote2Impl.java delete mode 100644 java/sca-contrib/modules/binding-sca-axis2/src/test/java/org/apache/tuscany/sca/binding/sca/axis2/helloworld/impl/HelloWorldClientRemoteImpl.java delete mode 100644 java/sca-contrib/modules/binding-sca-axis2/src/test/java/org/apache/tuscany/sca/binding/sca/axis2/helloworld/impl/HelloWorldServiceCallbackOnewayRemoteImpl.java delete mode 100644 java/sca-contrib/modules/binding-sca-axis2/src/test/java/org/apache/tuscany/sca/binding/sca/axis2/helloworld/impl/HelloWorldServiceCallbackRemoteImpl.java delete mode 100644 java/sca-contrib/modules/binding-sca-axis2/src/test/java/org/apache/tuscany/sca/binding/sca/axis2/helloworld/impl/HelloWorldServiceLocalImpl.java delete mode 100644 java/sca-contrib/modules/binding-sca-axis2/src/test/java/org/apache/tuscany/sca/binding/sca/axis2/helloworld/impl/HelloWorldServiceMultipleServicesImpl.java delete mode 100644 java/sca-contrib/modules/binding-sca-axis2/src/test/java/org/apache/tuscany/sca/binding/sca/axis2/helloworld/impl/HelloWorldServiceRemoteImpl.java delete mode 100644 java/sca-contrib/modules/binding-sca-axis2/src/test/resources/META-INF/services/org.apache.tuscany.sca.endpointresolver.EndpointResolverFactory delete mode 100644 java/sca-contrib/modules/binding-sca-axis2/src/test/resources/nodeA/HelloWorld.composite delete mode 100644 java/sca-contrib/modules/binding-sca-axis2/src/test/resources/nodeA/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/modules/binding-sca-axis2/src/test/resources/nodeB/HelloWorld.composite delete mode 100644 java/sca-contrib/modules/binding-sca-axis2/src/test/resources/nodeB/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/modules/binding-sca-axis2/src/test/resources/nodeC/HelloWorld.composite delete mode 100644 java/sca-contrib/modules/binding-sca-axis2/src/test/resources/nodeC/HelloWorldComponent.composite delete mode 100644 java/sca-contrib/modules/binding-sca-axis2/src/test/resources/nodeC/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/modules/binding-sca-axis2/src/test/resources/nodeD/HelloWorld.composite delete mode 100644 java/sca-contrib/modules/binding-sca-axis2/src/test/resources/nodeD/HelloWorldComponent.composite delete mode 100644 java/sca-contrib/modules/binding-sca-axis2/src/test/resources/nodeD/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/modules/binding-sca-axis2/src/test/resources/nodeE/HelloWorld.composite delete mode 100644 java/sca-contrib/modules/binding-sca-axis2/src/test/resources/nodeE/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/modules/binding-sca-axis2/src/test/resources/nodeF/HelloWorld.composite delete mode 100644 java/sca-contrib/modules/binding-sca-axis2/src/test/resources/nodeF/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/modules/binding-sca-axis2/src/test/resources/nodeG/HelloWorld.composite delete mode 100644 java/sca-contrib/modules/binding-sca-axis2/src/test/resources/nodeG/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/modules/binding-sca-axis2/src/test/resources/nodeH/HelloWorld.composite delete mode 100644 java/sca-contrib/modules/binding-sca-axis2/src/test/resources/nodeH/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/modules/binding-sca-corba/LICENSE delete mode 100644 java/sca-contrib/modules/binding-sca-corba/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/binding-sca-corba/NOTICE delete mode 100644 java/sca-contrib/modules/binding-sca-corba/pom.xml delete mode 100644 java/sca-contrib/modules/binding-sca-corba/src/main/java/org/apache/tuscany/sca/binding/sca/corba/impl/CorbaSCABindingProviderFactory.java delete mode 100644 java/sca-contrib/modules/binding-sca-corba/src/main/java/org/apache/tuscany/sca/binding/sca/corba/impl/CorbaSCAInvocationProxy.java delete mode 100644 java/sca-contrib/modules/binding-sca-corba/src/main/java/org/apache/tuscany/sca/binding/sca/corba/impl/CorbaSCAInvoker.java delete mode 100644 java/sca-contrib/modules/binding-sca-corba/src/main/java/org/apache/tuscany/sca/binding/sca/corba/impl/CorbaSCAReferenceBindingProvider.java delete mode 100644 java/sca-contrib/modules/binding-sca-corba/src/main/java/org/apache/tuscany/sca/binding/sca/corba/impl/CorbaSCAServiceBindingProvider.java delete mode 100644 java/sca-contrib/modules/binding-sca-corba/src/main/java/org/apache/tuscany/sca/binding/sca/corba/impl/WrappedSCAException.java delete mode 100644 java/sca-contrib/modules/binding-sca-corba/src/main/resources/META-INF/services/org.apache.tuscany.sca.provider.BindingProviderFactory delete mode 100644 java/sca-contrib/modules/binding-sca-xml-osoa/LICENSE delete mode 100644 java/sca-contrib/modules/binding-sca-xml-osoa/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/binding-sca-xml-osoa/NOTICE delete mode 100644 java/sca-contrib/modules/binding-sca-xml-osoa/pom.xml delete mode 100644 java/sca-contrib/modules/binding-sca-xml-osoa/src/main/java/org/apache/tuscany/sca/binding/sca/xml/osoa/SCABindingProcessor.java delete mode 100644 java/sca-contrib/modules/binding-sca-xml-osoa/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor delete mode 100644 java/sca-contrib/modules/binding-sca-xml-osoa/src/test/resources/Calculator.composite delete mode 100644 java/sca-contrib/modules/binding-sca-xml-osoa/src/test/resources/CalculatorServiceImpl.componentType delete mode 100644 java/sca-contrib/modules/binding-ws-jaxws/LICENSE delete mode 100644 java/sca-contrib/modules/binding-ws-jaxws/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/binding-ws-jaxws/NOTICE delete mode 100644 java/sca-contrib/modules/binding-ws-jaxws/pom.xml delete mode 100644 java/sca-contrib/modules/binding-ws-jaxws/src/main/java/org/apache/tuscany/sca/binding/ws/jaxws/JAXWSBindingInvoker.java delete mode 100644 java/sca-contrib/modules/binding-ws-jaxws/src/main/java/org/apache/tuscany/sca/binding/ws/jaxws/JAXWSBindingProviderFactory.java delete mode 100644 java/sca-contrib/modules/binding-ws-jaxws/src/main/java/org/apache/tuscany/sca/binding/ws/jaxws/JAXWSReferenceBindingProvider.java delete mode 100644 java/sca-contrib/modules/binding-ws-jaxws/src/main/java/org/apache/tuscany/sca/binding/ws/jaxws/JAXWSServiceBindingProvider.java delete mode 100644 java/sca-contrib/modules/binding-ws-jaxws/src/main/resources/META-INF/services/org.apache.tuscany.sca.provider.BindingProviderFactory delete mode 100644 java/sca-contrib/modules/binding-ws-jaxws/src/test/java/weather/WeatherForecastClient.java delete mode 100644 java/sca-contrib/modules/binding-ws-jaxws/src/test/java/weather/WeatherForecastImpl.java delete mode 100644 java/sca-contrib/modules/binding-ws-jaxws/src/test/resources/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/modules/binding-ws-jaxws/src/test/resources/WeatherForecast.composite delete mode 100644 java/sca-contrib/modules/common-xml/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/common-xml/pom.xml delete mode 100644 java/sca-contrib/modules/common-xml/src/main/java/org/apache/tuscany/sca/common/xml/SimpleTypeMapper.java delete mode 100644 java/sca-contrib/modules/common-xml/src/main/java/org/apache/tuscany/sca/common/xml/XSDDataTypeConverter.java delete mode 100644 java/sca-contrib/modules/common-xml/src/main/java/org/apache/tuscany/sca/common/xml/dom/DOMHelper.java delete mode 100644 java/sca-contrib/modules/common-xml/src/main/java/org/apache/tuscany/sca/common/xml/dom/SAX2DOMAdapter.java delete mode 100644 java/sca-contrib/modules/common-xml/src/main/java/org/apache/tuscany/sca/common/xml/stax/DOMXMLStreamReader.java delete mode 100644 java/sca-contrib/modules/common-xml/src/main/java/org/apache/tuscany/sca/common/xml/stax/DOMXmlNodeImpl.java delete mode 100644 java/sca-contrib/modules/common-xml/src/main/java/org/apache/tuscany/sca/common/xml/stax/DelegatingNamespaceContext.java delete mode 100644 java/sca-contrib/modules/common-xml/src/main/java/org/apache/tuscany/sca/common/xml/stax/NameValueArrayStreamReader.java delete mode 100644 java/sca-contrib/modules/common-xml/src/main/java/org/apache/tuscany/sca/common/xml/stax/NameValuePairStreamReader.java delete mode 100644 java/sca-contrib/modules/common-xml/src/main/java/org/apache/tuscany/sca/common/xml/stax/NamedProperty.java delete mode 100644 java/sca-contrib/modules/common-xml/src/main/java/org/apache/tuscany/sca/common/xml/stax/NilElementStreamReader.java delete mode 100644 java/sca-contrib/modules/common-xml/src/main/java/org/apache/tuscany/sca/common/xml/stax/SimpleXmlNodeImpl.java delete mode 100644 java/sca-contrib/modules/common-xml/src/main/java/org/apache/tuscany/sca/common/xml/stax/StAX2SAXAdapter.java delete mode 100644 java/sca-contrib/modules/common-xml/src/main/java/org/apache/tuscany/sca/common/xml/stax/StAXHelper.java delete mode 100644 java/sca-contrib/modules/common-xml/src/main/java/org/apache/tuscany/sca/common/xml/stax/WrappingXMLStreamReader.java delete mode 100644 java/sca-contrib/modules/common-xml/src/main/java/org/apache/tuscany/sca/common/xml/stax/XMLDocumentStreamReader.java delete mode 100644 java/sca-contrib/modules/common-xml/src/main/java/org/apache/tuscany/sca/common/xml/stax/XMLFragmentStreamReader.java delete mode 100644 java/sca-contrib/modules/common-xml/src/main/java/org/apache/tuscany/sca/common/xml/stax/XMLFragmentStreamReaderImpl.java delete mode 100644 java/sca-contrib/modules/common-xml/src/main/java/org/apache/tuscany/sca/common/xml/stax/XMLStreamSerializer.java delete mode 100644 java/sca-contrib/modules/common-xml/src/main/java/org/apache/tuscany/sca/common/xml/stax/XMLStreamable.java delete mode 100644 java/sca-contrib/modules/common-xml/src/main/java/org/apache/tuscany/sca/common/xml/stax/XmlNode.java delete mode 100644 java/sca-contrib/modules/common-xml/src/main/java/org/apache/tuscany/sca/common/xml/stax/XmlNodeIterator.java delete mode 100644 java/sca-contrib/modules/common-xml/src/main/java/org/apache/tuscany/sca/common/xml/stax/XmlTreeStreamReaderImpl.java delete mode 100644 java/sca-contrib/modules/common-xml/src/test/java/org/apache/tuscany/sca/common/xml/stax/StAXHelperTestCase.java delete mode 100644 java/sca-contrib/modules/common-xml/src/test/java/org/apache/tuscany/sca/common/xml/stax/XmlTreeStreamReaderTestCase.java delete mode 100644 java/sca-contrib/modules/compact-base/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/compact-base/pom.xml delete mode 100644 java/sca-contrib/modules/contribution-osgi/LICENSE delete mode 100644 java/sca-contrib/modules/contribution-osgi/NOTICE delete mode 100644 java/sca-contrib/modules/contribution-osgi/pom.xml delete mode 100644 java/sca-contrib/modules/contribution-osgi/src/main/java/org/apache/tuscany/sca/contribution/osgi/BundleReference.java delete mode 100644 java/sca-contrib/modules/contribution-osgi/src/main/java/org/apache/tuscany/sca/contribution/osgi/impl/OSGiBundleContributionProcessor.java delete mode 100644 java/sca-contrib/modules/contribution-osgi/src/main/java/org/apache/tuscany/sca/contribution/osgi/impl/OSGiBundleProcessor.java delete mode 100644 java/sca-contrib/modules/contribution-osgi/src/main/java/org/apache/tuscany/sca/contribution/osgi/impl/OSGiBundleReferenceModelResolver.java delete mode 100644 java/sca-contrib/modules/contribution-osgi/src/main/java/org/apache/tuscany/sca/contribution/osgi/impl/OSGiClassReferenceModelResolver.java delete mode 100644 java/sca-contrib/modules/contribution-osgi/src/main/java/org/apache/tuscany/sca/contribution/osgi/impl/OSGiImportExportListener.java delete mode 100644 java/sca-contrib/modules/contribution-osgi/src/main/java/org/apache/tuscany/sca/contribution/osgi/impl/OSGiModelResolverImpl.java delete mode 100644 java/sca-contrib/modules/contribution-osgi/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.PackageProcessor delete mode 100644 java/sca-contrib/modules/contribution-osgi/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.resolver.ModelResolver delete mode 100644 java/sca-contrib/modules/contribution-osgi/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.service.ContributionListener delete mode 100644 java/sca-contrib/modules/contribution-resource/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/contribution-resource/pom.xml delete mode 100644 java/sca-contrib/modules/contribution-resource/src/main/java/org/apache/tuscany/sca/contribution/resource/ResourceExport.java delete mode 100644 java/sca-contrib/modules/contribution-resource/src/main/java/org/apache/tuscany/sca/contribution/resource/ResourceImport.java delete mode 100644 java/sca-contrib/modules/contribution-resource/src/main/java/org/apache/tuscany/sca/contribution/resource/ResourceImportExportFactory.java delete mode 100644 java/sca-contrib/modules/contribution-resource/src/main/java/org/apache/tuscany/sca/contribution/resource/impl/ArtifactModelResolver.java delete mode 100644 java/sca-contrib/modules/contribution-resource/src/main/java/org/apache/tuscany/sca/contribution/resource/impl/ResourceExportImpl.java delete mode 100644 java/sca-contrib/modules/contribution-resource/src/main/java/org/apache/tuscany/sca/contribution/resource/impl/ResourceExportModelResolver.java delete mode 100644 java/sca-contrib/modules/contribution-resource/src/main/java/org/apache/tuscany/sca/contribution/resource/impl/ResourceExportProcessor.java delete mode 100644 java/sca-contrib/modules/contribution-resource/src/main/java/org/apache/tuscany/sca/contribution/resource/impl/ResourceImportExportFactoryImpl.java delete mode 100644 java/sca-contrib/modules/contribution-resource/src/main/java/org/apache/tuscany/sca/contribution/resource/impl/ResourceImportImpl.java delete mode 100644 java/sca-contrib/modules/contribution-resource/src/main/java/org/apache/tuscany/sca/contribution/resource/impl/ResourceImportProcessor.java delete mode 100644 java/sca-contrib/modules/contribution-resource/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor delete mode 100644 java/sca-contrib/modules/contribution-resource/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.resolver.ModelResolver delete mode 100644 java/sca-contrib/modules/contribution-resource/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.resource.ResourceImportExportFactory delete mode 100644 java/sca-contrib/modules/contribution-resource/src/main/resources/contribution-resource-validation-messages.properties delete mode 100644 java/sca-contrib/modules/contribution-resource/src/test/java/org/apache/tuscany/sca/contribution/resource/impl/ResourceExportProcessorTestCase.java delete mode 100644 java/sca-contrib/modules/contribution-resource/src/test/java/org/apache/tuscany/sca/contribution/resource/impl/ResourceImportProcessorTestCase.java delete mode 100644 java/sca-contrib/modules/data-api/LICENSE delete mode 100644 java/sca-contrib/modules/data-api/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/data-api/NOTICE delete mode 100644 java/sca-contrib/modules/data-api/pom.xml delete mode 100644 java/sca-contrib/modules/data-api/src/main/java/org/apache/tuscany/sca/data/collection/Collection.java delete mode 100644 java/sca-contrib/modules/data-api/src/main/java/org/apache/tuscany/sca/data/collection/Entry.java delete mode 100644 java/sca-contrib/modules/data-api/src/main/java/org/apache/tuscany/sca/data/collection/Item.java delete mode 100644 java/sca-contrib/modules/data-api/src/main/java/org/apache/tuscany/sca/data/collection/ItemCollection.java delete mode 100644 java/sca-contrib/modules/data-api/src/main/java/org/apache/tuscany/sca/data/collection/LocalItemCollection.java delete mode 100644 java/sca-contrib/modules/data-api/src/main/java/org/apache/tuscany/sca/data/collection/NotFoundException.java delete mode 100644 java/sca-contrib/modules/databinding-fastinfoset/LICENSE delete mode 100644 java/sca-contrib/modules/databinding-fastinfoset/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/databinding-fastinfoset/NOTICE delete mode 100644 java/sca-contrib/modules/databinding-fastinfoset/pom.xml delete mode 100644 java/sca-contrib/modules/databinding-fastinfoset/src/main/java/org/apache/tuscany/sca/databinding/fastinfoset/FastInfoset2Node.java delete mode 100644 java/sca-contrib/modules/databinding-fastinfoset/src/main/java/org/apache/tuscany/sca/databinding/fastinfoset/FastInfoset2SAX.java delete mode 100644 java/sca-contrib/modules/databinding-fastinfoset/src/main/java/org/apache/tuscany/sca/databinding/fastinfoset/FastInfoset2XMLStreamReader.java delete mode 100644 java/sca-contrib/modules/databinding-fastinfoset/src/main/java/org/apache/tuscany/sca/databinding/fastinfoset/Node2FastInfoset.java delete mode 100644 java/sca-contrib/modules/databinding-fastinfoset/src/main/java/org/apache/tuscany/sca/databinding/fastinfoset/XMLInputStream2FastInfoset.java delete mode 100644 java/sca-contrib/modules/databinding-fastinfoset/src/main/java/org/apache/tuscany/sca/databinding/fastinfoset/XMLStreamReader2FastInfoset.java delete mode 100644 java/sca-contrib/modules/databinding-fastinfoset/src/main/resources/META-INF/services/org.apache.tuscany.sca.databinding.PullTransformer delete mode 100644 java/sca-contrib/modules/databinding-fastinfoset/src/main/resources/META-INF/services/org.apache.tuscany.sca.databinding.PushTransformer delete mode 100644 java/sca-contrib/modules/databinding-fastinfoset/src/test/java/org/apache/tuscany/sca/databinding/fastinfoset/FastInfosetTransformerTestCase.java delete mode 100644 java/sca-contrib/modules/databinding-fastinfoset/src/test/resources/ipo.xsd delete mode 100644 java/sca-contrib/modules/databinding-json/LICENSE delete mode 100644 java/sca-contrib/modules/databinding-json/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/databinding-json/NOTICE delete mode 100644 java/sca-contrib/modules/databinding-json/pom.xml delete mode 100644 java/sca-contrib/modules/databinding-json/src/main/java/org/apache/tuscany/sca/databinding/json/JSON2JavaBean.java delete mode 100644 java/sca-contrib/modules/databinding-json/src/main/java/org/apache/tuscany/sca/databinding/json/JSON2String.java delete mode 100644 java/sca-contrib/modules/databinding-json/src/main/java/org/apache/tuscany/sca/databinding/json/JSON2XMLStreamReader.java delete mode 100644 java/sca-contrib/modules/databinding-json/src/main/java/org/apache/tuscany/sca/databinding/json/JSONDataBinding.java delete mode 100644 java/sca-contrib/modules/databinding-json/src/main/java/org/apache/tuscany/sca/databinding/json/JSONHelper.java delete mode 100644 java/sca-contrib/modules/databinding-json/src/main/java/org/apache/tuscany/sca/databinding/json/JavaBean2JSON.java delete mode 100644 java/sca-contrib/modules/databinding-json/src/main/java/org/apache/tuscany/sca/databinding/json/JavaBean2JSONObject.java delete mode 100644 java/sca-contrib/modules/databinding-json/src/main/java/org/apache/tuscany/sca/databinding/json/String2JSON.java delete mode 100644 java/sca-contrib/modules/databinding-json/src/main/java/org/apache/tuscany/sca/databinding/json/XMLStreamReader2JSON.java delete mode 100644 java/sca-contrib/modules/databinding-json/src/main/java/org/apache/tuscany/sca/databinding/json/axiom/JSON2OMElement.java delete mode 100644 java/sca-contrib/modules/databinding-json/src/main/java/org/apache/tuscany/sca/databinding/json/axiom/JSONBadgerfishDataSource.java delete mode 100644 java/sca-contrib/modules/databinding-json/src/main/java/org/apache/tuscany/sca/databinding/json/axiom/JSONDataSource.java delete mode 100644 java/sca-contrib/modules/databinding-json/src/main/resources/META-INF/services/org.apache.tuscany.sca.databinding.DataBinding delete mode 100644 java/sca-contrib/modules/databinding-json/src/main/resources/META-INF/services/org.apache.tuscany.sca.databinding.PullTransformer delete mode 100644 java/sca-contrib/modules/databinding-json/src/test/java/org/apache/tuscany/sca/databinding/json/JSONTransformerTestCase.java delete mode 100644 java/sca-contrib/modules/databinding-json/src/test/java/org/apache/tuscany/sca/databinding/json/JavaBean2JSONTestCase.java delete mode 100644 java/sca-contrib/modules/databinding-json/src/test/java/org/apache/tuscany/sca/databinding/json/MyBean.java delete mode 100644 java/sca-contrib/modules/databinding-json/src/test/java/org/apache/tuscany/sca/databinding/json/MyInterface.java delete mode 100644 java/sca-contrib/modules/databinding-json/src/test/java/org/apache/tuscany/sca/databinding/json/MyInterfaceImpl.java delete mode 100644 java/sca-contrib/modules/databinding-json/src/test/java/org/apache/tuscany/sca/databinding/json/POJOTestCase.java delete mode 100644 java/sca-contrib/modules/databinding-json/src/test/resources/ipo.xsd delete mode 100644 java/sca-contrib/modules/databinding-saxon/LICENSE delete mode 100644 java/sca-contrib/modules/databinding-saxon/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/databinding-saxon/NOTICE delete mode 100644 java/sca-contrib/modules/databinding-saxon/pom.xml delete mode 100644 java/sca-contrib/modules/databinding-saxon/src/main/java/org/apache/tuscany/sca/databinding/saxon/DataObject2NodeInfoTransformer.java delete mode 100644 java/sca-contrib/modules/databinding-saxon/src/main/java/org/apache/tuscany/sca/databinding/saxon/ItemList2ObjectTransformer.java delete mode 100644 java/sca-contrib/modules/databinding-saxon/src/main/java/org/apache/tuscany/sca/databinding/saxon/Node2NodeInfoTransformer.java delete mode 100644 java/sca-contrib/modules/databinding-saxon/src/main/java/org/apache/tuscany/sca/databinding/saxon/NodeInfo2DataObjectTransformer.java delete mode 100644 java/sca-contrib/modules/databinding-saxon/src/main/java/org/apache/tuscany/sca/databinding/saxon/NodeInfo2JavaArrayTransformer.java delete mode 100644 java/sca-contrib/modules/databinding-saxon/src/main/java/org/apache/tuscany/sca/databinding/saxon/NodeInfo2NodeTransformer.java delete mode 100644 java/sca-contrib/modules/databinding-saxon/src/main/java/org/apache/tuscany/sca/databinding/saxon/Object2ValueTransformer.java delete mode 100644 java/sca-contrib/modules/databinding-saxon/src/main/java/org/apache/tuscany/sca/databinding/saxon/SaxonDataBindingHelper.java delete mode 100644 java/sca-contrib/modules/databinding-saxon/src/main/java/org/apache/tuscany/sca/databinding/saxon/SaxonNodeDataBinding.java delete mode 100644 java/sca-contrib/modules/databinding-saxon/src/main/java/org/apache/tuscany/sca/databinding/saxon/SaxonValueDataBinding.java delete mode 100644 java/sca-contrib/modules/databinding-saxon/src/main/java/org/apache/tuscany/sca/databinding/saxon/SimpleType2ValueTransformer.java delete mode 100644 java/sca-contrib/modules/databinding-saxon/src/main/java/org/apache/tuscany/sca/databinding/saxon/Value2JavaArray.java delete mode 100644 java/sca-contrib/modules/databinding-saxon/src/main/java/org/apache/tuscany/sca/databinding/saxon/Value2ObjectTransformer.java delete mode 100644 java/sca-contrib/modules/databinding-saxon/src/main/java/org/apache/tuscany/sca/databinding/saxon/Value2SimpleTypeTransformer.java delete mode 100644 java/sca-contrib/modules/databinding-saxon/src/main/java/org/apache/tuscany/sca/databinding/saxon/collection/ItemList.java delete mode 100644 java/sca-contrib/modules/databinding-saxon/src/main/resources/META-INF/services/org.apache.tuscany.sca.databinding.DataBinding delete mode 100644 java/sca-contrib/modules/databinding-saxon/src/main/resources/META-INF/services/org.apache.tuscany.sca.databinding.PullTransformer delete mode 100644 java/sca-contrib/modules/databinding-sdo-axiom/LICENSE delete mode 100644 java/sca-contrib/modules/databinding-sdo-axiom/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/databinding-sdo-axiom/NOTICE delete mode 100644 java/sca-contrib/modules/databinding-sdo-axiom/pom.xml delete mode 100644 java/sca-contrib/modules/databinding-sdo-axiom/src/main/java/org/apache/tuscany/sca/databinding/sdo2om/AxiomHelper.java delete mode 100644 java/sca-contrib/modules/databinding-sdo-axiom/src/main/java/org/apache/tuscany/sca/databinding/sdo2om/DataObject2OMElement.java delete mode 100644 java/sca-contrib/modules/databinding-sdo-axiom/src/main/java/org/apache/tuscany/sca/databinding/sdo2om/SDODataSource.java delete mode 100644 java/sca-contrib/modules/databinding-sdo-axiom/src/main/java/org/apache/tuscany/sca/databinding/sdo2om/XMLDocument2OMElement.java delete mode 100644 java/sca-contrib/modules/databinding-sdo-axiom/src/main/resources/META-INF/services/org.apache.tuscany.sca.databinding.PullTransformer delete mode 100644 java/sca-contrib/modules/databinding-sdo-axiom/src/test/java/org/apache/tuscany/sca/databinding/sdo2om/DataObject2OMElementTestCase.java delete mode 100644 java/sca-contrib/modules/databinding-sdo-axiom/src/test/java/org/apache/tuscany/sca/databinding/sdo2om/SDOTransformerTestCaseBase.java delete mode 100644 java/sca-contrib/modules/databinding-sdo-axiom/src/test/java/org/apache/tuscany/sca/databinding/sdo2om/XMLDocument2OMElementTestCase.java delete mode 100644 java/sca-contrib/modules/databinding-sdo-axiom/src/test/resources/ipo.xsd delete mode 100644 java/sca-contrib/modules/databinding-sdo-axiom/src/test/resources/stock.xsd delete mode 100644 java/sca-contrib/modules/databinding-sdo/LICENSE delete mode 100644 java/sca-contrib/modules/databinding-sdo/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/databinding-sdo/NOTICE delete mode 100644 java/sca-contrib/modules/databinding-sdo/pom.xml delete mode 100644 java/sca-contrib/modules/databinding-sdo/src/main/java/org/apache/tuscany/sca/databinding/sdo/DataObject2Node.java delete mode 100644 java/sca-contrib/modules/databinding-sdo/src/main/java/org/apache/tuscany/sca/databinding/sdo/DataObject2String.java delete mode 100644 java/sca-contrib/modules/databinding-sdo/src/main/java/org/apache/tuscany/sca/databinding/sdo/DataObject2XMLStreamReader.java delete mode 100644 java/sca-contrib/modules/databinding-sdo/src/main/java/org/apache/tuscany/sca/databinding/sdo/ImportSDO.java delete mode 100644 java/sca-contrib/modules/databinding-sdo/src/main/java/org/apache/tuscany/sca/databinding/sdo/ImportSDOProcessor.java delete mode 100644 java/sca-contrib/modules/databinding-sdo/src/main/java/org/apache/tuscany/sca/databinding/sdo/Node2DataObject.java delete mode 100644 java/sca-contrib/modules/databinding-sdo/src/main/java/org/apache/tuscany/sca/databinding/sdo/SDOContextHelper.java delete mode 100644 java/sca-contrib/modules/databinding-sdo/src/main/java/org/apache/tuscany/sca/databinding/sdo/SDODataBinding.java delete mode 100644 java/sca-contrib/modules/databinding-sdo/src/main/java/org/apache/tuscany/sca/databinding/sdo/SDOSimpleTypeMapper.java delete mode 100644 java/sca-contrib/modules/databinding-sdo/src/main/java/org/apache/tuscany/sca/databinding/sdo/SDOTypeHelper.java delete mode 100644 java/sca-contrib/modules/databinding-sdo/src/main/java/org/apache/tuscany/sca/databinding/sdo/SDOWrapperHandler.java delete mode 100644 java/sca-contrib/modules/databinding-sdo/src/main/java/org/apache/tuscany/sca/databinding/sdo/String2DataObject.java delete mode 100644 java/sca-contrib/modules/databinding-sdo/src/main/java/org/apache/tuscany/sca/databinding/sdo/XMLDocument2String.java delete mode 100644 java/sca-contrib/modules/databinding-sdo/src/main/java/org/apache/tuscany/sca/databinding/sdo/XMLDocument2XMLStreamReader.java delete mode 100644 java/sca-contrib/modules/databinding-sdo/src/main/java/org/apache/tuscany/sca/databinding/sdo/XMLStreamReader2DataObject.java delete mode 100644 java/sca-contrib/modules/databinding-sdo/src/main/java/org/apache/tuscany/sca/databinding/sdo/XMLStreamReader2XMLDocument.java delete mode 100644 java/sca-contrib/modules/databinding-sdo/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor delete mode 100644 java/sca-contrib/modules/databinding-sdo/src/main/resources/META-INF/services/org.apache.tuscany.sca.databinding.DataBinding delete mode 100644 java/sca-contrib/modules/databinding-sdo/src/main/resources/META-INF/services/org.apache.tuscany.sca.databinding.PullTransformer delete mode 100644 java/sca-contrib/modules/databinding-sdo/src/main/resources/databinding-sdo-validation-messages.properties delete mode 100644 java/sca-contrib/modules/databinding-sdo/src/test/java/com/example/stock/sdo/fault/InvalidSymbolFault_Exception.java delete mode 100644 java/sca-contrib/modules/databinding-sdo/src/test/java/org/apache/tuscany/sca/databinding/sdo/DataObject2NodeTestCase.java delete mode 100644 java/sca-contrib/modules/databinding-sdo/src/test/java/org/apache/tuscany/sca/databinding/sdo/DataObject2StringTestCase.java delete mode 100644 java/sca-contrib/modules/databinding-sdo/src/test/java/org/apache/tuscany/sca/databinding/sdo/DataObject2XMLStreamReaderTestCase.java delete mode 100644 java/sca-contrib/modules/databinding-sdo/src/test/java/org/apache/tuscany/sca/databinding/sdo/ImportSDOProcessorTestCase.java delete mode 100644 java/sca-contrib/modules/databinding-sdo/src/test/java/org/apache/tuscany/sca/databinding/sdo/SDOContextHelperTestCase.java delete mode 100644 java/sca-contrib/modules/databinding-sdo/src/test/java/org/apache/tuscany/sca/databinding/sdo/SDODataBindingTestCase.java delete mode 100644 java/sca-contrib/modules/databinding-sdo/src/test/java/org/apache/tuscany/sca/databinding/sdo/SDOTransformerTestCaseBase.java delete mode 100644 java/sca-contrib/modules/databinding-sdo/src/test/java/org/apache/tuscany/sca/databinding/sdo/SDOWrapperHandlerTestCase.java delete mode 100644 java/sca-contrib/modules/databinding-sdo/src/test/java/org/apache/tuscany/sca/databinding/sdo/TestModelResolver.java delete mode 100644 java/sca-contrib/modules/databinding-sdo/src/test/java/org/apache/tuscany/sca/databinding/sdo/XMLDocument2XMLStreamReaderTestCase.java delete mode 100755 java/sca-contrib/modules/databinding-sdo/src/test/resources/ipo.xsd delete mode 100755 java/sca-contrib/modules/databinding-sdo/src/test/resources/model/sca-core.xsd delete mode 100755 java/sca-contrib/modules/databinding-sdo/src/test/resources/model/sca-implementation-mock.xsd delete mode 100644 java/sca-contrib/modules/databinding-sdo/src/test/resources/stock.xsd delete mode 100644 java/sca-contrib/modules/databinding-sdo/src/test/resources/wrapper.xml delete mode 100644 java/sca-contrib/modules/databinding-sdo/src/test/resources/wrapper.xsd delete mode 100755 java/sca-contrib/modules/databinding-xmlbeans/LICENSE delete mode 100644 java/sca-contrib/modules/databinding-xmlbeans/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/databinding-xmlbeans/NOTICE delete mode 100644 java/sca-contrib/modules/databinding-xmlbeans/pom.xml delete mode 100644 java/sca-contrib/modules/databinding-xmlbeans/src/main/java/org/apache/tuscany/sca/databinding/xmlbeans/Node2XmlObject.java delete mode 100644 java/sca-contrib/modules/databinding-xmlbeans/src/main/java/org/apache/tuscany/sca/databinding/xmlbeans/XMLBeansDataBinding.java delete mode 100644 java/sca-contrib/modules/databinding-xmlbeans/src/main/java/org/apache/tuscany/sca/databinding/xmlbeans/XMLBeansWrapperHandler.java delete mode 100644 java/sca-contrib/modules/databinding-xmlbeans/src/main/java/org/apache/tuscany/sca/databinding/xmlbeans/XMLStreamReader2XmlObject.java delete mode 100644 java/sca-contrib/modules/databinding-xmlbeans/src/main/java/org/apache/tuscany/sca/databinding/xmlbeans/XmlObject2Node.java delete mode 100644 java/sca-contrib/modules/databinding-xmlbeans/src/main/java/org/apache/tuscany/sca/databinding/xmlbeans/XmlObject2XMLStreamReader.java delete mode 100644 java/sca-contrib/modules/databinding-xmlbeans/src/main/resources/META-INF/services/org.apache.tuscany.sca.databinding.DataBinding delete mode 100644 java/sca-contrib/modules/databinding-xmlbeans/src/main/resources/META-INF/services/org.apache.tuscany.sca.databinding.PullTransformer delete mode 100644 java/sca-contrib/modules/databinding-xmlbeans/src/test/java/org/apache/tuscany/sca/databinding/xmlbeans/XmlObjectTestCase.java delete mode 100755 java/sca-contrib/modules/databinding-xmlbeans/src/test/resources/ipo.xsd delete mode 100755 java/sca-contrib/modules/databinding-xmlbeans/src/test/resources/ipo.xsdconfig delete mode 100644 java/sca-contrib/modules/domain-manager/LICENSE delete mode 100644 java/sca-contrib/modules/domain-manager/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/domain-manager/NOTICE delete mode 100644 java/sca-contrib/modules/domain-manager/pom.xml delete mode 100644 java/sca-contrib/modules/domain-manager/src/main/java/org/apache/tuscany/sca/domain/manager/impl/CompositeConfigurationCollectionImpl.java delete mode 100644 java/sca-contrib/modules/domain-manager/src/main/java/org/apache/tuscany/sca/domain/manager/impl/CompositeConfigurationServiceImpl.java delete mode 100644 java/sca-contrib/modules/domain-manager/src/main/java/org/apache/tuscany/sca/domain/manager/impl/CompositeGeneratorServiceImpl.java delete mode 100644 java/sca-contrib/modules/domain-manager/src/main/java/org/apache/tuscany/sca/domain/manager/impl/ContributionCollectionImpl.java delete mode 100644 java/sca-contrib/modules/domain-manager/src/main/java/org/apache/tuscany/sca/domain/manager/impl/ContributionServiceImpl.java delete mode 100644 java/sca-contrib/modules/domain-manager/src/main/java/org/apache/tuscany/sca/domain/manager/impl/DeployableCompositeCollectionImpl.java delete mode 100644 java/sca-contrib/modules/domain-manager/src/main/java/org/apache/tuscany/sca/domain/manager/impl/DeployableCompositeServiceImpl.java delete mode 100644 java/sca-contrib/modules/domain-manager/src/main/java/org/apache/tuscany/sca/domain/manager/impl/DeployedCompositeCollectionImpl.java delete mode 100644 java/sca-contrib/modules/domain-manager/src/main/java/org/apache/tuscany/sca/domain/manager/impl/DomainManagerConfiguration.java delete mode 100644 java/sca-contrib/modules/domain-manager/src/main/java/org/apache/tuscany/sca/domain/manager/impl/DomainManagerConfigurationImpl.java delete mode 100644 java/sca-contrib/modules/domain-manager/src/main/java/org/apache/tuscany/sca/domain/manager/impl/DomainManagerUtil.java delete mode 100644 java/sca-contrib/modules/domain-manager/src/main/java/org/apache/tuscany/sca/domain/manager/impl/FileCollectionImpl.java delete mode 100644 java/sca-contrib/modules/domain-manager/src/main/java/org/apache/tuscany/sca/domain/manager/impl/FileServiceImpl.java delete mode 100644 java/sca-contrib/modules/domain-manager/src/main/java/org/apache/tuscany/sca/domain/manager/impl/NodeConfigurationServiceImpl.java delete mode 100644 java/sca-contrib/modules/domain-manager/src/main/java/org/apache/tuscany/sca/domain/manager/impl/NodeProcessCollectionFacadeImpl.java delete mode 100644 java/sca-contrib/modules/domain-manager/src/main/java/org/apache/tuscany/sca/domain/manager/impl/QuickStartServiceImpl.java delete mode 100644 java/sca-contrib/modules/domain-manager/src/main/java/org/apache/tuscany/sca/domain/manager/launcher/DomainManagerLauncherBootstrap.java delete mode 100644 java/sca-contrib/modules/domain-manager/src/main/resources/DomainManager.composite delete mode 100644 java/sca-contrib/modules/domain-manager/src/main/resources/cloud-gadget.html delete mode 100644 java/sca-contrib/modules/domain-manager/src/main/resources/cloud.html delete mode 100644 java/sca-contrib/modules/domain-manager/src/main/resources/composite-gadget.html delete mode 100644 java/sca-contrib/modules/domain-manager/src/main/resources/composite.html delete mode 100644 java/sca-contrib/modules/domain-manager/src/main/resources/files-gadget.html delete mode 100644 java/sca-contrib/modules/domain-manager/src/main/resources/files.html delete mode 100644 java/sca-contrib/modules/domain-manager/src/main/resources/home-gadget.html delete mode 100644 java/sca-contrib/modules/domain-manager/src/main/resources/home.html delete mode 100644 java/sca-contrib/modules/domain-manager/src/main/resources/icons/feed-icon.png delete mode 100644 java/sca-contrib/modules/domain-manager/src/main/resources/manager.css delete mode 100644 java/sca-contrib/modules/domain-manager/src/main/resources/toolbar-gadget.html delete mode 100644 java/sca-contrib/modules/domain-manager/src/main/resources/utils.js delete mode 100644 java/sca-contrib/modules/domain-manager/src/main/resources/workspace-gadget.html delete mode 100644 java/sca-contrib/modules/domain-manager/src/main/resources/workspace.html delete mode 100644 java/sca-contrib/modules/domain-manager/src/test/java/org/apache/tuscany/sca/domain/manager/impl/DomainManagerTestCase.java delete mode 100644 java/sca-contrib/modules/domain-manager/src/test/resources/contributions/assets/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/modules/domain-manager/src/test/resources/contributions/store/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/modules/domain-manager/src/test/resources/workspace.xml delete mode 100644 java/sca-contrib/modules/host-corba-jee/LICENSE delete mode 100644 java/sca-contrib/modules/host-corba-jee/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/host-corba-jee/NOTICE delete mode 100644 java/sca-contrib/modules/host-corba-jee/pom.xml delete mode 100644 java/sca-contrib/modules/host-corba-jee/src/main/java/org/apache/tuscany/sca/host/corba/jee/CorbaRuntimeModuleActivator.java delete mode 100644 java/sca-contrib/modules/host-corba-jee/src/main/java/org/apache/tuscany/sca/host/corba/jee/JEECorbaHost.java delete mode 100644 java/sca-contrib/modules/host-corba-jee/src/main/resources/META-INF/services/org.apache.tuscany.sca.core.ModuleActivator delete mode 100644 java/sca-contrib/modules/host-corba-jee/src/test/java/org/apache/tuscany/sca/host/corba/jee/testing/JEECorbaHostTestCase.java delete mode 100644 java/sca-contrib/modules/host-corba-jee/src/test/java/org/apache/tuscany/sca/host/corba/jee/testing/TestContext.java delete mode 100644 java/sca-contrib/modules/host-corba-jee/src/test/java/org/apache/tuscany/sca/host/corba/jee/testing/TestInitialContextFactory.java delete mode 100644 java/sca-contrib/modules/host-corba-jee/src/test/java/org/apache/tuscany/sca/host/corba/jee/testing/general/TestInterface.java delete mode 100644 java/sca-contrib/modules/host-corba-jee/src/test/java/org/apache/tuscany/sca/host/corba/jee/testing/general/TestInterfaceHelper.java delete mode 100644 java/sca-contrib/modules/host-corba-jee/src/test/java/org/apache/tuscany/sca/host/corba/jee/testing/general/TestInterfaceHolder.java delete mode 100644 java/sca-contrib/modules/host-corba-jee/src/test/java/org/apache/tuscany/sca/host/corba/jee/testing/general/TestInterfaceOperations.java delete mode 100644 java/sca-contrib/modules/host-corba-jee/src/test/java/org/apache/tuscany/sca/host/corba/jee/testing/general/_TestInterfaceImplBase.java delete mode 100644 java/sca-contrib/modules/host-corba-jee/src/test/java/org/apache/tuscany/sca/host/corba/jee/testing/general/_TestInterfaceStub.java delete mode 100644 java/sca-contrib/modules/host-corba-jee/src/test/java/org/apache/tuscany/sca/host/corba/jee/testing/servants/TestInterfaceServant.java delete mode 100644 java/sca-contrib/modules/host-corba-jee/src/test/resources/general.idl delete mode 100644 java/sca-contrib/modules/host-corba-jse-tns/LICENSE delete mode 100644 java/sca-contrib/modules/host-corba-jse-tns/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/host-corba-jse-tns/NOTICE delete mode 100644 java/sca-contrib/modules/host-corba-jse-tns/pom.xml delete mode 100644 java/sca-contrib/modules/host-corba-jse-tns/src/main/java/org/apache/tuscany/sca/host/corba/jse/tns/CorbaRuntimeModuleActivator.java delete mode 100644 java/sca-contrib/modules/host-corba-jse-tns/src/main/java/org/apache/tuscany/sca/host/corba/jse/tns/TnsDefaultCorbaHost.java delete mode 100644 java/sca-contrib/modules/host-corba-jse-tns/src/main/resources/META-INF/services/org.apache.tuscany.sca.core.ModuleActivator delete mode 100644 java/sca-contrib/modules/host-corba-jse-tns/src/test/java/org/apache/tuscany/sca/host/corba/testing/TnsDefaultCorbaHostTestCase.java delete mode 100644 java/sca-contrib/modules/host-corba-jse/LICENSE delete mode 100644 java/sca-contrib/modules/host-corba-jse/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/host-corba-jse/NOTICE delete mode 100644 java/sca-contrib/modules/host-corba-jse/pom.xml delete mode 100644 java/sca-contrib/modules/host-corba-jse/src/main/java/org/apache/tuscany/sca/host/corba/jse/CorbaRuntimeModuleActivator.java delete mode 100644 java/sca-contrib/modules/host-corba-jse/src/main/java/org/apache/tuscany/sca/host/corba/jse/DefaultCorbaHost.java delete mode 100644 java/sca-contrib/modules/host-corba-jse/src/main/java/org/apache/tuscany/sca/host/corba/naming/NamingContextBase.java delete mode 100644 java/sca-contrib/modules/host-corba-jse/src/main/java/org/apache/tuscany/sca/host/corba/naming/TransientNameServer.java delete mode 100644 java/sca-contrib/modules/host-corba-jse/src/main/java/org/apache/tuscany/sca/host/corba/naming/TransientNameService.java delete mode 100644 java/sca-contrib/modules/host-corba-jse/src/main/java/org/apache/tuscany/sca/host/corba/naming/TransientNamingContext.java delete mode 100644 java/sca-contrib/modules/host-corba-jse/src/main/java/org/apache/tuscany/sca/host/corba/naming/TransientServiceException.java delete mode 100644 java/sca-contrib/modules/host-corba-jse/src/main/resources/META-INF/services/org.apache.tuscany.sca.core.ModuleActivator delete mode 100644 java/sca-contrib/modules/host-corba-jse/src/test/java/org/apache/tuscany/sca/host/corba/testing/DefaultCorbaHostTestCase.java delete mode 100644 java/sca-contrib/modules/host-corba-jse/src/test/java/org/apache/tuscany/sca/host/corba/testing/general/TestInterface.java delete mode 100644 java/sca-contrib/modules/host-corba-jse/src/test/java/org/apache/tuscany/sca/host/corba/testing/general/TestInterfaceHelper.java delete mode 100644 java/sca-contrib/modules/host-corba-jse/src/test/java/org/apache/tuscany/sca/host/corba/testing/general/TestInterfaceHolder.java delete mode 100644 java/sca-contrib/modules/host-corba-jse/src/test/java/org/apache/tuscany/sca/host/corba/testing/general/TestInterfaceOperations.java delete mode 100644 java/sca-contrib/modules/host-corba-jse/src/test/java/org/apache/tuscany/sca/host/corba/testing/general/_TestInterfaceImplBase.java delete mode 100644 java/sca-contrib/modules/host-corba-jse/src/test/java/org/apache/tuscany/sca/host/corba/testing/general/_TestInterfaceStub.java delete mode 100644 java/sca-contrib/modules/host-corba-jse/src/test/java/org/apache/tuscany/sca/host/corba/testing/servants/TestInterfaceServant.java delete mode 100644 java/sca-contrib/modules/host-corba-jse/src/test/resources/general.idl delete mode 100644 java/sca-contrib/modules/host-corba/LICENSE delete mode 100644 java/sca-contrib/modules/host-corba/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/host-corba/NOTICE delete mode 100644 java/sca-contrib/modules/host-corba/pom.xml delete mode 100644 java/sca-contrib/modules/host-corba/src/main/java/org/apache/tuscany/sca/host/corba/CorbaHost.java delete mode 100644 java/sca-contrib/modules/host-corba/src/main/java/org/apache/tuscany/sca/host/corba/CorbaHostException.java delete mode 100644 java/sca-contrib/modules/host-corba/src/main/java/org/apache/tuscany/sca/host/corba/CorbaHostExtensionPoint.java delete mode 100644 java/sca-contrib/modules/host-corba/src/main/java/org/apache/tuscany/sca/host/corba/CorbaHostUtils.java delete mode 100644 java/sca-contrib/modules/host-corba/src/main/java/org/apache/tuscany/sca/host/corba/CorbanameURL.java delete mode 100644 java/sca-contrib/modules/host-corba/src/main/java/org/apache/tuscany/sca/host/corba/DefaultCorbaHostExtensionPoint.java delete mode 100644 java/sca-contrib/modules/host-corba/src/main/java/org/apache/tuscany/sca/host/corba/ExtensibleCorbaHost.java delete mode 100755 java/sca-contrib/modules/host-corba/src/main/java/org/apache/tuscany/sca/host/corba/SocketUtil.java delete mode 100644 java/sca-contrib/modules/host-corba/src/main/resources/META-INF/services/org.apache.tuscany.sca.host.corba.CorbaHostExtensionPoint delete mode 100644 java/sca-contrib/modules/host-corba/src/test/java/org/apache/tuscany/sca/host/corba/UtilsTestCase.java delete mode 100644 java/sca-contrib/modules/host-tomcat/LICENSE delete mode 100644 java/sca-contrib/modules/host-tomcat/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/host-tomcat/NOTICE delete mode 100644 java/sca-contrib/modules/host-tomcat/pom.xml delete mode 100644 java/sca-contrib/modules/host-tomcat/src/main/java/org/apache/tuscany/sca/http/tomcat/ServletWrapper.java delete mode 100644 java/sca-contrib/modules/host-tomcat/src/main/java/org/apache/tuscany/sca/http/tomcat/TomcatDefaultServlet.java delete mode 100644 java/sca-contrib/modules/host-tomcat/src/main/java/org/apache/tuscany/sca/http/tomcat/TomcatServer.java delete mode 100644 java/sca-contrib/modules/host-tomcat/src/main/java/org/apache/tuscany/sca/http/tomcat/module/TomcatRuntimeModuleActivator.java delete mode 100644 java/sca-contrib/modules/host-tomcat/src/main/resources/META-INF/services/org.apache.tuscany.sca.core.ModuleActivator delete mode 100644 java/sca-contrib/modules/host-tomcat/src/test/java/org/apache/tuscany/sca/http/tomcat/TomcatServerTestCase.java delete mode 100644 java/sca-contrib/modules/host-tomcat/src/test/resources/content/test.html delete mode 100644 java/sca-contrib/modules/host-tomcat/src/test/resources/tuscany.keyStore delete mode 100644 java/sca-contrib/modules/host-webapp-junit/LICENSE delete mode 100644 java/sca-contrib/modules/host-webapp-junit/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/host-webapp-junit/NOTICE delete mode 100644 java/sca-contrib/modules/host-webapp-junit/pom.xml delete mode 100644 java/sca-contrib/modules/host-webapp-junit/src/main/java/org/apache/tuscany/sca/host/webapp/junit/JUnitServletFilter.java delete mode 100644 java/sca-contrib/modules/host-webapp-junit/src/main/java/org/apache/tuscany/sca/host/webapp/junit/XMLFormatter.java delete mode 100644 java/sca-contrib/modules/implementation-bpel-ode/LICENSE delete mode 100644 java/sca-contrib/modules/implementation-bpel-ode/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/implementation-bpel-ode/NOTICE delete mode 100644 java/sca-contrib/modules/implementation-bpel-ode/pom.xml delete mode 100644 java/sca-contrib/modules/implementation-bpel-ode/src/main/java/org/apache/tuscany/sca/implementation/bpel/ode/BPELODEDeployFile.java delete mode 100644 java/sca-contrib/modules/implementation-bpel-ode/src/main/java/org/apache/tuscany/sca/implementation/bpel/ode/EmbeddedODEServer.java delete mode 100644 java/sca-contrib/modules/implementation-bpel-ode/src/main/java/org/apache/tuscany/sca/implementation/bpel/ode/GeronimoTxFactory.java delete mode 100644 java/sca-contrib/modules/implementation-bpel-ode/src/main/java/org/apache/tuscany/sca/implementation/bpel/ode/ODEBindingContext.java delete mode 100644 java/sca-contrib/modules/implementation-bpel-ode/src/main/java/org/apache/tuscany/sca/implementation/bpel/ode/ODEDeployment.java delete mode 100644 java/sca-contrib/modules/implementation-bpel-ode/src/main/java/org/apache/tuscany/sca/implementation/bpel/ode/ODEDeploymentException.java delete mode 100644 java/sca-contrib/modules/implementation-bpel-ode/src/main/java/org/apache/tuscany/sca/implementation/bpel/ode/ODEExternalService.java delete mode 100644 java/sca-contrib/modules/implementation-bpel-ode/src/main/java/org/apache/tuscany/sca/implementation/bpel/ode/ODEInitializationException.java delete mode 100644 java/sca-contrib/modules/implementation-bpel-ode/src/main/java/org/apache/tuscany/sca/implementation/bpel/ode/ODEMessageExchangeContext.java delete mode 100644 java/sca-contrib/modules/implementation-bpel-ode/src/main/java/org/apache/tuscany/sca/implementation/bpel/ode/ODEShutdownException.java delete mode 100644 java/sca-contrib/modules/implementation-bpel-ode/src/main/java/org/apache/tuscany/sca/implementation/bpel/ode/TuscanyEPR.java delete mode 100644 java/sca-contrib/modules/implementation-bpel-ode/src/main/java/org/apache/tuscany/sca/implementation/bpel/ode/TuscanyPRC.java delete mode 100644 java/sca-contrib/modules/implementation-bpel-ode/src/main/java/org/apache/tuscany/sca/implementation/bpel/ode/TuscanyProcessConfImpl.java delete mode 100644 java/sca-contrib/modules/implementation-bpel-ode/src/main/java/org/apache/tuscany/sca/implementation/bpel/ode/provider/BPELImplementationProvider.java delete mode 100644 java/sca-contrib/modules/implementation-bpel-ode/src/main/java/org/apache/tuscany/sca/implementation/bpel/ode/provider/BPELImplementationProviderFactory.java delete mode 100644 java/sca-contrib/modules/implementation-bpel-ode/src/main/java/org/apache/tuscany/sca/implementation/bpel/ode/provider/BPELInvoker.java delete mode 100644 java/sca-contrib/modules/implementation-bpel-ode/src/main/resources/META-INF/services/org.apache.tuscany.sca.provider.ImplementationProviderFactory delete mode 100644 java/sca-contrib/modules/implementation-bpel-ode/src/test/java/org/apache/tuscany/sca/implementation/bpel/ode/EmbeddedODEServerTestCase.java delete mode 100644 java/sca-contrib/modules/implementation-bpel-ode/src/test/resources/helloworld/deploy.xml delete mode 100644 java/sca-contrib/modules/implementation-bpel-ode/src/test/resources/helloworld/greetings.wsdl delete mode 100644 java/sca-contrib/modules/implementation-bpel-ode/src/test/resources/helloworld/helloworld.bpel delete mode 100644 java/sca-contrib/modules/implementation-bpel-ode/src/test/resources/helloworld/helloworld.wsdl delete mode 100644 java/sca-contrib/modules/implementation-bpel-ode/src/test/resources/log4j.properties delete mode 100644 java/sca-contrib/modules/implementation-bpel/LICENSE delete mode 100644 java/sca-contrib/modules/implementation-bpel/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/implementation-bpel/NOTICE delete mode 100644 java/sca-contrib/modules/implementation-bpel/pom.xml delete mode 100644 java/sca-contrib/modules/implementation-bpel/src/main/java/org/apache/tuscany/sca/implementation/bpel/BPELFactory.java delete mode 100644 java/sca-contrib/modules/implementation-bpel/src/main/java/org/apache/tuscany/sca/implementation/bpel/BPELImplementation.java delete mode 100644 java/sca-contrib/modules/implementation-bpel/src/main/java/org/apache/tuscany/sca/implementation/bpel/BPELProcessDefinition.java delete mode 100644 java/sca-contrib/modules/implementation-bpel/src/main/java/org/apache/tuscany/sca/implementation/bpel/impl/BPELFactoryImpl.java delete mode 100644 java/sca-contrib/modules/implementation-bpel/src/main/java/org/apache/tuscany/sca/implementation/bpel/impl/BPELImplementationImpl.java delete mode 100644 java/sca-contrib/modules/implementation-bpel/src/main/java/org/apache/tuscany/sca/implementation/bpel/impl/BPELProcessDefinitionImpl.java delete mode 100644 java/sca-contrib/modules/implementation-bpel/src/main/java/org/apache/tuscany/sca/implementation/bpel/xml/BPELDocumentProcessor.java delete mode 100644 java/sca-contrib/modules/implementation-bpel/src/main/java/org/apache/tuscany/sca/implementation/bpel/xml/BPELImplementationProcessor.java delete mode 100644 java/sca-contrib/modules/implementation-bpel/src/main/java/org/apache/tuscany/sca/implementation/bpel/xml/BPELImportElement.java delete mode 100644 java/sca-contrib/modules/implementation-bpel/src/main/java/org/apache/tuscany/sca/implementation/bpel/xml/BPELPartnerLinkElement.java delete mode 100644 java/sca-contrib/modules/implementation-bpel/src/main/java/org/apache/tuscany/sca/implementation/bpel/xml/BPELPartnerLinkTypeElement.java delete mode 100644 java/sca-contrib/modules/implementation-bpel/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor delete mode 100644 java/sca-contrib/modules/implementation-bpel/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.URLArtifactProcessor delete mode 100644 java/sca-contrib/modules/implementation-bpel/src/main/resources/META-INF/services/org.apache.tuscany.sca.implementation.bpel.BPELFactory delete mode 100644 java/sca-contrib/modules/implementation-bpel/src/main/resources/impl-bpel-validation-messages.properties delete mode 100644 java/sca-contrib/modules/implementation-bpel/src/test/java/org/apache/tuscany/sca/implementation/bpel/BPELDocumentProcessorTestCase.java delete mode 100644 java/sca-contrib/modules/implementation-bpel/src/test/java/org/apache/tuscany/sca/implementation/bpel/BPELImplementationProcessorTestCase.java delete mode 100644 java/sca-contrib/modules/implementation-bpel/src/test/resources/helloworld/helloworld.bpel delete mode 100644 java/sca-contrib/modules/implementation-bpel/src/test/resources/helloworld/helloworld.wsdl delete mode 100644 java/sca-contrib/modules/implementation-ejb/LICENSE delete mode 100644 java/sca-contrib/modules/implementation-ejb/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/implementation-ejb/NOTICE delete mode 100644 java/sca-contrib/modules/implementation-ejb/pom.xml delete mode 100644 java/sca-contrib/modules/implementation-ejb/src/main/java/org/apache/tuscany/sca/implementation/ejb/EJBImplementation.java delete mode 100644 java/sca-contrib/modules/implementation-ejb/src/main/java/org/apache/tuscany/sca/implementation/ejb/EJBImplementationFactory.java delete mode 100644 java/sca-contrib/modules/implementation-ejb/src/main/java/org/apache/tuscany/sca/implementation/ejb/impl/EJBImplementationFactoryImpl.java delete mode 100644 java/sca-contrib/modules/implementation-ejb/src/main/java/org/apache/tuscany/sca/implementation/ejb/impl/EJBImplementationImpl.java delete mode 100644 java/sca-contrib/modules/implementation-ejb/src/main/java/org/apache/tuscany/sca/implementation/ejb/xml/EJBImplementationProcessor.java delete mode 100644 java/sca-contrib/modules/implementation-ejb/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor delete mode 100644 java/sca-contrib/modules/implementation-ejb/src/main/resources/META-INF/services/org.apache.tuscany.sca.implementation.ejb.EJBImplementationFactory delete mode 100644 java/sca-contrib/modules/implementation-ejb/src/main/resources/impl-ejb-validation-messages.properties delete mode 100644 java/sca-contrib/modules/implementation-ejb/src/test/java/org/apache/tuscany/sca/implementation/ejb/xml/ReadTestCase.java delete mode 100644 java/sca-contrib/modules/implementation-ejb/src/test/java/org/apache/tuscany/sca/implementation/ejb/xml/WriteTestCase.java delete mode 100644 java/sca-contrib/modules/implementation-ejb/src/test/resources/org/apache/tuscany/sca/implementation/ejb/xml/TestEJB.composite delete mode 100644 java/sca-contrib/modules/implementation-java-xml-osoa/LICENSE delete mode 100644 java/sca-contrib/modules/implementation-java-xml-osoa/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/implementation-java-xml-osoa/NOTICE delete mode 100644 java/sca-contrib/modules/implementation-java-xml-osoa/pom.xml delete mode 100644 java/sca-contrib/modules/implementation-java-xml-osoa/src/main/java/org/apache/tuscany/sca/implementation/java/xml/osoa/JavaImplementationConstants.java delete mode 100644 java/sca-contrib/modules/implementation-java-xml-osoa/src/main/java/org/apache/tuscany/sca/implementation/java/xml/osoa/JavaImplementationProcessor.java delete mode 100644 java/sca-contrib/modules/implementation-java-xml-osoa/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor delete mode 100644 java/sca-contrib/modules/implementation-java-xml-osoa/src/main/resources/impl-javaxml-validation-messages.properties delete mode 100644 java/sca-contrib/modules/implementation-java-xml-osoa/src/test/java/calculator/AddService.java delete mode 100644 java/sca-contrib/modules/implementation-java-xml-osoa/src/test/java/calculator/AddServiceImpl.java delete mode 100644 java/sca-contrib/modules/implementation-java-xml-osoa/src/test/java/calculator/CalculatorService.java delete mode 100644 java/sca-contrib/modules/implementation-java-xml-osoa/src/test/java/calculator/CalculatorServiceImpl.java delete mode 100644 java/sca-contrib/modules/implementation-java-xml-osoa/src/test/java/calculator/DivideService.java delete mode 100644 java/sca-contrib/modules/implementation-java-xml-osoa/src/test/java/calculator/DivideServiceImpl.java delete mode 100644 java/sca-contrib/modules/implementation-java-xml-osoa/src/test/java/calculator/MultiplyService.java delete mode 100644 java/sca-contrib/modules/implementation-java-xml-osoa/src/test/java/calculator/MultiplyServiceImpl.java delete mode 100644 java/sca-contrib/modules/implementation-java-xml-osoa/src/test/java/calculator/SubtractService.java delete mode 100644 java/sca-contrib/modules/implementation-java-xml-osoa/src/test/java/calculator/SubtractServiceImpl.java delete mode 100644 java/sca-contrib/modules/implementation-java-xml-osoa/src/test/resources/org/apache/tuscany/sca/implementation/java/xml/Calculator.composite delete mode 100644 java/sca-contrib/modules/implementation-java-xml-osoa/src/test/resources/org/apache/tuscany/sca/implementation/java/xml/definitions.xml delete mode 100644 java/sca-contrib/modules/implementation-java-xml-osoa/src/test/resources/org/apache/tuscany/sca/implementation/java/xml/definitions_with_policysets.xml delete mode 100644 java/sca-contrib/modules/implementation-node-runtime/LICENSE delete mode 100644 java/sca-contrib/modules/implementation-node-runtime/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/implementation-node-runtime/NOTICE delete mode 100644 java/sca-contrib/modules/implementation-node-runtime/pom.xml delete mode 100644 java/sca-contrib/modules/implementation-node-runtime/src/main/java/org/apache/tuscany/sca/implementation/node/launcher/NodeImplementationDaemonBootstrap.java delete mode 100644 java/sca-contrib/modules/implementation-node-runtime/src/main/java/org/apache/tuscany/sca/implementation/node/launcher/NodeImplementationLauncherBootstrap.java delete mode 100644 java/sca-contrib/modules/implementation-node-runtime/src/main/java/org/apache/tuscany/sca/implementation/node/launcher/NodeImplementationLauncherUtil.java delete mode 100644 java/sca-contrib/modules/implementation-node-runtime/src/main/java/org/apache/tuscany/sca/implementation/node/provider/NodeImplementationInvoker.java delete mode 100644 java/sca-contrib/modules/implementation-node-runtime/src/main/java/org/apache/tuscany/sca/implementation/node/provider/NodeImplementationProvider.java delete mode 100644 java/sca-contrib/modules/implementation-node-runtime/src/main/java/org/apache/tuscany/sca/implementation/node/provider/NodeImplementationProviderFactory.java delete mode 100644 java/sca-contrib/modules/implementation-node-runtime/src/main/java/org/apache/tuscany/sca/implementation/node/webapp/NodeWebAppRequestDispatcher.java delete mode 100644 java/sca-contrib/modules/implementation-node-runtime/src/main/java/org/apache/tuscany/sca/implementation/node/webapp/NodeWebAppServletHost.java delete mode 100644 java/sca-contrib/modules/implementation-node-runtime/src/main/resources/META-INF/services/org.apache.tuscany.sca.provider.ImplementationProviderFactory delete mode 100644 java/sca-contrib/modules/implementation-node-runtime/src/test/java/org/apache/tuscany/sca/implementation/node/NodeImplementationTestCase.java delete mode 100644 java/sca-contrib/modules/implementation-node-runtime/src/test/resources/TestComposite.composite delete mode 100644 java/sca-contrib/modules/implementation-node-runtime/src/test/resources/TestNode.composite delete mode 100644 java/sca-contrib/modules/implementation-node/LICENSE delete mode 100644 java/sca-contrib/modules/implementation-node/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/implementation-node/NOTICE delete mode 100644 java/sca-contrib/modules/implementation-node/pom.xml delete mode 100644 java/sca-contrib/modules/implementation-node/src/main/java/org/apache/tuscany/sca/implementation/node/ConfiguredNodeImplementation.java delete mode 100644 java/sca-contrib/modules/implementation-node/src/main/java/org/apache/tuscany/sca/implementation/node/NodeImplementation.java delete mode 100644 java/sca-contrib/modules/implementation-node/src/main/java/org/apache/tuscany/sca/implementation/node/NodeImplementationFactory.java delete mode 100644 java/sca-contrib/modules/implementation-node/src/main/java/org/apache/tuscany/sca/implementation/node/builder/impl/NodeCompositeBuilderImpl.java delete mode 100644 java/sca-contrib/modules/implementation-node/src/main/java/org/apache/tuscany/sca/implementation/node/impl/ConfiguredNodeImplementationImpl.java delete mode 100644 java/sca-contrib/modules/implementation-node/src/main/java/org/apache/tuscany/sca/implementation/node/impl/NodeImplementationFactoryImpl.java delete mode 100644 java/sca-contrib/modules/implementation-node/src/main/java/org/apache/tuscany/sca/implementation/node/impl/NodeImplementationImpl.java delete mode 100644 java/sca-contrib/modules/implementation-node/src/main/java/org/apache/tuscany/sca/implementation/node/xml/ConfiguredNodeImplementationProcessor.java delete mode 100644 java/sca-contrib/modules/implementation-node/src/main/java/org/apache/tuscany/sca/implementation/node/xml/NodeImplementationProcessor.java delete mode 100644 java/sca-contrib/modules/implementation-node/src/main/resources/META-INF/services/org.apache.tuscany.sca.assembly.builder.CompositeBuilder delete mode 100644 java/sca-contrib/modules/implementation-node/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor delete mode 100644 java/sca-contrib/modules/implementation-node/src/main/resources/META-INF/services/org.apache.tuscany.sca.implementation.node.NodeImplementationFactory delete mode 100644 java/sca-contrib/modules/implementation-node/src/test/java/org/apache/tuscany/sca/implementation/node/builder/impl/CalculateBindingURITestCase.java delete mode 100644 java/sca-contrib/modules/implementation-node/src/test/java/org/apache/tuscany/sca/implementation/node/xml/ReadTestCase.java delete mode 100644 java/sca-contrib/modules/implementation-node/src/test/java/org/apache/tuscany/sca/implementation/node/xml/WriteTestCase.java delete mode 100644 java/sca-contrib/modules/implementation-node/src/test/resources/org/apache/tuscany/sca/implementation/node/xml/TestComposite.composite delete mode 100644 java/sca-contrib/modules/implementation-node/src/test/resources/org/apache/tuscany/sca/implementation/node/xml/TestNode.composite delete mode 100644 java/sca-contrib/modules/implementation-osgi/LICENSE delete mode 100644 java/sca-contrib/modules/implementation-osgi/NOTICE delete mode 100644 java/sca-contrib/modules/implementation-osgi/pom.xml delete mode 100644 java/sca-contrib/modules/implementation-osgi/src/main/java/org/apache/tuscany/sca/implementation/osgi/OSGiImplementation.java delete mode 100644 java/sca-contrib/modules/implementation-osgi/src/main/java/org/apache/tuscany/sca/implementation/osgi/context/OSGiAnnotations.java delete mode 100644 java/sca-contrib/modules/implementation-osgi/src/main/java/org/apache/tuscany/sca/implementation/osgi/context/OSGiPropertyInjector.java delete mode 100644 java/sca-contrib/modules/implementation-osgi/src/main/java/org/apache/tuscany/sca/implementation/osgi/context/OSGiPropertyValueObjectFactory.java delete mode 100644 java/sca-contrib/modules/implementation-osgi/src/main/java/org/apache/tuscany/sca/implementation/osgi/impl/OSGiImplementationImpl.java delete mode 100644 java/sca-contrib/modules/implementation-osgi/src/main/java/org/apache/tuscany/sca/implementation/osgi/runtime/OSGiImplementationProvider.java delete mode 100644 java/sca-contrib/modules/implementation-osgi/src/main/java/org/apache/tuscany/sca/implementation/osgi/runtime/OSGiImplementationProviderFactory.java delete mode 100644 java/sca-contrib/modules/implementation-osgi/src/main/java/org/apache/tuscany/sca/implementation/osgi/runtime/OSGiInstanceWrapper.java delete mode 100644 java/sca-contrib/modules/implementation-osgi/src/main/java/org/apache/tuscany/sca/implementation/osgi/runtime/OSGiRemotableInvoker.java delete mode 100644 java/sca-contrib/modules/implementation-osgi/src/main/java/org/apache/tuscany/sca/implementation/osgi/runtime/OSGiTargetInvoker.java delete mode 100644 java/sca-contrib/modules/implementation-osgi/src/main/java/org/apache/tuscany/sca/implementation/osgi/xml/OSGiImplementationProcessor.java delete mode 100644 java/sca-contrib/modules/implementation-osgi/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor delete mode 100644 java/sca-contrib/modules/implementation-osgi/src/main/resources/META-INF/services/org.apache.tuscany.sca.provider.ImplementationProviderFactory delete mode 100644 java/sca-contrib/modules/implementation-osgi/src/main/resources/impl-osgi-validation-messages.properties delete mode 100644 java/sca-contrib/modules/implementation-osgi/src/test/java/org/apache/tuscany/sca/implementation/osgi/runtime/OSGiPropertyTestCase.java delete mode 100644 java/sca-contrib/modules/implementation-osgi/src/test/java/org/apache/tuscany/sca/implementation/osgi/runtime/OSGiTestCase.java delete mode 100644 java/sca-contrib/modules/implementation-osgi/src/test/java/org/apache/tuscany/sca/implementation/osgi/test/OSGiTestBundles.java delete mode 100644 java/sca-contrib/modules/implementation-osgi/src/test/java/org/apache/tuscany/sca/implementation/osgi/test/OSGiTestImpl.java delete mode 100644 java/sca-contrib/modules/implementation-osgi/src/test/java/org/apache/tuscany/sca/implementation/osgi/test/OSGiTestInterface.java delete mode 100644 java/sca-contrib/modules/implementation-osgi/src/test/java/org/apache/tuscany/sca/implementation/osgi/test/OSGiTestWithPropertyImpl.java delete mode 100644 java/sca-contrib/modules/implementation-osgi/src/test/java/org/apache/tuscany/sca/implementation/osgi/xml/OSGiReadImplTestCase.java delete mode 100644 java/sca-contrib/modules/implementation-osgi/src/test/java/org/apache/tuscany/sca/implementation/osgi/xml/TestModelResolver.java delete mode 100644 java/sca-contrib/modules/implementation-osgi/src/test/resources/OSGiTestService.componentType delete mode 100644 java/sca-contrib/modules/implementation-osgi/src/test/resources/osgiproptest.composite delete mode 100644 java/sca-contrib/modules/implementation-osgi/src/test/resources/osgitest.composite delete mode 100644 java/sca-contrib/modules/implementation-pojo/LICENSE delete mode 100644 java/sca-contrib/modules/implementation-pojo/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/implementation-pojo/NOTICE delete mode 100644 java/sca-contrib/modules/implementation-pojo/pom.xml delete mode 100644 java/sca-contrib/modules/implementation-pojo/src/main/java/org/apache/tuscany/sca/pojo/JavaConstructor.java delete mode 100644 java/sca-contrib/modules/implementation-pojo/src/main/java/org/apache/tuscany/sca/pojo/JavaElement.java delete mode 100644 java/sca-contrib/modules/implementation-pojo/src/main/java/org/apache/tuscany/sca/pojo/JavaFactory.java delete mode 100644 java/sca-contrib/modules/implementation-pojo/src/main/java/org/apache/tuscany/sca/pojo/JavaParameter.java delete mode 100644 java/sca-contrib/modules/implementation-pojo/src/main/java/org/apache/tuscany/sca/pojo/JavaResource.java delete mode 100644 java/sca-contrib/modules/implementation-pojo/src/main/java/org/apache/tuscany/sca/pojo/impl/JavaConstructorImpl.java delete mode 100644 java/sca-contrib/modules/implementation-pojo/src/main/java/org/apache/tuscany/sca/pojo/impl/JavaElementImpl.java delete mode 100644 java/sca-contrib/modules/implementation-pojo/src/main/java/org/apache/tuscany/sca/pojo/impl/JavaFactoryImpl.java delete mode 100644 java/sca-contrib/modules/implementation-pojo/src/main/java/org/apache/tuscany/sca/pojo/impl/JavaParameterImpl.java delete mode 100644 java/sca-contrib/modules/implementation-pojo/src/main/java/org/apache/tuscany/sca/pojo/impl/JavaResourceImpl.java delete mode 100644 java/sca-contrib/modules/implementation-pojo/src/main/resources/META-INF/services/org.apache.tuscany.sca.pojo.JavaFactory delete mode 100644 java/sca-contrib/modules/implementation-resource-runtime/LICENSE delete mode 100644 java/sca-contrib/modules/implementation-resource-runtime/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/implementation-resource-runtime/NOTICE delete mode 100644 java/sca-contrib/modules/implementation-resource-runtime/pom.xml delete mode 100644 java/sca-contrib/modules/implementation-resource-runtime/src/main/java/org/apache/tuscany/sca/implementation/resource/provider/GetResourceInvoker.java delete mode 100644 java/sca-contrib/modules/implementation-resource-runtime/src/main/java/org/apache/tuscany/sca/implementation/resource/provider/ResourceImplementationProvider.java delete mode 100644 java/sca-contrib/modules/implementation-resource-runtime/src/main/java/org/apache/tuscany/sca/implementation/resource/provider/ResourceImplementationProviderFactory.java delete mode 100644 java/sca-contrib/modules/implementation-resource-runtime/src/main/resources/META-INF/services/org.apache.tuscany.sca.provider.ImplementationProviderFactory delete mode 100644 java/sca-contrib/modules/implementation-resource-runtime/src/test/java/org/apache/tuscany/sca/implementation/resource/ResourceImplementationTestCase.java delete mode 100644 java/sca-contrib/modules/implementation-resource-runtime/src/test/resources/content/test.html delete mode 100644 java/sca-contrib/modules/implementation-resource-runtime/src/test/resources/resource.composite delete mode 100644 java/sca-contrib/modules/implementation-resource/LICENSE delete mode 100644 java/sca-contrib/modules/implementation-resource/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/implementation-resource/NOTICE delete mode 100644 java/sca-contrib/modules/implementation-resource/pom.xml delete mode 100644 java/sca-contrib/modules/implementation-resource/src/main/java/org/apache/tuscany/sca/implementation/resource/Resource.java delete mode 100644 java/sca-contrib/modules/implementation-resource/src/main/java/org/apache/tuscany/sca/implementation/resource/ResourceImplementation.java delete mode 100644 java/sca-contrib/modules/implementation-resource/src/main/java/org/apache/tuscany/sca/implementation/resource/ResourceImplementationFactory.java delete mode 100644 java/sca-contrib/modules/implementation-resource/src/main/java/org/apache/tuscany/sca/implementation/resource/impl/ResourceImplementationFactoryImpl.java delete mode 100644 java/sca-contrib/modules/implementation-resource/src/main/java/org/apache/tuscany/sca/implementation/resource/impl/ResourceImplementationImpl.java delete mode 100644 java/sca-contrib/modules/implementation-resource/src/main/java/org/apache/tuscany/sca/implementation/resource/impl/ResourceImplementationProcessor.java delete mode 100644 java/sca-contrib/modules/implementation-resource/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor delete mode 100644 java/sca-contrib/modules/implementation-resource/src/main/resources/META-INF/services/org.apache.tuscany.sca.implementation.resource.ResourceImplementationFactory delete mode 100644 java/sca-contrib/modules/implementation-resource/src/main/resources/impl-resource-validation-messages.properties delete mode 100644 java/sca-contrib/modules/implementation-script-runtime/LICENSE delete mode 100644 java/sca-contrib/modules/implementation-script-runtime/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/implementation-script-runtime/NOTICE delete mode 100644 java/sca-contrib/modules/implementation-script-runtime/pom.xml delete mode 100644 java/sca-contrib/modules/implementation-script-runtime/src/main/java/org/apache/tuscany/sca/implementation/script/engines/TuscanyJRubyScriptEngine.java delete mode 100644 java/sca-contrib/modules/implementation-script-runtime/src/main/java/org/apache/tuscany/sca/implementation/script/provider/ScriptImplementationProvider.java delete mode 100644 java/sca-contrib/modules/implementation-script-runtime/src/main/java/org/apache/tuscany/sca/implementation/script/provider/ScriptImplementationProviderFactory.java delete mode 100644 java/sca-contrib/modules/implementation-script-runtime/src/main/java/org/apache/tuscany/sca/implementation/script/provider/ScriptInvoker.java delete mode 100644 java/sca-contrib/modules/implementation-script-runtime/src/main/java/org/apache/tuscany/sca/implementation/script/provider/ScriptPropertyFactory.java delete mode 100644 java/sca-contrib/modules/implementation-script-runtime/src/main/resources/META-INF/services/org.apache.tuscany.sca.provider.ImplementationProviderFactory delete mode 100644 java/sca-contrib/modules/implementation-script-runtime/src/test/java/org/apache/tuscany/sca/implementation/script/itests/AbstractSCATestCase.java delete mode 100644 java/sca-contrib/modules/implementation-script-runtime/src/test/java/org/apache/tuscany/sca/implementation/script/itests/helloworld/AbstractHelloWorldTestCase.java delete mode 100644 java/sca-contrib/modules/implementation-script-runtime/src/test/java/org/apache/tuscany/sca/implementation/script/itests/helloworld/GroovyHelloWorldTestCase.java delete mode 100644 java/sca-contrib/modules/implementation-script-runtime/src/test/java/org/apache/tuscany/sca/implementation/script/itests/helloworld/HelloWorld.java delete mode 100644 java/sca-contrib/modules/implementation-script-runtime/src/test/java/org/apache/tuscany/sca/implementation/script/itests/helloworld/HelloWorldProxy.java delete mode 100644 java/sca-contrib/modules/implementation-script-runtime/src/test/java/org/apache/tuscany/sca/implementation/script/itests/helloworld/JRubyHelloWorldTestCase.java delete mode 100644 java/sca-contrib/modules/implementation-script-runtime/src/test/java/org/apache/tuscany/sca/implementation/script/itests/helloworld/JavaScriptHelloWorldTestCase.java delete mode 100644 java/sca-contrib/modules/implementation-script-runtime/src/test/java/org/apache/tuscany/sca/implementation/script/itests/helloworld/JythonHelloWorldTestCase.java delete mode 100644 java/sca-contrib/modules/implementation-script-runtime/src/test/java/org/apache/tuscany/sca/implementation/script/itests/properties/AbstractHelloWorldTestCase.java delete mode 100644 java/sca-contrib/modules/implementation-script-runtime/src/test/java/org/apache/tuscany/sca/implementation/script/itests/properties/GroovyHelloWorldTestCase.java delete mode 100644 java/sca-contrib/modules/implementation-script-runtime/src/test/java/org/apache/tuscany/sca/implementation/script/itests/properties/HelloWorld.java delete mode 100644 java/sca-contrib/modules/implementation-script-runtime/src/test/java/org/apache/tuscany/sca/implementation/script/itests/properties/HelloWorldProxy.java delete mode 100644 java/sca-contrib/modules/implementation-script-runtime/src/test/java/org/apache/tuscany/sca/implementation/script/itests/properties/JRubyHelloWorldTestCase.java delete mode 100644 java/sca-contrib/modules/implementation-script-runtime/src/test/java/org/apache/tuscany/sca/implementation/script/itests/properties/JavaScriptHelloWorldTestCase.java delete mode 100644 java/sca-contrib/modules/implementation-script-runtime/src/test/java/org/apache/tuscany/sca/implementation/script/itests/properties/JythonHelloWorldTestCase.java delete mode 100644 java/sca-contrib/modules/implementation-script-runtime/src/test/java/org/apache/tuscany/sca/implementation/script/itests/references/GroovyReferenceTestCase.java delete mode 100644 java/sca-contrib/modules/implementation-script-runtime/src/test/java/org/apache/tuscany/sca/implementation/script/itests/references/HelloWorldTarget.java delete mode 100644 java/sca-contrib/modules/implementation-script-runtime/src/test/java/org/apache/tuscany/sca/implementation/script/itests/references/JRubyReferenceTestCase.java delete mode 100644 java/sca-contrib/modules/implementation-script-runtime/src/test/java/org/apache/tuscany/sca/implementation/script/itests/references/JavaScriptReferenceTestCase.java delete mode 100644 java/sca-contrib/modules/implementation-script-runtime/src/test/java/org/apache/tuscany/sca/implementation/script/itests/references/JythonReferenceTestCase.java delete mode 100644 java/sca-contrib/modules/implementation-script-runtime/src/test/resources/org/apache/tuscany/sca/implementation/script/itests/helloworld/GroovyHelloWorld.composite delete mode 100644 java/sca-contrib/modules/implementation-script-runtime/src/test/resources/org/apache/tuscany/sca/implementation/script/itests/helloworld/JRubyHelloWorld.composite delete mode 100644 java/sca-contrib/modules/implementation-script-runtime/src/test/resources/org/apache/tuscany/sca/implementation/script/itests/helloworld/JavaScriptHelloWorld.composite delete mode 100644 java/sca-contrib/modules/implementation-script-runtime/src/test/resources/org/apache/tuscany/sca/implementation/script/itests/helloworld/JythonHelloWorld.composite delete mode 100644 java/sca-contrib/modules/implementation-script-runtime/src/test/resources/org/apache/tuscany/sca/implementation/script/itests/helloworld/helloworld.componentType delete mode 100644 java/sca-contrib/modules/implementation-script-runtime/src/test/resources/org/apache/tuscany/sca/implementation/script/itests/helloworld/helloworld.groovy delete mode 100644 java/sca-contrib/modules/implementation-script-runtime/src/test/resources/org/apache/tuscany/sca/implementation/script/itests/helloworld/helloworld.js delete mode 100644 java/sca-contrib/modules/implementation-script-runtime/src/test/resources/org/apache/tuscany/sca/implementation/script/itests/helloworld/helloworld.py delete mode 100644 java/sca-contrib/modules/implementation-script-runtime/src/test/resources/org/apache/tuscany/sca/implementation/script/itests/helloworld/helloworld.rb delete mode 100644 java/sca-contrib/modules/implementation-script-runtime/src/test/resources/org/apache/tuscany/sca/implementation/script/itests/properties/GroovyHelloWorld.composite delete mode 100644 java/sca-contrib/modules/implementation-script-runtime/src/test/resources/org/apache/tuscany/sca/implementation/script/itests/properties/JRubyHelloWorld.composite delete mode 100644 java/sca-contrib/modules/implementation-script-runtime/src/test/resources/org/apache/tuscany/sca/implementation/script/itests/properties/JavaScriptHelloWorld.composite delete mode 100644 java/sca-contrib/modules/implementation-script-runtime/src/test/resources/org/apache/tuscany/sca/implementation/script/itests/properties/JythonHelloWorld.composite delete mode 100644 java/sca-contrib/modules/implementation-script-runtime/src/test/resources/org/apache/tuscany/sca/implementation/script/itests/properties/helloworld.componentType delete mode 100644 java/sca-contrib/modules/implementation-script-runtime/src/test/resources/org/apache/tuscany/sca/implementation/script/itests/properties/helloworld.groovy delete mode 100644 java/sca-contrib/modules/implementation-script-runtime/src/test/resources/org/apache/tuscany/sca/implementation/script/itests/properties/helloworld.js delete mode 100644 java/sca-contrib/modules/implementation-script-runtime/src/test/resources/org/apache/tuscany/sca/implementation/script/itests/properties/helloworld.py delete mode 100644 java/sca-contrib/modules/implementation-script-runtime/src/test/resources/org/apache/tuscany/sca/implementation/script/itests/properties/helloworld.rb delete mode 100644 java/sca-contrib/modules/implementation-script-runtime/src/test/resources/org/apache/tuscany/sca/implementation/script/itests/references/GroovyReference.composite delete mode 100644 java/sca-contrib/modules/implementation-script-runtime/src/test/resources/org/apache/tuscany/sca/implementation/script/itests/references/JRubyReference.composite delete mode 100644 java/sca-contrib/modules/implementation-script-runtime/src/test/resources/org/apache/tuscany/sca/implementation/script/itests/references/JavaScriptReference.composite delete mode 100644 java/sca-contrib/modules/implementation-script-runtime/src/test/resources/org/apache/tuscany/sca/implementation/script/itests/references/JythonReference.composite delete mode 100644 java/sca-contrib/modules/implementation-script-runtime/src/test/resources/org/apache/tuscany/sca/implementation/script/itests/references/reference.componentType delete mode 100644 java/sca-contrib/modules/implementation-script-runtime/src/test/resources/org/apache/tuscany/sca/implementation/script/itests/references/reference.groovy delete mode 100644 java/sca-contrib/modules/implementation-script-runtime/src/test/resources/org/apache/tuscany/sca/implementation/script/itests/references/reference.js delete mode 100644 java/sca-contrib/modules/implementation-script-runtime/src/test/resources/org/apache/tuscany/sca/implementation/script/itests/references/reference.py delete mode 100644 java/sca-contrib/modules/implementation-script-runtime/src/test/resources/org/apache/tuscany/sca/implementation/script/itests/references/reference.rb delete mode 100644 java/sca-contrib/modules/implementation-script/LICENSE delete mode 100644 java/sca-contrib/modules/implementation-script/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/implementation-script/NOTICE delete mode 100644 java/sca-contrib/modules/implementation-script/pom.xml delete mode 100644 java/sca-contrib/modules/implementation-script/src/main/java/org/apache/tuscany/sca/implementation/script/ScriptImplementation.java delete mode 100644 java/sca-contrib/modules/implementation-script/src/main/java/org/apache/tuscany/sca/implementation/script/ScriptImplementationProcessor.java delete mode 100644 java/sca-contrib/modules/implementation-script/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor delete mode 100644 java/sca-contrib/modules/implementation-spring-runtime/LICENSE delete mode 100644 java/sca-contrib/modules/implementation-spring-runtime/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/implementation-spring-runtime/NOTICE delete mode 100644 java/sca-contrib/modules/implementation-spring-runtime/pom.xml delete mode 100644 java/sca-contrib/modules/implementation-spring-runtime/src/main/java/org/apache/tuscany/sca/implementation/spring/impl/SCAApplicationContext.java delete mode 100644 java/sca-contrib/modules/implementation-spring-runtime/src/main/java/org/apache/tuscany/sca/implementation/spring/impl/SCANamespaceHandlerResolver.java delete mode 100644 java/sca-contrib/modules/implementation-spring-runtime/src/main/java/org/apache/tuscany/sca/implementation/spring/impl/SCAParentApplicationContext.java delete mode 100644 java/sca-contrib/modules/implementation-spring-runtime/src/main/java/org/apache/tuscany/sca/implementation/spring/impl/ScaNamespaceHandler.java delete mode 100644 java/sca-contrib/modules/implementation-spring-runtime/src/main/java/org/apache/tuscany/sca/implementation/spring/impl/ScaPropertyBeanDefinitionParser.java delete mode 100644 java/sca-contrib/modules/implementation-spring-runtime/src/main/java/org/apache/tuscany/sca/implementation/spring/impl/ScaReferenceBeanDefinitionParser.java delete mode 100644 java/sca-contrib/modules/implementation-spring-runtime/src/main/java/org/apache/tuscany/sca/implementation/spring/impl/ScaServiceBeanDefinitionParser.java delete mode 100644 java/sca-contrib/modules/implementation-spring-runtime/src/main/java/org/apache/tuscany/sca/implementation/spring/provider/SpringImplementationProvider.java delete mode 100644 java/sca-contrib/modules/implementation-spring-runtime/src/main/java/org/apache/tuscany/sca/implementation/spring/provider/SpringImplementationProviderFactory.java delete mode 100644 java/sca-contrib/modules/implementation-spring-runtime/src/main/java/org/apache/tuscany/sca/implementation/spring/provider/SpringInvocationException.java delete mode 100644 java/sca-contrib/modules/implementation-spring-runtime/src/main/java/org/apache/tuscany/sca/implementation/spring/provider/SpringInvoker.java delete mode 100644 java/sca-contrib/modules/implementation-spring-runtime/src/main/resources/META-INF/services/org.apache.tuscany.sca.provider.ImplementationProviderFactory delete mode 100644 java/sca-contrib/modules/implementation-spring-runtime/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/AbstractSCATestCase.java delete mode 100644 java/sca-contrib/modules/implementation-spring-runtime/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/helloworld/AbstractHelloWorldTestCase.java delete mode 100644 java/sca-contrib/modules/implementation-spring-runtime/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/helloworld/HelloWorld.java delete mode 100644 java/sca-contrib/modules/implementation-spring-runtime/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/helloworld/HelloWorldImpl.java delete mode 100644 java/sca-contrib/modules/implementation-spring-runtime/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/helloworld/HelloWorldProxy.java delete mode 100644 java/sca-contrib/modules/implementation-spring-runtime/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/helloworld/SpringContextAccessTestCase.java delete mode 100644 java/sca-contrib/modules/implementation-spring-runtime/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/helloworld/SpringExplicitHelloWorldTestCase.java delete mode 100644 java/sca-contrib/modules/implementation-spring-runtime/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/helloworld/SpringExplicitReferenceTestCase.java delete mode 100644 java/sca-contrib/modules/implementation-spring-runtime/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/helloworld/SpringHelloWorldTestCase.java delete mode 100644 java/sca-contrib/modules/implementation-spring-runtime/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/helloworld/SpringImplicitReferenceTestCase.java delete mode 100644 java/sca-contrib/modules/implementation-spring-runtime/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/helloworld/SpringImportHelloWorldTestCase.java delete mode 100644 java/sca-contrib/modules/implementation-spring-runtime/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/helloworld/SpringSCAPropertyTestCase.java delete mode 100644 java/sca-contrib/modules/implementation-spring-runtime/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/mock/TestBean.java delete mode 100644 java/sca-contrib/modules/implementation-spring-runtime/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/mock/TestBeanImpl.java delete mode 100644 java/sca-contrib/modules/implementation-spring-runtime/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/mock/TestContextAccessBean.java delete mode 100644 java/sca-contrib/modules/implementation-spring-runtime/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/mock/TestHelloWorldBean.java delete mode 100644 java/sca-contrib/modules/implementation-spring-runtime/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/mock/TestReference.java delete mode 100644 java/sca-contrib/modules/implementation-spring-runtime/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/mock/TestReferenceBean.java delete mode 100644 java/sca-contrib/modules/implementation-spring-runtime/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/mock/TestSCAPropertyBean.java delete mode 100644 java/sca-contrib/modules/implementation-spring-runtime/src/test/resources/META-INF/sca/SpringContextAccess-context.xml delete mode 100644 java/sca-contrib/modules/implementation-spring-runtime/src/test/resources/META-INF/sca/SpringExplicitHelloWorld-context.xml delete mode 100644 java/sca-contrib/modules/implementation-spring-runtime/src/test/resources/META-INF/sca/SpringExplicitReference-context.xml delete mode 100644 java/sca-contrib/modules/implementation-spring-runtime/src/test/resources/META-INF/sca/SpringHelloWorld-Imported-context.xml delete mode 100644 java/sca-contrib/modules/implementation-spring-runtime/src/test/resources/META-INF/sca/SpringHelloWorld-context.xml delete mode 100644 java/sca-contrib/modules/implementation-spring-runtime/src/test/resources/META-INF/sca/SpringImplicitReference-context.xml delete mode 100644 java/sca-contrib/modules/implementation-spring-runtime/src/test/resources/META-INF/sca/SpringImportHelloWorld-context.xml delete mode 100644 java/sca-contrib/modules/implementation-spring-runtime/src/test/resources/META-INF/sca/testReferenceContext.xml delete mode 100644 java/sca-contrib/modules/implementation-spring-runtime/src/test/resources/META-INF/sca/testServiceContext.xml delete mode 100644 java/sca-contrib/modules/implementation-spring-runtime/src/test/resources/SpringHelloWorld-Imported-context.xml delete mode 100644 java/sca-contrib/modules/implementation-spring-runtime/src/test/resources/org/apache/tuscany/sca/implementation/spring/itests/helloworld/SpringContextAccess.composite delete mode 100644 java/sca-contrib/modules/implementation-spring-runtime/src/test/resources/org/apache/tuscany/sca/implementation/spring/itests/helloworld/SpringExplicitHelloWorld.composite delete mode 100644 java/sca-contrib/modules/implementation-spring-runtime/src/test/resources/org/apache/tuscany/sca/implementation/spring/itests/helloworld/SpringExplicitReference.composite delete mode 100644 java/sca-contrib/modules/implementation-spring-runtime/src/test/resources/org/apache/tuscany/sca/implementation/spring/itests/helloworld/SpringHelloWorld.composite delete mode 100644 java/sca-contrib/modules/implementation-spring-runtime/src/test/resources/org/apache/tuscany/sca/implementation/spring/itests/helloworld/SpringImplicitReference.composite delete mode 100644 java/sca-contrib/modules/implementation-spring-runtime/src/test/resources/org/apache/tuscany/sca/implementation/spring/itests/helloworld/SpringImportHelloWorld.composite delete mode 100644 java/sca-contrib/modules/implementation-spring-runtime/src/test/resources/org/apache/tuscany/sca/implementation/spring/itests/helloworld/SpringSCAProperty.composite delete mode 100644 java/sca-contrib/modules/implementation-spring-runtime/src/test/resources/spring/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/implementation-spring-runtime/src/test/resources/spring/META-INF/spring/SpringSCAProperty-context.xml delete mode 100644 java/sca-contrib/modules/implementation-spring-runtime/src/test/resources/test.xml delete mode 100644 java/sca-contrib/modules/implementation-spring/LICENSE delete mode 100644 java/sca-contrib/modules/implementation-spring/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/implementation-spring/NOTICE delete mode 100644 java/sca-contrib/modules/implementation-spring/pom.xml delete mode 100644 java/sca-contrib/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/SpringBeanNotFoundException.java delete mode 100644 java/sca-contrib/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/SpringImplementation.java delete mode 100644 java/sca-contrib/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/SpringImplementationProcessor.java delete mode 100644 java/sca-contrib/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/processor/ComponentNameAnnotationProcessor.java delete mode 100644 java/sca-contrib/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/processor/ConstructorAnnotationProcessor.java delete mode 100644 java/sca-contrib/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/processor/InitDestroyAnnotationProcessor.java delete mode 100644 java/sca-contrib/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/processor/PropertyAnnotationProcessor.java delete mode 100644 java/sca-contrib/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/processor/ReferenceAnnotationProcessor.java delete mode 100644 java/sca-contrib/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/xml/Constants.java delete mode 100644 java/sca-contrib/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/xml/SpringBeanElement.java delete mode 100644 java/sca-contrib/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/xml/SpringBeanIntrospector.java delete mode 100644 java/sca-contrib/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/xml/SpringConstructorArgElement.java delete mode 100644 java/sca-contrib/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/xml/SpringPropertyElement.java delete mode 100644 java/sca-contrib/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/xml/SpringSCAPropertyElement.java delete mode 100644 java/sca-contrib/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/xml/SpringSCAReferenceElement.java delete mode 100644 java/sca-contrib/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/xml/SpringSCAServiceElement.java delete mode 100644 java/sca-contrib/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/xml/SpringXMLComponentTypeLoader.java delete mode 100644 java/sca-contrib/modules/implementation-spring/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor delete mode 100644 java/sca-contrib/modules/implementation-spring/src/main/resources/META-INF/spring.handlers delete mode 100644 java/sca-contrib/modules/implementation-spring/src/main/resources/META-INF/spring.schemas delete mode 100644 java/sca-contrib/modules/implementation-spring/src/main/resources/impl-spring-validation-messages.properties delete mode 100644 java/sca-contrib/modules/implementation-spring/src/main/resources/org/springframework/sca/xml/spring-sca.xsd delete mode 100644 java/sca-contrib/modules/implementation-widget-runtime/LICENSE delete mode 100644 java/sca-contrib/modules/implementation-widget-runtime/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/implementation-widget-runtime/NOTICE delete mode 100644 java/sca-contrib/modules/implementation-widget-runtime/pom.xml delete mode 100644 java/sca-contrib/modules/implementation-widget-runtime/src/main/java/org/apache/tuscany/sca/implementation/widget/provider/WidgetImplementationInvoker.java delete mode 100644 java/sca-contrib/modules/implementation-widget-runtime/src/main/java/org/apache/tuscany/sca/implementation/widget/provider/WidgetImplementationProvider.java delete mode 100644 java/sca-contrib/modules/implementation-widget-runtime/src/main/java/org/apache/tuscany/sca/implementation/widget/provider/WidgetImplementationProviderFactory.java delete mode 100644 java/sca-contrib/modules/implementation-widget-runtime/src/main/java/org/apache/tuscany/sca/implementation/widget/provider/WidgetProxyHelper.java delete mode 100644 java/sca-contrib/modules/implementation-widget-runtime/src/main/resources/META-INF/services/org.apache.tuscany.sca.provider.ImplementationProviderFactory delete mode 100644 java/sca-contrib/modules/implementation-widget-runtime/src/main/resources/atomModel.js delete mode 100644 java/sca-contrib/modules/implementation-widget-runtime/src/main/resources/binding-atom.js delete mode 100644 java/sca-contrib/modules/implementation-widget-runtime/src/main/resources/binding-http.js delete mode 100644 java/sca-contrib/modules/implementation-widget-runtime/src/main/resources/binding-jsonrpc.js delete mode 100644 java/sca-contrib/modules/implementation-widget-runtime/src/test/java/org/apache/tuscany/sca/implementation/widget/WidgetImplementationTestCase.java delete mode 100644 java/sca-contrib/modules/implementation-widget-runtime/src/test/java/store/Catalog.java delete mode 100644 java/sca-contrib/modules/implementation-widget-runtime/src/test/java/store/CatalogImpl.java delete mode 100644 java/sca-contrib/modules/implementation-widget-runtime/src/test/java/store/ShoppingCartImpl.java delete mode 100644 java/sca-contrib/modules/implementation-widget-runtime/src/test/resources/content/atomModel.js delete mode 100644 java/sca-contrib/modules/implementation-widget-runtime/src/test/resources/content/store.html delete mode 100644 java/sca-contrib/modules/implementation-widget-runtime/src/test/resources/content/storeJS.html delete mode 100644 java/sca-contrib/modules/implementation-widget-runtime/src/test/resources/content/unitTests.html delete mode 100644 java/sca-contrib/modules/implementation-widget-runtime/src/test/resources/widget.composite delete mode 100644 java/sca-contrib/modules/implementation-widget-runtime/src/test/resources/widgetJS.composite delete mode 100644 java/sca-contrib/modules/implementation-widget/LICENSE delete mode 100644 java/sca-contrib/modules/implementation-widget/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/implementation-widget/NOTICE delete mode 100644 java/sca-contrib/modules/implementation-widget/pom.xml delete mode 100644 java/sca-contrib/modules/implementation-widget/src/main/java/org/apache/tuscany/sca/implementation/widget/Widget.java delete mode 100644 java/sca-contrib/modules/implementation-widget/src/main/java/org/apache/tuscany/sca/implementation/widget/WidgetImplementation.java delete mode 100644 java/sca-contrib/modules/implementation-widget/src/main/java/org/apache/tuscany/sca/implementation/widget/WidgetImplementationFactory.java delete mode 100644 java/sca-contrib/modules/implementation-widget/src/main/java/org/apache/tuscany/sca/implementation/widget/WidgetImplementationIntrospector.java delete mode 100644 java/sca-contrib/modules/implementation-widget/src/main/java/org/apache/tuscany/sca/implementation/widget/WidgetImplementationProcessor.java delete mode 100644 java/sca-contrib/modules/implementation-widget/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor delete mode 100644 java/sca-contrib/modules/implementation-widget/src/main/resources/META-INF/services/org.apache.tuscany.sca.implementation.widget.WidgetImplementationFactory delete mode 100644 java/sca-contrib/modules/implementation-widget/src/main/resources/impl-widget-validation-messages.properties delete mode 100644 java/sca-contrib/modules/implementation-xquery/LICENSE delete mode 100644 java/sca-contrib/modules/implementation-xquery/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/implementation-xquery/NOTICE delete mode 100644 java/sca-contrib/modules/implementation-xquery/pom.xml delete mode 100644 java/sca-contrib/modules/implementation-xquery/src/main/java/org/apache/tuscany/sca/implementation/xquery/XQueryImplementation.java delete mode 100644 java/sca-contrib/modules/implementation-xquery/src/main/java/org/apache/tuscany/sca/implementation/xquery/XQueryImplementationFactory.java delete mode 100644 java/sca-contrib/modules/implementation-xquery/src/main/java/org/apache/tuscany/sca/implementation/xquery/XQueryImplementationProvider.java delete mode 100644 java/sca-contrib/modules/implementation-xquery/src/main/java/org/apache/tuscany/sca/implementation/xquery/XQueryImplementationProviderFactory.java delete mode 100644 java/sca-contrib/modules/implementation-xquery/src/main/java/org/apache/tuscany/sca/implementation/xquery/XQueryInvokationException.java delete mode 100644 java/sca-contrib/modules/implementation-xquery/src/main/java/org/apache/tuscany/sca/implementation/xquery/XQueryInvoker.java delete mode 100644 java/sca-contrib/modules/implementation-xquery/src/main/java/org/apache/tuscany/sca/implementation/xquery/impl/XQueryImplementationFactoryImpl.java delete mode 100644 java/sca-contrib/modules/implementation-xquery/src/main/java/org/apache/tuscany/sca/implementation/xquery/impl/XQueryImplementationImpl.java delete mode 100644 java/sca-contrib/modules/implementation-xquery/src/main/java/org/apache/tuscany/sca/implementation/xquery/xml/XQueryImplementationProcessor.java delete mode 100644 java/sca-contrib/modules/implementation-xquery/src/main/java/org/apache/tuscany/sca/implementation/xquery/xml/XQueryIntrospector.java delete mode 100644 java/sca-contrib/modules/implementation-xquery/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor delete mode 100644 java/sca-contrib/modules/implementation-xquery/src/main/resources/META-INF/services/org.apache.tuscany.sca.provider.ImplementationProviderFactory delete mode 100644 java/sca-contrib/modules/implementation-xquery/src/main/resources/impl-xquery-validation-messages.properties delete mode 100644 java/sca-contrib/modules/node-dynamic/LICENSE delete mode 100644 java/sca-contrib/modules/node-dynamic/NOTICE delete mode 100644 java/sca-contrib/modules/node-dynamic/pom.xml delete mode 100644 java/sca-contrib/modules/node-dynamic/src/main/java/org/apache/tuscany/sca/node/DynamicNodeMain.java delete mode 100644 java/sca-contrib/modules/node-dynamic/src/main/resources/log4j.properties delete mode 100644 java/sca-contrib/modules/node-launcher-webapp/LICENSE delete mode 100644 java/sca-contrib/modules/node-launcher-webapp/NOTICE delete mode 100644 java/sca-contrib/modules/node-launcher-webapp/pom.xml delete mode 100644 java/sca-contrib/modules/node-launcher-webapp/src/main/webapp/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/modules/node-launcher-webapp/src/main/webapp/WEB-INF/web.xml delete mode 100644 java/sca-contrib/modules/node-launcher-webapp/src/main/webapp/index.jsp delete mode 100644 java/sca-contrib/modules/node-manager/LICENSE delete mode 100644 java/sca-contrib/modules/node-manager/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/node-manager/NOTICE delete mode 100644 java/sca-contrib/modules/node-manager/pom.xml delete mode 100644 java/sca-contrib/modules/node-manager/src/main/java/org/apache/tuscany/sca/implementation/node/manager/NodeManagerUtil.java delete mode 100644 java/sca-contrib/modules/node-manager/src/main/java/org/apache/tuscany/sca/implementation/node/manager/NodeProcessCollectionImpl.java delete mode 100644 java/sca-contrib/modules/node-manager/src/main/java/org/apache/tuscany/sca/implementation/node/manager/PingServiceImpl.java delete mode 100644 java/sca-contrib/modules/node-manager/src/main/resources/NodeDaemon.composite delete mode 100644 java/sca-contrib/modules/policy-logging/LICENSE delete mode 100644 java/sca-contrib/modules/policy-logging/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/policy-logging/NOTICE delete mode 100644 java/sca-contrib/modules/policy-logging/pom.xml delete mode 100644 java/sca-contrib/modules/policy-logging/src/main/java/org/apache/tuscany/sca/policy/logging/LoggingPolicyDefinitionsProvider.java delete mode 100644 java/sca-contrib/modules/policy-logging/src/main/java/org/apache/tuscany/sca/policy/logging/jdk/JDKLoggingImplementationPolicyProvider.java delete mode 100644 java/sca-contrib/modules/policy-logging/src/main/java/org/apache/tuscany/sca/policy/logging/jdk/JDKLoggingPolicy.java delete mode 100644 java/sca-contrib/modules/policy-logging/src/main/java/org/apache/tuscany/sca/policy/logging/jdk/JDKLoggingPolicyInterceptor.java delete mode 100644 java/sca-contrib/modules/policy-logging/src/main/java/org/apache/tuscany/sca/policy/logging/jdk/JDKLoggingPolicyProcessor.java delete mode 100644 java/sca-contrib/modules/policy-logging/src/main/java/org/apache/tuscany/sca/policy/logging/jdk/JDKLoggingPolicyProviderFactory.java delete mode 100644 java/sca-contrib/modules/policy-logging/src/main/java/org/apache/tuscany/sca/policy/logging/jdk/JDKLoggingReferencePolicyProvider.java delete mode 100644 java/sca-contrib/modules/policy-logging/src/main/java/org/apache/tuscany/sca/policy/logging/jdk/JDKLoggingServicePolicyProvider.java delete mode 100644 java/sca-contrib/modules/policy-logging/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor delete mode 100644 java/sca-contrib/modules/policy-logging/src/main/resources/META-INF/services/org.apache.tuscany.sca.provider.DefinitionsProvider delete mode 100644 java/sca-contrib/modules/policy-logging/src/main/resources/META-INF/services/org.apache.tuscany.sca.provider.PolicyProviderFactory delete mode 100644 java/sca-contrib/modules/policy-logging/src/main/resources/org/apache/tuscany/sca/policy/logging/definitions.xml delete mode 100644 java/sca-contrib/modules/policy-logging/src/test/java/org/apache/tuscany/sca/policy/logging/jdk/PolicyReadTestCase.java delete mode 100644 java/sca-contrib/modules/policy-logging/src/test/resources/org/apache/tuscany/sca/policy/logging/jdk/mock_policies.xml delete mode 100644 java/sca-contrib/modules/policy-reliability/LICENSE delete mode 100644 java/sca-contrib/modules/policy-reliability/NOTICE delete mode 100644 java/sca-contrib/modules/policy-reliability/pom.xml delete mode 100644 java/sca-contrib/modules/policy-reliability/src/main/java/org/apache/tuscany/sca/policy/reliability/ReliabilityPolicyDefinitionsProvider.java delete mode 100644 java/sca-contrib/modules/policy-reliability/src/main/resources/META-INF/services/org.apache.tuscany.sca.provider.SCADefinitionsProvider delete mode 100644 java/sca-contrib/modules/policy-reliability/src/main/resources/org/apache/tuscany/sca/policy/reliability/definitions.xml delete mode 100644 java/sca-contrib/modules/policy-security-jsr250/LICENSE delete mode 100644 java/sca-contrib/modules/policy-security-jsr250/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/policy-security-jsr250/NOTICE delete mode 100644 java/sca-contrib/modules/policy-security-jsr250/pom.xml delete mode 100644 java/sca-contrib/modules/policy-security-jsr250/src/main/java/org/apache/tuscany/sca/policy/jsr250/JSR250Activator.java delete mode 100644 java/sca-contrib/modules/policy-security-jsr250/src/main/java/org/apache/tuscany/sca/policy/jsr250/introspect/impl/JSR250PolicyProcessor.java delete mode 100644 java/sca-contrib/modules/policy-security-jsr250/src/main/resources/META-INF/services/org.apache.tuscany.sca.core.ModuleActivator delete mode 100644 java/sca-contrib/modules/policy-security-jsr250/src/test/java/org/apache/tuscany/sca/policy/jsr250/introspect/impl/PolicyProcessorTestCaseFIXME.java delete mode 100644 java/sca-contrib/modules/policy-transaction/LICENSE delete mode 100644 java/sca-contrib/modules/policy-transaction/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/policy-transaction/NOTICE delete mode 100644 java/sca-contrib/modules/policy-transaction/pom.xml delete mode 100644 java/sca-contrib/modules/policy-transaction/src/main/java/org/apache/tuscany/sca/policy/transaction/IncompatibleIntentException.java delete mode 100644 java/sca-contrib/modules/policy-transaction/src/main/java/org/apache/tuscany/sca/policy/transaction/TransactionImplementationPolicyProvider.java delete mode 100644 java/sca-contrib/modules/policy-transaction/src/main/java/org/apache/tuscany/sca/policy/transaction/TransactionIntent.java delete mode 100644 java/sca-contrib/modules/policy-transaction/src/main/java/org/apache/tuscany/sca/policy/transaction/TransactionInterceptor.java delete mode 100644 java/sca-contrib/modules/policy-transaction/src/main/java/org/apache/tuscany/sca/policy/transaction/TransactionManagerHelper.java delete mode 100644 java/sca-contrib/modules/policy-transaction/src/main/java/org/apache/tuscany/sca/policy/transaction/TransactionManagerWrapper.java delete mode 100644 java/sca-contrib/modules/policy-transaction/src/main/java/org/apache/tuscany/sca/policy/transaction/TransactionModuleActivator.java delete mode 100644 java/sca-contrib/modules/policy-transaction/src/main/java/org/apache/tuscany/sca/policy/transaction/TransactionPolicy.java delete mode 100644 java/sca-contrib/modules/policy-transaction/src/main/java/org/apache/tuscany/sca/policy/transaction/TransactionPolicyDefinitionsProvider.java delete mode 100644 java/sca-contrib/modules/policy-transaction/src/main/java/org/apache/tuscany/sca/policy/transaction/TransactionPolicyImpl.java delete mode 100644 java/sca-contrib/modules/policy-transaction/src/main/java/org/apache/tuscany/sca/policy/transaction/TransactionPolicyProcessor.java delete mode 100644 java/sca-contrib/modules/policy-transaction/src/main/java/org/apache/tuscany/sca/policy/transaction/TransactionPolicyProviderFactory.java delete mode 100644 java/sca-contrib/modules/policy-transaction/src/main/java/org/apache/tuscany/sca/policy/transaction/TransactionReferencePolicyProvider.java delete mode 100644 java/sca-contrib/modules/policy-transaction/src/main/java/org/apache/tuscany/sca/policy/transaction/TransactionServicePolicyProvider.java delete mode 100644 java/sca-contrib/modules/policy-transaction/src/main/java/org/apache/tuscany/sca/policy/transaction/TransactionalAction.java delete mode 100644 java/sca-contrib/modules/policy-transaction/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor delete mode 100644 java/sca-contrib/modules/policy-transaction/src/main/resources/META-INF/services/org.apache.tuscany.sca.core.ModuleActivator delete mode 100644 java/sca-contrib/modules/policy-transaction/src/main/resources/META-INF/services/org.apache.tuscany.sca.provider.DefinitionsProvider delete mode 100644 java/sca-contrib/modules/policy-transaction/src/main/resources/META-INF/services/org.apache.tuscany.sca.provider.PolicyProviderFactory delete mode 100644 java/sca-contrib/modules/policy-transaction/src/main/resources/log4j.properties delete mode 100644 java/sca-contrib/modules/policy-transaction/src/main/resources/org/apache/tuscany/sca/policy/transaction/definitions.xml delete mode 100644 java/sca-contrib/modules/policy-transaction/src/main/resources/org/apache/tuscany/sca/policy/transaction/tuscany_definitions.xml delete mode 100644 java/sca-contrib/modules/policy-transaction/src/test/java/org/apache/tuscany/sca/policy/transaction/PolicyReadTestCase.java delete mode 100644 java/sca-contrib/modules/policy-transaction/src/test/java/org/apache/tuscany/sca/policy/transaction/TransactionManagerHelperTestCase.java delete mode 100644 java/sca-contrib/modules/sca-api-osoa/LICENSE delete mode 100644 java/sca-contrib/modules/sca-api-osoa/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/sca-api-osoa/NOTICE delete mode 100644 java/sca-contrib/modules/sca-api-osoa/pom.xml delete mode 100644 java/sca-contrib/modules/sca-api-osoa/src/main/java/org/apache/tuscany/sca/api/ComponentContextExtension.java delete mode 100644 java/sca-contrib/modules/sca-api-osoa/src/main/java/org/osoa/sca/CallableReference.java delete mode 100644 java/sca-contrib/modules/sca-api-osoa/src/main/java/org/osoa/sca/ComponentContext.java delete mode 100644 java/sca-contrib/modules/sca-api-osoa/src/main/java/org/osoa/sca/Constants.java delete mode 100644 java/sca-contrib/modules/sca-api-osoa/src/main/java/org/osoa/sca/Conversation.java delete mode 100644 java/sca-contrib/modules/sca-api-osoa/src/main/java/org/osoa/sca/ConversationEndedException.java delete mode 100644 java/sca-contrib/modules/sca-api-osoa/src/main/java/org/osoa/sca/NoRegisteredCallbackException.java delete mode 100644 java/sca-contrib/modules/sca-api-osoa/src/main/java/org/osoa/sca/RequestContext.java delete mode 100644 java/sca-contrib/modules/sca-api-osoa/src/main/java/org/osoa/sca/ServiceReference.java delete mode 100644 java/sca-contrib/modules/sca-api-osoa/src/main/java/org/osoa/sca/ServiceRuntimeException.java delete mode 100644 java/sca-contrib/modules/sca-api-osoa/src/main/java/org/osoa/sca/ServiceUnavailableException.java delete mode 100644 java/sca-contrib/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/AllowsPassByReference.java delete mode 100644 java/sca-contrib/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Authentication.java delete mode 100644 java/sca-contrib/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Callback.java delete mode 100644 java/sca-contrib/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/ComponentName.java delete mode 100644 java/sca-contrib/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Confidentiality.java delete mode 100644 java/sca-contrib/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Constructor.java delete mode 100644 java/sca-contrib/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Context.java delete mode 100644 java/sca-contrib/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/ConversationAttributes.java delete mode 100644 java/sca-contrib/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/ConversationID.java delete mode 100644 java/sca-contrib/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Conversational.java delete mode 100644 java/sca-contrib/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Destroy.java delete mode 100644 java/sca-contrib/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/EagerInit.java delete mode 100644 java/sca-contrib/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/EndsConversation.java delete mode 100644 java/sca-contrib/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Init.java delete mode 100644 java/sca-contrib/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Integrity.java delete mode 100644 java/sca-contrib/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Intent.java delete mode 100644 java/sca-contrib/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/OneWay.java delete mode 100644 java/sca-contrib/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/PolicySets.java delete mode 100644 java/sca-contrib/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Property.java delete mode 100644 java/sca-contrib/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Qualifier.java delete mode 100644 java/sca-contrib/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Reference.java delete mode 100644 java/sca-contrib/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Remotable.java delete mode 100644 java/sca-contrib/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Requires.java delete mode 100644 java/sca-contrib/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Scope.java delete mode 100644 java/sca-contrib/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Service.java delete mode 100644 java/sca-contrib/modules/tracing-aspectj/LICENSE delete mode 100644 java/sca-contrib/modules/tracing-aspectj/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/tracing-aspectj/NOTICE delete mode 100644 java/sca-contrib/modules/tracing-aspectj/launcher.bat delete mode 100644 java/sca-contrib/modules/tracing-aspectj/pom.xml delete mode 100644 java/sca-contrib/modules/tracing-aspectj/src/main/java/org/apache/tuscany/sca/aspectj/LoggingAspect.java delete mode 100644 java/sca-contrib/modules/tracing-aspectj/src/main/java/org/apache/tuscany/sca/aspectj/SimpleTracingAspect.java delete mode 100644 java/sca-contrib/modules/tracing-aspectj/src/main/java/org/apache/tuscany/sca/aspectj/TimingAspect.java delete mode 100644 java/sca-contrib/modules/tracing-aspectj/src/main/java/org/apache/tuscany/sca/aspectj/TracingAspect.java delete mode 100644 java/sca-contrib/modules/tracing-aspectj/src/main/resources/META-INF/aop.xml delete mode 100644 java/sca-contrib/modules/tracing-aspectj/src/test/java/org/apache/tuscany/sca/aspectj/TracingTestCase.java delete mode 100644 java/sca-contrib/modules/workspace-impl/LICENSE delete mode 100644 java/sca-contrib/modules/workspace-impl/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/workspace-impl/NOTICE delete mode 100644 java/sca-contrib/modules/workspace-impl/pom.xml delete mode 100644 java/sca-contrib/modules/workspace-impl/src/main/java/org/apache/tuscany/sca/workspace/builder/impl/ContributionDependencyBuilderImpl.java delete mode 100644 java/sca-contrib/modules/workspace-impl/src/main/resources/META-INF/services/org.apache.tuscany.sca.workspace.builder.ContributionBuilder delete mode 100644 java/sca-contrib/modules/workspace-impl/src/main/resources/workspace-validation-messages.properties delete mode 100644 java/sca-contrib/modules/workspace-impl/src/main/resources/workspace-validation-messages_it.properties delete mode 100644 java/sca-contrib/modules/workspace-impl/src/test/java/org/apache/tuscany/sca/workspace/builder/impl/ContributionDependencyBuilderTestCase.java delete mode 100644 java/sca-contrib/modules/workspace/LICENSE delete mode 100644 java/sca-contrib/modules/workspace/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/modules/workspace/NOTICE delete mode 100644 java/sca-contrib/modules/workspace/pom.xml delete mode 100644 java/sca-contrib/modules/workspace/src/main/java/org/apache/tuscany/sca/workspace/DefaultWorkspaceFactory.java delete mode 100644 java/sca-contrib/modules/workspace/src/main/java/org/apache/tuscany/sca/workspace/Workspace.java delete mode 100644 java/sca-contrib/modules/workspace/src/main/java/org/apache/tuscany/sca/workspace/WorkspaceFactory.java delete mode 100644 java/sca-contrib/modules/workspace/src/main/java/org/apache/tuscany/sca/workspace/builder/ContributionBuilder.java delete mode 100644 java/sca-contrib/modules/workspace/src/main/java/org/apache/tuscany/sca/workspace/builder/ContributionBuilderException.java delete mode 100644 java/sca-contrib/modules/workspace/src/main/java/org/apache/tuscany/sca/workspace/builder/ContributionBuilderExtensionPoint.java delete mode 100644 java/sca-contrib/modules/workspace/src/main/java/org/apache/tuscany/sca/workspace/builder/DefaultContributionBuilderExtensionPoint.java delete mode 100644 java/sca-contrib/modules/workspace/src/main/java/org/apache/tuscany/sca/workspace/impl/WorkspaceFactoryImpl.java delete mode 100644 java/sca-contrib/modules/workspace/src/main/java/org/apache/tuscany/sca/workspace/impl/WorkspaceImpl.java delete mode 100644 java/sca-contrib/modules/workspace/src/main/java/org/apache/tuscany/sca/workspace/xml/WorkspaceDocumentProcessor.java delete mode 100644 java/sca-contrib/modules/workspace/src/main/java/org/apache/tuscany/sca/workspace/xml/WorkspaceProcessor.java delete mode 100644 java/sca-contrib/modules/workspace/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor delete mode 100644 java/sca-contrib/modules/workspace/src/main/resources/META-INF/services/org.apache.tuscany.sca.workspace.WorkspaceFactory delete mode 100644 java/sca-contrib/modules/workspace/src/main/resources/META-INF/services/org.apache.tuscany.sca.workspace.builder.ContributionBuilderExtensionPoint delete mode 100644 java/sca-contrib/modules/workspace/src/main/resources/workspace-xml-validation-messages.properties delete mode 100644 java/sca-contrib/modules/workspace/src/test/java/org/apache/tuscany/sca/workspace/xml/ContributionWorkspaceProcessorTestCase.java delete mode 100644 java/sca-contrib/samples/binding-echo-extension/README delete mode 100644 java/sca-contrib/samples/binding-echo-extension/build.xml delete mode 100644 java/sca-contrib/samples/binding-echo-extension/pom.xml delete mode 100644 java/sca-contrib/samples/binding-echo-extension/src/main/java/echo/EchoBinding.java delete mode 100644 java/sca-contrib/samples/binding-echo-extension/src/main/java/echo/EchoBindingFactory.java delete mode 100644 java/sca-contrib/samples/binding-echo-extension/src/main/java/echo/impl/EchoBindingFactoryImpl.java delete mode 100644 java/sca-contrib/samples/binding-echo-extension/src/main/java/echo/impl/EchoBindingImpl.java delete mode 100644 java/sca-contrib/samples/binding-echo-extension/src/main/java/echo/impl/EchoBindingProcessor.java delete mode 100644 java/sca-contrib/samples/binding-echo-extension/src/main/java/echo/provider/EchoBindingInvoker.java delete mode 100644 java/sca-contrib/samples/binding-echo-extension/src/main/java/echo/provider/EchoBindingPoliciedInvoker.java delete mode 100644 java/sca-contrib/samples/binding-echo-extension/src/main/java/echo/provider/EchoBindingProviderFactory.java delete mode 100644 java/sca-contrib/samples/binding-echo-extension/src/main/java/echo/provider/EchoReferenceBindingProvider.java delete mode 100644 java/sca-contrib/samples/binding-echo-extension/src/main/java/echo/provider/EchoServiceBindingProvider.java delete mode 100644 java/sca-contrib/samples/binding-echo-extension/src/main/java/echo/provider/policy/EchoBindingEncryptionPolicy.java delete mode 100644 java/sca-contrib/samples/binding-echo-extension/src/main/java/echo/provider/policy/EchoBindingEncryptionPolicyProcessor.java delete mode 100644 java/sca-contrib/samples/binding-echo-extension/src/main/java/echo/provider/policy/EchoBindingPolicy.java delete mode 100644 java/sca-contrib/samples/binding-echo-extension/src/main/java/echo/provider/policy/EchoBindingPolicyProcessor.java delete mode 100644 java/sca-contrib/samples/binding-echo-extension/src/main/java/echo/provider/policy/EncryptionPolicyHandler.java delete mode 100644 java/sca-contrib/samples/binding-echo-extension/src/main/java/echo/provider/policy/EncryptionStrategy.java delete mode 100644 java/sca-contrib/samples/binding-echo-extension/src/main/java/echo/provider/policy/PolicyHandler.java delete mode 100644 java/sca-contrib/samples/binding-echo-extension/src/main/java/echo/provider/policy/ReverseEncryptionStrategy.java delete mode 100644 java/sca-contrib/samples/binding-echo-extension/src/main/java/echo/provider/policy/WSPolicy.java delete mode 100644 java/sca-contrib/samples/binding-echo-extension/src/main/java/echo/provider/policy/WSPolicyProcessor.java delete mode 100644 java/sca-contrib/samples/binding-echo-extension/src/main/java/echo/server/EchoServer.java delete mode 100644 java/sca-contrib/samples/binding-echo-extension/src/main/java/echo/server/EchoServiceListener.java delete mode 100644 java/sca-contrib/samples/binding-echo-extension/src/main/resources/META-INF/services/echo.EchoBindingFactory delete mode 100644 java/sca-contrib/samples/binding-echo-extension/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor delete mode 100644 java/sca-contrib/samples/binding-echo-extension/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.ValidationSchema delete mode 100644 java/sca-contrib/samples/binding-echo-extension/src/main/resources/META-INF/services/org.apache.tuscany.sca.provider.BindingProviderFactory delete mode 100644 java/sca-contrib/samples/binding-echo-extension/src/main/resources/sample-binding-echo.xsd delete mode 100644 java/sca-contrib/samples/binding-echo-extension/src/test/java/echo/Echo.java delete mode 100644 java/sca-contrib/samples/binding-echo-extension/src/test/java/echo/EchoComponentImpl.java delete mode 100644 java/sca-contrib/samples/binding-echo-extension/src/test/java/echo/EchoReferenceTestCase.java delete mode 100644 java/sca-contrib/samples/binding-echo-extension/src/test/java/echo/EchoServiceTestCase.java delete mode 100644 java/sca-contrib/samples/binding-echo-extension/src/test/resources/EchoBinding.composite delete mode 100644 java/sca-contrib/samples/binding-echo-extension/src/test/resources/definitions.xml delete mode 100644 java/sca-contrib/samples/binding-echo/README delete mode 100644 java/sca-contrib/samples/binding-echo/binding-echo.png delete mode 100644 java/sca-contrib/samples/binding-echo/binding-echo.svg delete mode 100644 java/sca-contrib/samples/binding-echo/build.xml delete mode 100644 java/sca-contrib/samples/binding-echo/pom.xml delete mode 100644 java/sca-contrib/samples/binding-echo/src/main/java/echo/Echo.java delete mode 100644 java/sca-contrib/samples/binding-echo/src/main/java/echo/EchoBindingClient.java delete mode 100644 java/sca-contrib/samples/binding-echo/src/main/java/echo/EchoComponentImpl.java delete mode 100644 java/sca-contrib/samples/binding-echo/src/main/resources/EchoBinding.composite delete mode 100644 java/sca-contrib/samples/binding-echo/src/test/java/echo/EchoBindingTestCase.java delete mode 100644 java/sca-contrib/samples/binding-notification-broker/README delete mode 100644 java/sca-contrib/samples/binding-notification-broker/binding-notification-broker.png delete mode 100644 java/sca-contrib/samples/binding-notification-broker/build.xml delete mode 100644 java/sca-contrib/samples/binding-notification-broker/pom.xml delete mode 100644 java/sca-contrib/samples/binding-notification-broker/src/main/java/notification/broker/TestCaseProducer.java delete mode 100644 java/sca-contrib/samples/binding-notification-broker/src/main/java/notification/broker/TrafficAdvisory.java delete mode 100644 java/sca-contrib/samples/binding-notification-broker/src/main/java/notification/broker/TrafficAdvisoryConsumer.java delete mode 100644 java/sca-contrib/samples/binding-notification-broker/src/main/java/notification/broker/TrafficAdvisoryProducer.java delete mode 100644 java/sca-contrib/samples/binding-notification-broker/src/main/java/notification/broker/TrafficAdvisoryServer.java delete mode 100644 java/sca-contrib/samples/binding-notification-broker/src/main/resources/TrafficAdvisoryNotification.componentType delete mode 100644 java/sca-contrib/samples/binding-notification-broker/src/main/resources/TrafficAdvisoryNotification.composite delete mode 100644 java/sca-contrib/samples/binding-notification-broker/src/main/resources/wsdl/TrafficAdvisory.wsdl delete mode 100644 java/sca-contrib/samples/binding-notification-consumer/README delete mode 100644 java/sca-contrib/samples/binding-notification-consumer/binding-notification-consumer.png delete mode 100644 java/sca-contrib/samples/binding-notification-consumer/build.xml delete mode 100644 java/sca-contrib/samples/binding-notification-consumer/pom.xml delete mode 100644 java/sca-contrib/samples/binding-notification-consumer/src/main/java/notification/consumer/TrafficAdvisory.java delete mode 100644 java/sca-contrib/samples/binding-notification-consumer/src/main/java/notification/consumer/TrafficAdvisoryConsumer.java delete mode 100644 java/sca-contrib/samples/binding-notification-consumer/src/main/java/notification/consumer/TrafficAdvisoryServer.java delete mode 100644 java/sca-contrib/samples/binding-notification-consumer/src/main/resources/TrafficAdvisoryNotification.componentType delete mode 100644 java/sca-contrib/samples/binding-notification-consumer/src/main/resources/TrafficAdvisoryNotification.composite delete mode 100644 java/sca-contrib/samples/binding-notification-consumer/src/main/resources/wsdl/TrafficAdvisory.wsdl delete mode 100644 java/sca-contrib/samples/binding-notification-consumer/src/test/java/notification/consumer/TrafficAdvisoryTestCase.java delete mode 100644 java/sca-contrib/samples/binding-notification-producer/README delete mode 100644 java/sca-contrib/samples/binding-notification-producer/binding-notification-producer.png delete mode 100644 java/sca-contrib/samples/binding-notification-producer/build.xml delete mode 100644 java/sca-contrib/samples/binding-notification-producer/pom.xml delete mode 100644 java/sca-contrib/samples/binding-notification-producer/src/main/java/notification/producer/TestCaseProducer.java delete mode 100644 java/sca-contrib/samples/binding-notification-producer/src/main/java/notification/producer/TrafficAdvisory.java delete mode 100644 java/sca-contrib/samples/binding-notification-producer/src/main/java/notification/producer/TrafficAdvisoryProducer.java delete mode 100644 java/sca-contrib/samples/binding-notification-producer/src/main/java/notification/producer/TrafficAdvisoryServer.java delete mode 100644 java/sca-contrib/samples/binding-notification-producer/src/main/resources/TrafficAdvisoryNotification.componentType delete mode 100644 java/sca-contrib/samples/binding-notification-producer/src/main/resources/TrafficAdvisoryNotification.composite delete mode 100644 java/sca-contrib/samples/binding-notification-producer/src/main/resources/wsdl/TrafficAdvisory.wsdl delete mode 100644 java/sca-contrib/samples/binding-notification-producer/src/test/java/notification/producer/TrafficAdvisoryTestCase.java delete mode 100644 java/sca-contrib/samples/calculator-corba-reference/README delete mode 100644 java/sca-contrib/samples/calculator-corba-reference/pom.xml delete mode 100644 java/sca-contrib/samples/calculator-corba-reference/src/main/java/calculator/AddService.java delete mode 100644 java/sca-contrib/samples/calculator-corba-reference/src/main/java/calculator/CalculatorClient.java delete mode 100644 java/sca-contrib/samples/calculator-corba-reference/src/main/java/calculator/CalculatorService.java delete mode 100644 java/sca-contrib/samples/calculator-corba-reference/src/main/java/calculator/CalculatorServiceImpl.java delete mode 100644 java/sca-contrib/samples/calculator-corba-reference/src/main/java/calculator/DivideService.java delete mode 100644 java/sca-contrib/samples/calculator-corba-reference/src/main/java/calculator/MultiplyService.java delete mode 100644 java/sca-contrib/samples/calculator-corba-reference/src/main/java/calculator/SubtractService.java delete mode 100644 java/sca-contrib/samples/calculator-corba-reference/src/main/resources/CalculatorCORBAReference.composite delete mode 100644 java/sca-contrib/samples/calculator-corba-reference/src/test/java/calculator/CalculatorCORBAReferenceTestCase.java delete mode 100644 java/sca-contrib/samples/calculator-corba-reference/src/test/java/calculator/CalculatorCORBAServant.java delete mode 100644 java/sca-contrib/samples/calculator-corba-reference/src/test/java/calculator/idl/CalculatorCORBAService.java delete mode 100644 java/sca-contrib/samples/calculator-corba-reference/src/test/java/calculator/idl/CalculatorCORBAServiceOperations.java delete mode 100644 java/sca-contrib/samples/calculator-corba-reference/src/test/java/calculator/idl/_CalculatorCORBAServiceImplBase.java delete mode 100644 java/sca-contrib/samples/calculator-corba-reference/src/test/resources/CalculatorCORBA.idl delete mode 100644 java/sca-contrib/samples/calculator-corba-service/README delete mode 100644 java/sca-contrib/samples/calculator-corba-service/pom.xml delete mode 100644 java/sca-contrib/samples/calculator-corba-service/src/main/java/calculator/AddService.java delete mode 100644 java/sca-contrib/samples/calculator-corba-service/src/main/java/calculator/AddServiceImpl.java delete mode 100644 java/sca-contrib/samples/calculator-corba-service/src/main/java/calculator/CalculatorService.java delete mode 100644 java/sca-contrib/samples/calculator-corba-service/src/main/java/calculator/CalculatorServiceImpl.java delete mode 100644 java/sca-contrib/samples/calculator-corba-service/src/main/java/calculator/DivideService.java delete mode 100644 java/sca-contrib/samples/calculator-corba-service/src/main/java/calculator/DivideServiceImpl.java delete mode 100644 java/sca-contrib/samples/calculator-corba-service/src/main/java/calculator/MultiplyService.java delete mode 100644 java/sca-contrib/samples/calculator-corba-service/src/main/java/calculator/MultiplyServiceImpl.java delete mode 100644 java/sca-contrib/samples/calculator-corba-service/src/main/java/calculator/SubtractService.java delete mode 100644 java/sca-contrib/samples/calculator-corba-service/src/main/java/calculator/SubtractServiceImpl.java delete mode 100644 java/sca-contrib/samples/calculator-corba-service/src/main/resources/CalculatorCORBAServer.composite delete mode 100644 java/sca-contrib/samples/calculator-corba-service/src/test/java/calculator/CalculatorCORBAServerTestCase.java delete mode 100644 java/sca-contrib/samples/calculator-corba-service/src/test/java/calculator/idl/CalculatorCORBAService.java delete mode 100644 java/sca-contrib/samples/calculator-corba-service/src/test/java/calculator/idl/CalculatorCORBAServiceHelper.java delete mode 100644 java/sca-contrib/samples/calculator-corba-service/src/test/java/calculator/idl/CalculatorCORBAServiceHolder.java delete mode 100644 java/sca-contrib/samples/calculator-corba-service/src/test/java/calculator/idl/CalculatorCORBAServiceOperations.java delete mode 100644 java/sca-contrib/samples/calculator-corba-service/src/test/java/calculator/idl/_CalculatorCORBAServiceStub.java delete mode 100644 java/sca-contrib/samples/calculator-corba-service/src/test/resources/CalculatorCORBA.idl delete mode 100644 java/sca-contrib/samples/calculator-distributed/README delete mode 100644 java/sca-contrib/samples/calculator-distributed/build.xml delete mode 100644 java/sca-contrib/samples/calculator-distributed/calculator-distributed.png delete mode 100644 java/sca-contrib/samples/calculator-distributed/calculator-distributed.svg delete mode 100644 java/sca-contrib/samples/calculator-distributed/cloud.composite delete mode 100644 java/sca-contrib/samples/calculator-distributed/domain.composite delete mode 100644 java/sca-contrib/samples/calculator-distributed/pom.xml delete mode 100644 java/sca-contrib/samples/calculator-distributed/src/main/java/calculator/AddService.java delete mode 100644 java/sca-contrib/samples/calculator-distributed/src/main/java/calculator/AddServiceImpl.java delete mode 100644 java/sca-contrib/samples/calculator-distributed/src/main/java/calculator/CalculatorService.java delete mode 100644 java/sca-contrib/samples/calculator-distributed/src/main/java/calculator/CalculatorServiceImpl.java delete mode 100644 java/sca-contrib/samples/calculator-distributed/src/main/java/calculator/DivideService.java delete mode 100644 java/sca-contrib/samples/calculator-distributed/src/main/java/calculator/DivideServiceImpl.java delete mode 100644 java/sca-contrib/samples/calculator-distributed/src/main/java/calculator/MultiplyService.java delete mode 100644 java/sca-contrib/samples/calculator-distributed/src/main/java/calculator/MultiplyServiceImpl.java delete mode 100644 java/sca-contrib/samples/calculator-distributed/src/main/java/calculator/SubtractService.java delete mode 100644 java/sca-contrib/samples/calculator-distributed/src/main/java/calculator/SubtractServiceImpl.java delete mode 100644 java/sca-contrib/samples/calculator-distributed/src/main/java/node/LaunchCalculatorNodeA.java delete mode 100644 java/sca-contrib/samples/calculator-distributed/src/main/java/node/LaunchCalculatorNodeB.java delete mode 100644 java/sca-contrib/samples/calculator-distributed/src/main/java/node/LaunchCalculatorNodeC.java delete mode 100644 java/sca-contrib/samples/calculator-distributed/src/main/java/node/LaunchDomain.java delete mode 100644 java/sca-contrib/samples/calculator-distributed/src/main/resources/cloud/NodeA.composite delete mode 100644 java/sca-contrib/samples/calculator-distributed/src/main/resources/cloud/NodeB.composite delete mode 100644 java/sca-contrib/samples/calculator-distributed/src/main/resources/cloud/NodeC.composite delete mode 100644 java/sca-contrib/samples/calculator-distributed/src/main/resources/nodeA/Calculator.composite delete mode 100644 java/sca-contrib/samples/calculator-distributed/src/main/resources/nodeA/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/samples/calculator-distributed/src/main/resources/nodeB/Calculator.composite delete mode 100644 java/sca-contrib/samples/calculator-distributed/src/main/resources/nodeB/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/samples/calculator-distributed/src/main/resources/nodeC/Calculator.composite delete mode 100644 java/sca-contrib/samples/calculator-distributed/src/main/resources/nodeC/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/samples/calculator-distributed/src/test/java/calculator/CalculatorDistributedTestCase.java delete mode 100644 java/sca-contrib/samples/calculator-distributed/workspace.xml delete mode 100644 java/sca-contrib/samples/calculator-implementation-policies/README delete mode 100644 java/sca-contrib/samples/calculator-implementation-policies/build.xml delete mode 100644 java/sca-contrib/samples/calculator-implementation-policies/calculator.png delete mode 100644 java/sca-contrib/samples/calculator-implementation-policies/calculator.svg delete mode 100644 java/sca-contrib/samples/calculator-implementation-policies/pom.xml delete mode 100644 java/sca-contrib/samples/calculator-implementation-policies/src/main/java/calculator/AddService.java delete mode 100644 java/sca-contrib/samples/calculator-implementation-policies/src/main/java/calculator/AddServiceImpl.java delete mode 100644 java/sca-contrib/samples/calculator-implementation-policies/src/main/java/calculator/CalculatorClient.java delete mode 100644 java/sca-contrib/samples/calculator-implementation-policies/src/main/java/calculator/CalculatorService.java delete mode 100644 java/sca-contrib/samples/calculator-implementation-policies/src/main/java/calculator/CalculatorServiceImpl.java delete mode 100644 java/sca-contrib/samples/calculator-implementation-policies/src/main/java/calculator/DivideService.java delete mode 100644 java/sca-contrib/samples/calculator-implementation-policies/src/main/java/calculator/DivideServiceImpl.java delete mode 100644 java/sca-contrib/samples/calculator-implementation-policies/src/main/java/calculator/MultiplyService.java delete mode 100644 java/sca-contrib/samples/calculator-implementation-policies/src/main/java/calculator/MultiplyServiceImpl.java delete mode 100644 java/sca-contrib/samples/calculator-implementation-policies/src/main/java/calculator/SubtractService.java delete mode 100644 java/sca-contrib/samples/calculator-implementation-policies/src/main/java/calculator/SubtractServiceImpl.java delete mode 100644 java/sca-contrib/samples/calculator-implementation-policies/src/main/java/calculator/security/CalculatorCallbackHandler.java delete mode 100644 java/sca-contrib/samples/calculator-implementation-policies/src/main/java/calculator/security/JaasLoginModule.java delete mode 100644 java/sca-contrib/samples/calculator-implementation-policies/src/main/java/calculator/security/UserPrincipal.java delete mode 100644 java/sca-contrib/samples/calculator-implementation-policies/src/main/resources/Calculator.composite delete mode 100644 java/sca-contrib/samples/calculator-implementation-policies/src/main/resources/CalculatorJass.config delete mode 100644 java/sca-contrib/samples/calculator-implementation-policies/src/main/resources/CalculatorLogMessages.properties delete mode 100644 java/sca-contrib/samples/calculator-implementation-policies/src/main/resources/definitions.xml delete mode 100644 java/sca-contrib/samples/calculator-implementation-policies/src/test/java/calculator/CalculatorTestCase.java delete mode 100644 java/sca-contrib/samples/calculator-lean/README delete mode 100644 java/sca-contrib/samples/calculator-lean/calculator.png delete mode 100644 java/sca-contrib/samples/calculator-lean/calculator.svg delete mode 100644 java/sca-contrib/samples/calculator-lean/pom.xml delete mode 100644 java/sca-contrib/samples/calculator-lean/src/main/java/calculator/AddService.java delete mode 100644 java/sca-contrib/samples/calculator-lean/src/main/java/calculator/AddServiceImpl.java delete mode 100644 java/sca-contrib/samples/calculator-lean/src/main/java/calculator/CalculatorClient.java delete mode 100644 java/sca-contrib/samples/calculator-lean/src/main/java/calculator/CalculatorService.java delete mode 100644 java/sca-contrib/samples/calculator-lean/src/main/java/calculator/CalculatorServiceImpl.java delete mode 100644 java/sca-contrib/samples/calculator-lean/src/main/java/calculator/DivideService.java delete mode 100644 java/sca-contrib/samples/calculator-lean/src/main/java/calculator/DivideServiceImpl.java delete mode 100644 java/sca-contrib/samples/calculator-lean/src/main/java/calculator/MultiplyService.java delete mode 100644 java/sca-contrib/samples/calculator-lean/src/main/java/calculator/MultiplyServiceImpl.java delete mode 100644 java/sca-contrib/samples/calculator-lean/src/main/java/calculator/SubtractService.java delete mode 100644 java/sca-contrib/samples/calculator-lean/src/main/java/calculator/SubtractServiceImpl.java delete mode 100644 java/sca-contrib/samples/calculator-lean/src/main/resources/Calculator.composite delete mode 100644 java/sca-contrib/samples/calculator-lean/src/main/resources/CalculatorTest.composite delete mode 100644 java/sca-contrib/samples/calculator-lean/src/test/java/calculator/CalculatorTestCase.java delete mode 100644 java/sca-contrib/samples/calculator-rcp/build.properties delete mode 100644 java/sca-contrib/samples/calculator-rcp/icons/alt_window_16.gif delete mode 100644 java/sca-contrib/samples/calculator-rcp/icons/alt_window_32.gif delete mode 100644 java/sca-contrib/samples/calculator-rcp/plugin.xml delete mode 100644 java/sca-contrib/samples/calculator-rcp/pom.xml delete mode 100644 java/sca-contrib/samples/calculator-rcp/src/main/java/Calculator.composite delete mode 100644 java/sca-contrib/samples/calculator-rcp/src/main/java/calculator/AddService.java delete mode 100644 java/sca-contrib/samples/calculator-rcp/src/main/java/calculator/AddServiceImpl.java delete mode 100644 java/sca-contrib/samples/calculator-rcp/src/main/java/calculator/CalculatorClient.java delete mode 100644 java/sca-contrib/samples/calculator-rcp/src/main/java/calculator/CalculatorService.java delete mode 100644 java/sca-contrib/samples/calculator-rcp/src/main/java/calculator/CalculatorServiceImpl.java delete mode 100644 java/sca-contrib/samples/calculator-rcp/src/main/java/calculator/DivideService.java delete mode 100644 java/sca-contrib/samples/calculator-rcp/src/main/java/calculator/DivideServiceImpl.java delete mode 100644 java/sca-contrib/samples/calculator-rcp/src/main/java/calculator/MultiplyService.java delete mode 100644 java/sca-contrib/samples/calculator-rcp/src/main/java/calculator/MultiplyServiceImpl.java delete mode 100644 java/sca-contrib/samples/calculator-rcp/src/main/java/calculator/SubtractService.java delete mode 100644 java/sca-contrib/samples/calculator-rcp/src/main/java/calculator/SubtractServiceImpl.java delete mode 100644 java/sca-contrib/samples/calculator-rcp/src/main/java/calculator/rcp/Activator.java delete mode 100644 java/sca-contrib/samples/calculator-rcp/src/main/java/calculator/rcp/Application.java delete mode 100644 java/sca-contrib/samples/calculator-rcp/src/main/java/calculator/rcp/ApplicationActionBarAdvisor.java delete mode 100644 java/sca-contrib/samples/calculator-rcp/src/main/java/calculator/rcp/ApplicationWorkbenchAdvisor.java delete mode 100644 java/sca-contrib/samples/calculator-rcp/src/main/java/calculator/rcp/ApplicationWorkbenchWindowAdvisor.java delete mode 100644 java/sca-contrib/samples/calculator-rcp/src/main/java/calculator/rcp/Perspective.java delete mode 100644 java/sca-contrib/samples/calculator-rcp/src/main/java/calculator/rcp/View.java delete mode 100644 java/sca-contrib/samples/calculator-script/README delete mode 100644 java/sca-contrib/samples/calculator-script/build.xml delete mode 100644 java/sca-contrib/samples/calculator-script/calculator-script.png delete mode 100644 java/sca-contrib/samples/calculator-script/calculator-script.svg delete mode 100644 java/sca-contrib/samples/calculator-script/pom.xml delete mode 100644 java/sca-contrib/samples/calculator-script/src/main/java/calculator/AddService.java delete mode 100644 java/sca-contrib/samples/calculator-script/src/main/java/calculator/CalculatorClient.java delete mode 100644 java/sca-contrib/samples/calculator-script/src/main/java/calculator/CalculatorService.java delete mode 100644 java/sca-contrib/samples/calculator-script/src/main/java/calculator/CalculatorServiceImpl.java delete mode 100644 java/sca-contrib/samples/calculator-script/src/main/java/calculator/DivideService.java delete mode 100644 java/sca-contrib/samples/calculator-script/src/main/java/calculator/MultiplyService.java delete mode 100644 java/sca-contrib/samples/calculator-script/src/main/java/calculator/SubtractService.java delete mode 100644 java/sca-contrib/samples/calculator-script/src/main/resources/Calculator.composite delete mode 100644 java/sca-contrib/samples/calculator-script/src/main/resources/calculator/AddServiceImpl.js delete mode 100644 java/sca-contrib/samples/calculator-script/src/main/resources/calculator/DivideServiceImpl.groovy delete mode 100644 java/sca-contrib/samples/calculator-script/src/main/resources/calculator/MultiplyServiceImpl.py delete mode 100644 java/sca-contrib/samples/calculator-script/src/main/resources/calculator/SubtractServiceImpl.rb delete mode 100644 java/sca-contrib/samples/calculator-script/src/test/java/calculator/CalculatorTestCase.java delete mode 100644 java/sca-contrib/samples/calculator-webapp/README delete mode 100644 java/sca-contrib/samples/calculator-webapp/calculator-web.png delete mode 100644 java/sca-contrib/samples/calculator-webapp/calculator-web.svg delete mode 100644 java/sca-contrib/samples/calculator-webapp/pom.xml delete mode 100644 java/sca-contrib/samples/calculator-webapp/src/main/java/calculator/AddService.java delete mode 100644 java/sca-contrib/samples/calculator-webapp/src/main/java/calculator/AddServiceImpl.java delete mode 100644 java/sca-contrib/samples/calculator-webapp/src/main/java/calculator/CalculatorService.java delete mode 100644 java/sca-contrib/samples/calculator-webapp/src/main/java/calculator/CalculatorServiceImpl.java delete mode 100644 java/sca-contrib/samples/calculator-webapp/src/main/java/calculator/DivideService.java delete mode 100644 java/sca-contrib/samples/calculator-webapp/src/main/java/calculator/DivideServiceImpl.java delete mode 100644 java/sca-contrib/samples/calculator-webapp/src/main/java/calculator/MultiplyService.java delete mode 100644 java/sca-contrib/samples/calculator-webapp/src/main/java/calculator/MultiplyServiceImpl.java delete mode 100644 java/sca-contrib/samples/calculator-webapp/src/main/java/calculator/SubtractService.java delete mode 100644 java/sca-contrib/samples/calculator-webapp/src/main/java/calculator/SubtractServiceImpl.java delete mode 100644 java/sca-contrib/samples/calculator-webapp/src/main/webapp/WEB-INF/geronimo-web.xml delete mode 100644 java/sca-contrib/samples/calculator-webapp/src/main/webapp/WEB-INF/web.composite delete mode 100644 java/sca-contrib/samples/calculator-webapp/src/main/webapp/WEB-INF/web.xml delete mode 100644 java/sca-contrib/samples/calculator-webapp/src/main/webapp/calc.jsp delete mode 100644 java/sca-contrib/samples/calculator-ws-secure-webapp/README delete mode 100644 java/sca-contrib/samples/calculator-ws-secure-webapp/calculator-web.png delete mode 100644 java/sca-contrib/samples/calculator-ws-secure-webapp/calculator-web.svg delete mode 100644 java/sca-contrib/samples/calculator-ws-secure-webapp/pom.xml delete mode 100644 java/sca-contrib/samples/calculator-ws-secure-webapp/src/main/java/calculator/AddService.java delete mode 100644 java/sca-contrib/samples/calculator-ws-secure-webapp/src/main/java/calculator/AddServiceImpl.java delete mode 100644 java/sca-contrib/samples/calculator-ws-secure-webapp/src/main/java/calculator/CalculatorClient.java delete mode 100644 java/sca-contrib/samples/calculator-ws-secure-webapp/src/main/java/calculator/CalculatorService.java delete mode 100644 java/sca-contrib/samples/calculator-ws-secure-webapp/src/main/java/calculator/CalculatorServiceImpl.java delete mode 100644 java/sca-contrib/samples/calculator-ws-secure-webapp/src/main/java/calculator/DivideService.java delete mode 100644 java/sca-contrib/samples/calculator-ws-secure-webapp/src/main/java/calculator/DivideServiceImpl.java delete mode 100644 java/sca-contrib/samples/calculator-ws-secure-webapp/src/main/java/calculator/MultiplyService.java delete mode 100644 java/sca-contrib/samples/calculator-ws-secure-webapp/src/main/java/calculator/MultiplyServiceImpl.java delete mode 100644 java/sca-contrib/samples/calculator-ws-secure-webapp/src/main/java/calculator/SubtractService.java delete mode 100644 java/sca-contrib/samples/calculator-ws-secure-webapp/src/main/java/calculator/SubtractServiceImpl.java delete mode 100644 java/sca-contrib/samples/calculator-ws-secure-webapp/src/main/java/calculator/security/ClientPWCBHandler.java delete mode 100644 java/sca-contrib/samples/calculator-ws-secure-webapp/src/main/java/calculator/security/ServerPWCBHandler.java delete mode 100644 java/sca-contrib/samples/calculator-ws-secure-webapp/src/main/resources/Calculator.composite delete mode 100644 java/sca-contrib/samples/calculator-ws-secure-webapp/src/main/resources/META-INF/services/org.apache.tuscany.sca.policy.util.PolicyHandler delete mode 100644 java/sca-contrib/samples/calculator-ws-secure-webapp/src/main/resources/calculatorKeys.jks delete mode 100644 java/sca-contrib/samples/calculator-ws-secure-webapp/src/main/resources/definitions.xml delete mode 100644 java/sca-contrib/samples/calculator-ws-secure-webapp/src/main/resources/security.properties delete mode 100644 java/sca-contrib/samples/calculator-ws-secure-webapp/src/main/webapp/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/samples/calculator-ws-secure-webapp/src/main/webapp/WEB-INF/geronimo-web.xml delete mode 100644 java/sca-contrib/samples/calculator-ws-secure-webapp/src/main/webapp/WEB-INF/web.xml delete mode 100644 java/sca-contrib/samples/calculator-ws-secure-webapp/src/main/webapp/calc.jsp delete mode 100644 java/sca-contrib/samples/calculator-ws-webapp/README delete mode 100644 java/sca-contrib/samples/calculator-ws-webapp/calculator-web.png delete mode 100644 java/sca-contrib/samples/calculator-ws-webapp/calculator-web.svg delete mode 100644 java/sca-contrib/samples/calculator-ws-webapp/pom.xml delete mode 100644 java/sca-contrib/samples/calculator-ws-webapp/src/main/java/calculator/AddService.java delete mode 100644 java/sca-contrib/samples/calculator-ws-webapp/src/main/java/calculator/AddServiceImpl.java delete mode 100644 java/sca-contrib/samples/calculator-ws-webapp/src/main/java/calculator/CalculatorClient.java delete mode 100644 java/sca-contrib/samples/calculator-ws-webapp/src/main/java/calculator/CalculatorService.java delete mode 100644 java/sca-contrib/samples/calculator-ws-webapp/src/main/java/calculator/CalculatorServiceImpl.java delete mode 100644 java/sca-contrib/samples/calculator-ws-webapp/src/main/java/calculator/DivideService.java delete mode 100644 java/sca-contrib/samples/calculator-ws-webapp/src/main/java/calculator/DivideServiceImpl.java delete mode 100644 java/sca-contrib/samples/calculator-ws-webapp/src/main/java/calculator/MultiplyService.java delete mode 100644 java/sca-contrib/samples/calculator-ws-webapp/src/main/java/calculator/MultiplyServiceImpl.java delete mode 100644 java/sca-contrib/samples/calculator-ws-webapp/src/main/java/calculator/SubtractService.java delete mode 100644 java/sca-contrib/samples/calculator-ws-webapp/src/main/java/calculator/SubtractServiceImpl.java delete mode 100644 java/sca-contrib/samples/calculator-ws-webapp/src/main/resources/Calculator.composite delete mode 100644 java/sca-contrib/samples/calculator-ws-webapp/src/main/webapp/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/samples/calculator-ws-webapp/src/main/webapp/WEB-INF/geronimo-web.xml delete mode 100644 java/sca-contrib/samples/calculator-ws-webapp/src/main/webapp/WEB-INF/web.xml delete mode 100644 java/sca-contrib/samples/calculator-ws-webapp/src/main/webapp/calc.jsp delete mode 100644 java/sca-contrib/samples/calculator2/README delete mode 100644 java/sca-contrib/samples/calculator2/build.xml delete mode 100644 java/sca-contrib/samples/calculator2/calculator.png delete mode 100644 java/sca-contrib/samples/calculator2/calculator.svg delete mode 100644 java/sca-contrib/samples/calculator2/pom.xml delete mode 100644 java/sca-contrib/samples/calculator2/src/main/java/calculator/AddService.java delete mode 100644 java/sca-contrib/samples/calculator2/src/main/java/calculator/AddServiceImpl.java delete mode 100644 java/sca-contrib/samples/calculator2/src/main/java/calculator/CalculatorClient.java delete mode 100644 java/sca-contrib/samples/calculator2/src/main/java/calculator/CalculatorService.java delete mode 100644 java/sca-contrib/samples/calculator2/src/main/java/calculator/CalculatorServiceImpl.java delete mode 100644 java/sca-contrib/samples/calculator2/src/main/java/calculator/DivideService.java delete mode 100644 java/sca-contrib/samples/calculator2/src/main/java/calculator/DivideServiceImpl.java delete mode 100644 java/sca-contrib/samples/calculator2/src/main/java/calculator/MultiplyService.java delete mode 100644 java/sca-contrib/samples/calculator2/src/main/java/calculator/MultiplyServiceImpl.java delete mode 100644 java/sca-contrib/samples/calculator2/src/main/java/calculator/SubtractService.java delete mode 100644 java/sca-contrib/samples/calculator2/src/main/java/calculator/SubtractServiceImpl.java delete mode 100644 java/sca-contrib/samples/calculator2/src/main/resources/Calculator.composite delete mode 100644 java/sca-contrib/samples/calculator2/src/test/java/calculator/CalculatorTestCase.java delete mode 100644 java/sca-contrib/samples/callback-ws-client/README delete mode 100644 java/sca-contrib/samples/callback-ws-client/build.xml delete mode 100644 java/sca-contrib/samples/callback-ws-client/callback-ws-client.png delete mode 100644 java/sca-contrib/samples/callback-ws-client/callback-ws-client.svg delete mode 100644 java/sca-contrib/samples/callback-ws-client/pom.xml delete mode 100644 java/sca-contrib/samples/callback-ws-client/src/main/java/myapp/MyClient.java delete mode 100644 java/sca-contrib/samples/callback-ws-client/src/main/java/myapp/MyClientImpl.java delete mode 100644 java/sca-contrib/samples/callback-ws-client/src/main/java/myserver/MyService.java delete mode 100644 java/sca-contrib/samples/callback-ws-client/src/main/java/myserver/MyServiceCallback.java delete mode 100644 java/sca-contrib/samples/callback-ws-client/src/main/resources/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/samples/callback-ws-client/src/main/resources/myapp.composite delete mode 100644 java/sca-contrib/samples/callback-ws-client/src/test/java/myapp/CallbackClientTestCase.java delete mode 100644 java/sca-contrib/samples/callback-ws-service/README delete mode 100644 java/sca-contrib/samples/callback-ws-service/build.xml delete mode 100644 java/sca-contrib/samples/callback-ws-service/callback-ws-service.png delete mode 100644 java/sca-contrib/samples/callback-ws-service/callback-ws-service.svg delete mode 100644 java/sca-contrib/samples/callback-ws-service/pom.xml delete mode 100644 java/sca-contrib/samples/callback-ws-service/src/main/java/myserver/CallbackServer.java delete mode 100644 java/sca-contrib/samples/callback-ws-service/src/main/java/myserver/MyService.java delete mode 100644 java/sca-contrib/samples/callback-ws-service/src/main/java/myserver/MyServiceCallback.java delete mode 100644 java/sca-contrib/samples/callback-ws-service/src/main/java/myserver/MyServiceImpl.java delete mode 100644 java/sca-contrib/samples/callback-ws-service/src/main/resources/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/samples/callback-ws-service/src/main/resources/callbackws.composite delete mode 100644 java/sca-contrib/samples/callback-ws-service/src/test/java/myserver/CallbackServerTestCase.java delete mode 100644 java/sca-contrib/samples/callbacks-jms/README delete mode 100644 java/sca-contrib/samples/callbacks-jms/build.xml delete mode 100644 java/sca-contrib/samples/callbacks-jms/pom.xml delete mode 100644 java/sca-contrib/samples/callbacks-jms/src/main/java/callbacks/OrderCallback.java delete mode 100644 java/sca-contrib/samples/callbacks-jms/src/main/java/callbacks/OrderRequest.java delete mode 100644 java/sca-contrib/samples/callbacks-jms/src/main/java/callbacks/OrderResponse.java delete mode 100644 java/sca-contrib/samples/callbacks-jms/src/main/java/callbacks/OrderService.java delete mode 100644 java/sca-contrib/samples/callbacks-jms/src/main/java/callbacks/OrderServiceClient.java delete mode 100644 java/sca-contrib/samples/callbacks-jms/src/main/java/callbacks/OrderServiceImpl.java delete mode 100644 java/sca-contrib/samples/callbacks-jms/src/main/resources/callbacks.composite delete mode 100644 java/sca-contrib/samples/callbacks-jms/src/main/resources/jndi.properties delete mode 100644 java/sca-contrib/samples/callbacks-jms/src/test/java/callbacks/CallbacksTestCase.java delete mode 100644 java/sca-contrib/samples/chat-webapp/README delete mode 100644 java/sca-contrib/samples/chat-webapp/chat-webapp.png delete mode 100644 java/sca-contrib/samples/chat-webapp/chat-webapp.svg delete mode 100644 java/sca-contrib/samples/chat-webapp/pom.xml delete mode 100644 java/sca-contrib/samples/chat-webapp/src/main/java/sample/ChatService.java delete mode 100644 java/sca-contrib/samples/chat-webapp/src/main/java/sample/ChatServiceImpl.java delete mode 100644 java/sca-contrib/samples/chat-webapp/src/main/resources/chat.composite delete mode 100644 java/sca-contrib/samples/chat-webapp/src/main/webapp/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/samples/chat-webapp/src/main/webapp/WEB-INF/web.xml delete mode 100644 java/sca-contrib/samples/chat-webapp/src/main/webapp/chat.html delete mode 100644 java/sca-contrib/samples/chat2-webapp/README delete mode 100644 java/sca-contrib/samples/chat2-webapp/build.xml delete mode 100644 java/sca-contrib/samples/chat2-webapp/pom.xml delete mode 100644 java/sca-contrib/samples/chat2-webapp/src/main/java/sample/ChatCallback.java delete mode 100644 java/sca-contrib/samples/chat2-webapp/src/main/java/sample/ChatService.java delete mode 100644 java/sca-contrib/samples/chat2-webapp/src/main/java/sample/ChatServiceImpl.java delete mode 100644 java/sca-contrib/samples/chat2-webapp/src/main/resources/chat.composite delete mode 100644 java/sca-contrib/samples/chat2-webapp/src/main/webapp/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/samples/chat2-webapp/src/main/webapp/WEB-INF/web.xml delete mode 100644 java/sca-contrib/samples/chat2-webapp/src/main/webapp/chat.html delete mode 100644 java/sca-contrib/samples/customer-dojo-webapp/README delete mode 100644 java/sca-contrib/samples/customer-dojo-webapp/build-dojo.xml delete mode 100644 java/sca-contrib/samples/customer-dojo-webapp/build.xml delete mode 100644 java/sca-contrib/samples/customer-dojo-webapp/customer-dojo-jsonrpc.png delete mode 100644 java/sca-contrib/samples/customer-dojo-webapp/customer-dojo-jsonrpc.svg delete mode 100644 java/sca-contrib/samples/customer-dojo-webapp/customer.sql delete mode 100644 java/sca-contrib/samples/customer-dojo-webapp/pom.xml delete mode 100644 java/sca-contrib/samples/customer-dojo-webapp/src/main/java/customer/Customer.java delete mode 100644 java/sca-contrib/samples/customer-dojo-webapp/src/main/java/customer/CustomerCollection.java delete mode 100644 java/sca-contrib/samples/customer-dojo-webapp/src/main/java/customer/CustomerCollectionImpl.java delete mode 100644 java/sca-contrib/samples/customer-dojo-webapp/src/main/java/customer/CustomerService.java delete mode 100644 java/sca-contrib/samples/customer-dojo-webapp/src/main/java/customer/CustomerServiceImpl.java delete mode 100644 java/sca-contrib/samples/customer-dojo-webapp/src/main/java/launch/Launch.java delete mode 100644 java/sca-contrib/samples/customer-dojo-webapp/src/main/resources/META-INF/orm.xml delete mode 100644 java/sca-contrib/samples/customer-dojo-webapp/src/main/resources/META-INF/persistence.xml delete mode 100644 java/sca-contrib/samples/customer-dojo-webapp/src/main/resources/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/samples/customer-dojo-webapp/src/main/resources/customer.composite delete mode 100644 java/sca-contrib/samples/customer-dojo-webapp/src/main/webapp/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/samples/customer-dojo-webapp/src/main/webapp/WEB-INF/geronimo-web.xml delete mode 100644 java/sca-contrib/samples/customer-dojo-webapp/src/main/webapp/WEB-INF/web.xml delete mode 100644 java/sca-contrib/samples/customer-dojo-webapp/src/main/webapp/customer.jsp delete mode 100644 java/sca-contrib/samples/customer-dojo/README delete mode 100644 java/sca-contrib/samples/customer-dojo/build-dojo.xml delete mode 100644 java/sca-contrib/samples/customer-dojo/build.xml delete mode 100644 java/sca-contrib/samples/customer-dojo/customer-dojo-jsonrpc.png delete mode 100644 java/sca-contrib/samples/customer-dojo/customer-dojo-jsonrpc.svg delete mode 100644 java/sca-contrib/samples/customer-dojo/customer.sql delete mode 100644 java/sca-contrib/samples/customer-dojo/pom.xml delete mode 100644 java/sca-contrib/samples/customer-dojo/src/main/java/customer/Customer.java delete mode 100644 java/sca-contrib/samples/customer-dojo/src/main/java/customer/CustomerCollection.java delete mode 100644 java/sca-contrib/samples/customer-dojo/src/main/java/customer/CustomerCollectionImpl.java delete mode 100644 java/sca-contrib/samples/customer-dojo/src/main/java/customer/CustomerService.java delete mode 100644 java/sca-contrib/samples/customer-dojo/src/main/java/customer/CustomerServiceImpl.java delete mode 100644 java/sca-contrib/samples/customer-dojo/src/main/java/launch/Launch.java delete mode 100644 java/sca-contrib/samples/customer-dojo/src/main/resources/META-INF/orm.xml delete mode 100644 java/sca-contrib/samples/customer-dojo/src/main/resources/META-INF/persistence.xml delete mode 100644 java/sca-contrib/samples/customer-dojo/src/main/resources/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/samples/customer-dojo/src/main/resources/content/customer.html delete mode 100644 java/sca-contrib/samples/customer-dojo/src/main/resources/customer.composite delete mode 100644 java/sca-contrib/samples/databinding-echo/README delete mode 100644 java/sca-contrib/samples/databinding-echo/build.xml delete mode 100644 java/sca-contrib/samples/databinding-echo/databinding-echo.png delete mode 100644 java/sca-contrib/samples/databinding-echo/databinding-echo.svg delete mode 100644 java/sca-contrib/samples/databinding-echo/pom.xml delete mode 100644 java/sca-contrib/samples/databinding-echo/src/main/java/dbecho/ComponentAImpl.java delete mode 100644 java/sca-contrib/samples/databinding-echo/src/main/java/dbecho/ComponentBImpl.java delete mode 100644 java/sca-contrib/samples/databinding-echo/src/main/java/dbecho/Echo.java delete mode 100644 java/sca-contrib/samples/databinding-echo/src/main/java/dbecho/EchoDataBindingClient.java delete mode 100644 java/sca-contrib/samples/databinding-echo/src/main/java/dbecho/Interface1.java delete mode 100644 java/sca-contrib/samples/databinding-echo/src/main/java/dbecho/Interface2.java delete mode 100644 java/sca-contrib/samples/databinding-echo/src/main/resources/EchoDataBinding.composite delete mode 100644 java/sca-contrib/samples/databinding-echo/src/main/resources/wsdl/echo.wsdl delete mode 100644 java/sca-contrib/samples/databinding-echo/src/test/java/dbecho/EchoDataBindingTestCase.java delete mode 100644 java/sca-contrib/samples/domain-management/README delete mode 100644 java/sca-contrib/samples/domain-management/pom.xml delete mode 100644 java/sca-contrib/samples/domain-management/src/main/java/manager/DistributeAndRunComponents.java delete mode 100644 java/sca-contrib/samples/domain-management/src/main/java/manager/DistributeComponents.java delete mode 100644 java/sca-contrib/samples/domain-management/src/main/java/manager/ListComponents.java delete mode 100644 java/sca-contrib/samples/domain-management/src/main/java/manager/ListDependencies.java delete mode 100644 java/sca-contrib/samples/domain-management/src/main/java/manager/ListDeployables.java delete mode 100644 java/sca-contrib/samples/domain-management/src/main/java/manager/WireComponents.java delete mode 100644 java/sca-contrib/samples/domain-management/src/test/java/services/Cart.java delete mode 100644 java/sca-contrib/samples/domain-management/src/test/java/services/Item.java delete mode 100644 java/sca-contrib/samples/domain-management/src/test/java/services/ShoppingCartClientImpl.java delete mode 100644 java/sca-contrib/samples/domain-management/src/test/java/services/ShoppingCartImpl.java delete mode 100644 java/sca-contrib/samples/domain-management/src/test/resources/assembly/assets.xml delete mode 100644 java/sca-contrib/samples/domain-management/src/test/resources/assembly/client.xml delete mode 100644 java/sca-contrib/samples/domain-management/src/test/resources/assembly/store.xml delete mode 100644 java/sca-contrib/samples/domain-management/src/test/resources/assets/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/samples/domain-management/src/test/resources/client/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/samples/domain-management/src/test/resources/client/client.composite delete mode 100644 java/sca-contrib/samples/domain-management/src/test/resources/store/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/samples/domain-management/src/test/resources/store/store.composite delete mode 100644 java/sca-contrib/samples/domain-webapp/README delete mode 100644 java/sca-contrib/samples/domain-webapp/build.xml delete mode 100644 java/sca-contrib/samples/domain-webapp/pom.xml delete mode 100644 java/sca-contrib/samples/domain-webapp/src/main/java/node/DomainServer.java delete mode 100755 java/sca-contrib/samples/domain-webapp/src/main/resources/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/samples/domain-webapp/src/main/resources/domain.composite delete mode 100644 java/sca-contrib/samples/domain-webapp/src/main/resources/webroot/index.html delete mode 100644 java/sca-contrib/samples/domain-webapp/src/main/resources/webroot/node.png delete mode 100644 java/sca-contrib/samples/domain-webapp/src/main/resources/webroot/style.css delete mode 100644 java/sca-contrib/samples/feed-aggregator-webapp/README delete mode 100644 java/sca-contrib/samples/feed-aggregator-webapp/feed-aggregator-webapp.png delete mode 100644 java/sca-contrib/samples/feed-aggregator-webapp/feed-aggregator-webapp.svg delete mode 100644 java/sca-contrib/samples/feed-aggregator-webapp/pom.xml delete mode 100644 java/sca-contrib/samples/feed-aggregator-webapp/src/main/java/feed/AggregatorImpl.java delete mode 100644 java/sca-contrib/samples/feed-aggregator-webapp/src/main/java/feed/Sort.java delete mode 100644 java/sca-contrib/samples/feed-aggregator-webapp/src/main/java/feed/SortImpl.java delete mode 100644 java/sca-contrib/samples/feed-aggregator-webapp/src/main/resources/FeedAggregator.composite delete mode 100644 java/sca-contrib/samples/feed-aggregator-webapp/src/main/webapp/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/samples/feed-aggregator-webapp/src/main/webapp/WEB-INF/web.xml delete mode 100644 java/sca-contrib/samples/feed-aggregator-webapp/src/main/webapp/index.html delete mode 100644 java/sca-contrib/samples/feed-aggregator/README delete mode 100644 java/sca-contrib/samples/feed-aggregator/build.xml delete mode 100644 java/sca-contrib/samples/feed-aggregator/feed-aggregator.png delete mode 100644 java/sca-contrib/samples/feed-aggregator/feed-aggregator.svg delete mode 100644 java/sca-contrib/samples/feed-aggregator/pom.xml delete mode 100644 java/sca-contrib/samples/feed-aggregator/src/main/java/feed/AggregatorImpl.java delete mode 100644 java/sca-contrib/samples/feed-aggregator/src/main/java/feed/Sort.java delete mode 100644 java/sca-contrib/samples/feed-aggregator/src/main/java/feed/SortImpl.java delete mode 100644 java/sca-contrib/samples/feed-aggregator/src/main/java/launch/LaunchFeedServer.java delete mode 100644 java/sca-contrib/samples/feed-aggregator/src/main/resources/FeedAggregator.composite delete mode 100644 java/sca-contrib/samples/feed-aggregator/src/test/java/feed/FeedAggregatorTest.java delete mode 100644 java/sca-contrib/samples/helloworld-bpel-ws/README delete mode 100644 java/sca-contrib/samples/helloworld-bpel-ws/build.xml delete mode 100644 java/sca-contrib/samples/helloworld-bpel-ws/helloworld-bpel.png delete mode 100644 java/sca-contrib/samples/helloworld-bpel-ws/helloworld-bpel.svg delete mode 100644 java/sca-contrib/samples/helloworld-bpel-ws/pom.xml delete mode 100644 java/sca-contrib/samples/helloworld-bpel-ws/src/main/java/helloworld/BPELClient.java delete mode 100644 java/sca-contrib/samples/helloworld-bpel-ws/src/main/resources/deploy.xml delete mode 100644 java/sca-contrib/samples/helloworld-bpel-ws/src/main/resources/helloworld.bpel delete mode 100644 java/sca-contrib/samples/helloworld-bpel-ws/src/main/resources/helloworld.componentType delete mode 100644 java/sca-contrib/samples/helloworld-bpel-ws/src/main/resources/helloworld.composite delete mode 100644 java/sca-contrib/samples/helloworld-bpel-ws/src/main/resources/helloworld.wsdl delete mode 100644 java/sca-contrib/samples/helloworld-bpel-ws/src/main/resources/log4j.properties delete mode 100644 java/sca-contrib/samples/helloworld-bpel-ws/src/test/java/helloworld/BPELHelloWorldTestCase.java delete mode 100644 java/sca-contrib/samples/helloworld-bpel/README delete mode 100644 java/sca-contrib/samples/helloworld-bpel/build.xml delete mode 100644 java/sca-contrib/samples/helloworld-bpel/helloworld-bpel.png delete mode 100644 java/sca-contrib/samples/helloworld-bpel/helloworld-bpel.svg delete mode 100644 java/sca-contrib/samples/helloworld-bpel/pom.xml delete mode 100644 java/sca-contrib/samples/helloworld-bpel/src/main/java/helloworld/BPELClient.java delete mode 100644 java/sca-contrib/samples/helloworld-bpel/src/main/resources/deploy.xml delete mode 100644 java/sca-contrib/samples/helloworld-bpel/src/main/resources/helloworld.bpel delete mode 100644 java/sca-contrib/samples/helloworld-bpel/src/main/resources/helloworld.componentType delete mode 100644 java/sca-contrib/samples/helloworld-bpel/src/main/resources/helloworld.composite delete mode 100644 java/sca-contrib/samples/helloworld-bpel/src/main/resources/helloworld.wsdl delete mode 100644 java/sca-contrib/samples/helloworld-bpel/src/main/resources/log4j.properties delete mode 100644 java/sca-contrib/samples/helloworld-bpel/src/test/java/helloworld/BPELHelloWorldTestCase.java delete mode 100644 java/sca-contrib/samples/helloworld-distributed/README delete mode 100644 java/sca-contrib/samples/helloworld-distributed/helloworld-node/README delete mode 100644 java/sca-contrib/samples/helloworld-distributed/helloworld-node/pom.xml delete mode 100644 java/sca-contrib/samples/helloworld-distributed/helloworld-node/src/main/java/sample/Helloworld.java delete mode 100644 java/sca-contrib/samples/helloworld-distributed/helloworld-node/src/main/java/sample/HelloworldImpl.java delete mode 100644 java/sca-contrib/samples/helloworld-distributed/helloworld-node/src/main/resources/META-INF/sca-deployables/Helloworld.composite delete mode 100644 java/sca-contrib/samples/helloworld-distributed/helloworld-webapp/README delete mode 100644 java/sca-contrib/samples/helloworld-distributed/helloworld-webapp/build.xml delete mode 100644 java/sca-contrib/samples/helloworld-distributed/helloworld-webapp/pom.xml delete mode 100644 java/sca-contrib/samples/helloworld-distributed/helloworld-webapp/src/main/java/sample/Helloworld.java delete mode 100644 java/sca-contrib/samples/helloworld-distributed/helloworld-webapp/src/main/webapp/WEB-INF/web.composite delete mode 100644 java/sca-contrib/samples/helloworld-distributed/helloworld-webapp/src/main/webapp/WEB-INF/web.xml delete mode 100644 java/sca-contrib/samples/helloworld-distributed/helloworld-webapp/src/main/webapp/hello.jsp delete mode 100644 java/sca-contrib/samples/helloworld-dojo-webapp/README delete mode 100644 java/sca-contrib/samples/helloworld-dojo-webapp/build-dojo.xml delete mode 100644 java/sca-contrib/samples/helloworld-dojo-webapp/build.xml delete mode 100644 java/sca-contrib/samples/helloworld-dojo-webapp/helloworld-jsonrpc.png delete mode 100644 java/sca-contrib/samples/helloworld-dojo-webapp/helloworld-jsonrpc.svg delete mode 100644 java/sca-contrib/samples/helloworld-dojo-webapp/pom.xml delete mode 100644 java/sca-contrib/samples/helloworld-dojo-webapp/src/main/java/helloworldjsonrpc/HelloWorldService.java delete mode 100644 java/sca-contrib/samples/helloworld-dojo-webapp/src/main/java/helloworldjsonrpc/HelloWorldServiceImpl.java delete mode 100644 java/sca-contrib/samples/helloworld-dojo-webapp/src/main/resources/jsonrpc.composite delete mode 100644 java/sca-contrib/samples/helloworld-dojo-webapp/src/main/webapp/HelloWorldJSONRPC.html delete mode 100644 java/sca-contrib/samples/helloworld-dojo-webapp/src/main/webapp/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/samples/helloworld-dojo-webapp/src/main/webapp/WEB-INF/web.xml delete mode 100644 java/sca-contrib/samples/helloworld-dojo-webapp/src/main/webapp/style.css delete mode 100644 java/sca-contrib/samples/helloworld-jms-webapp/README delete mode 100644 java/sca-contrib/samples/helloworld-jms-webapp/pom.xml delete mode 100644 java/sca-contrib/samples/helloworld-jms-webapp/src/main/java/helloworld/HelloWorldClient.java delete mode 100644 java/sca-contrib/samples/helloworld-jms-webapp/src/main/java/helloworld/HelloWorldService.java delete mode 100644 java/sca-contrib/samples/helloworld-jms-webapp/src/main/java/helloworld/HelloWorldServiceImpl.java delete mode 100644 java/sca-contrib/samples/helloworld-jms-webapp/src/main/webapp/META-INF/context.xml delete mode 100644 java/sca-contrib/samples/helloworld-jms-webapp/src/main/webapp/META-INF/sca-deployables/HelloWorld.composite delete mode 100644 java/sca-contrib/samples/helloworld-jms-webapp/src/main/webapp/WEB-INF/web.xml delete mode 100644 java/sca-contrib/samples/helloworld-jms-webapp/src/main/webapp/hello.jsp delete mode 100644 java/sca-contrib/samples/helloworld-jsonrpc-webapp/README delete mode 100644 java/sca-contrib/samples/helloworld-jsonrpc-webapp/helloworld-jsonrpc.png delete mode 100644 java/sca-contrib/samples/helloworld-jsonrpc-webapp/helloworld-jsonrpc.svg delete mode 100644 java/sca-contrib/samples/helloworld-jsonrpc-webapp/pom.xml delete mode 100644 java/sca-contrib/samples/helloworld-jsonrpc-webapp/src/main/java/helloworldjsonrpc/HelloWorldService.java delete mode 100644 java/sca-contrib/samples/helloworld-jsonrpc-webapp/src/main/java/helloworldjsonrpc/HelloWorldServiceImpl.java delete mode 100644 java/sca-contrib/samples/helloworld-jsonrpc-webapp/src/main/resources/jsonrpc.composite delete mode 100644 java/sca-contrib/samples/helloworld-jsonrpc-webapp/src/main/webapp/HelloWorldJSONRPC.html delete mode 100644 java/sca-contrib/samples/helloworld-jsonrpc-webapp/src/main/webapp/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/samples/helloworld-jsonrpc-webapp/src/main/webapp/WEB-INF/web.xml delete mode 100644 java/sca-contrib/samples/helloworld-jsonrpc-webapp/src/main/webapp/style.css delete mode 100644 java/sca-contrib/samples/helloworld-jsp/pom.xml delete mode 100644 java/sca-contrib/samples/helloworld-jsp/src/main/java/sample/HelloworldService.java delete mode 100644 java/sca-contrib/samples/helloworld-jsp/src/main/java/sample/HelloworldServiceImpl.java delete mode 100644 java/sca-contrib/samples/helloworld-jsp/src/main/webapp/META-INF/sca-deployables/web.composite delete mode 100644 java/sca-contrib/samples/helloworld-jsp/src/main/webapp/WEB-INF/web.xml delete mode 100644 java/sca-contrib/samples/helloworld-jsp/src/main/webapp/hello.jsp delete mode 100644 java/sca-contrib/samples/helloworld-reference-jms/README delete mode 100644 java/sca-contrib/samples/helloworld-reference-jms/build.xml delete mode 100644 java/sca-contrib/samples/helloworld-reference-jms/helloworld-reference.png delete mode 100644 java/sca-contrib/samples/helloworld-reference-jms/helloworld-reference.svg delete mode 100644 java/sca-contrib/samples/helloworld-reference-jms/pom.xml delete mode 100644 java/sca-contrib/samples/helloworld-reference-jms/src/main/java/helloworld/HelloWorldImpl.java delete mode 100644 java/sca-contrib/samples/helloworld-reference-jms/src/main/java/helloworld/HelloWorldJmsClient.java delete mode 100644 java/sca-contrib/samples/helloworld-reference-jms/src/main/java/helloworld/HelloWorldService.java delete mode 100644 java/sca-contrib/samples/helloworld-reference-jms/src/main/java/helloworld/HelloWorldServiceComponent.java delete mode 100644 java/sca-contrib/samples/helloworld-reference-jms/src/main/resources/helloworldjmsreference.composite delete mode 100644 java/sca-contrib/samples/helloworld-reference-jms/src/main/resources/helloworldjmsservice.composite delete mode 100644 java/sca-contrib/samples/helloworld-reference-jms/src/main/resources/logging.properties delete mode 100644 java/sca-contrib/samples/helloworld-reference-jms/src/main/resources/wsdl/helloworld.wsdl delete mode 100644 java/sca-contrib/samples/helloworld-reference-jms/src/test/java/helloworld/HelloWorldJmsClientTestCase.java delete mode 100644 java/sca-contrib/samples/helloworld-service-jms/README delete mode 100644 java/sca-contrib/samples/helloworld-service-jms/build.xml delete mode 100644 java/sca-contrib/samples/helloworld-service-jms/helloworld-service.png delete mode 100644 java/sca-contrib/samples/helloworld-service-jms/helloworld-service.svg delete mode 100644 java/sca-contrib/samples/helloworld-service-jms/pom.xml delete mode 100644 java/sca-contrib/samples/helloworld-service-jms/src/main/java/helloworld/HelloWorldImpl.java delete mode 100644 java/sca-contrib/samples/helloworld-service-jms/src/main/java/helloworld/HelloWorldServer.java delete mode 100644 java/sca-contrib/samples/helloworld-service-jms/src/main/java/helloworld/HelloWorldService.java delete mode 100644 java/sca-contrib/samples/helloworld-service-jms/src/main/resources/definitions.xml delete mode 100644 java/sca-contrib/samples/helloworld-service-jms/src/main/resources/helloworldjmsservice.composite delete mode 100644 java/sca-contrib/samples/helloworld-service-jms/src/main/resources/wsdl/helloworld.wsdl delete mode 100644 java/sca-contrib/samples/helloworld-service-jms/src/test/java/helloworld/HelloWorldJmsServerTestCaseOff.java delete mode 100644 java/sca-contrib/samples/helloworld-servlet/pom.xml delete mode 100644 java/sca-contrib/samples/helloworld-servlet/src/main/java/sample/HelloworldService.java delete mode 100644 java/sca-contrib/samples/helloworld-servlet/src/main/java/sample/HelloworldServiceImpl.java delete mode 100644 java/sca-contrib/samples/helloworld-servlet/src/main/java/sample/HelloworldServlet.java delete mode 100644 java/sca-contrib/samples/helloworld-servlet/src/main/webapp/META-INF/sca-deployables/web.composite delete mode 100644 java/sca-contrib/samples/helloworld-servlet/src/main/webapp/WEB-INF/web.xml delete mode 100644 java/sca-contrib/samples/helloworld-servlet/src/main/webapp/hello.html delete mode 100644 java/sca-contrib/samples/helloworld-web-callback/pom.xml delete mode 100644 java/sca-contrib/samples/helloworld-web-callback/src/main/java/sample/HelloworldCallback.java delete mode 100644 java/sca-contrib/samples/helloworld-web-callback/src/main/java/sample/HelloworldService.java delete mode 100644 java/sca-contrib/samples/helloworld-web-callback/src/main/java/sample/HelloworldServiceImpl.java delete mode 100644 java/sca-contrib/samples/helloworld-web-callback/src/main/webapp/META-INF/sca-deployables/web.composite delete mode 100644 java/sca-contrib/samples/helloworld-web-callback/src/main/webapp/WEB-INF/web.xml delete mode 100644 java/sca-contrib/samples/helloworld-web-callback/src/main/webapp/hello.html delete mode 100644 java/sca-contrib/samples/helloworld-web/pom.xml delete mode 100644 java/sca-contrib/samples/helloworld-web/src/main/java/sample/HelloworldService.java delete mode 100644 java/sca-contrib/samples/helloworld-web/src/main/java/sample/HelloworldServiceImpl.java delete mode 100644 java/sca-contrib/samples/helloworld-web/src/main/webapp/META-INF/sca-deployables/web.composite delete mode 100644 java/sca-contrib/samples/helloworld-web/src/main/webapp/WEB-INF/web.xml delete mode 100644 java/sca-contrib/samples/helloworld-web/src/main/webapp/hello.html delete mode 100644 java/sca-contrib/samples/helloworld-ws-deep-webapp/README delete mode 100644 java/sca-contrib/samples/helloworld-ws-deep-webapp/build.xml delete mode 100644 java/sca-contrib/samples/helloworld-ws-deep-webapp/pom.xml delete mode 100644 java/sca-contrib/samples/helloworld-ws-deep-webapp/src/main/java/helloworld/HelloWorldImpl.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-deep-webapp/src/main/java/helloworld/HelloWorldService.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-deep-webapp/src/main/resources/META-INF/sca-deployables/helloworldws.composite delete mode 100644 java/sca-contrib/samples/helloworld-ws-deep-webapp/src/main/resources/wsdl/helloworld.wsdl delete mode 100644 java/sca-contrib/samples/helloworld-ws-deep-webapp/src/main/webapp/WEB-INF/web.xml delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference-jms/README delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference-jms/build.xml delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference-jms/helloworld-ws-reference.png delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference-jms/helloworld-ws-reference.svg delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference-jms/pom.xml delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference-jms/src/main/java/helloworld/HelloWorldImpl.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference-jms/src/main/java/helloworld/HelloWorldJmsClient.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference-jms/src/main/java/helloworld/HelloWorldService.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference-jms/src/main/java/helloworld/HelloWorldServiceComponent.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference-jms/src/main/resources/helloworldwsjms.composite delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference-jms/src/main/resources/helloworldwsjmsclient.composite delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference-jms/src/main/resources/logging.properties delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference-jms/src/main/resources/wsdl/helloworld.wsdl delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference-jms/src/test/java/helloworld/HelloWorldJmsClientTestCase.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference-lean/README delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference-lean/helloworld-ws-reference.png delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference-lean/helloworld-ws-reference.svg delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference-lean/pom.xml delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference-lean/src/main/java/helloworld/HelloWorldClient.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference-lean/src/main/java/helloworld/HelloWorldClient2.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference-lean/src/main/java/helloworld/HelloWorldClient3.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference-lean/src/main/java/helloworld/HelloWorldClient4.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference-lean/src/main/java/helloworld/HelloWorldClient5.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference-lean/src/main/java/helloworld/HelloWorldService.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference-lean/src/main/resources/helloworldwsclient.composite delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference-lean/src/main/resources/helloworldwsclient2.composite delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference-lean/src/main/resources/helloworldwsclient3.composite delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference-lean/src/main/resources/helloworldwsclient4.composite delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference-lean/src/main/resources/helloworldwsclient5.composite delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference-lean/src/main/resources/logging.properties delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference-lean/src/main/resources/wsdl/helloworld.wsdl delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference-lean/src/test/java/helloworld/HelloWorldClientTestCase.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference-lean/src/test/java/helloworld/HelloWorldTestServer.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference-secure/README delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference-secure/build.xml delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference-secure/helloworld-ws-reference-secure.png delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference-secure/helloworld-ws-reference-secure.svg delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference-secure/pom.xml delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference-secure/src/main/java/helloworld/ClientPWCBHandler.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference-secure/src/main/java/helloworld/HelloWorldClient.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference-secure/src/main/java/helloworld/HelloWorldService.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference-secure/src/main/java/helloworld/HelloWorldServiceComponent.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference-secure/src/main/resources/META-INF/services/org.apache.tuscany.sca.policy.util.PolicyHandler delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference-secure/src/main/resources/definitions.xml delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference-secure/src/main/resources/helloworldKeys.jks delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference-secure/src/main/resources/helloworldwsclient.composite delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference-secure/src/main/resources/logging.properties delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference-secure/src/main/resources/wsdl/helloworld.wsdl delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference-secure/src/test/java/helloworld/HelloWorldClientTestCase.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference-secure/src/test/java/helloworld/HelloWorldTestServer.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference/README delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference/build.xml delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference/helloworld-ws-reference.png delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference/helloworld-ws-reference.svg delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference/pom.xml delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference/src/main/java/helloworld/HelloWorldClient.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference/src/main/java/helloworld/HelloWorldService.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference/src/main/java/helloworld/HelloWorldServiceComponent.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference/src/main/resources/helloworldwsclient.composite delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference/src/main/resources/logging.properties delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference/src/main/resources/wsdl/helloworld.wsdl delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference/src/test/java/helloworld/HelloWorldClientTestCase.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-reference/src/test/java/helloworld/HelloWorldTestServer.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-sdo-webapp/README delete mode 100644 java/sca-contrib/samples/helloworld-ws-sdo-webapp/build.xml delete mode 100644 java/sca-contrib/samples/helloworld-ws-sdo-webapp/helloworld-ws-sdo-webapp.png delete mode 100644 java/sca-contrib/samples/helloworld-ws-sdo-webapp/helloworld-ws-sdo-webapp.svg delete mode 100644 java/sca-contrib/samples/helloworld-ws-sdo-webapp/pom.xml delete mode 100644 java/sca-contrib/samples/helloworld-ws-sdo-webapp/src/main/java/helloworld/HelloWorld.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-sdo-webapp/src/main/java/helloworld/HelloWorldComponent.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-sdo-webapp/src/main/java/helloworld/HelloWorldImpl.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-sdo-webapp/src/main/resources/helloworldws.composite delete mode 100644 java/sca-contrib/samples/helloworld-ws-sdo-webapp/src/main/resources/wsdl/helloworld.wsdl delete mode 100644 java/sca-contrib/samples/helloworld-ws-sdo-webapp/src/main/resources/wsdl/helloworld.xsd delete mode 100644 java/sca-contrib/samples/helloworld-ws-sdo-webapp/src/main/webapp/HelloWorld.jsp delete mode 100644 java/sca-contrib/samples/helloworld-ws-sdo-webapp/src/main/webapp/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/samples/helloworld-ws-sdo-webapp/src/main/webapp/WEB-INF/geronimo-web.xml delete mode 100644 java/sca-contrib/samples/helloworld-ws-sdo-webapp/src/main/webapp/WEB-INF/web.xml delete mode 100644 java/sca-contrib/samples/helloworld-ws-sdo/README delete mode 100644 java/sca-contrib/samples/helloworld-ws-sdo/build.xml delete mode 100644 java/sca-contrib/samples/helloworld-ws-sdo/helloworld-ws-sdo.png delete mode 100644 java/sca-contrib/samples/helloworld-ws-sdo/helloworld-ws-sdo.svg delete mode 100644 java/sca-contrib/samples/helloworld-ws-sdo/pom.xml delete mode 100644 java/sca-contrib/samples/helloworld-ws-sdo/src/main/java/helloworld/HelloWorldClient.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-sdo/src/main/java/helloworld/HelloWorldImpl.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-sdo/src/main/java/helloworld/HelloWorldServer.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-sdo/src/main/java/helloworld/HelloWorldService.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-sdo/src/main/java/helloworld/HelloWorldServiceComponent.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-sdo/src/main/resources/helloworldws.composite delete mode 100644 java/sca-contrib/samples/helloworld-ws-sdo/src/main/resources/helloworldwsclient.composite delete mode 100644 java/sca-contrib/samples/helloworld-ws-sdo/src/main/resources/logging.properties delete mode 100644 java/sca-contrib/samples/helloworld-ws-sdo/src/main/resources/wsdl/helloworld.wsdl delete mode 100644 java/sca-contrib/samples/helloworld-ws-sdo/src/test/java/helloworld/HelloWorldClientTestCase.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-sdo/src/test/java/helloworld/HelloWorldTestServer.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-service-jms/README delete mode 100644 java/sca-contrib/samples/helloworld-ws-service-jms/build.xml delete mode 100644 java/sca-contrib/samples/helloworld-ws-service-jms/helloworld-ws-service.png delete mode 100644 java/sca-contrib/samples/helloworld-ws-service-jms/helloworld-ws-service.svg delete mode 100644 java/sca-contrib/samples/helloworld-ws-service-jms/pom.xml delete mode 100644 java/sca-contrib/samples/helloworld-ws-service-jms/src/main/java/helloworld/HelloWorldImpl.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-service-jms/src/main/java/helloworld/HelloWorldServer.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-service-jms/src/main/java/helloworld/HelloWorldService.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-service-jms/src/main/resources/definitions.xml delete mode 100644 java/sca-contrib/samples/helloworld-ws-service-jms/src/main/resources/helloworldwsjms.composite delete mode 100644 java/sca-contrib/samples/helloworld-ws-service-jms/src/main/resources/helloworldwsjmspolicy.composite delete mode 100644 java/sca-contrib/samples/helloworld-ws-service-jms/src/main/resources/wsdl/helloworld.wsdl delete mode 100644 java/sca-contrib/samples/helloworld-ws-service-jms/src/test/java/helloworld/HelloWorldJmsPolicyServerTestCase.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-service-jms/src/test/java/helloworld/HelloWorldJmsServerTestCase.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-service-secure/README delete mode 100644 java/sca-contrib/samples/helloworld-ws-service-secure/build.xml delete mode 100644 java/sca-contrib/samples/helloworld-ws-service-secure/helloworld-ws-service-secure.png delete mode 100644 java/sca-contrib/samples/helloworld-ws-service-secure/helloworld-ws-service-secure.svg delete mode 100644 java/sca-contrib/samples/helloworld-ws-service-secure/pom.xml delete mode 100644 java/sca-contrib/samples/helloworld-ws-service-secure/src/main/java/helloworld/HelloWorldImpl.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-service-secure/src/main/java/helloworld/HelloWorldServer.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-service-secure/src/main/java/helloworld/HelloWorldService.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-service-secure/src/main/java/helloworld/ServerPWCBHandler.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-service-secure/src/main/resources/definitions.xml delete mode 100644 java/sca-contrib/samples/helloworld-ws-service-secure/src/main/resources/helloworldKeys.jks delete mode 100644 java/sca-contrib/samples/helloworld-ws-service-secure/src/main/resources/helloworldws.composite delete mode 100644 java/sca-contrib/samples/helloworld-ws-service-secure/src/main/resources/wsdl/helloworld.wsdl delete mode 100644 java/sca-contrib/samples/helloworld-ws-service-secure/src/test/java/helloworld/HelloWorldServerTestCase.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-service-webapp/README delete mode 100644 java/sca-contrib/samples/helloworld-ws-service-webapp/build.xml delete mode 100644 java/sca-contrib/samples/helloworld-ws-service-webapp/pom.xml delete mode 100644 java/sca-contrib/samples/helloworld-ws-service-webapp/src/main/java/helloworld/HelloWorldImpl.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-service-webapp/src/main/java/helloworld/HelloWorldService.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-service-webapp/src/main/resources/wsdl/helloworld.wsdl delete mode 100644 java/sca-contrib/samples/helloworld-ws-service-webapp/src/main/webapp/META-INF/sca-deployables/helloworldws.composite delete mode 100644 java/sca-contrib/samples/helloworld-ws-service-webapp/src/main/webapp/WEB-INF/geronimo-web.xml delete mode 100644 java/sca-contrib/samples/helloworld-ws-service-webapp/src/main/webapp/WEB-INF/web.xml delete mode 100644 java/sca-contrib/samples/helloworld-ws-service/README delete mode 100644 java/sca-contrib/samples/helloworld-ws-service/build.xml delete mode 100644 java/sca-contrib/samples/helloworld-ws-service/helloworld-ws-service.png delete mode 100644 java/sca-contrib/samples/helloworld-ws-service/helloworld-ws-service.svg delete mode 100644 java/sca-contrib/samples/helloworld-ws-service/pom.xml delete mode 100644 java/sca-contrib/samples/helloworld-ws-service/src/main/java/helloworld/HelloWorldImpl.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-service/src/main/java/helloworld/HelloWorldServer.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-service/src/main/java/helloworld/HelloWorldService.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-service/src/main/java/org/example/orderservice/ObjectFactory.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-service/src/main/java/org/example/orderservice/Order.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-service/src/main/java/org/example/orderservice/OrderService.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-service/src/main/java/org/example/orderservice/OrderServiceImpl.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-service/src/main/java/org/example/orderservice/OrderService_Service.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-service/src/main/java/org/example/orderservice/ReviewOrder.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-service/src/main/java/org/example/orderservice/ReviewOrderResponse.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-service/src/main/java/org/example/orderservice/Status.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-service/src/main/java/org/example/orderservice/package-info.java delete mode 100644 java/sca-contrib/samples/helloworld-ws-service/src/main/resources/META-INF/sca-deployables/helloworldws.composite delete mode 100644 java/sca-contrib/samples/helloworld-ws-service/src/main/resources/META-INF/sca-deployables/orderws.composite delete mode 100644 java/sca-contrib/samples/helloworld-ws-service/src/main/resources/wsdl/helloworld.wsdl delete mode 100644 java/sca-contrib/samples/helloworld-ws-service/src/main/resources/wsdl/orderservice.wsdl delete mode 100644 java/sca-contrib/samples/helloworld-ws-service/src/test/java/helloworld/HelloWorldServerTestCase.java delete mode 100644 java/sca-contrib/samples/host-webapp-calculator/README delete mode 100644 java/sca-contrib/samples/host-webapp-calculator/build.xml delete mode 100644 java/sca-contrib/samples/host-webapp-calculator/calculator-web.png delete mode 100644 java/sca-contrib/samples/host-webapp-calculator/calculator-web.svg delete mode 100644 java/sca-contrib/samples/host-webapp-calculator/pom.xml delete mode 100644 java/sca-contrib/samples/host-webapp-calculator/src/main/java/calculator/AddService.java delete mode 100644 java/sca-contrib/samples/host-webapp-calculator/src/main/java/calculator/AddServiceImpl.java delete mode 100644 java/sca-contrib/samples/host-webapp-calculator/src/main/java/calculator/CalculatorService.java delete mode 100644 java/sca-contrib/samples/host-webapp-calculator/src/main/java/calculator/CalculatorServiceImpl.java delete mode 100644 java/sca-contrib/samples/host-webapp-calculator/src/main/java/calculator/DivideService.java delete mode 100644 java/sca-contrib/samples/host-webapp-calculator/src/main/java/calculator/DivideServiceImpl.java delete mode 100644 java/sca-contrib/samples/host-webapp-calculator/src/main/java/calculator/MultiplyService.java delete mode 100644 java/sca-contrib/samples/host-webapp-calculator/src/main/java/calculator/MultiplyServiceImpl.java delete mode 100644 java/sca-contrib/samples/host-webapp-calculator/src/main/java/calculator/SubtractService.java delete mode 100644 java/sca-contrib/samples/host-webapp-calculator/src/main/java/calculator/SubtractServiceImpl.java delete mode 100644 java/sca-contrib/samples/host-webapp-calculator/src/main/resources/Calculator.composite delete mode 100644 java/sca-contrib/samples/host-webapp-calculator/src/main/webapp/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/samples/host-webapp-calculator/src/main/webapp/WEB-INF/geronimo-web.xml delete mode 100644 java/sca-contrib/samples/host-webapp-calculator/src/main/webapp/WEB-INF/web.composite delete mode 100644 java/sca-contrib/samples/host-webapp-calculator/src/main/webapp/WEB-INF/web.xml delete mode 100644 java/sca-contrib/samples/host-webapp-calculator/src/main/webapp/calc.jsp delete mode 100644 java/sca-contrib/samples/implementation-composite/README delete mode 100644 java/sca-contrib/samples/implementation-composite/build.xml delete mode 100644 java/sca-contrib/samples/implementation-composite/implementation-composite.png delete mode 100644 java/sca-contrib/samples/implementation-composite/implementation-composite.svg delete mode 100644 java/sca-contrib/samples/implementation-composite/pom.xml delete mode 100644 java/sca-contrib/samples/implementation-composite/src/main/java/composite/CompositeClient.java delete mode 100644 java/sca-contrib/samples/implementation-composite/src/main/java/composite/Source.java delete mode 100644 java/sca-contrib/samples/implementation-composite/src/main/java/composite/SourceCallback.java delete mode 100644 java/sca-contrib/samples/implementation-composite/src/main/java/composite/SourceImpl.java delete mode 100644 java/sca-contrib/samples/implementation-composite/src/main/java/composite/Target.java delete mode 100644 java/sca-contrib/samples/implementation-composite/src/main/java/composite/TargetImpl.java delete mode 100644 java/sca-contrib/samples/implementation-composite/src/main/resources/InnerComposite.composite delete mode 100644 java/sca-contrib/samples/implementation-composite/src/main/resources/InnerComposite2.composite delete mode 100644 java/sca-contrib/samples/implementation-composite/src/main/resources/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/samples/implementation-composite/src/main/resources/OuterComposite.composite delete mode 100644 java/sca-contrib/samples/implementation-composite/src/test/java/composite/CompositeTestCase.java delete mode 100644 java/sca-contrib/samples/implementation-crud-extension/README delete mode 100644 java/sca-contrib/samples/implementation-crud-extension/build.xml delete mode 100644 java/sca-contrib/samples/implementation-crud-extension/pom.xml delete mode 100644 java/sca-contrib/samples/implementation-crud-extension/src/main/java/crud/CRUD.java delete mode 100644 java/sca-contrib/samples/implementation-crud-extension/src/main/java/crud/CRUDImplementation.java delete mode 100644 java/sca-contrib/samples/implementation-crud-extension/src/main/java/crud/CRUDImplementationFactory.java delete mode 100644 java/sca-contrib/samples/implementation-crud-extension/src/main/java/crud/backend/ResourceManager.java delete mode 100644 java/sca-contrib/samples/implementation-crud-extension/src/main/java/crud/impl/CRUDImplementationFactoryImpl.java delete mode 100644 java/sca-contrib/samples/implementation-crud-extension/src/main/java/crud/impl/CRUDImplementationImpl.java delete mode 100644 java/sca-contrib/samples/implementation-crud-extension/src/main/java/crud/provider/CRUDImplementationInvoker.java delete mode 100644 java/sca-contrib/samples/implementation-crud-extension/src/main/java/crud/provider/CRUDImplementationProvider.java delete mode 100644 java/sca-contrib/samples/implementation-crud-extension/src/main/java/crud/provider/CRUDImplementationProviderFactory.java delete mode 100644 java/sca-contrib/samples/implementation-crud-extension/src/main/resources/META-INF/services/crud.CRUDImplementationFactory delete mode 100644 java/sca-contrib/samples/implementation-crud-extension/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor delete mode 100644 java/sca-contrib/samples/implementation-crud-extension/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.ValidationSchema delete mode 100644 java/sca-contrib/samples/implementation-crud-extension/src/main/resources/META-INF/services/org.apache.tuscany.sca.provider.ImplementationProviderFactory delete mode 100644 java/sca-contrib/samples/implementation-crud-extension/src/main/resources/sample-implementation-crud.xsd delete mode 100644 java/sca-contrib/samples/implementation-crud-extension/src/test/java/crud/CRUDTestCase.java delete mode 100644 java/sca-contrib/samples/implementation-crud-extension/src/test/resources/crud.composite delete mode 100644 java/sca-contrib/samples/implementation-crud/README delete mode 100644 java/sca-contrib/samples/implementation-crud/build.xml delete mode 100644 java/sca-contrib/samples/implementation-crud/implementation-crud.png delete mode 100644 java/sca-contrib/samples/implementation-crud/implementation-crud.svg delete mode 100644 java/sca-contrib/samples/implementation-crud/pom.xml delete mode 100644 java/sca-contrib/samples/implementation-crud/src/main/java/crud/client/CRUDClient.java delete mode 100644 java/sca-contrib/samples/implementation-crud/src/main/resources/crud.composite delete mode 100644 java/sca-contrib/samples/implementation-crud/src/test/java/crud/client/CRUDTestCase.java delete mode 100644 java/sca-contrib/samples/implementation-notification/README delete mode 100644 java/sca-contrib/samples/implementation-notification/build.xml delete mode 100644 java/sca-contrib/samples/implementation-notification/implementation-notification.png delete mode 100644 java/sca-contrib/samples/implementation-notification/pom.xml delete mode 100644 java/sca-contrib/samples/implementation-notification/src/main/java/notification/TestCaseProducer.java delete mode 100644 java/sca-contrib/samples/implementation-notification/src/main/java/notification/TrafficAdvisory.java delete mode 100644 java/sca-contrib/samples/implementation-notification/src/main/java/notification/TrafficAdvisoryClient.java delete mode 100644 java/sca-contrib/samples/implementation-notification/src/main/java/notification/TrafficAdvisoryConsumer.java delete mode 100644 java/sca-contrib/samples/implementation-notification/src/main/java/notification/TrafficAdvisoryProducer.java delete mode 100644 java/sca-contrib/samples/implementation-notification/src/main/resources/TrafficAdvisoryNotification.componentType delete mode 100644 java/sca-contrib/samples/implementation-notification/src/main/resources/TrafficAdvisoryNotification.composite delete mode 100644 java/sca-contrib/samples/implementation-notification/src/test/java/notification/TrafficAdvisoryTestCase.java delete mode 100644 java/sca-contrib/samples/implementation-notification/src/test/resources/TrafficAdvisoryNotification.componentType delete mode 100644 java/sca-contrib/samples/implementation-notification/src/test/resources/TrafficAdvisoryNotification.composite delete mode 100644 java/sca-contrib/samples/implementation-pojo-extension/README delete mode 100644 java/sca-contrib/samples/implementation-pojo-extension/build.xml delete mode 100644 java/sca-contrib/samples/implementation-pojo-extension/pom.xml delete mode 100644 java/sca-contrib/samples/implementation-pojo-extension/src/main/java/pojo/POJOImplementation.java delete mode 100644 java/sca-contrib/samples/implementation-pojo-extension/src/main/java/pojo/POJOImplementationFactory.java delete mode 100644 java/sca-contrib/samples/implementation-pojo-extension/src/main/java/pojo/impl/POJOImplementationFactoryImpl.java delete mode 100644 java/sca-contrib/samples/implementation-pojo-extension/src/main/java/pojo/impl/POJOImplementationImpl.java delete mode 100644 java/sca-contrib/samples/implementation-pojo-extension/src/main/java/pojo/impl/POJOImplementationProcessor.java delete mode 100644 java/sca-contrib/samples/implementation-pojo-extension/src/main/java/pojo/provider/POJOImplementationInvoker.java delete mode 100644 java/sca-contrib/samples/implementation-pojo-extension/src/main/java/pojo/provider/POJOImplementationProvider.java delete mode 100644 java/sca-contrib/samples/implementation-pojo-extension/src/main/java/pojo/provider/POJOImplementationProviderFactory.java delete mode 100644 java/sca-contrib/samples/implementation-pojo-extension/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor delete mode 100644 java/sca-contrib/samples/implementation-pojo-extension/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.ValidationSchema delete mode 100644 java/sca-contrib/samples/implementation-pojo-extension/src/main/resources/META-INF/services/org.apache.tuscany.sca.provider.ImplementationProviderFactory delete mode 100644 java/sca-contrib/samples/implementation-pojo-extension/src/main/resources/META-INF/services/pojo.POJOImplementationFactory delete mode 100644 java/sca-contrib/samples/implementation-pojo-extension/src/main/resources/sample-implementation-pojo.xsd delete mode 100644 java/sca-contrib/samples/implementation-pojo-extension/src/test/java/helloworld/HelloWorld.java delete mode 100644 java/sca-contrib/samples/implementation-pojo-extension/src/test/java/helloworld/HelloWorldImpl.java delete mode 100644 java/sca-contrib/samples/implementation-pojo-extension/src/test/java/helloworld/HelloWorldImpl2.java delete mode 100644 java/sca-contrib/samples/implementation-pojo-extension/src/test/java/helloworld/HelloWorldTestCase.java delete mode 100644 java/sca-contrib/samples/implementation-pojo-extension/src/test/resources/helloworld/HelloWorldImpl2.componentType delete mode 100644 java/sca-contrib/samples/implementation-pojo-extension/src/test/resources/helloworld/helloworld.composite delete mode 100644 java/sca-contrib/samples/loanapplication/pom.xml delete mode 100644 java/sca-contrib/samples/loanapplication/src/main/java/loanapplication/LoanApplication.java delete mode 100644 java/sca-contrib/samples/loanapplication/src/main/java/loanapplication/LoanApplicationClient.java delete mode 100644 java/sca-contrib/samples/loanapplication/src/main/java/loanapplication/LoanClient.java delete mode 100644 java/sca-contrib/samples/loanapplication/src/main/java/loanapplication/LoanClientImpl.java delete mode 100644 java/sca-contrib/samples/loanapplication/src/main/java/loanapplication/LoanService.java delete mode 100644 java/sca-contrib/samples/loanapplication/src/main/java/loanapplication/LoanServiceImpl.java delete mode 100644 java/sca-contrib/samples/loanapplication/src/main/resources/loanapplication.composite delete mode 100644 java/sca-contrib/samples/loanapplication/src/test/java/loanapplication/LoanApplicationTestCase.java delete mode 100644 java/sca-contrib/samples/osgi-supplychain/README delete mode 100644 java/sca-contrib/samples/osgi-supplychain/build-bundles.xml delete mode 100644 java/sca-contrib/samples/osgi-supplychain/build.xml delete mode 100644 java/sca-contrib/samples/osgi-supplychain/osgi-supplychain.png delete mode 100644 java/sca-contrib/samples/osgi-supplychain/osgi-supplychain.svg delete mode 100644 java/sca-contrib/samples/osgi-supplychain/pom.xml delete mode 100644 java/sca-contrib/samples/osgi-supplychain/src/main/java/supplychain/OSGiBundleImpl.java delete mode 100644 java/sca-contrib/samples/osgi-supplychain/src/main/java/supplychain/SupplyChainClient.java delete mode 100644 java/sca-contrib/samples/osgi-supplychain/src/main/java/supplychain/customer/Customer.java delete mode 100644 java/sca-contrib/samples/osgi-supplychain/src/main/java/supplychain/customer/JavaCustomerComponentImpl.java delete mode 100644 java/sca-contrib/samples/osgi-supplychain/src/main/java/supplychain/customer/OSGiCustomerComponentImpl.java delete mode 100644 java/sca-contrib/samples/osgi-supplychain/src/main/java/supplychain/customer/OSGiCustomerImpl.java delete mode 100644 java/sca-contrib/samples/osgi-supplychain/src/main/java/supplychain/retailer/JavaRetailerComponentImpl.java delete mode 100644 java/sca-contrib/samples/osgi-supplychain/src/main/java/supplychain/retailer/OSGiRetailerComponentImpl.java delete mode 100644 java/sca-contrib/samples/osgi-supplychain/src/main/java/supplychain/retailer/OSGiRetailerImpl.java delete mode 100644 java/sca-contrib/samples/osgi-supplychain/src/main/java/supplychain/retailer/Retailer.java delete mode 100644 java/sca-contrib/samples/osgi-supplychain/src/main/java/supplychain/shipper/JavaShipperComponentImpl.java delete mode 100644 java/sca-contrib/samples/osgi-supplychain/src/main/java/supplychain/shipper/OSGiShipperComponentImpl.java delete mode 100644 java/sca-contrib/samples/osgi-supplychain/src/main/java/supplychain/shipper/OSGiShipperImpl.java delete mode 100644 java/sca-contrib/samples/osgi-supplychain/src/main/java/supplychain/shipper/Shipper.java delete mode 100644 java/sca-contrib/samples/osgi-supplychain/src/main/java/supplychain/warehouse/JavaWarehouseComponentImpl.java delete mode 100644 java/sca-contrib/samples/osgi-supplychain/src/main/java/supplychain/warehouse/OSGiWarehouseComponentImpl.java delete mode 100644 java/sca-contrib/samples/osgi-supplychain/src/main/java/supplychain/warehouse/OSGiWarehouseImpl.java delete mode 100644 java/sca-contrib/samples/osgi-supplychain/src/main/java/supplychain/warehouse/Warehouse.java delete mode 100644 java/sca-contrib/samples/osgi-supplychain/src/main/resources/Customer.componentType delete mode 100644 java/sca-contrib/samples/osgi-supplychain/src/main/resources/DSCustomer.componentType delete mode 100644 java/sca-contrib/samples/osgi-supplychain/src/main/resources/DSRetailer.componentType delete mode 100644 java/sca-contrib/samples/osgi-supplychain/src/main/resources/DSShipper.componentType delete mode 100644 java/sca-contrib/samples/osgi-supplychain/src/main/resources/DSWarehouse.componentType delete mode 100644 java/sca-contrib/samples/osgi-supplychain/src/main/resources/Retailer.componentType delete mode 100644 java/sca-contrib/samples/osgi-supplychain/src/main/resources/Shipper.componentType delete mode 100644 java/sca-contrib/samples/osgi-supplychain/src/main/resources/Warehouse.componentType delete mode 100644 java/sca-contrib/samples/osgi-supplychain/src/main/resources/osgi/Customer.mf delete mode 100644 java/sca-contrib/samples/osgi-supplychain/src/main/resources/osgi/Retailer.mf delete mode 100644 java/sca-contrib/samples/osgi-supplychain/src/main/resources/osgi/Shipper.mf delete mode 100644 java/sca-contrib/samples/osgi-supplychain/src/main/resources/osgi/Warehouse.mf delete mode 100644 java/sca-contrib/samples/osgi-supplychain/src/main/resources/osgi/ds/Customer.mf delete mode 100644 java/sca-contrib/samples/osgi-supplychain/src/main/resources/osgi/ds/Customer.xml delete mode 100644 java/sca-contrib/samples/osgi-supplychain/src/main/resources/osgi/ds/Retailer.mf delete mode 100644 java/sca-contrib/samples/osgi-supplychain/src/main/resources/osgi/ds/Retailer.xml delete mode 100644 java/sca-contrib/samples/osgi-supplychain/src/main/resources/osgi/ds/Shipper.mf delete mode 100644 java/sca-contrib/samples/osgi-supplychain/src/main/resources/osgi/ds/Shipper.xml delete mode 100644 java/sca-contrib/samples/osgi-supplychain/src/main/resources/osgi/ds/Warehouse.mf delete mode 100644 java/sca-contrib/samples/osgi-supplychain/src/main/resources/osgi/ds/Warehouse.xml delete mode 100644 java/sca-contrib/samples/osgi-supplychain/src/main/resources/supplychain.composite delete mode 100644 java/sca-contrib/samples/osgi-supplychain/src/main/resources/supplychain.ds.composite delete mode 100644 java/sca-contrib/samples/osgi-supplychain/src/test/java/supplychain/SupplyChainClientTestCase.java delete mode 100644 java/sca-contrib/samples/photo-gallery/README delete mode 100644 java/sca-contrib/samples/photo-gallery/build.xml delete mode 100644 java/sca-contrib/samples/photo-gallery/photo-gallery.png delete mode 100644 java/sca-contrib/samples/photo-gallery/photo-gallery.svg delete mode 100644 java/sca-contrib/samples/photo-gallery/pom.xml delete mode 100644 java/sca-contrib/samples/photo-gallery/src/main/java/launch/LaunchGallery.java delete mode 100644 java/sca-contrib/samples/photo-gallery/src/main/java/launch/LaunchGalleryJCR.java delete mode 100644 java/sca-contrib/samples/photo-gallery/src/main/java/services/Album.java delete mode 100644 java/sca-contrib/samples/photo-gallery/src/main/java/services/AlbumImpl.java delete mode 100644 java/sca-contrib/samples/photo-gallery/src/main/java/services/jcr/AlbumImpl.java delete mode 100644 java/sca-contrib/samples/photo-gallery/src/main/resources/gallery.html delete mode 100644 java/sca-contrib/samples/photo-gallery/src/main/resources/gallery/boston/dsc00368.jpg delete mode 100644 java/sca-contrib/samples/photo-gallery/src/main/resources/gallery/boston/dsc00369.jpg delete mode 100644 java/sca-contrib/samples/photo-gallery/src/main/resources/gallery/boston/dsc00370.jpg delete mode 100644 java/sca-contrib/samples/photo-gallery/src/main/resources/gallery/boston/dsc00371.jpg delete mode 100644 java/sca-contrib/samples/photo-gallery/src/main/resources/gallery/boston/dsc00373.jpg delete mode 100644 java/sca-contrib/samples/photo-gallery/src/main/resources/gallery/boston/dsc00375.jpg delete mode 100644 java/sca-contrib/samples/photo-gallery/src/main/resources/gallery/boston/dsc00376.jpg delete mode 100644 java/sca-contrib/samples/photo-gallery/src/main/resources/gallery/boston/dsc00377.jpg delete mode 100644 java/sca-contrib/samples/photo-gallery/src/main/resources/gallery/boston/dsc00378.jpg delete mode 100644 java/sca-contrib/samples/photo-gallery/src/main/resources/gallery/boston/dsc00379.jpg delete mode 100644 java/sca-contrib/samples/photo-gallery/src/main/resources/gallery/boston/dsc00380.jpg delete mode 100755 java/sca-contrib/samples/photo-gallery/src/main/resources/index.gif delete mode 100755 java/sca-contrib/samples/photo-gallery/src/main/resources/index_on.gif delete mode 100755 java/sca-contrib/samples/photo-gallery/src/main/resources/next.gif delete mode 100755 java/sca-contrib/samples/photo-gallery/src/main/resources/next_disabled.gif delete mode 100755 java/sca-contrib/samples/photo-gallery/src/main/resources/next_on.gif delete mode 100644 java/sca-contrib/samples/photo-gallery/src/main/resources/photo-gallery-jcr.composite delete mode 100644 java/sca-contrib/samples/photo-gallery/src/main/resources/photo-gallery.composite delete mode 100755 java/sca-contrib/samples/photo-gallery/src/main/resources/prev.gif delete mode 100755 java/sca-contrib/samples/photo-gallery/src/main/resources/prev_disabled.gif delete mode 100755 java/sca-contrib/samples/photo-gallery/src/main/resources/prev_on.gif delete mode 100644 java/sca-contrib/samples/photo-gallery/src/main/resources/show_slide.gif delete mode 100644 java/sca-contrib/samples/photo-gallery/src/main/resources/space.gif delete mode 100755 java/sca-contrib/samples/photo-gallery/src/main/resources/styles.css delete mode 100644 java/sca-contrib/samples/quote-xquery/README delete mode 100644 java/sca-contrib/samples/quote-xquery/build.xml delete mode 100644 java/sca-contrib/samples/quote-xquery/pom.xml delete mode 100644 java/sca-contrib/samples/quote-xquery/src/main/java/xquery/quote/AvailQuoteProviderImpl.java delete mode 100644 java/sca-contrib/samples/quote-xquery/src/main/java/xquery/quote/AvailQuoteProviderNodeInfo.java delete mode 100644 java/sca-contrib/samples/quote-xquery/src/main/java/xquery/quote/AvailQuoteProviderService.java delete mode 100644 java/sca-contrib/samples/quote-xquery/src/main/java/xquery/quote/ExternalReferencesQuoteJoin.java delete mode 100644 java/sca-contrib/samples/quote-xquery/src/main/java/xquery/quote/PriceQuoteProvider.java delete mode 100644 java/sca-contrib/samples/quote-xquery/src/main/java/xquery/quote/PriceQuoteProviderImpl.java delete mode 100644 java/sca-contrib/samples/quote-xquery/src/main/java/xquery/quote/PriceQuoteProviderNodeInfo.java delete mode 100644 java/sca-contrib/samples/quote-xquery/src/main/java/xquery/quote/PropertiesQuoteJoin.java delete mode 100644 java/sca-contrib/samples/quote-xquery/src/main/java/xquery/quote/QuoteCalculator.java delete mode 100644 java/sca-contrib/samples/quote-xquery/src/main/java/xquery/quote/QuoteCalculatorImpl.java delete mode 100644 java/sca-contrib/samples/quote-xquery/src/main/java/xquery/quote/QuoteDataUtil.java delete mode 100644 java/sca-contrib/samples/quote-xquery/src/main/java/xquery/quote/QuoteJoin.java delete mode 100644 java/sca-contrib/samples/quote-xquery/src/main/java/xquery/quote/QuoteJoinLocal.java delete mode 100644 java/sca-contrib/samples/quote-xquery/src/main/java/xquery/quote/QuoteJoinLocalImpl.java delete mode 100644 java/sca-contrib/samples/quote-xquery/src/main/java/xquery/quote/XQueryQuoteClient.java delete mode 100644 java/sca-contrib/samples/quote-xquery/src/main/java/xquery/quote/XQueryQuoteServer.java delete mode 100644 java/sca-contrib/samples/quote-xquery/src/main/resources/META-INF/sca/quote_join.xq delete mode 100644 java/sca-contrib/samples/quote-xquery/src/main/resources/META-INF/sca/quote_join_external_references.xq delete mode 100644 java/sca-contrib/samples/quote-xquery/src/main/resources/META-INF/sca/quote_join_properties.xq delete mode 100644 java/sca-contrib/samples/quote-xquery/src/main/resources/wsdl/AvailQuote.xsd delete mode 100644 java/sca-contrib/samples/quote-xquery/src/main/resources/wsdl/PriceQuote.xsd delete mode 100644 java/sca-contrib/samples/quote-xquery/src/main/resources/wsdl/Quote.xsd delete mode 100644 java/sca-contrib/samples/quote-xquery/src/main/resources/wsdl/quotejoin.wsdl delete mode 100644 java/sca-contrib/samples/quote-xquery/src/main/resources/xqueryquotews.composite delete mode 100644 java/sca-contrib/samples/quote-xquery/src/main/resources/xqueryquotewsclient.composite delete mode 100644 java/sca-contrib/samples/quote-xquery/src/test/java/xquery/quote/XQueryQuoteClientTestCase.java delete mode 100644 java/sca-contrib/samples/quote-xquery/src/test/java/xquery/quote/XQueryQuoteTestServer.java delete mode 100644 java/sca-contrib/samples/simple-bigbank-spring/README delete mode 100644 java/sca-contrib/samples/simple-bigbank-spring/build-dojo.xml delete mode 100644 java/sca-contrib/samples/simple-bigbank-spring/build.xml delete mode 100644 java/sca-contrib/samples/simple-bigbank-spring/pom.xml delete mode 100644 java/sca-contrib/samples/simple-bigbank-spring/simple-bigbank-spring.png delete mode 100644 java/sca-contrib/samples/simple-bigbank-spring/simple-bigbank-spring.svg delete mode 100644 java/sca-contrib/samples/simple-bigbank-spring/src/main/java/bigbank/account/AccountReport.java delete mode 100644 java/sca-contrib/samples/simple-bigbank-spring/src/main/java/bigbank/account/AccountService.java delete mode 100644 java/sca-contrib/samples/simple-bigbank-spring/src/main/java/bigbank/account/AccountServiceImpl.java delete mode 100644 java/sca-contrib/samples/simple-bigbank-spring/src/main/java/bigbank/account/checking/CheckingAccountDetails.java delete mode 100644 java/sca-contrib/samples/simple-bigbank-spring/src/main/java/bigbank/account/checking/CheckingAccountService.java delete mode 100644 java/sca-contrib/samples/simple-bigbank-spring/src/main/java/bigbank/account/feed/AccountFeedImpl.java delete mode 100644 java/sca-contrib/samples/simple-bigbank-spring/src/main/java/bigbank/account/savings/SavingsAccountDetails.java delete mode 100644 java/sca-contrib/samples/simple-bigbank-spring/src/main/java/bigbank/account/savings/SavingsAccountService.java delete mode 100644 java/sca-contrib/samples/simple-bigbank-spring/src/main/java/bigbank/account/savings/SavingsAccountServiceImpl.java delete mode 100644 java/sca-contrib/samples/simple-bigbank-spring/src/main/java/bigbank/account/stock/StockAccountDetails.java delete mode 100644 java/sca-contrib/samples/simple-bigbank-spring/src/main/java/bigbank/account/stock/StockAccountService.java delete mode 100644 java/sca-contrib/samples/simple-bigbank-spring/src/main/java/bigbank/account/stock/StockAccountServiceImpl.java delete mode 100644 java/sca-contrib/samples/simple-bigbank-spring/src/main/java/bigbank/calculator/CalculatorService.java delete mode 100644 java/sca-contrib/samples/simple-bigbank-spring/src/main/java/bigbank/client/BigBankClient.java delete mode 100644 java/sca-contrib/samples/simple-bigbank-spring/src/main/java/bigbank/server/BigBankServer.java delete mode 100644 java/sca-contrib/samples/simple-bigbank-spring/src/main/java/bigbank/stockquote/StockQuoteService.java delete mode 100644 java/sca-contrib/samples/simple-bigbank-spring/src/main/resources/BigBank.composite delete mode 100644 java/sca-contrib/samples/simple-bigbank-spring/src/main/resources/SavingsAccount.composite delete mode 100644 java/sca-contrib/samples/simple-bigbank-spring/src/main/resources/StockAccount.composite delete mode 100644 java/sca-contrib/samples/simple-bigbank-spring/src/main/resources/spring-context/Account-spring-context.xml delete mode 100644 java/sca-contrib/samples/simple-bigbank-spring/src/main/resources/spring-context/SavingsAccount-context.xml delete mode 100644 java/sca-contrib/samples/simple-bigbank-spring/src/main/resources/spring-context/StockAccount/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/samples/simple-bigbank-spring/src/main/resources/spring-context/StockAccount/META-INF/spring/StockAccount-context.xml delete mode 100644 java/sca-contrib/samples/simple-bigbank-spring/src/main/resources/web/style.css delete mode 100644 java/sca-contrib/samples/simple-bigbank-spring/src/test/java/bigbank/BigBankTestCase.java delete mode 100644 java/sca-contrib/samples/simple-bigbank/README delete mode 100644 java/sca-contrib/samples/simple-bigbank/build.xml delete mode 100644 java/sca-contrib/samples/simple-bigbank/pom.xml delete mode 100644 java/sca-contrib/samples/simple-bigbank/simple-bigbank.png delete mode 100644 java/sca-contrib/samples/simple-bigbank/simple-bigbank.svg delete mode 100644 java/sca-contrib/samples/simple-bigbank/src/main/java/bigbank/account/AccountReport.java delete mode 100644 java/sca-contrib/samples/simple-bigbank/src/main/java/bigbank/account/AccountService.java delete mode 100644 java/sca-contrib/samples/simple-bigbank/src/main/java/bigbank/account/AccountServiceImpl.java delete mode 100644 java/sca-contrib/samples/simple-bigbank/src/main/java/bigbank/accountdata/Account.java delete mode 100644 java/sca-contrib/samples/simple-bigbank/src/main/java/bigbank/accountdata/AccountDataService.java delete mode 100644 java/sca-contrib/samples/simple-bigbank/src/main/java/bigbank/accountdata/AccountDataServiceImpl.java delete mode 100644 java/sca-contrib/samples/simple-bigbank/src/main/java/bigbank/accountdata/CheckingAccount.java delete mode 100644 java/sca-contrib/samples/simple-bigbank/src/main/java/bigbank/accountdata/SavingsAccount.java delete mode 100644 java/sca-contrib/samples/simple-bigbank/src/main/java/bigbank/accountdata/StockAccount.java delete mode 100644 java/sca-contrib/samples/simple-bigbank/src/main/java/bigbank/client/BigBankClient.java delete mode 100644 java/sca-contrib/samples/simple-bigbank/src/main/java/bigbank/stockquote/StockQuoteImpl.java delete mode 100644 java/sca-contrib/samples/simple-bigbank/src/main/java/bigbank/stockquote/StockQuoteService.java delete mode 100644 java/sca-contrib/samples/simple-bigbank/src/main/resources/Account.composite delete mode 100644 java/sca-contrib/samples/simple-bigbank/src/main/resources/BigBank.composite delete mode 100644 java/sca-contrib/samples/simple-bigbank/src/main/resources/StockQuote.composite delete mode 100644 java/sca-contrib/samples/simple-bigbank/src/test/java/bigbank/BigBankTestCase.java delete mode 100644 java/sca-contrib/samples/simple-callback-ws/README delete mode 100644 java/sca-contrib/samples/simple-callback-ws/build.xml delete mode 100644 java/sca-contrib/samples/simple-callback-ws/pom.xml delete mode 100644 java/sca-contrib/samples/simple-callback-ws/simple-callback-ws.png delete mode 100644 java/sca-contrib/samples/simple-callback-ws/simple-callback-ws.svg delete mode 100644 java/sca-contrib/samples/simple-callback-ws/src/main/java/simplecallback/MyClient.java delete mode 100644 java/sca-contrib/samples/simple-callback-ws/src/main/java/simplecallback/MyClientImpl.java delete mode 100644 java/sca-contrib/samples/simple-callback-ws/src/main/java/simplecallback/MyService.java delete mode 100644 java/sca-contrib/samples/simple-callback-ws/src/main/java/simplecallback/MyServiceCallback.java delete mode 100644 java/sca-contrib/samples/simple-callback-ws/src/main/java/simplecallback/MyServiceImpl.java delete mode 100644 java/sca-contrib/samples/simple-callback-ws/src/main/java/simplecallback/SimpleCallbackClient.java delete mode 100644 java/sca-contrib/samples/simple-callback-ws/src/main/resources/simplecallback.composite delete mode 100644 java/sca-contrib/samples/simple-callback-ws/src/main/resources/wsdl/simplecallback.wsdl delete mode 100644 java/sca-contrib/samples/simple-callback-ws/src/test/java/simplecallback/SimpleCallbackTestCase.java delete mode 100644 java/sca-contrib/samples/simple-callback/README delete mode 100644 java/sca-contrib/samples/simple-callback/build.xml delete mode 100644 java/sca-contrib/samples/simple-callback/pom.xml delete mode 100644 java/sca-contrib/samples/simple-callback/simple-callback.png delete mode 100644 java/sca-contrib/samples/simple-callback/simple-callback.svg delete mode 100644 java/sca-contrib/samples/simple-callback/src/main/java/simplecallback/MyClient.java delete mode 100644 java/sca-contrib/samples/simple-callback/src/main/java/simplecallback/MyClientImpl.java delete mode 100644 java/sca-contrib/samples/simple-callback/src/main/java/simplecallback/MyService.java delete mode 100644 java/sca-contrib/samples/simple-callback/src/main/java/simplecallback/MyServiceCallback.java delete mode 100644 java/sca-contrib/samples/simple-callback/src/main/java/simplecallback/MyServiceImpl.java delete mode 100644 java/sca-contrib/samples/simple-callback/src/main/java/simplecallback/SimpleCallbackClient.java delete mode 100644 java/sca-contrib/samples/simple-callback/src/main/resources/simplecallback.composite delete mode 100644 java/sca-contrib/samples/simple-callback/src/test/java/simplecallback/SimpleCallbackTestCase.java delete mode 100644 java/sca-contrib/samples/spi-implementation-pojo/pom.xml delete mode 100644 java/sca-contrib/samples/spi-implementation-pojo/src/main/java/sample/JavaImplementation.java delete mode 100644 java/sca-contrib/samples/spi-implementation-pojo/src/main/java/sample/JavaImplementationActivator.java delete mode 100644 java/sca-contrib/samples/spi-implementation-pojo/src/main/java/sample/JavaInvoker.java delete mode 100644 java/sca-contrib/samples/spi-implementation-pojo/src/main/java/sample/JavaInvokerFactory.java delete mode 100644 java/sca-contrib/samples/spi-implementation-pojo/src/main/resources/META-INF/services/org.apache.tuscany.sca.spi.ImplementationActivator delete mode 100644 java/sca-contrib/samples/spi-implementation-pojo/src/test/java/helloworld/HelloWorld.java delete mode 100644 java/sca-contrib/samples/spi-implementation-pojo/src/test/java/helloworld/HelloWorldImpl.java delete mode 100644 java/sca-contrib/samples/spi-implementation-pojo/src/test/java/helloworld/HelloWorldTestCase.java delete mode 100644 java/sca-contrib/samples/spi-implementation-pojo/src/test/resources/helloworld/helloworld.composite delete mode 100644 java/sca-contrib/samples/spring-bigbank-calculator/README delete mode 100644 java/sca-contrib/samples/spring-bigbank-calculator/build.xml delete mode 100644 java/sca-contrib/samples/spring-bigbank-calculator/pom.xml delete mode 100644 java/sca-contrib/samples/spring-bigbank-calculator/src/main/java/bigbank/calculator/AddService.java delete mode 100644 java/sca-contrib/samples/spring-bigbank-calculator/src/main/java/bigbank/calculator/CalculatorService.java delete mode 100644 java/sca-contrib/samples/spring-bigbank-calculator/src/main/java/bigbank/calculator/CalculatorServiceImpl.java delete mode 100644 java/sca-contrib/samples/spring-bigbank-calculator/src/main/java/bigbank/calculator/DivideService.java delete mode 100644 java/sca-contrib/samples/spring-bigbank-calculator/src/main/java/bigbank/calculator/MultiplyService.java delete mode 100644 java/sca-contrib/samples/spring-bigbank-calculator/src/main/java/bigbank/calculator/SubtractService.java delete mode 100644 java/sca-contrib/samples/spring-bigbank-calculator/src/main/java/bigbank/calculator/server/CalculatorServer.java delete mode 100644 java/sca-contrib/samples/spring-bigbank-calculator/src/main/resources/Calculator.composite delete mode 100644 java/sca-contrib/samples/spring-bigbank-calculator/src/main/resources/META-INF/spring/CalculatorService-context.xml delete mode 100644 java/sca-contrib/samples/spring-bigbank-calculator/src/main/resources/calculator/AddServiceImpl.js delete mode 100644 java/sca-contrib/samples/spring-bigbank-calculator/src/main/resources/calculator/DivideServiceImpl.groovy delete mode 100644 java/sca-contrib/samples/spring-bigbank-calculator/src/main/resources/calculator/MultiplyServiceImpl.py delete mode 100644 java/sca-contrib/samples/spring-bigbank-calculator/src/main/resources/calculator/SubtractServiceImpl.rb delete mode 100644 java/sca-contrib/samples/spring-bigbank-calculator/src/test/java/bigbank/calculator/CalculatorServiceTestCase.java delete mode 100644 java/sca-contrib/samples/spring-bigbank-checkaccount/README delete mode 100644 java/sca-contrib/samples/spring-bigbank-checkaccount/build.xml delete mode 100644 java/sca-contrib/samples/spring-bigbank-checkaccount/pom.xml delete mode 100644 java/sca-contrib/samples/spring-bigbank-checkaccount/src/main/java/bigbank/account/checking/CheckingAccountDetails.java delete mode 100644 java/sca-contrib/samples/spring-bigbank-checkaccount/src/main/java/bigbank/account/checking/CheckingAccountService.java delete mode 100644 java/sca-contrib/samples/spring-bigbank-checkaccount/src/main/java/bigbank/account/checking/CheckingAccountServiceImpl.java delete mode 100644 java/sca-contrib/samples/spring-bigbank-checkaccount/src/main/java/bigbank/account/checking/server/CheckingAccountServer.java delete mode 100644 java/sca-contrib/samples/spring-bigbank-checkaccount/src/main/java/bigbank/account/security/AccountsDataPasswordCallbackHandler.java delete mode 100644 java/sca-contrib/samples/spring-bigbank-checkaccount/src/main/java/bigbank/account/security/BigbankCheckingsAcl.java delete mode 100644 java/sca-contrib/samples/spring-bigbank-checkaccount/src/main/java/bigbank/account/security/CheckingsDeptAuthImplementationPolicyProvider.java delete mode 100644 java/sca-contrib/samples/spring-bigbank-checkaccount/src/main/java/bigbank/account/security/CheckingsDeptAuthPolicy.java delete mode 100644 java/sca-contrib/samples/spring-bigbank-checkaccount/src/main/java/bigbank/account/security/CheckingsDeptAuthPolicyInterceptor.java delete mode 100644 java/sca-contrib/samples/spring-bigbank-checkaccount/src/main/java/bigbank/account/security/CheckingsDeptAuthPolicyProviderFactory.java delete mode 100644 java/sca-contrib/samples/spring-bigbank-checkaccount/src/main/java/bigbank/account/security/CheckingsDeptAuthorizationPolicyHandler.java delete mode 100644 java/sca-contrib/samples/spring-bigbank-checkaccount/src/main/java/bigbank/account/security/CheckingsDeptAuthorizationPolicyProcessor.java delete mode 100644 java/sca-contrib/samples/spring-bigbank-checkaccount/src/main/resources/CheckingsAccount.composite delete mode 100644 java/sca-contrib/samples/spring-bigbank-checkaccount/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor delete mode 100644 java/sca-contrib/samples/spring-bigbank-checkaccount/src/main/resources/META-INF/services/org.apache.tuscany.sca.policy.util.PolicyHandler delete mode 100644 java/sca-contrib/samples/spring-bigbank-checkaccount/src/main/resources/META-INF/services/org.apache.tuscany.sca.provider.PolicyProviderFactory delete mode 100644 java/sca-contrib/samples/spring-bigbank-checkaccount/src/main/resources/definitions.xml delete mode 100644 java/sca-contrib/samples/spring-bigbank-checkaccount/src/main/resources/spring-context/META-INF/spring/CheckingAccountService-context.xml delete mode 100644 java/sca-contrib/samples/spring-bigbank-checkaccount/src/test/java/bigbank/checkaccount/CheckAccountServiceTestCase.java delete mode 100644 java/sca-contrib/samples/spring-bigbank-stockquote/README delete mode 100644 java/sca-contrib/samples/spring-bigbank-stockquote/build.xml delete mode 100644 java/sca-contrib/samples/spring-bigbank-stockquote/pom.xml delete mode 100644 java/sca-contrib/samples/spring-bigbank-stockquote/src/main/java/bigbank/stockquote/StockQuoteImpl.java delete mode 100644 java/sca-contrib/samples/spring-bigbank-stockquote/src/main/java/bigbank/stockquote/StockQuoteService.java delete mode 100644 java/sca-contrib/samples/spring-bigbank-stockquote/src/main/java/bigbank/stockquote/server/SCAApplicationContextProvider.java delete mode 100644 java/sca-contrib/samples/spring-bigbank-stockquote/src/main/java/bigbank/stockquote/server/StockQuoteServer.java delete mode 100644 java/sca-contrib/samples/spring-bigbank-stockquote/src/main/resources/META-INF/spring/StockQuoteService-context.xml delete mode 100644 java/sca-contrib/samples/spring-bigbank-stockquote/src/main/resources/StockQuote.composite delete mode 100644 java/sca-contrib/samples/spring-bigbank-stockquote/src/test/java/bigbank/stockquote/StockQuoteServiceTestCase.java delete mode 100644 java/sca-contrib/samples/store-distributed/README delete mode 100644 java/sca-contrib/samples/store-distributed/build.xml delete mode 100644 java/sca-contrib/samples/store-distributed/cloud.composite delete mode 100644 java/sca-contrib/samples/store-distributed/domain.composite delete mode 100644 java/sca-contrib/samples/store-distributed/pom.xml delete mode 100644 java/sca-contrib/samples/store-distributed/src/main/java/node/LaunchDomain.java delete mode 100644 java/sca-contrib/samples/store-distributed/src/main/java/node/LaunchStoreNodeA.java delete mode 100644 java/sca-contrib/samples/store-distributed/src/main/java/node/LaunchStoreNodeB.java delete mode 100644 java/sca-contrib/samples/store-distributed/src/main/java/node/LaunchStoreNodeC.java delete mode 100644 java/sca-contrib/samples/store-distributed/src/main/java/services/Cart.java delete mode 100644 java/sca-contrib/samples/store-distributed/src/main/java/services/Catalog.java delete mode 100644 java/sca-contrib/samples/store-distributed/src/main/java/services/CurrencyConverter.java delete mode 100644 java/sca-contrib/samples/store-distributed/src/main/java/services/CurrencyConverterImpl.java delete mode 100644 java/sca-contrib/samples/store-distributed/src/main/java/services/FruitsCatalogImpl.java delete mode 100644 java/sca-contrib/samples/store-distributed/src/main/java/services/Item.java delete mode 100644 java/sca-contrib/samples/store-distributed/src/main/java/services/ShoppingCartImpl.java delete mode 100644 java/sca-contrib/samples/store-distributed/src/main/java/services/Total.java delete mode 100644 java/sca-contrib/samples/store-distributed/src/main/resources/cloud/NodeA.composite delete mode 100644 java/sca-contrib/samples/store-distributed/src/main/resources/cloud/NodeB.composite delete mode 100644 java/sca-contrib/samples/store-distributed/src/main/resources/cloud/NodeC.composite delete mode 100644 java/sca-contrib/samples/store-distributed/src/main/resources/nodeA/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/samples/store-distributed/src/main/resources/nodeA/store.composite delete mode 100644 java/sca-contrib/samples/store-distributed/src/main/resources/nodeB/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/samples/store-distributed/src/main/resources/nodeB/store.composite delete mode 100644 java/sca-contrib/samples/store-distributed/src/main/resources/nodeC/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/samples/store-distributed/src/main/resources/nodeC/store.composite delete mode 100644 java/sca-contrib/samples/store-distributed/src/main/resources/nodeC/uiservices/store.html delete mode 100644 java/sca-contrib/samples/store-distributed/src/main/resources/uiservices/store.html delete mode 100644 java/sca-contrib/samples/store-distributed/store.png delete mode 100644 java/sca-contrib/samples/store-distributed/store.svg delete mode 100644 java/sca-contrib/samples/store-distributed/workspace.xml delete mode 100644 java/sca-contrib/samples/store/README delete mode 100644 java/sca-contrib/samples/store/build.xml delete mode 100644 java/sca-contrib/samples/store/pom.xml delete mode 100644 java/sca-contrib/samples/store/src/main/java/launch/Launch.java delete mode 100644 java/sca-contrib/samples/store/src/main/java/services/Cart.java delete mode 100644 java/sca-contrib/samples/store/src/main/java/services/Catalog.java delete mode 100644 java/sca-contrib/samples/store/src/main/java/services/CurrencyConverter.java delete mode 100644 java/sca-contrib/samples/store/src/main/java/services/CurrencyConverterImpl.java delete mode 100644 java/sca-contrib/samples/store/src/main/java/services/FruitsCatalogImpl.java delete mode 100644 java/sca-contrib/samples/store/src/main/java/services/Item.java delete mode 100644 java/sca-contrib/samples/store/src/main/java/services/ShoppingCartImpl.java delete mode 100644 java/sca-contrib/samples/store/src/main/java/services/Total.java delete mode 100644 java/sca-contrib/samples/store/src/main/resources/store.composite delete mode 100644 java/sca-contrib/samples/store/src/main/resources/uiservices/store.html delete mode 100644 java/sca-contrib/samples/store/store.png delete mode 100644 java/sca-contrib/samples/store/store.svg delete mode 100644 java/sca-contrib/samples/supplychain/README delete mode 100644 java/sca-contrib/samples/supplychain/build.xml delete mode 100644 java/sca-contrib/samples/supplychain/pom.xml delete mode 100644 java/sca-contrib/samples/supplychain/src/main/java/supplychain/Customer.java delete mode 100644 java/sca-contrib/samples/supplychain/src/main/java/supplychain/CustomerComponentImpl.java delete mode 100644 java/sca-contrib/samples/supplychain/src/main/java/supplychain/Retailer.java delete mode 100644 java/sca-contrib/samples/supplychain/src/main/java/supplychain/RetailerComponentImpl.java delete mode 100644 java/sca-contrib/samples/supplychain/src/main/java/supplychain/Shipper.java delete mode 100644 java/sca-contrib/samples/supplychain/src/main/java/supplychain/ShipperComponentImpl.java delete mode 100644 java/sca-contrib/samples/supplychain/src/main/java/supplychain/SupplyChainClient.java delete mode 100644 java/sca-contrib/samples/supplychain/src/main/java/supplychain/Warehouse.java delete mode 100644 java/sca-contrib/samples/supplychain/src/main/java/supplychain/WarehouseComponentImpl.java delete mode 100644 java/sca-contrib/samples/supplychain/src/main/resources/supplychain.composite delete mode 100644 java/sca-contrib/samples/supplychain/src/test/java/supplychain/SupplyChainClientTestCase.java delete mode 100644 java/sca-contrib/samples/supplychain/supplychain.png delete mode 100644 java/sca-contrib/samples/supplychain/supplychain.svg delete mode 100644 java/sca-contrib/samples/web-resource/README delete mode 100644 java/sca-contrib/samples/web-resource/build.xml delete mode 100644 java/sca-contrib/samples/web-resource/pom.xml delete mode 100644 java/sca-contrib/samples/web-resource/src/main/java/web/resource/SampleServer.java delete mode 100644 java/sca-contrib/samples/web-resource/src/main/resources/WebResource.composite delete mode 100644 java/sca-contrib/samples/web-resource/src/main/resources/myContent/index.html delete mode 100644 java/sca-contrib/samples/web-resource/web-resource.png delete mode 100644 java/sca-contrib/samples/web-resource/web-resource.svg delete mode 100644 java/sca-contrib/samples/zipcode-jaxws/LICENSE delete mode 100644 java/sca-contrib/samples/zipcode-jaxws/NOTICE delete mode 100644 java/sca-contrib/samples/zipcode-jaxws/README delete mode 100644 java/sca-contrib/samples/zipcode-jaxws/build.xml delete mode 100644 java/sca-contrib/samples/zipcode-jaxws/pom.xml delete mode 100644 java/sca-contrib/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByAreaCode.java delete mode 100644 java/sca-contrib/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByAreaCodeResponse.java delete mode 100644 java/sca-contrib/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByCity.java delete mode 100644 java/sca-contrib/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByCityResponse.java delete mode 100644 java/sca-contrib/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByState.java delete mode 100644 java/sca-contrib/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByStateResponse.java delete mode 100644 java/sca-contrib/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByZIP.java delete mode 100644 java/sca-contrib/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByZIPResponse.java delete mode 100644 java/sca-contrib/samples/zipcode-jaxws/src/main/java/com/example/uszip/ObjectFactory.java delete mode 100644 java/sca-contrib/samples/zipcode-jaxws/src/main/java/com/example/uszip/USZip.java delete mode 100644 java/sca-contrib/samples/zipcode-jaxws/src/main/java/com/example/uszip/USZipSoap.java delete mode 100644 java/sca-contrib/samples/zipcode-jaxws/src/main/java/com/example/uszip/package-info.java delete mode 100644 java/sca-contrib/samples/zipcode-jaxws/src/main/java/com/example/weather/ArrayOfWeatherData.java delete mode 100644 java/sca-contrib/samples/zipcode-jaxws/src/main/java/com/example/weather/GetWeatherByPlaceName.java delete mode 100644 java/sca-contrib/samples/zipcode-jaxws/src/main/java/com/example/weather/GetWeatherByPlaceNameResponse.java delete mode 100644 java/sca-contrib/samples/zipcode-jaxws/src/main/java/com/example/weather/GetWeatherByZipCode.java delete mode 100644 java/sca-contrib/samples/zipcode-jaxws/src/main/java/com/example/weather/GetWeatherByZipCodeResponse.java delete mode 100644 java/sca-contrib/samples/zipcode-jaxws/src/main/java/com/example/weather/ObjectFactory.java delete mode 100644 java/sca-contrib/samples/zipcode-jaxws/src/main/java/com/example/weather/WeatherData.java delete mode 100644 java/sca-contrib/samples/zipcode-jaxws/src/main/java/com/example/weather/WeatherForecast.java delete mode 100644 java/sca-contrib/samples/zipcode-jaxws/src/main/java/com/example/weather/WeatherForecastSoap.java delete mode 100644 java/sca-contrib/samples/zipcode-jaxws/src/main/java/com/example/weather/WeatherForecasts.java delete mode 100644 java/sca-contrib/samples/zipcode-jaxws/src/main/java/com/example/weather/package-info.java delete mode 100644 java/sca-contrib/samples/zipcode-jaxws/src/main/java/location/LocationClient.java delete mode 100644 java/sca-contrib/samples/zipcode-jaxws/src/main/java/location/USLocationImpl.java delete mode 100644 java/sca-contrib/samples/zipcode-jaxws/src/main/java/weather/WeatherForecastClient.java delete mode 100644 java/sca-contrib/samples/zipcode-jaxws/src/main/java/weather/WeatherForecastImpl.java delete mode 100644 java/sca-contrib/samples/zipcode-jaxws/src/main/java/zipcode/ZipCodeClient.java delete mode 100644 java/sca-contrib/samples/zipcode-jaxws/src/main/java/zipcode/ZipCodeService.java delete mode 100644 java/sca-contrib/samples/zipcode-jaxws/src/main/java/zipcode/ZipCodeServiceImpl.java delete mode 100644 java/sca-contrib/samples/zipcode-jaxws/src/main/resources/USLocation.composite delete mode 100644 java/sca-contrib/samples/zipcode-jaxws/src/main/resources/WeatherForecast.composite delete mode 100644 java/sca-contrib/samples/zipcode-jaxws/src/main/resources/ZipCode.composite delete mode 100644 java/sca-contrib/samples/zipcode-jaxws/src/test/java/zipcode/ZipCodeClientTestCase.java delete mode 100644 java/sca-contrib/stest/pom.xml delete mode 100644 java/sca-contrib/stest/sampleTest/pom.xml delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/java/test/ASM_0001_Client.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/java/test/ASM_0002_Client.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/java/test/ASM_0003_Client.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/java/test/Service1.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/java/test/Service1Superset.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/java/test/Service2.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/java/test/TestException.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/java/test/TestInvocation.class delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/java/test/TestInvocation.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/java/test/service1Impl.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/java/test/service1Impl2.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/java/test/service1Impl3.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/java/test/service1Impl4.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/java/test/service1Impl5.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/java/test/service1Impl6.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/java/test/service1SupersetImpl.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/java/test/service2Impl.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/TestClient.wsdl delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/TestClient_0002.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/TestClient_0003.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/TestComposite1.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/TestComposite10.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/TestComposite11.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/TestComposite12.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/TestComposite13.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/TestComposite14.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/TestComposite15.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/TestComposite16.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/TestComposite17.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/TestComposite18.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/TestComposite19.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/TestComposite2.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/TestComposite20.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/TestComposite21.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/TestComposite22.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/TestComposite23.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/TestComposite24.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/TestComposite25.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/TestComposite26.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/TestComposite27.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/TestComposite3.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/TestComposite4.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/TestComposite5.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/TestComposite6.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/TestComposite7.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/TestComposite8.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/TestComposite9.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/TestDuplicate1.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/TestDuplicate2.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/Test_ASM_0001.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/Test_ASM_0002.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/Test_ASM_0003.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/Test_ASM_0004.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/Test_ASM_0005.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/Test_ASM_0006.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/Test_ASM_0007.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/Test_ASM_0008.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/Test_ASM_0009.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/Test_ASM_0010.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/Test_ASM_0011.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/Test_ASM_0012.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/Test_ASM_0013.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/Test_ASM_0014.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/Test_ASM_0015.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/Test_ASM_0016.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/Test_ASM_0017.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/Test_ASM_0018.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/Test_ASM_0019.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/Test_ASM_0020.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/Test_ASM_0021.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/Test_ASM_0022.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/Test_ASM_0023.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/Test_ASM_0024.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/Test_ASM_0025.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/Test_ASM_0026.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/Test_ASM_0027.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/Test_ASM_0028.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/Test_ASM_0029.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/Test_ASM_0030.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/Test_ASM_0031.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/Test_ASM_0032.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/Test_ASM_0033.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/Test_ASM_0034.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/Test_ASM_0101.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/Test_ASM_6001.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/Test_ASM_6002.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/Test_ASM_6003.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/Test_ASM_6004.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/Test_ASM_6005.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/Test_ASM_6006.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/Test_ASM_6007.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/Test_ASM_6008.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/Test_ASM_6009.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/Test_ASM_6010.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/Test_ASM_6011.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/Test_ASM_6012.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/Test_ASM_6013.composite delete mode 100644 java/sca-contrib/stest/sampleTest/src/main/resources/Test_Types.xsd delete mode 100644 java/sca-contrib/stest/sampleTest/src/test/java/client/ASM_0002_TestCase.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/test/java/client/ASM_0003_TestCase.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/test/java/client/ASM_0004_TestCase.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/test/java/client/ASM_0005_TestCase.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/test/java/client/ASM_0006_TestCase.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/test/java/client/ASM_0007_TestCase.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/test/java/client/ASM_0008_TestCase.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/test/java/client/ASM_0009_TestCase.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/test/java/client/ASM_0010_TestCase.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/test/java/client/ASM_0011_TestCase.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/test/java/client/ASM_0012_TestCase.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/test/java/client/ASM_0013_TestCase.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/test/java/client/ASM_0014_TestCase.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/test/java/client/ASM_0015_TestCase.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/test/java/client/ASM_0016_TestCase.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/test/java/client/ASM_0017_TestCase.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/test/java/client/ASM_0018_TestCase.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/test/java/client/ASM_0019_TestCase.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/test/java/client/ASM_0020_TestCase.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/test/java/client/ASM_0021_TestCase.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/test/java/client/ASM_0022_TestCase.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/test/java/client/ASM_0023_TestCase.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/test/java/client/ASM_0024_TestCase.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/test/java/client/ASM_0025_TestCase.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/test/java/client/ASM_0026_TestCase.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/test/java/client/ASM_0027_TestCase.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/test/java/client/ASM_0028_TestCase.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/test/java/client/ASM_0029_TestCase.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/test/java/client/ASM_0030_TestCase.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/test/java/client/ASM_0031_TestCase.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/test/java/client/ASM_0032_TestCase.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/test/java/client/ASM_0033_TestCase.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/test/java/client/ASM_0034_TestCase.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/test/java/client/ASM_6001_TestCase.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/test/java/client/ASM_6002_TestCase.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/test/java/client/ASM_6003_TestCase.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/test/java/client/ASM_6004_TestCase.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/test/java/client/ASM_6005_TestCase.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/test/java/client/ASM_6006_TestCase.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/test/java/client/ASM_6007_TestCase.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/test/java/client/ASM_6008_TestCase.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/test/java/client/ASM_6009_TestCase.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/test/java/client/ASM_6010_TestCase.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/test/java/client/ASM_6011_TestCase.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/test/java/client/ASM_6012_TestCase.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/test/java/client/ASM_6013_TestCase.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/test/java/client/BaseJAXWSTestCase.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/test/java/client/BaseTestCase.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/test/java/client/TestConfiguration.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/test/java/testClient/InvokeTest.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/test/java/testClient/InvokeTestResponse.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/test/java/testClient/ObjectFactory.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/test/java/testClient/README.txt delete mode 100644 java/sca-contrib/stest/sampleTest/src/test/java/testClient/TestException.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/test/java/testClient/TestException_Exception.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/test/java/testClient/TestInvocation.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/test/java/testClient/TestInvocationService.java delete mode 100644 java/sca-contrib/stest/sampleTest/src/test/java/testClient/package-info.java delete mode 100644 java/sca-contrib/tools/eclipse/features/core/LICENSE delete mode 100644 java/sca-contrib/tools/eclipse/features/core/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/tools/eclipse/features/core/NOTICE delete mode 100644 java/sca-contrib/tools/eclipse/features/core/build.properties delete mode 100644 java/sca-contrib/tools/eclipse/features/core/feature.xml delete mode 100644 java/sca-contrib/tools/eclipse/features/core/pom.xml delete mode 100644 java/sca-contrib/tools/eclipse/features/ejava/LICENSE delete mode 100644 java/sca-contrib/tools/eclipse/features/ejava/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/tools/eclipse/features/ejava/NOTICE delete mode 100644 java/sca-contrib/tools/eclipse/features/ejava/build.properties delete mode 100644 java/sca-contrib/tools/eclipse/features/ejava/feature.xml delete mode 100644 java/sca-contrib/tools/eclipse/features/ejava/pom.xml delete mode 100644 java/sca-contrib/tools/eclipse/features/manager/LICENSE delete mode 100644 java/sca-contrib/tools/eclipse/features/manager/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/tools/eclipse/features/manager/NOTICE delete mode 100644 java/sca-contrib/tools/eclipse/features/manager/build.properties delete mode 100644 java/sca-contrib/tools/eclipse/features/manager/feature.xml delete mode 100644 java/sca-contrib/tools/eclipse/features/manager/pom.xml delete mode 100644 java/sca-contrib/tools/eclipse/features/process/LICENSE delete mode 100644 java/sca-contrib/tools/eclipse/features/process/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/tools/eclipse/features/process/NOTICE delete mode 100644 java/sca-contrib/tools/eclipse/features/process/build.properties delete mode 100644 java/sca-contrib/tools/eclipse/features/process/feature.xml delete mode 100644 java/sca-contrib/tools/eclipse/features/process/pom.xml delete mode 100644 java/sca-contrib/tools/eclipse/features/web20/LICENSE delete mode 100644 java/sca-contrib/tools/eclipse/features/web20/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/tools/eclipse/features/web20/NOTICE delete mode 100644 java/sca-contrib/tools/eclipse/features/web20/build.properties delete mode 100644 java/sca-contrib/tools/eclipse/features/web20/feature.xml delete mode 100644 java/sca-contrib/tools/eclipse/features/web20/pom.xml delete mode 100644 java/sca-contrib/tools/eclipse/features/webservice/LICENSE delete mode 100644 java/sca-contrib/tools/eclipse/features/webservice/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/tools/eclipse/features/webservice/NOTICE delete mode 100644 java/sca-contrib/tools/eclipse/features/webservice/build.properties delete mode 100644 java/sca-contrib/tools/eclipse/features/webservice/feature.xml delete mode 100644 java/sca-contrib/tools/eclipse/features/webservice/pom.xml delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/LICENSE delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/NOTICE delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/build.properties delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/exsd/runtimeClasspathContainerInitializer.exsd delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/icons/t.gif delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/icons/tuscany.gif delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/org/apache/tuscany/sca/plugin/core/classpath/BaseClasspathContainer.java delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/org/apache/tuscany/sca/plugin/core/classpath/BaseClasspathContainerInitializer.java delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/org/apache/tuscany/sca/plugin/core/classpath/BaseLibraryEntryPage.java delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/org/apache/tuscany/sca/plugin/core/classpath/CoreClasspathContainer.java delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/org/apache/tuscany/sca/plugin/core/classpath/CoreClasspathContainerInitializer.java delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/org/apache/tuscany/sca/plugin/core/classpath/CoreLibraryEntryPage.java delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/org/apache/tuscany/sca/plugin/core/classpath/RuntimeClasspathContainer.java delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/org/apache/tuscany/sca/plugin/core/classpath/RuntimeClasspathContainerInitializer.java delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/org/apache/tuscany/sca/plugin/core/classpath/RuntimeClasspathContainerInitializerExtensionPoint.java delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/org/apache/tuscany/sca/plugin/core/launch/DomainManagerLauncherUtil.java delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/org/apache/tuscany/sca/plugin/core/launch/NodeLauncherUtil.java delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/org/apache/tuscany/sca/plugin/core/launch/TuscanyLaunchConfigurationDelegate.java delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/org/apache/tuscany/sca/plugin/core/launch/TuscanyLaunchConfigurationTabGroup.java delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/org/apache/tuscany/sca/plugin/core/launch/TuscanyLaunchDomainManagerAction.java delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/org/apache/tuscany/sca/plugin/core/launch/TuscanyLaunchNodeFilter.java delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/org/apache/tuscany/sca/plugin/core/launch/TuscanyLaunchNodeShortcut.java delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/org/apache/tuscany/sca/plugin/core/log/LogUtil.java delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/org/apache/tuscany/sca/plugin/core/newwizards/NewComponentTypeWizard.java delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/org/apache/tuscany/sca/plugin/core/newwizards/NewComponentTypeWizardPage.java delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/org/apache/tuscany/sca/plugin/core/newwizards/NewCompositeWizard.java delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/org/apache/tuscany/sca/plugin/core/newwizards/NewCompositeWizardPage.java delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/plugin.xml delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/pom.xml delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/src/main/assembly/jar.xml delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/xsd/sca-all.xsd delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/xsd/sca-binding-ejb.xsd delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/xsd/sca-binding-jms.xsd delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/xsd/sca-binding-sca.xsd delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/xsd/sca-binding-webservice.xsd delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/xsd/sca-contribution.xsd delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/xsd/sca-core.xsd delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/xsd/sca-definitions.xsd delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/xsd/sca-implementation-bpel.xsd delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/xsd/sca-implementation-composite.xsd delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/xsd/sca-implementation-cpp.xsd delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/xsd/sca-implementation-ejb.xsd delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/xsd/sca-implementation-java.xsd delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/xsd/sca-implementation-spring.xsd delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/xsd/sca-interface-cpp.xsd delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/xsd/sca-interface-java.xsd delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/xsd/sca-interface-wsdl.xsd delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/xsd/sca-policy.xsd delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/xsd/sca.xsd delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/xsd/tuscany-sca-binding-atom.xsd delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/xsd/tuscany-sca-binding-dwr.xsd delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/xsd/tuscany-sca-binding-http.xsd delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/xsd/tuscany-sca-binding-jsonrpc.xsd delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/xsd/tuscany-sca-binding-notification.xsd delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/xsd/tuscany-sca-binding-rmi.xsd delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/xsd/tuscany-sca-binding-rss.xsd delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/xsd/tuscany-sca-implementation-node.xsd delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/xsd/tuscany-sca-implementation-notification.xsd delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/xsd/tuscany-sca-implementation-osgi.xsd delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/xsd/tuscany-sca-implementation-resource.xsd delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/xsd/tuscany-sca-implementation-script.xsd delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/xsd/tuscany-sca-implementation-widget.xsd delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/xsd/tuscany-sca-implementation-xquery.xsd delete mode 100644 java/sca-contrib/tools/eclipse/plugins/core/xsd/tuscany-sca.xsd delete mode 100644 java/sca-contrib/tools/eclipse/plugins/ejava/LICENSE delete mode 100644 java/sca-contrib/tools/eclipse/plugins/ejava/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/tools/eclipse/plugins/ejava/NOTICE delete mode 100644 java/sca-contrib/tools/eclipse/plugins/ejava/build.properties delete mode 100644 java/sca-contrib/tools/eclipse/plugins/ejava/org/apache/tuscany/sca/plugin/ejava/classpath/EJavaClasspathContainer.java delete mode 100644 java/sca-contrib/tools/eclipse/plugins/ejava/org/apache/tuscany/sca/plugin/ejava/classpath/EJavaClasspathContainerInitializer.java delete mode 100644 java/sca-contrib/tools/eclipse/plugins/ejava/plugin.xml delete mode 100644 java/sca-contrib/tools/eclipse/plugins/ejava/pom.xml delete mode 100644 java/sca-contrib/tools/eclipse/plugins/manager/LICENSE delete mode 100644 java/sca-contrib/tools/eclipse/plugins/manager/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/tools/eclipse/plugins/manager/NOTICE delete mode 100644 java/sca-contrib/tools/eclipse/plugins/manager/build.properties delete mode 100644 java/sca-contrib/tools/eclipse/plugins/manager/org/apache/tuscany/sca/plugin/manager/classpath/ManagerClasspathContainer.java delete mode 100644 java/sca-contrib/tools/eclipse/plugins/manager/org/apache/tuscany/sca/plugin/manager/classpath/ManagerClasspathContainerInitializer.java delete mode 100644 java/sca-contrib/tools/eclipse/plugins/manager/plugin.xml delete mode 100644 java/sca-contrib/tools/eclipse/plugins/manager/pom.xml delete mode 100644 java/sca-contrib/tools/eclipse/plugins/process/LICENSE delete mode 100644 java/sca-contrib/tools/eclipse/plugins/process/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/tools/eclipse/plugins/process/NOTICE delete mode 100644 java/sca-contrib/tools/eclipse/plugins/process/build.properties delete mode 100644 java/sca-contrib/tools/eclipse/plugins/process/org/apache/tuscany/sca/plugin/process/classpath/ProcessClasspathContainer.java delete mode 100644 java/sca-contrib/tools/eclipse/plugins/process/org/apache/tuscany/sca/plugin/process/classpath/ProcessClasspathContainerInitializer.java delete mode 100644 java/sca-contrib/tools/eclipse/plugins/process/plugin.xml delete mode 100644 java/sca-contrib/tools/eclipse/plugins/process/pom.xml delete mode 100644 java/sca-contrib/tools/eclipse/plugins/web20/LICENSE delete mode 100644 java/sca-contrib/tools/eclipse/plugins/web20/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/tools/eclipse/plugins/web20/NOTICE delete mode 100644 java/sca-contrib/tools/eclipse/plugins/web20/build.properties delete mode 100644 java/sca-contrib/tools/eclipse/plugins/web20/org/apache/tuscany/sca/plugin/web20/classpath/Web20ClasspathContainer.java delete mode 100644 java/sca-contrib/tools/eclipse/plugins/web20/org/apache/tuscany/sca/plugin/web20/classpath/Web20ClasspathContainerInitializer.java delete mode 100644 java/sca-contrib/tools/eclipse/plugins/web20/plugin.xml delete mode 100644 java/sca-contrib/tools/eclipse/plugins/web20/pom.xml delete mode 100644 java/sca-contrib/tools/eclipse/plugins/webservice/LICENSE delete mode 100644 java/sca-contrib/tools/eclipse/plugins/webservice/META-INF/MANIFEST.MF delete mode 100644 java/sca-contrib/tools/eclipse/plugins/webservice/NOTICE delete mode 100644 java/sca-contrib/tools/eclipse/plugins/webservice/build.properties delete mode 100644 java/sca-contrib/tools/eclipse/plugins/webservice/org/apache/tuscany/sca/plugin/webservice/classpath/WebServiceClasspathContainer.java delete mode 100644 java/sca-contrib/tools/eclipse/plugins/webservice/org/apache/tuscany/sca/plugin/webservice/classpath/WebServiceClasspathContainerInitializer.java delete mode 100644 java/sca-contrib/tools/eclipse/plugins/webservice/plugin.xml delete mode 100644 java/sca-contrib/tools/eclipse/plugins/webservice/pom.xml delete mode 100644 java/sca-contrib/tools/eclipse/pom.xml delete mode 100644 java/sca-contrib/tools/eclipse/site/updatesite/LICENSE delete mode 100644 java/sca-contrib/tools/eclipse/site/updatesite/NOTICE delete mode 100755 java/sca-contrib/tools/eclipse/site/updatesite/etc/generate-p2.sh delete mode 100644 java/sca-contrib/tools/eclipse/site/updatesite/pom.xml delete mode 100644 java/sca-contrib/tools/eclipse/site/updatesite/site.xml delete mode 100644 java/sca-contrib/tools/eclipse/site/updatesite/src/main/assembly/updatesite.xml delete mode 100644 java/sca-contrib/tools/maven/maven-ant-generator/LICENSE delete mode 100644 java/sca-contrib/tools/maven/maven-ant-generator/NOTICE delete mode 100644 java/sca-contrib/tools/maven/maven-ant-generator/pom.xml delete mode 100644 java/sca-contrib/tools/maven/maven-ant-generator/src/main/java/org/apache/tuscany/sca/tools/ant/generator/plugin/AntGeneratorMojo.java delete mode 100644 java/sca-contrib/tools/maven/maven-dependency-lister/LICENSE delete mode 100644 java/sca-contrib/tools/maven/maven-dependency-lister/NOTICE delete mode 100644 java/sca-contrib/tools/maven/maven-dependency-lister/README delete mode 100644 java/sca-contrib/tools/maven/maven-dependency-lister/pom.xml delete mode 100644 java/sca-contrib/tools/maven/maven-dependency-lister/src/main/java/org/apache/tuscany/tools/sca/dependency/lister/plugin/DependencyListerMojo.java delete mode 100644 java/sca-contrib/tools/maven/maven-incremental-build/LICENSE delete mode 100644 java/sca-contrib/tools/maven/maven-incremental-build/NOTICE delete mode 100644 java/sca-contrib/tools/maven/maven-incremental-build/pom.xml delete mode 100644 java/sca-contrib/tools/maven/maven-incremental-build/src/main/java/org/apache/tuscany/sca/tools/incremental/build/plugin/IncrementalBuildMojo.java delete mode 100644 java/sca-contrib/tools/maven/maven-web-junit/LICENSE delete mode 100644 java/sca-contrib/tools/maven/maven-web-junit/NOTICE delete mode 100644 java/sca-contrib/tools/maven/maven-web-junit/pom.xml delete mode 100644 java/sca-contrib/tools/maven/maven-web-junit/src/main/java/org/apache/tuscany/tools/sca/web/junit/plugin/WebJUnitGeneratorMojo.java delete mode 100644 java/sca-contrib/tools/maven/maven-web-junit/src/main/java/org/apache/tuscany/tools/sca/web/junit/plugin/WebJUnitMojo.java delete mode 100644 java/sca-contrib/tools/runtime-inspector/LICENSE delete mode 100644 java/sca-contrib/tools/runtime-inspector/NOTICE delete mode 100644 java/sca-contrib/tools/runtime-inspector/pom.xml delete mode 100644 java/sca-contrib/tools/runtime-inspector/src/main/java/org/apache/tuscany/sca/tools/inspector/AssemblyInspector.java delete mode 100644 java/sca-contrib/tools/runtime-inspector/src/main/java/org/apache/tuscany/sca/tools/inspector/RegistryInspector.java delete mode 100644 java/sca-contrib/tools/runtime-inspector/src/main/java/org/apache/tuscany/sca/tools/inspector/RuntimeInspector.java delete mode 100644 java/sca-contrib/tools/runtime-inspector/src/test/java/calculator/AddService.java delete mode 100644 java/sca-contrib/tools/runtime-inspector/src/test/java/calculator/AddServiceImpl.java delete mode 100644 java/sca-contrib/tools/runtime-inspector/src/test/java/calculator/CalculatorClient.java delete mode 100644 java/sca-contrib/tools/runtime-inspector/src/test/java/calculator/CalculatorService.java delete mode 100644 java/sca-contrib/tools/runtime-inspector/src/test/java/calculator/CalculatorServiceImpl.java delete mode 100644 java/sca-contrib/tools/runtime-inspector/src/test/java/calculator/DivideService.java delete mode 100644 java/sca-contrib/tools/runtime-inspector/src/test/java/calculator/DivideServiceImpl.java delete mode 100644 java/sca-contrib/tools/runtime-inspector/src/test/java/calculator/MultiplyService.java delete mode 100644 java/sca-contrib/tools/runtime-inspector/src/test/java/calculator/MultiplyServiceImpl.java delete mode 100644 java/sca-contrib/tools/runtime-inspector/src/test/java/calculator/SubtractService.java delete mode 100644 java/sca-contrib/tools/runtime-inspector/src/test/java/calculator/SubtractServiceImpl.java delete mode 100644 java/sca-contrib/tools/runtime-inspector/src/test/java/org/apache/tuscany/sca/tools/inspector/RegistryInspectorTestCase.java delete mode 100644 java/sca-contrib/tools/runtime-inspector/src/test/resources/Calculator.composite delete mode 100644 java/sca-contrib/tools/sdo/java2wsdl/LICENSE delete mode 100644 java/sca-contrib/tools/sdo/java2wsdl/NOTICE delete mode 100644 java/sca-contrib/tools/sdo/java2wsdl/pom.xml delete mode 100644 java/sca-contrib/tools/sdo/java2wsdl/src/main/java/org/apache/tuscany/tools/java2wsdl/generate/GenerationParameters.java delete mode 100644 java/sca-contrib/tools/sdo/java2wsdl/src/main/java/org/apache/tuscany/tools/java2wsdl/generate/Java2WSDL.java delete mode 100644 java/sca-contrib/tools/sdo/java2wsdl/src/main/java/org/apache/tuscany/tools/java2wsdl/generate/Java2WSDLGenerator.java delete mode 100644 java/sca-contrib/tools/sdo/java2wsdl/src/main/java/org/apache/tuscany/tools/java2wsdl/generate/Java2WSDLGeneratorFactory.java delete mode 100644 java/sca-contrib/tools/sdo/java2wsdl/src/main/java/org/apache/tuscany/tools/java2wsdl/generate/Java2WSDLGeneratorImpl.java delete mode 100644 java/sca-contrib/tools/sdo/java2wsdl/src/main/java/org/apache/tuscany/tools/java2wsdl/generate/SchemaBuilder.java delete mode 100644 java/sca-contrib/tools/sdo/java2wsdl/src/main/java/org/apache/tuscany/tools/java2wsdl/generate/TuscanyJava2OMBuilder.java delete mode 100644 java/sca-contrib/tools/sdo/java2wsdl/src/main/java/org/apache/tuscany/tools/java2wsdl/generate/TuscanyJava2WSDLBuilder.java delete mode 100644 java/sca-contrib/tools/sdo/java2wsdl/src/main/java/org/apache/tuscany/tools/java2wsdl/generate/TuscanyJava2WSDLConstants.java delete mode 100644 java/sca-contrib/tools/sdo/java2wsdl/src/main/java/org/apache/tuscany/tools/java2wsdl/generate/TuscanyJava2WSDLOptionsValidator.java delete mode 100644 java/sca-contrib/tools/sdo/java2wsdl/src/main/java/org/apache/tuscany/tools/java2wsdl/generate/TuscanySchemaGenerator.java delete mode 100644 java/sca-contrib/tools/sdo/java2wsdl/src/main/java/org/apache/tuscany/tools/java2wsdl/generate/TuscanyTypeTable.java delete mode 100644 java/sca-contrib/tools/sdo/java2wsdl/src/main/java/org/apache/tuscany/tools/java2wsdl/generate/TuscanyWSDLTypesGenerator.java delete mode 100644 java/sca-contrib/tools/sdo/java2wsdl/src/main/java/org/apache/tuscany/tools/java2wsdl/generate/WSDLGenEvent.java delete mode 100644 java/sca-contrib/tools/sdo/java2wsdl/src/main/java/org/apache/tuscany/tools/java2wsdl/generate/WSDLGenListener.java delete mode 100644 java/sca-contrib/tools/sdo/java2wsdl/src/main/java/org/apache/tuscany/tools/java2wsdl/util/XMLNameUtil.java delete mode 100644 java/sca-contrib/tools/sdo/java2wsdl/src/main/resources/META-INF/LICENSE.txt delete mode 100644 java/sca-contrib/tools/sdo/java2wsdl/src/test/java/org/apache/tuscany/tools/java2wsdl/generate/CustomerValue.java delete mode 100644 java/sca-contrib/tools/sdo/java2wsdl/src/test/java/org/apache/tuscany/tools/java2wsdl/generate/CustomerWithAccount.java delete mode 100644 java/sca-contrib/tools/sdo/java2wsdl/src/test/java/org/apache/tuscany/tools/java2wsdl/generate/ExampleService.java delete mode 100644 java/sca-contrib/tools/sdo/java2wsdl/src/test/java/org/apache/tuscany/tools/java2wsdl/generate/TuscanyJava2WSDLTestCase.java delete mode 100644 java/sca-contrib/tools/sdo/java2wsdl/src/test/java/org/apache/tuscany/tools/java2wsdl/generate/account/Account.java delete mode 100644 java/sca-contrib/tools/sdo/java2wsdl/src/test/java/org/apache/tuscany/tools/java2wsdl/generate/customer/Customer.java delete mode 100644 java/sca-contrib/tools/sdo/java2wsdl/src/test/java/org/apache/tuscany/tools/java2wsdl/generate/extra/GoldCustomer.java delete mode 100644 java/sca-contrib/tools/sdo/java2wsdl/src/test/java/org/soapinterop/CreditScoreDocLit.java delete mode 100644 java/sca-contrib/tools/sdo/java2wsdl/src/test/resources/AccountService.wsdl delete mode 100644 java/sca-contrib/tools/sdo/java2wsdl/src/test/resources/CreditScoreDocLit.wsdl delete mode 100644 java/sca-contrib/tools/sdo/java2wsdl/src/test/resources/helloworld.wsdl delete mode 100644 java/sca-contrib/tools/sdo/java2wsdl/src/test/resources/interopdoc.wsdl delete mode 100644 java/sca-contrib/tools/sdo/java2wsdl/src/test/resources/sequences.xsd delete mode 100644 java/sca-contrib/tools/sdo/pom.xml delete mode 100644 java/sca-contrib/tools/sdo/wsdl2java/LICENSE delete mode 100644 java/sca-contrib/tools/sdo/wsdl2java/NOTICE delete mode 100644 java/sca-contrib/tools/sdo/wsdl2java/pom.xml delete mode 100644 java/sca-contrib/tools/sdo/wsdl2java/src/main/java/org/apache/tuscany/tools/wsdl2java/generate/JavaInterfaceEmitter.java delete mode 100644 java/sca-contrib/tools/sdo/wsdl2java/src/main/java/org/apache/tuscany/tools/wsdl2java/generate/JavaInterfaceGenerator.java delete mode 100644 java/sca-contrib/tools/sdo/wsdl2java/src/main/java/org/apache/tuscany/tools/wsdl2java/generate/RemotableInterfaceWritter.java delete mode 100644 java/sca-contrib/tools/sdo/wsdl2java/src/main/java/org/apache/tuscany/tools/wsdl2java/generate/SDODataBindingCodegenExtension.java delete mode 100644 java/sca-contrib/tools/sdo/wsdl2java/src/main/java/org/apache/tuscany/tools/wsdl2java/generate/SDODataBindingTypeMappingEntry.java delete mode 100644 java/sca-contrib/tools/sdo/wsdl2java/src/main/java/org/apache/tuscany/tools/wsdl2java/generate/WSDL2JavaGenerator.java delete mode 100644 java/sca-contrib/tools/sdo/wsdl2java/src/main/java/org/apache/tuscany/tools/wsdl2java/util/XMLNameUtil.java delete mode 100644 java/sca-contrib/tools/sdo/wsdl2java/src/main/resources/META-INF/LICENSE.txt delete mode 100644 java/sca-contrib/tools/sdo/wsdl2java/src/main/resources/RemotableInterfaceTemplate.xsl delete mode 100644 java/sca-contrib/tools/sdo/wsdl2java/src/test/java/org/apache/tuscany/tools/wsdl2java/generate/WSDL2JavaGeneratorTestCase.java delete mode 100644 java/sca-contrib/tools/sdo/wsdl2java/src/test/java/org/soapinterop/CreditScoreDocLit.java delete mode 100644 java/sca-contrib/tools/sdo/wsdl2java/src/test/resources/AccountService.wsdl delete mode 100644 java/sca-contrib/tools/sdo/wsdl2java/src/test/resources/AccountServiceWithFault.wsdl delete mode 100644 java/sca-contrib/tools/sdo/wsdl2java/src/test/resources/CreditScoreDocLit.wsdl delete mode 100644 java/sca-contrib/tools/sdo/wsdl2java/src/test/resources/helloworld.wsdl delete mode 100644 java/sca-contrib/tools/sdo/wsdl2java/src/test/resources/interopdoc.wsdl delete mode 100644 java/sca-contrib/tools/sdo/wsdl2java/src/test/resources/sequences.xsd delete mode 100644 java/sca-contrib/tutorials/pom.xml delete mode 100644 java/sca-contrib/tutorials/store/README delete mode 100644 java/sca-contrib/tutorials/store/Tutorial.pdf delete mode 100644 java/sca-contrib/tutorials/store/assets/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/tutorials/store/assets/pom.xml delete mode 100644 java/sca-contrib/tutorials/store/assets/services/Cart.java delete mode 100644 java/sca-contrib/tutorials/store/assets/services/Catalog.java delete mode 100644 java/sca-contrib/tutorials/store/assets/services/CurrencyConverter.java delete mode 100644 java/sca-contrib/tutorials/store/assets/services/CurrencyConverterImpl.java delete mode 100644 java/sca-contrib/tutorials/store/assets/services/FruitsCatalogImpl.java delete mode 100644 java/sca-contrib/tutorials/store/assets/services/Item.java delete mode 100644 java/sca-contrib/tutorials/store/assets/services/ShoppingCartImpl.java delete mode 100644 java/sca-contrib/tutorials/store/assets/services/Total.java delete mode 100644 java/sca-contrib/tutorials/store/assets/services/VegetablesCatalogImpl.java delete mode 100644 java/sca-contrib/tutorials/store/assets/services/db/ShoppingCartTableImpl.java delete mode 100644 java/sca-contrib/tutorials/store/assets/services/db/cart.sql delete mode 100644 java/sca-contrib/tutorials/store/assets/services/map/FruitsCatalogImpl.java delete mode 100644 java/sca-contrib/tutorials/store/assets/services/market/MarketCatalogImpl.java delete mode 100644 java/sca-contrib/tutorials/store/assets/services/merger/MergedCatalogImpl.java delete mode 100644 java/sca-contrib/tutorials/store/assets/tutorial.html delete mode 100644 java/sca-contrib/tutorials/store/assets/uiservices/store.html delete mode 100644 java/sca-contrib/tutorials/store/catalog-ejb/pom.xml delete mode 100644 java/sca-contrib/tutorials/store/catalog-ejb/src/main/java/services/ejb/CatalogEJBHome.java delete mode 100644 java/sca-contrib/tutorials/store/catalog-ejb/src/main/java/services/ejb/CatalogEJBRemote.java delete mode 100644 java/sca-contrib/tutorials/store/catalog-ejb/src/main/java/services/ejb/Vegetable.java delete mode 100644 java/sca-contrib/tutorials/store/catalog-ejb/src/main/java/services/ejb/VegetablesCatalogEJBSessionBean.java delete mode 100644 java/sca-contrib/tutorials/store/catalog-ejb/src/main/resources/META-INF/ejb-jar.xml delete mode 100644 java/sca-contrib/tutorials/store/catalog-ejb/src/main/resources/META-INF/openejb-jar.xml delete mode 100644 java/sca-contrib/tutorials/store/catalog-ejb/src/main/resources/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/tutorials/store/catalog-ejb/src/main/resources/VegetablesCatalogEJB.componentType delete mode 100644 java/sca-contrib/tutorials/store/catalog-ejb/src/main/resources/catalog-ejb.composite delete mode 100644 java/sca-contrib/tutorials/store/catalog-ejb/src/test/java/client/CatalogEJBClientTestCase.java delete mode 100644 java/sca-contrib/tutorials/store/catalog-ejb/src/test/java/org/omg/stub/javax/ejb/_EJBHome_Stub.java delete mode 100644 java/sca-contrib/tutorials/store/catalog-ejb/src/test/java/org/omg/stub/javax/ejb/_EJBObject_Stub.java delete mode 100644 java/sca-contrib/tutorials/store/catalog-ejb/src/test/java/org/omg/stub/javax/ejb/_Handle_Stub.java delete mode 100644 java/sca-contrib/tutorials/store/catalog-ejb/src/test/java/org/omg/stub/javax/ejb/_HomeHandle_Stub.java delete mode 100644 java/sca-contrib/tutorials/store/catalog-ejb/src/test/java/services/ejb/_CatalogEJBHome_Stub.java delete mode 100644 java/sca-contrib/tutorials/store/catalog-ejb/src/test/java/services/ejb/_CatalogEJBRemote_Stub.java delete mode 100644 java/sca-contrib/tutorials/store/catalog-mediation/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/tutorials/store/catalog-mediation/catalog-mediation.composite delete mode 100644 java/sca-contrib/tutorials/store/catalog-mediation/pom.xml delete mode 100644 java/sca-contrib/tutorials/store/catalog-mediation/services/mediation/VegetablesCatalogMediationImpl.java delete mode 100644 java/sca-contrib/tutorials/store/catalog-webapp/catalog-web.composite delete mode 100644 java/sca-contrib/tutorials/store/catalog-webapp/pom.xml delete mode 100644 java/sca-contrib/tutorials/store/catalog-webapp/webapp/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/tutorials/store/catalog-webapp/webapp/WEB-INF/web.xml delete mode 100644 java/sca-contrib/tutorials/store/catalog-webapp/webapp/catalog.jsp delete mode 100644 java/sca-contrib/tutorials/store/domain/cloud.composite delete mode 100644 java/sca-contrib/tutorials/store/domain/cloud/CatalogEJBNode.composite delete mode 100644 java/sca-contrib/tutorials/store/domain/cloud/CatalogMediationNode.composite delete mode 100644 java/sca-contrib/tutorials/store/domain/cloud/CatalogWebAppNode.composite delete mode 100644 java/sca-contrib/tutorials/store/domain/cloud/CatalogsNode.composite delete mode 100644 java/sca-contrib/tutorials/store/domain/cloud/CurrencyNode.composite delete mode 100644 java/sca-contrib/tutorials/store/domain/cloud/StoreClientNode.composite delete mode 100644 java/sca-contrib/tutorials/store/domain/cloud/StoreDBNode.composite delete mode 100644 java/sca-contrib/tutorials/store/domain/cloud/StoreEUNode.composite delete mode 100644 java/sca-contrib/tutorials/store/domain/cloud/StoreMarketNode.composite delete mode 100644 java/sca-contrib/tutorials/store/domain/cloud/StoreMashupNode.composite delete mode 100644 java/sca-contrib/tutorials/store/domain/cloud/StoreMergerNode.composite delete mode 100644 java/sca-contrib/tutorials/store/domain/cloud/StoreNode.composite delete mode 100644 java/sca-contrib/tutorials/store/domain/cloud/StoreSupplierNode.composite delete mode 100644 java/sca-contrib/tutorials/store/domain/domain.composite delete mode 100644 java/sca-contrib/tutorials/store/domain/launch/LaunchCatalogMediationNode.java delete mode 100644 java/sca-contrib/tutorials/store/domain/launch/LaunchCatalogsNode.java delete mode 100644 java/sca-contrib/tutorials/store/domain/launch/LaunchCurrencyNode.java delete mode 100644 java/sca-contrib/tutorials/store/domain/launch/LaunchStoreDBNode.java delete mode 100644 java/sca-contrib/tutorials/store/domain/launch/LaunchStoreEUNode.java delete mode 100644 java/sca-contrib/tutorials/store/domain/launch/LaunchStoreMarketNode.java delete mode 100644 java/sca-contrib/tutorials/store/domain/launch/LaunchStoreMashupNode.java delete mode 100644 java/sca-contrib/tutorials/store/domain/launch/LaunchStoreMergerNode.java delete mode 100644 java/sca-contrib/tutorials/store/domain/launch/LaunchStoreNode.java delete mode 100644 java/sca-contrib/tutorials/store/domain/launch/LaunchStoreSupplierNode.java delete mode 100644 java/sca-contrib/tutorials/store/domain/launch/LaunchTutorialDomainManager.java delete mode 100644 java/sca-contrib/tutorials/store/domain/pom.xml delete mode 100644 java/sca-contrib/tutorials/store/domain/workspace.xml delete mode 100644 java/sca-contrib/tutorials/store/pom.xml delete mode 100644 java/sca-contrib/tutorials/store/store-client/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/tutorials/store/store-client/client/Shopper.java delete mode 100644 java/sca-contrib/tutorials/store/store-client/client/ShopperImpl.java delete mode 100644 java/sca-contrib/tutorials/store/store-client/launch/LaunchStoreClientNode.java delete mode 100644 java/sca-contrib/tutorials/store/store-client/pom.xml delete mode 100644 java/sca-contrib/tutorials/store/store-client/services/Cart.java delete mode 100644 java/sca-contrib/tutorials/store/store-client/services/Catalog.java delete mode 100644 java/sca-contrib/tutorials/store/store-client/services/Item.java delete mode 100644 java/sca-contrib/tutorials/store/store-client/services/Total.java delete mode 100644 java/sca-contrib/tutorials/store/store-client/store-client.composite delete mode 100644 java/sca-contrib/tutorials/store/store-db/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/tutorials/store/store-db/pom.xml delete mode 100644 java/sca-contrib/tutorials/store/store-db/store-db.composite delete mode 100644 java/sca-contrib/tutorials/store/store-eu/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/tutorials/store/store-eu/pom.xml delete mode 100644 java/sca-contrib/tutorials/store/store-eu/store-eu.composite delete mode 100644 java/sca-contrib/tutorials/store/store-eu/uiservices/store-eu.html delete mode 100644 java/sca-contrib/tutorials/store/store-market/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/tutorials/store/store-market/build.xml delete mode 100644 java/sca-contrib/tutorials/store/store-market/pom.xml delete mode 100644 java/sca-contrib/tutorials/store/store-market/store-market.composite delete mode 100644 java/sca-contrib/tutorials/store/store-mashup/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/tutorials/store/store-mashup/build-openajax.xml delete mode 100644 java/sca-contrib/tutorials/store/store-mashup/gadget/map-gadget.html delete mode 100644 java/sca-contrib/tutorials/store/store-mashup/gadget/store-gadget.html delete mode 100644 java/sca-contrib/tutorials/store/store-mashup/map-gadget.composite delete mode 100644 java/sca-contrib/tutorials/store/store-mashup/mashup/store-mash.html delete mode 100644 java/sca-contrib/tutorials/store/store-mashup/pom.xml delete mode 100644 java/sca-contrib/tutorials/store/store-mashup/store-gadget.composite delete mode 100644 java/sca-contrib/tutorials/store/store-mashup/store-mashup.composite delete mode 100644 java/sca-contrib/tutorials/store/store-merger/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/tutorials/store/store-merger/pom.xml delete mode 100644 java/sca-contrib/tutorials/store/store-merger/store-merger.composite delete mode 100644 java/sca-contrib/tutorials/store/store-supplier/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/tutorials/store/store-supplier/pom.xml delete mode 100644 java/sca-contrib/tutorials/store/store-supplier/store-supplier.composite delete mode 100644 java/sca-contrib/tutorials/store/store-test/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/tutorials/store/store-test/client/Shopper.java delete mode 100644 java/sca-contrib/tutorials/store/store-test/pom.xml delete mode 100644 java/sca-contrib/tutorials/store/store-test/test/StoreSupplierTestCase.java delete mode 100644 java/sca-contrib/tutorials/store/store/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/tutorials/store/store/pom.xml delete mode 100644 java/sca-contrib/tutorials/store/store/store.composite delete mode 100644 java/sca-contrib/tutorials/store/web-services/META-INF/sca-contribution.xml delete mode 100644 java/sca-contrib/tutorials/store/web-services/catalogs.composite delete mode 100644 java/sca-contrib/tutorials/store/web-services/currency.composite delete mode 100644 java/sca-contrib/tutorials/store/web-services/pom.xml delete mode 100644 java/sca-contrib/tutorials/store/www-services/cart-amazon/amazon/cart/AmazonCart.java delete mode 100644 java/sca-contrib/tutorials/store/www-services/cart-amazon/amazon/cart/AmazonCart.wsdl delete mode 100644 java/sca-contrib/tutorials/store/www-services/cart-amazon/amazon/cart/AmazonCartImpl.java delete mode 100644 java/sca-contrib/tutorials/store/www-services/cart-amazon/amazoncart.composite delete mode 100644 java/sca-contrib/tutorials/store/www-services/cart-amazon/launch/LaunchAmazonCart.java delete mode 100644 java/sca-contrib/tutorials/store/www-services/cart-amazon/pom.xml delete mode 100644 java/sca-contrib/tutorials/store/www-services/cart-amazon/test/AmazonCartTestCase.java delete mode 100644 java/sca-contrib/tutorials/store/www-services/catalog-amazon/cart-amazon/README delete mode 100644 java/sca-contrib/tutorials/store/www-services/catalog-amazon/cart-amazon/build.xml delete mode 100644 java/sca-contrib/tutorials/store/www-services/catalog-amazon/cart-amazon/lib/AWS2007_05_14.jar delete mode 100644 java/sca-contrib/tutorials/store/www-services/catalog-amazon/cart-amazon/shoppingstore.png delete mode 100644 java/sca-contrib/tutorials/store/www-services/catalog-amazon/cart-amazon/src/main/java/shoppingstore/server/ShoppingStoreServer.java delete mode 100644 java/sca-contrib/tutorials/store/www-services/catalog-amazon/cart-amazon/src/main/java/shoppingstore/services/cart/CartService.java delete mode 100644 java/sca-contrib/tutorials/store/www-services/catalog-amazon/cart-amazon/src/main/java/shoppingstore/services/cart/CartServiceImpl.java delete mode 100644 java/sca-contrib/tutorials/store/www-services/catalog-amazon/cart-amazon/src/main/java/shoppingstore/services/proxy/ShoppingStoreService.java delete mode 100644 java/sca-contrib/tutorials/store/www-services/catalog-amazon/cart-amazon/src/main/java/shoppingstore/services/proxy/ShoppingStoreServiceImpl.java delete mode 100644 java/sca-contrib/tutorials/store/www-services/catalog-amazon/cart-amazon/src/main/resources/shoppingstore.composite delete mode 100644 java/sca-contrib/tutorials/store/www-services/catalog-amazon/cart-amazon/src/main/resources/wsdl/shoppingstore.wsdl delete mode 100644 java/sca-contrib/tutorials/store/www-services/catalog-amazon/pom.xml delete mode 100644 java/sca-contrib/tutorials/store/www-services/catalog-amazon/src/main/java/catalog/CatalogClient.java delete mode 100644 java/sca-contrib/tutorials/store/www-services/catalog-amazon/src/main/java/catalog/CatalogService.java delete mode 100644 java/sca-contrib/tutorials/store/www-services/catalog-amazon/src/main/java/catalog/amazon/AmazonCatalogService.java delete mode 100644 java/sca-contrib/tutorials/store/www-services/catalog-amazon/src/main/java/catalog/amazon/AmazonCatalogServiceImpl.java delete mode 100644 java/sca-contrib/tutorials/store/www-services/catalog-amazon/src/main/java/catalog/ebay/EBayCatalogService.java delete mode 100644 java/sca-contrib/tutorials/store/www-services/catalog-amazon/src/main/java/catalog/ebay/EBayCatalogServiceImpl.java delete mode 100644 java/sca-contrib/tutorials/store/www-services/catalog-amazon/src/main/java/catalog/util/NamespaceContextImpl.java delete mode 100644 java/sca-contrib/tutorials/store/www-services/catalog-amazon/src/main/java/catalog/util/XPathHelper.java delete mode 100644 java/sca-contrib/tutorials/store/www-services/catalog-amazon/src/main/resources/catalog.composite delete mode 100644 java/sca-contrib/tutorials/store/www-services/catalog-amazon/src/main/resources/wsdl/AWSECommerceService.wsdl delete mode 100644 java/sca-contrib/tutorials/store/www-services/catalog-amazon/src/main/resources/wsdl/ShoppingService.wsdl delete mode 100644 java/sca-contrib/tutorials/store/www-services/catalog-amazon/store-db/pom.xml delete mode 100644 java/sca-contrib/tutorials/store/www-services/catalog-amazon/store-db/src/main/java/launch/LaunchCatalog.java delete mode 100644 java/sca-contrib/tutorials/store/www-services/catalog-amazon/store-db/src/main/java/services/Catalog.java delete mode 100644 java/sca-contrib/tutorials/store/www-services/catalog-amazon/store-db/src/main/java/services/CatalogImpl.java delete mode 100644 java/sca-contrib/tutorials/store/www-services/catalog-amazon/store-db/src/main/java/services/CurrencyConverter.java delete mode 100644 java/sca-contrib/tutorials/store/www-services/catalog-amazon/store-db/src/main/java/util/CreateDB.java delete mode 100644 java/sca-contrib/tutorials/store/www-services/catalog-amazon/store-db/src/main/resources/store-catalog-database.composite delete mode 100644 java/sca-contrib/tutorials/store/www-services/catalog-amazon/store-db/store.sql delete mode 100644 java/sca-contrib/tutorials/store/www-services/pom.xml delete mode 100644 java/sca-contrib/vtest/assembly/component/pom.xml delete mode 100644 java/sca-contrib/vtest/assembly/component/src/main/java/org/apache/tuscany/sca/vtest/assembly/component/AService.java delete mode 100644 java/sca-contrib/vtest/assembly/component/src/main/java/org/apache/tuscany/sca/vtest/assembly/component/BService.java delete mode 100644 java/sca-contrib/vtest/assembly/component/src/main/java/org/apache/tuscany/sca/vtest/assembly/component/CService.java delete mode 100644 java/sca-contrib/vtest/assembly/component/src/main/java/org/apache/tuscany/sca/vtest/assembly/component/impl/AServiceImpl.java delete mode 100644 java/sca-contrib/vtest/assembly/component/src/main/java/org/apache/tuscany/sca/vtest/assembly/component/impl/BServiceImpl.java delete mode 100644 java/sca-contrib/vtest/assembly/component/src/main/java/org/apache/tuscany/sca/vtest/assembly/component/impl/CServiceImpl.java delete mode 100644 java/sca-contrib/vtest/assembly/component/src/main/resources/component.composite delete mode 100644 java/sca-contrib/vtest/assembly/component/src/main/resources/nonuniquename.composite delete mode 100644 java/sca-contrib/vtest/assembly/component/src/main/resources/serviceelement.composite delete mode 100644 java/sca-contrib/vtest/assembly/component/src/main/resources/servicewithbinding.composite delete mode 100644 java/sca-contrib/vtest/assembly/component/src/main/resources/servicewithinterface.composite delete mode 100644 java/sca-contrib/vtest/assembly/component/src/main/resources/zerocomponents.composite delete mode 100644 java/sca-contrib/vtest/assembly/component/src/main/resources/zeroimplelements.composite delete mode 100644 java/sca-contrib/vtest/assembly/component/src/test/java/org/apache/tuscany/sca/vtest/assembly/component/ComponentTestCase.java delete mode 100644 java/sca-contrib/vtest/assembly/composite/pom.xml delete mode 100644 java/sca-contrib/vtest/assembly/composite/src/main/java/org/apache/tuscany/sca/vtest/assembly/composite/AService.java delete mode 100644 java/sca-contrib/vtest/assembly/composite/src/main/java/org/apache/tuscany/sca/vtest/assembly/composite/BService.java delete mode 100644 java/sca-contrib/vtest/assembly/composite/src/main/java/org/apache/tuscany/sca/vtest/assembly/composite/CService.java delete mode 100644 java/sca-contrib/vtest/assembly/composite/src/main/java/org/apache/tuscany/sca/vtest/assembly/composite/impl/AServiceImpl.java delete mode 100644 java/sca-contrib/vtest/assembly/composite/src/main/java/org/apache/tuscany/sca/vtest/assembly/composite/impl/BServiceImpl.java delete mode 100644 java/sca-contrib/vtest/assembly/composite/src/main/java/org/apache/tuscany/sca/vtest/assembly/composite/impl/CServiceImpl.java delete mode 100644 java/sca-contrib/vtest/assembly/composite/src/main/resources/composite.composite delete mode 100644 java/sca-contrib/vtest/assembly/composite/src/test/java/org/apache/tuscany/sca/vtest/assembly/composite/CompositeTestCase.java delete mode 100644 java/sca-contrib/vtest/assembly/ctypefile/pom.xml delete mode 100644 java/sca-contrib/vtest/assembly/ctypefile/src/main/java/org/apache/tuscany/sca/vtest/assembly/ctypefile/AService.java delete mode 100644 java/sca-contrib/vtest/assembly/ctypefile/src/main/java/org/apache/tuscany/sca/vtest/assembly/ctypefile/BService.java delete mode 100644 java/sca-contrib/vtest/assembly/ctypefile/src/main/java/org/apache/tuscany/sca/vtest/assembly/ctypefile/impl/AServiceImpl.java delete mode 100644 java/sca-contrib/vtest/assembly/ctypefile/src/main/java/org/apache/tuscany/sca/vtest/assembly/ctypefile/impl/BServiceImpl.java delete mode 100644 java/sca-contrib/vtest/assembly/ctypefile/src/main/resources/org/apache/tuscany/sca/vtest/assembly/ctypefile/impl/AServiceImpl.componentType delete mode 100644 java/sca-contrib/vtest/assembly/ctypefile/src/main/resources/org/apache/tuscany/sca/vtest/assembly/ctypefile/impl/BServiceImpl.componentType delete mode 100644 java/sca-contrib/vtest/assembly/ctypefile/src/main/resources/typefile.composite delete mode 100644 java/sca-contrib/vtest/assembly/ctypefile/src/test/java/org/apache/tuscany/sca/vtest/assembly/ctypefile/CompomnentTypeFileTestCase.java delete mode 100644 java/sca-contrib/vtest/assembly/pom.xml delete mode 100644 java/sca-contrib/vtest/java-api/annotations/conversational/pom.xml delete mode 100644 java/sca-contrib/vtest/java-api/annotations/conversational/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/conversational/AService.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/conversational/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/conversational/B1Service.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/conversational/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/conversational/B2Service.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/conversational/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/conversational/impl/AServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/conversational/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/conversational/impl/B1ServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/conversational/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/conversational/impl/B2ServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/conversational/src/main/resources/conversation.composite delete mode 100644 java/sca-contrib/vtest/java-api/annotations/conversational/src/test/java/org/apache/tuscany/sca/vtest/javaapi/annotations/conversational/ConversationAnnotationTestCase.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/conversationattributes/pom.xml delete mode 100644 java/sca-contrib/vtest/java-api/annotations/conversationattributes/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/conversationattributes/AService.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/conversationattributes/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/conversationattributes/B2Service.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/conversationattributes/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/conversationattributes/BService.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/conversationattributes/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/conversationattributes/CService.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/conversationattributes/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/conversationattributes/impl/AServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/conversationattributes/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/conversationattributes/impl/B2ServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/conversationattributes/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/conversationattributes/impl/BServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/conversationattributes/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/conversationattributes/impl/CServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/conversationattributes/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/conversationattributes/security/ACallbackHandler.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/conversationattributes/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/conversationattributes/security/JaasLoginModule.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/conversationattributes/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/conversationattributes/security/UserPrincipal.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/conversationattributes/src/main/resources/AJass.config delete mode 100644 java/sca-contrib/vtest/java-api/annotations/conversationattributes/src/main/resources/conversation.composite delete mode 100644 java/sca-contrib/vtest/java-api/annotations/conversationattributes/src/main/resources/definitions.xml delete mode 100644 java/sca-contrib/vtest/java-api/annotations/conversationattributes/src/main/resources/singleprincipal.composite delete mode 100644 java/sca-contrib/vtest/java-api/annotations/conversationattributes/src/test/java/org/apache/tuscany/sca/vtest/javaapi/annotations/conversationattributes/ConversationAttributesTestCase.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/conversationattributes/src/test/java/org/apache/tuscany/sca/vtest/javaapi/annotations/conversationattributes/SinglePricipalTestCase.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/destroy/pom.xml delete mode 100644 java/sca-contrib/vtest/java-api/annotations/destroy/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/destroy/AService.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/destroy/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/destroy/impl/AServiceErr1Impl.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/destroy/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/destroy/impl/AServiceErr2Impl.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/destroy/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/destroy/impl/AServiceErr3Impl.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/destroy/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/destroy/impl/AServiceErr4Impl.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/destroy/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/destroy/impl/AServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/destroy/src/main/resources/err1/AServiceErr1.composite delete mode 100644 java/sca-contrib/vtest/java-api/annotations/destroy/src/main/resources/err2/AServiceErr2.composite delete mode 100644 java/sca-contrib/vtest/java-api/annotations/destroy/src/main/resources/err3/AServiceErr3.composite delete mode 100644 java/sca-contrib/vtest/java-api/annotations/destroy/src/main/resources/err4/AServiceErr4.composite delete mode 100644 java/sca-contrib/vtest/java-api/annotations/destroy/src/main/resources/proper/AService.composite delete mode 100644 java/sca-contrib/vtest/java-api/annotations/destroy/src/test/java/org/apache/tuscany/sca/vtest/javaapi/annotations/destroy/DestroyAnnotationTestCase.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/endsconversation/pom.xml delete mode 100644 java/sca-contrib/vtest/java-api/annotations/endsconversation/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/endsconversation/AService.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/endsconversation/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/endsconversation/BService.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/endsconversation/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/endsconversation/impl/AServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/endsconversation/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/endsconversation/impl/BServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/endsconversation/src/main/resources/endsconversation.composite delete mode 100644 java/sca-contrib/vtest/java-api/annotations/endsconversation/src/test/java/org/apache/tuscany/sca/vtest/javaapi/annotations/endsconversation/EndsConversationTestCase.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/init/pom.xml delete mode 100644 java/sca-contrib/vtest/java-api/annotations/init/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/init/AService.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/init/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/init/impl/AServiceErr1Impl.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/init/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/init/impl/AServiceErr2Impl.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/init/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/init/impl/AServiceErr3Impl.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/init/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/init/impl/AServiceErr4Impl.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/init/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/init/impl/AServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/init/src/main/resources/err1/AServiceErr1.composite delete mode 100644 java/sca-contrib/vtest/java-api/annotations/init/src/main/resources/err2/AServiceErr2.composite delete mode 100644 java/sca-contrib/vtest/java-api/annotations/init/src/main/resources/err3/AServiceErr3.composite delete mode 100644 java/sca-contrib/vtest/java-api/annotations/init/src/main/resources/err4/AServiceErr4.composite delete mode 100644 java/sca-contrib/vtest/java-api/annotations/init/src/main/resources/proper/AService.composite delete mode 100644 java/sca-contrib/vtest/java-api/annotations/init/src/test/java/org/apache/tuscany/sca/vtest/javaapi/annotations/init/InitAnnotationTestCase.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/oneway/pom.xml delete mode 100644 java/sca-contrib/vtest/java-api/annotations/oneway/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/oneway/AService.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/oneway/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/oneway/BService.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/oneway/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/oneway/impl/AServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/oneway/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/oneway/impl/BServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/oneway/src/main/resources/oneway.composite delete mode 100644 java/sca-contrib/vtest/java-api/annotations/oneway/src/test/java/org/apache/tuscany/sca/vtest/javaapi/annotations/oneway/OneWayAnnotationTestCase.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/pom.xml delete mode 100644 java/sca-contrib/vtest/java-api/annotations/property/pom.xml delete mode 100644 java/sca-contrib/vtest/java-api/annotations/property/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/property/AService.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/property/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/property/AnotherAService.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/property/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/property/BService.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/property/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/property/CService.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/property/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/property/impl/AObject.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/property/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/property/impl/AServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/property/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/property/impl/AnotherAServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/property/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/property/impl/BServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/property/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/property/impl/CServiceImpl1.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/property/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/property/impl/CServiceImpl2.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/property/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/property/impl/CServiceImpl3.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/property/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/property/impl/CServiceImpl4.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/property/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/property/impl/CServiceImpl5.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/property/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/property/impl/CServiceImpl6.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/property/src/main/resources/property.composite delete mode 100644 java/sca-contrib/vtest/java-api/annotations/property/src/test/java/org/apache/tuscany/sca/vtest/javaapi/annotations/property/PropertyAnnotationTestCase.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/reference/pom.xml delete mode 100644 java/sca-contrib/vtest/java-api/annotations/reference/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/reference/AService.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/reference/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/reference/BService.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/reference/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/reference/impl/AServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/reference/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/reference/impl/AUnannotatedServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/reference/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/reference/impl/BServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/reference/src/main/resources/ab.composite delete mode 100644 java/sca-contrib/vtest/java-api/annotations/reference/src/test/java/org/apache/tuscany/sca/vtest/javaapi/annotations/reference/ReferenceAnnotationTestCase.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/scope/pom.xml delete mode 100644 java/sca-contrib/vtest/java-api/annotations/scope/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/scope/AService.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/scope/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/scope/BService.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/scope/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/scope/CService.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/scope/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/scope/DService.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/scope/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/scope/FService.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/scope/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/scope/GService.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/scope/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/scope/HService.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/scope/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/scope/IService.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/scope/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/scope/JService.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/scope/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/scope/KService.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/scope/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/scope/LService.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/scope/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/scope/MService.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/scope/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/scope/NService.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/scope/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/scope/OService.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/scope/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/scope/impl/AServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/scope/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/scope/impl/BServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/scope/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/scope/impl/CServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/scope/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/scope/impl/DServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/scope/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/scope/impl/FServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/scope/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/scope/impl/GServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/scope/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/scope/impl/HServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/scope/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/scope/impl/IServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/scope/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/scope/impl/JServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/scope/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/scope/impl/KServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/scope/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/scope/impl/LServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/scope/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/scope/impl/MServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/scope/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/scope/impl/NServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/scope/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/scope/impl/OServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/scope/src/main/resources/scope.composite delete mode 100644 java/sca-contrib/vtest/java-api/annotations/scope/src/test/java/org/apache/tuscany/sca/vtest/javaapi/annotations/scope/ScopeAnnotationTestCase.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/service/pom.xml delete mode 100644 java/sca-contrib/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/AService.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/BService.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/CService.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/DService1.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/DService2.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/DService3.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/EService.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/FService.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/GService1.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/GService2.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/HService.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/IService.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/impl/AObject.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/impl/AServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/impl/BServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/impl/CServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/impl/DServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/impl/EServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/impl/FServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/impl/FServiceImpl2.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/impl/GServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/impl/HServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/impl/IServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/annotations/service/src/main/resources/service.composite delete mode 100644 java/sca-contrib/vtest/java-api/annotations/service/src/test/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/ServiceAnnotationTestCase.java delete mode 100644 java/sca-contrib/vtest/java-api/apis/callablereference/pom.xml delete mode 100644 java/sca-contrib/vtest/java-api/apis/callablereference/src/main/java/org/apache/tuscany/sca/vtest/javaapi/apis/callablereference/AComponent.java delete mode 100644 java/sca-contrib/vtest/java-api/apis/callablereference/src/main/java/org/apache/tuscany/sca/vtest/javaapi/apis/callablereference/BCallback.java delete mode 100644 java/sca-contrib/vtest/java-api/apis/callablereference/src/main/java/org/apache/tuscany/sca/vtest/javaapi/apis/callablereference/BComponent.java delete mode 100644 java/sca-contrib/vtest/java-api/apis/callablereference/src/main/java/org/apache/tuscany/sca/vtest/javaapi/apis/callablereference/impl/AComponentImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/apis/callablereference/src/main/java/org/apache/tuscany/sca/vtest/javaapi/apis/callablereference/impl/BComponentImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/apis/callablereference/src/main/resources/callablereference.composite delete mode 100644 java/sca-contrib/vtest/java-api/apis/callablereference/src/test/java/org/apache/tuscany/sca/vtest/javaapi/apis/callablereference/CallableReferenceTestCase.java delete mode 100644 java/sca-contrib/vtest/java-api/apis/componentcontext/pom.xml delete mode 100644 java/sca-contrib/vtest/java-api/apis/componentcontext/src/main/java/org/apache/tuscany/sca/vtest/javaapi/apis/componentcontext/AComponent.java delete mode 100644 java/sca-contrib/vtest/java-api/apis/componentcontext/src/main/java/org/apache/tuscany/sca/vtest/javaapi/apis/componentcontext/BComponent.java delete mode 100644 java/sca-contrib/vtest/java-api/apis/componentcontext/src/main/java/org/apache/tuscany/sca/vtest/javaapi/apis/componentcontext/BService.java delete mode 100644 java/sca-contrib/vtest/java-api/apis/componentcontext/src/main/java/org/apache/tuscany/sca/vtest/javaapi/apis/componentcontext/CService.java delete mode 100644 java/sca-contrib/vtest/java-api/apis/componentcontext/src/main/java/org/apache/tuscany/sca/vtest/javaapi/apis/componentcontext/DComponent.java delete mode 100644 java/sca-contrib/vtest/java-api/apis/componentcontext/src/main/java/org/apache/tuscany/sca/vtest/javaapi/apis/componentcontext/impl/AComponentImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/apis/componentcontext/src/main/java/org/apache/tuscany/sca/vtest/javaapi/apis/componentcontext/impl/AUnannotatedComponentImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/apis/componentcontext/src/main/java/org/apache/tuscany/sca/vtest/javaapi/apis/componentcontext/impl/BComponentImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/apis/componentcontext/src/main/java/org/apache/tuscany/sca/vtest/javaapi/apis/componentcontext/impl/DComponentImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/apis/componentcontext/src/main/resources/ab.composite delete mode 100644 java/sca-contrib/vtest/java-api/apis/componentcontext/src/test/java/org/apache/tuscany/sca/vtest/javaapi/apis/componentcontext/ComponentContextTestCase.java delete mode 100644 java/sca-contrib/vtest/java-api/apis/conversation/pom.xml delete mode 100644 java/sca-contrib/vtest/java-api/apis/conversation/src/main/java/org/apache/tuscany/sca/vtest/javaapi/apis/conversation/AComponent.java delete mode 100644 java/sca-contrib/vtest/java-api/apis/conversation/src/main/java/org/apache/tuscany/sca/vtest/javaapi/apis/conversation/BComponent.java delete mode 100644 java/sca-contrib/vtest/java-api/apis/conversation/src/main/java/org/apache/tuscany/sca/vtest/javaapi/apis/conversation/impl/AComponentImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/apis/conversation/src/main/java/org/apache/tuscany/sca/vtest/javaapi/apis/conversation/impl/BComponentImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/apis/conversation/src/main/resources/conversation.composite delete mode 100644 java/sca-contrib/vtest/java-api/apis/conversation/src/test/java/org/apache/tuscany/sca/vtest/javaapi/apis/conversation/ConversationTestCase.java delete mode 100644 java/sca-contrib/vtest/java-api/apis/exception/pom.xml delete mode 100644 java/sca-contrib/vtest/java-api/apis/exception/src/main/java/org/apache/tuscany/sca/vtest/javaapi/apis/exception/AComponent.java delete mode 100644 java/sca-contrib/vtest/java-api/apis/exception/src/main/java/org/apache/tuscany/sca/vtest/javaapi/apis/exception/BCallback.java delete mode 100644 java/sca-contrib/vtest/java-api/apis/exception/src/main/java/org/apache/tuscany/sca/vtest/javaapi/apis/exception/BComponent.java delete mode 100644 java/sca-contrib/vtest/java-api/apis/exception/src/main/java/org/apache/tuscany/sca/vtest/javaapi/apis/exception/CComponent.java delete mode 100644 java/sca-contrib/vtest/java-api/apis/exception/src/main/java/org/apache/tuscany/sca/vtest/javaapi/apis/exception/DComponent.java delete mode 100644 java/sca-contrib/vtest/java-api/apis/exception/src/main/java/org/apache/tuscany/sca/vtest/javaapi/apis/exception/DException.java delete mode 100644 java/sca-contrib/vtest/java-api/apis/exception/src/main/java/org/apache/tuscany/sca/vtest/javaapi/apis/exception/impl/AComponentImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/apis/exception/src/main/java/org/apache/tuscany/sca/vtest/javaapi/apis/exception/impl/BComponentImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/apis/exception/src/main/java/org/apache/tuscany/sca/vtest/javaapi/apis/exception/impl/CComponentImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/apis/exception/src/main/java/org/apache/tuscany/sca/vtest/javaapi/apis/exception/impl/DComponentImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/apis/exception/src/main/resources/exception.composite delete mode 100644 java/sca-contrib/vtest/java-api/apis/exception/src/test/java/org/apache/tuscany/sca/vtest/javaapi/apis/exception/ExceptionTestCase.java delete mode 100644 java/sca-contrib/vtest/java-api/apis/pom.xml delete mode 100644 java/sca-contrib/vtest/java-api/apis/requestcontext/pom.xml delete mode 100644 java/sca-contrib/vtest/java-api/apis/requestcontext/src/main/java/org/apache/tuscany/sca/vtest/javaapi/apis/requestcontext/AComponent.java delete mode 100644 java/sca-contrib/vtest/java-api/apis/requestcontext/src/main/java/org/apache/tuscany/sca/vtest/javaapi/apis/requestcontext/BCallback.java delete mode 100644 java/sca-contrib/vtest/java-api/apis/requestcontext/src/main/java/org/apache/tuscany/sca/vtest/javaapi/apis/requestcontext/BComponent.java delete mode 100644 java/sca-contrib/vtest/java-api/apis/requestcontext/src/main/java/org/apache/tuscany/sca/vtest/javaapi/apis/requestcontext/impl/AComponentImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/apis/requestcontext/src/main/java/org/apache/tuscany/sca/vtest/javaapi/apis/requestcontext/impl/BComponentImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/apis/requestcontext/src/main/resources/requestcontext.composite delete mode 100644 java/sca-contrib/vtest/java-api/apis/requestcontext/src/test/java/org/apache/tuscany/sca/vtest/javaapi/apis/requestcontext/RequestContextTestCase.java delete mode 100644 java/sca-contrib/vtest/java-api/apis/servicereference/pom.xml delete mode 100644 java/sca-contrib/vtest/java-api/apis/servicereference/src/main/java/org/apache/tuscany/sca/vtest/javaapi/apis/servicereference/AComponent.java delete mode 100644 java/sca-contrib/vtest/java-api/apis/servicereference/src/main/java/org/apache/tuscany/sca/vtest/javaapi/apis/servicereference/BCallback.java delete mode 100644 java/sca-contrib/vtest/java-api/apis/servicereference/src/main/java/org/apache/tuscany/sca/vtest/javaapi/apis/servicereference/BComponent.java delete mode 100644 java/sca-contrib/vtest/java-api/apis/servicereference/src/main/java/org/apache/tuscany/sca/vtest/javaapi/apis/servicereference/CComponent.java delete mode 100644 java/sca-contrib/vtest/java-api/apis/servicereference/src/main/java/org/apache/tuscany/sca/vtest/javaapi/apis/servicereference/impl/AComponentImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/apis/servicereference/src/main/java/org/apache/tuscany/sca/vtest/javaapi/apis/servicereference/impl/BComponentImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/apis/servicereference/src/main/java/org/apache/tuscany/sca/vtest/javaapi/apis/servicereference/impl/CComponentImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/apis/servicereference/src/main/java/org/apache/tuscany/sca/vtest/javaapi/apis/servicereference/impl/TestObject.java delete mode 100644 java/sca-contrib/vtest/java-api/apis/servicereference/src/main/resources/servicereference.composite delete mode 100644 java/sca-contrib/vtest/java-api/apis/servicereference/src/test/java/org/apache/tuscany/sca/vtest/javaapi/apis/servicereference/ServiceReferenceTestCase.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/callback/pom.xml delete mode 100644 java/sca-contrib/vtest/java-api/conversation/callback/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/callback/AService.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/callback/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/callback/AServiceCallback.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/callback/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/callback/BService.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/callback/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/callback/BServiceCallback.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/callback/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/callback/CService.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/callback/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/callback/Utilities.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/callback/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/callback/accessing/AServiceCallback.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/callback/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/callback/accessing/BService.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/callback/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/callback/accessing/impl/AServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/callback/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/callback/accessing/impl/BServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/callback/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/callback/custom/AServiceCallback.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/callback/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/callback/custom/BService.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/callback/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/callback/custom/CustomCallback.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/callback/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/callback/custom/impl/AServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/callback/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/callback/custom/impl/BServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/callback/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/callback/custom/impl/CustomCallbackImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/callback/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/callback/id/AServiceCallback.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/callback/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/callback/id/BService.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/callback/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/callback/id/impl/AServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/callback/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/callback/id/impl/BServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/callback/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/callback/impl/AServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/callback/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/callback/impl/BServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/callback/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/callback/impl/CServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/callback/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/callback/local/AServiceCallback.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/callback/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/callback/local/BService.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/callback/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/callback/local/BServiceCallback.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/callback/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/callback/local/CService.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/callback/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/callback/local/impl/AServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/callback/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/callback/local/impl/BServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/callback/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/callback/local/impl/CServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/callback/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/callback/mixed/CService.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/callback/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/callback/mixed/impl/BServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/callback/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/callback/mixed/impl/CServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/callback/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/callback/multi/AServiceCallback.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/callback/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/callback/multi/AServiceCallback2.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/callback/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/callback/multi/BService.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/callback/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/callback/multi/BService2.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/callback/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/callback/multi/impl/AServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/callback/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/callback/multi/impl/BServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/callback/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/callback/stateless/BServiceCallback.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/callback/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/callback/stateless/CService.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/callback/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/callback/stateless/impl/BServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/callback/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/callback/stateless/impl/BServiceImpl2.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/callback/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/callback/stateless/impl/BServiceImpl3.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/callback/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/callback/stateless/impl/CServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/callback/src/main/resources/callback-accessing.composite delete mode 100644 java/sca-contrib/vtest/java-api/conversation/callback/src/main/resources/callback-custom.composite delete mode 100644 java/sca-contrib/vtest/java-api/conversation/callback/src/main/resources/callback-id.composite delete mode 100644 java/sca-contrib/vtest/java-api/conversation/callback/src/main/resources/callback-local.composite delete mode 100644 java/sca-contrib/vtest/java-api/conversation/callback/src/main/resources/callback-mixed.composite delete mode 100644 java/sca-contrib/vtest/java-api/conversation/callback/src/main/resources/callback-multi.composite delete mode 100644 java/sca-contrib/vtest/java-api/conversation/callback/src/main/resources/callback-stateless-callbackfieldnull.composite delete mode 100644 java/sca-contrib/vtest/java-api/conversation/callback/src/main/resources/callback-stateless-callbackid.composite delete mode 100644 java/sca-contrib/vtest/java-api/conversation/callback/src/main/resources/callback-stateless.composite delete mode 100644 java/sca-contrib/vtest/java-api/conversation/callback/src/main/resources/callback.composite delete mode 100644 java/sca-contrib/vtest/java-api/conversation/callback/src/test/java/org/apache/tuscany/sca/vtest/javaapi/conversation/callback/CallbackTestCase.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/id/pom.xml delete mode 100644 java/sca-contrib/vtest/java-api/conversation/id/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/id/AService.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/id/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/id/BService.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/id/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/id/CService.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/id/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/id/CustomConversationId.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/id/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/id/impl/AServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/id/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/id/impl/BServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/id/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/id/impl/CServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/id/src/main/resources/conversation-id.composite delete mode 100644 java/sca-contrib/vtest/java-api/conversation/id/src/test/java/org/apache/tuscany/sca/vtest/javaapi/conversation/id/ConversationIDTestCase.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/lifetime/pom.xml delete mode 100644 java/sca-contrib/vtest/java-api/conversation/lifetime/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/lifetime/AService.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/lifetime/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/lifetime/AServiceCallback.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/lifetime/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/lifetime/BService.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/lifetime/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/lifetime/BServiceBusinessException.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/lifetime/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/lifetime/CService.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/lifetime/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/lifetime/DService.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/lifetime/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/lifetime/impl/AServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/lifetime/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/lifetime/impl/BServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/lifetime/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/lifetime/impl/CServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/lifetime/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/lifetime/impl/DServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/lifetime/src/main/resources/lifetime.composite delete mode 100644 java/sca-contrib/vtest/java-api/conversation/lifetime/src/test/java/org/apache/tuscany/sca/vtest/javaapi/conversation/lifetime/LifetimeTestCase.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/parameters/pom.xml delete mode 100644 java/sca-contrib/vtest/java-api/conversation/parameters/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/parameters/AService.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/parameters/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/parameters/BService.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/parameters/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/parameters/CService.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/parameters/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/parameters/impl/AServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/parameters/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/parameters/impl/BServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/parameters/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/parameters/impl/CServiceImpl.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/parameters/src/main/resources/parameters.composite delete mode 100644 java/sca-contrib/vtest/java-api/conversation/parameters/src/test/java/org/apache/tuscany/sca/vtest/javaapi/conversation/parameters/ConversationParametersTestCase.java delete mode 100644 java/sca-contrib/vtest/java-api/conversation/pom.xml delete mode 100644 java/sca-contrib/vtest/java-api/pom.xml delete mode 100644 java/sca-contrib/vtest/pom.xml delete mode 100644 java/sca-contrib/vtest/processcomments.rb delete mode 100644 java/sca-contrib/vtest/utilities/pom.xml delete mode 100644 java/sca-contrib/vtest/utilities/src/main/java/org/apache/tuscany/sca/vtest/utilities/ServiceFinder.java delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/defaultbinding/pom.xml delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/defaultbinding/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/nowsdl/defaultbinding/AService.java delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/defaultbinding/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/nowsdl/defaultbinding/BService.java delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/defaultbinding/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/nowsdl/defaultbinding/CService.java delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/defaultbinding/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/nowsdl/defaultbinding/DService.java delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/defaultbinding/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/nowsdl/defaultbinding/impl/AServiceImpl.java delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/defaultbinding/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/nowsdl/defaultbinding/impl/BServiceImpl.java delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/defaultbinding/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/nowsdl/defaultbinding/impl/CServiceImpl.java delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/defaultbinding/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/nowsdl/defaultbinding/impl/DServiceImpl.java delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/defaultbinding/src/main/resources/nowsdl.composite delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/defaultbinding/src/test/java/org/apache/tuscany/sca/vtest/wsbinding/nowsdl/defaultbinding/NoWsdlDefaultBindingTestCase.java delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/multisoapbindings/pom.xml delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/multisoapbindings/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/nowsdl/multisoapbindings/AService.java delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/multisoapbindings/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/nowsdl/multisoapbindings/BService.java delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/multisoapbindings/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/nowsdl/multisoapbindings/CService.java delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/multisoapbindings/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/nowsdl/multisoapbindings/DService.java delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/multisoapbindings/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/nowsdl/multisoapbindings/impl/AServiceImpl.java delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/multisoapbindings/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/nowsdl/multisoapbindings/impl/BServiceImpl.java delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/multisoapbindings/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/nowsdl/multisoapbindings/impl/CServiceImpl.java delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/multisoapbindings/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/nowsdl/multisoapbindings/impl/DServiceImpl.java delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/multisoapbindings/src/main/resources/nowsdlmultisoapbindings.composite delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/multisoapbindings/src/test/java/org/apache/tuscany/sca/vtest/wsbinding/nowsdl/multisoapbindings/GeneratedWSDLTestCase.java delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/multisoapbindings/src/test/java/org/apache/tuscany/sca/vtest/wsbinding/nowsdl/multisoapbindings/NoWsdlMultiSoapBindingsTestCase.java delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/pom.xml delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/promoted/pom.xml delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/promoted/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/nowsdl/promoted/AService.java delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/promoted/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/nowsdl/promoted/BService.java delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/promoted/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/nowsdl/promoted/BServiceSOAP.java delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/promoted/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/nowsdl/promoted/BServiceSOAP11.java delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/promoted/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/nowsdl/promoted/BServiceSOAP12.java delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/promoted/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/nowsdl/promoted/CService.java delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/promoted/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/nowsdl/promoted/DService.java delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/promoted/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/nowsdl/promoted/impl/AServiceImpl.java delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/promoted/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/nowsdl/promoted/impl/BServiceImpl.java delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/promoted/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/nowsdl/promoted/impl/BServiceSOAP11Impl.java delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/promoted/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/nowsdl/promoted/impl/BServiceSOAP12Impl.java delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/promoted/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/nowsdl/promoted/impl/BServiceSOAPImpl.java delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/promoted/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/nowsdl/promoted/impl/CServiceImpl.java delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/promoted/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/nowsdl/promoted/impl/DServiceImpl.java delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/promoted/src/main/resources/nowsdlpromoted.composite delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/promoted/src/test/java/org/apache/tuscany/sca/vtest/wsbinding/nowsdl/promoted/NoWsdlPromoted1TestCase.java delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/promoted/src/test/java/org/apache/tuscany/sca/vtest/wsbinding/nowsdl/promoted/NoWsdlPromoted2TestCase.java delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/soapversion/pom.xml delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/soapversion/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/nowsdl/soapversion/AService.java delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/soapversion/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/nowsdl/soapversion/BService.java delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/soapversion/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/nowsdl/soapversion/BServiceSOAP.java delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/soapversion/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/nowsdl/soapversion/BServiceSOAP11.java delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/soapversion/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/nowsdl/soapversion/BServiceSOAP12.java delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/soapversion/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/nowsdl/soapversion/CService.java delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/soapversion/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/nowsdl/soapversion/DService.java delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/soapversion/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/nowsdl/soapversion/impl/AServiceImpl.java delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/soapversion/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/nowsdl/soapversion/impl/BServiceImpl.java delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/soapversion/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/nowsdl/soapversion/impl/BServiceSOAP11Impl.java delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/soapversion/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/nowsdl/soapversion/impl/BServiceSOAP12Impl.java delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/soapversion/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/nowsdl/soapversion/impl/BServiceSOAPImpl.java delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/soapversion/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/nowsdl/soapversion/impl/CServiceImpl.java delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/soapversion/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/nowsdl/soapversion/impl/DServiceImpl.java delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/soapversion/src/main/resources/nowsdlsoapversion.composite delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/soapversion/src/test/java/org/apache/tuscany/sca/vtest/wsbinding/nowsdl/soapversion/GeneratedWSDLTestCase.java delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/soapversion/src/test/java/org/apache/tuscany/sca/vtest/wsbinding/nowsdl/soapversion/NoWsdlNoSoapVersionTestCase.java delete mode 100644 java/sca-contrib/vtest/wsbinding/nowsdl/soapversion/src/test/java/org/apache/tuscany/sca/vtest/wsbinding/nowsdl/soapversion/NoWsdlSoapVersionTestCase.java delete mode 100644 java/sca-contrib/vtest/wsbinding/pom.xml delete mode 100644 java/sca-contrib/vtest/wsbinding/service/pom.xml delete mode 100644 java/sca-contrib/vtest/wsbinding/service/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/AClientService.java delete mode 100644 java/sca-contrib/vtest/wsbinding/service/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/AService.java delete mode 100644 java/sca-contrib/vtest/wsbinding/service/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/impl/AClientServiceImpl.java delete mode 100644 java/sca-contrib/vtest/wsbinding/service/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/impl/AServiceImpl.java delete mode 100644 java/sca-contrib/vtest/wsbinding/service/src/main/resources/aservice.wsdl delete mode 100644 java/sca-contrib/vtest/wsbinding/service/src/main/resources/endpoint-uri-resolution.composite delete mode 100644 java/sca-contrib/vtest/wsbinding/service/src/main/resources/endpointreference.composite delete mode 100644 java/sca-contrib/vtest/wsbinding/service/src/main/resources/wsdlbinding.composite delete mode 100644 java/sca-contrib/vtest/wsbinding/service/src/main/resources/wsdlendpoint.composite delete mode 100644 java/sca-contrib/vtest/wsbinding/service/src/main/resources/wsdlport.composite delete mode 100644 java/sca-contrib/vtest/wsbinding/service/src/main/resources/wsdlservice.composite delete mode 100644 java/sca-contrib/vtest/wsbinding/service/src/test/java/org/apache/tuscany/sca/vtest/wsbinding/EndpointReferenceTestCase.java delete mode 100644 java/sca-contrib/vtest/wsbinding/service/src/test/java/org/apache/tuscany/sca/vtest/wsbinding/EndpointUriResolutionTestCase.java delete mode 100644 java/sca-contrib/vtest/wsbinding/service/src/test/java/org/apache/tuscany/sca/vtest/wsbinding/WsdlBindingTestCase.java delete mode 100644 java/sca-contrib/vtest/wsbinding/service/src/test/java/org/apache/tuscany/sca/vtest/wsbinding/WsdlEndpointTestCase.java delete mode 100644 java/sca-contrib/vtest/wsbinding/service/src/test/java/org/apache/tuscany/sca/vtest/wsbinding/WsdlPortTestCase.java delete mode 100644 java/sca-contrib/vtest/wsbinding/service/src/test/java/org/apache/tuscany/sca/vtest/wsbinding/WsdlServiceTestCase.java delete mode 100644 java/sca-contrib/vtest/wsbinding/wsdlelement/binding/pom.xml delete mode 100644 java/sca-contrib/vtest/wsbinding/wsdlelement/binding/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/wsdlelement/binding/AService.java delete mode 100644 java/sca-contrib/vtest/wsbinding/wsdlelement/binding/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/wsdlelement/binding/BService.java delete mode 100644 java/sca-contrib/vtest/wsbinding/wsdlelement/binding/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/wsdlelement/binding/BService2.java delete mode 100644 java/sca-contrib/vtest/wsbinding/wsdlelement/binding/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/wsdlelement/binding/CService.java delete mode 100644 java/sca-contrib/vtest/wsbinding/wsdlelement/binding/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/wsdlelement/binding/DService.java delete mode 100644 java/sca-contrib/vtest/wsbinding/wsdlelement/binding/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/wsdlelement/binding/impl/AServiceImpl.java delete mode 100644 java/sca-contrib/vtest/wsbinding/wsdlelement/binding/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/wsdlelement/binding/impl/BService2Impl.java delete mode 100644 java/sca-contrib/vtest/wsbinding/wsdlelement/binding/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/wsdlelement/binding/impl/BServiceImpl.java delete mode 100644 java/sca-contrib/vtest/wsbinding/wsdlelement/binding/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/wsdlelement/binding/impl/CServiceImpl.java delete mode 100644 java/sca-contrib/vtest/wsbinding/wsdlelement/binding/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/wsdlelement/binding/impl/DServiceImpl.java delete mode 100644 java/sca-contrib/vtest/wsbinding/wsdlelement/binding/src/main/resources/bservice.wsdl delete mode 100644 java/sca-contrib/vtest/wsbinding/wsdlelement/binding/src/main/resources/cservice.wsdl delete mode 100644 java/sca-contrib/vtest/wsbinding/wsdlelement/binding/src/main/resources/wsdlelement.binding.composite delete mode 100644 java/sca-contrib/vtest/wsbinding/wsdlelement/binding/src/test/java/org/apache/tuscany/sca/vtest/wsbinding/wsdlelement/binding/WsdlElementBindingTestCase.java delete mode 100644 java/sca-contrib/vtest/wsbinding/wsdlelement/pom.xml delete mode 100644 java/sca-contrib/vtest/wsbinding/wsdlelement/port/pom.xml delete mode 100644 java/sca-contrib/vtest/wsbinding/wsdlelement/port/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/wsdlelement/port/AService.java delete mode 100644 java/sca-contrib/vtest/wsbinding/wsdlelement/port/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/wsdlelement/port/BService.java delete mode 100644 java/sca-contrib/vtest/wsbinding/wsdlelement/port/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/wsdlelement/port/BService2.java delete mode 100644 java/sca-contrib/vtest/wsbinding/wsdlelement/port/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/wsdlelement/port/CService.java delete mode 100644 java/sca-contrib/vtest/wsbinding/wsdlelement/port/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/wsdlelement/port/DService.java delete mode 100644 java/sca-contrib/vtest/wsbinding/wsdlelement/port/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/wsdlelement/port/impl/AServiceImpl.java delete mode 100644 java/sca-contrib/vtest/wsbinding/wsdlelement/port/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/wsdlelement/port/impl/BService2Impl.java delete mode 100644 java/sca-contrib/vtest/wsbinding/wsdlelement/port/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/wsdlelement/port/impl/BServiceImpl.java delete mode 100644 java/sca-contrib/vtest/wsbinding/wsdlelement/port/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/wsdlelement/port/impl/CServiceImpl.java delete mode 100644 java/sca-contrib/vtest/wsbinding/wsdlelement/port/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/wsdlelement/port/impl/DServiceImpl.java delete mode 100644 java/sca-contrib/vtest/wsbinding/wsdlelement/port/src/main/resources/bservice.wsdl delete mode 100644 java/sca-contrib/vtest/wsbinding/wsdlelement/port/src/main/resources/cservice.wsdl delete mode 100644 java/sca-contrib/vtest/wsbinding/wsdlelement/port/src/main/resources/wsdlelement.port.composite delete mode 100644 java/sca-contrib/vtest/wsbinding/wsdlelement/port/src/test/java/org/apache/tuscany/sca/vtest/wsbinding/wsdlelement/port/WsdlElementPortTestCase.java delete mode 100644 java/sca-contrib/vtest/wsbinding/wsdlelement/service/pom.xml delete mode 100644 java/sca-contrib/vtest/wsbinding/wsdlelement/service/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/wsdlelement/service/AService.java delete mode 100644 java/sca-contrib/vtest/wsbinding/wsdlelement/service/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/wsdlelement/service/BService.java delete mode 100644 java/sca-contrib/vtest/wsbinding/wsdlelement/service/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/wsdlelement/service/BService2.java delete mode 100644 java/sca-contrib/vtest/wsbinding/wsdlelement/service/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/wsdlelement/service/CService.java delete mode 100644 java/sca-contrib/vtest/wsbinding/wsdlelement/service/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/wsdlelement/service/DService.java delete mode 100644 java/sca-contrib/vtest/wsbinding/wsdlelement/service/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/wsdlelement/service/impl/AServiceImpl.java delete mode 100644 java/sca-contrib/vtest/wsbinding/wsdlelement/service/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/wsdlelement/service/impl/BService2Impl.java delete mode 100644 java/sca-contrib/vtest/wsbinding/wsdlelement/service/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/wsdlelement/service/impl/BServiceImpl.java delete mode 100644 java/sca-contrib/vtest/wsbinding/wsdlelement/service/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/wsdlelement/service/impl/CServiceImpl.java delete mode 100644 java/sca-contrib/vtest/wsbinding/wsdlelement/service/src/main/java/org/apache/tuscany/sca/vtest/wsbinding/wsdlelement/service/impl/DServiceImpl.java delete mode 100644 java/sca-contrib/vtest/wsbinding/wsdlelement/service/src/main/resources/bservice.wsdl delete mode 100644 java/sca-contrib/vtest/wsbinding/wsdlelement/service/src/main/resources/cservice.wsdl delete mode 100644 java/sca-contrib/vtest/wsbinding/wsdlelement/service/src/main/resources/wsdlelement.service.composite delete mode 100644 java/sca-contrib/vtest/wsbinding/wsdlelement/service/src/test/java/org/apache/tuscany/sca/vtest/wsbinding/wsdlelement/service/WsdlElementServiceTestCase.java (limited to 'java') diff --git a/java/sca-contrib/demos/alert-aggregator-webapp/LICENSE b/java/sca-contrib/demos/alert-aggregator-webapp/LICENSE deleted file mode 100644 index 8aa906c321..0000000000 --- a/java/sca-contrib/demos/alert-aggregator-webapp/LICENSE +++ /dev/null @@ -1,205 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - - diff --git a/java/sca-contrib/demos/alert-aggregator-webapp/NOTICE b/java/sca-contrib/demos/alert-aggregator-webapp/NOTICE deleted file mode 100644 index 25bb89c9b2..0000000000 --- a/java/sca-contrib/demos/alert-aggregator-webapp/NOTICE +++ /dev/null @@ -1,6 +0,0 @@ -${pom.name} -Copyright (c) 2005 - 2009 The Apache Software Foundation - -This product includes software developed by -The Apache Software Foundation (http://www.apache.org/). - diff --git a/java/sca-contrib/demos/alert-aggregator-webapp/README b/java/sca-contrib/demos/alert-aggregator-webapp/README deleted file mode 100644 index 3ec27ef65f..0000000000 --- a/java/sca-contrib/demos/alert-aggregator-webapp/README +++ /dev/null @@ -1,82 +0,0 @@ -Apache Tuscany Alert Aggregator Demo -==================================== - -The alert aggregator demo provides an application, implemented using SCA, that -aggregates feeds together and exposes them using the following bindings. - -binding.ws -binding.jsonrpc -binding.feed - -The easiest way to get going is to build the demo - -cd alert-aggregator-webapp -ant package - -This will build a war file - -demo-alert-aggregator-webapp.war - -This war can be deployed to you web application container and tested (the war -has been tested with Tomcat 6.0.10). - -The Web Application -------------------- - -Once deployed point your browser at - -http://localhost:8080/demo-alert-aggregator-webapp - -Taking care to ensure the host name and port number match you local -configuration. - -This launches a Javascript application in the browser that uses JSONRPC -to contact the server and retrived a list of alert sources and alerts that -these sources are providing. - -There default sources that you see are stored in a file in the following -file - -demo-alert-aggregator-webapp/WEB-INF/classes/sources.xml - -This files has the following contents - - - - BBC News - http://news.bbc.co.uk/ - 10-Jun-2007 16:34:03 - http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/world/rss.xml - - - Engadget - http://www.engadget.com - 10-Jun-2007 16:34:03 - http://www.engadget.com/rss.xml - - - -You may want to adjust the "LastChecked" values to change the number of -alerts that are displayed in the first instance - -Using A Feed Reader -------------------- - -As this SCA application also uses the binding.feed binding you can use your -favourite feed reader to read the aggregated alerts. To do this point your -feed reader at - -http://localhost:8080/demo-alert-aggregator-webapp/services/AlertsFeedServiceRSS - -Again taking care to ensure that the host name and port number match you -local configuration. - -Using Web Services ------------------- - -The SCA application also uses binding.ws to provide a SOAP/HTTP interface. -The demo client that uses this interface is not yet available. - - - - diff --git a/java/sca-contrib/demos/alert-aggregator-webapp/alert-aggregator.png b/java/sca-contrib/demos/alert-aggregator-webapp/alert-aggregator.png deleted file mode 100644 index ae429cca94..0000000000 Binary files a/java/sca-contrib/demos/alert-aggregator-webapp/alert-aggregator.png and /dev/null differ diff --git a/java/sca-contrib/demos/alert-aggregator-webapp/alert-aggregator.svg b/java/sca-contrib/demos/alert-aggregator-webapp/alert-aggregator.svg deleted file mode 100644 index 807416135e..0000000000 --- a/java/sca-contrib/demos/alert-aggregator-webapp/alert-aggregator.svg +++ /dev/null @@ -1,627 +0,0 @@ - - - - - - - - - - image/svg+xml - - - - - - - - DisplayComposite - PHP - - Display - - - - - - AlerterComposite - Java - - AlertsService - - - - rest soap - - - soap - - RSS - - - AlertsSourcesService - - - - - - jsonrpc - - - - - soap - - soap - atom - jsonrpc - - - - - - - POP - Not done - - - - - - - - - HTML Web2.0 Thunderbird - - NNTP - Not done - - rss - - AlertFeedService - - - - - - - - - - - - - diff --git a/java/sca-contrib/demos/alert-aggregator-webapp/build-dojo.xml b/java/sca-contrib/demos/alert-aggregator-webapp/build-dojo.xml deleted file mode 100644 index c31c9adee8..0000000000 --- a/java/sca-contrib/demos/alert-aggregator-webapp/build-dojo.xml +++ /dev/null @@ -1,92 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/demos/alert-aggregator-webapp/build.xml b/java/sca-contrib/demos/alert-aggregator-webapp/build.xml deleted file mode 100644 index b75842d08c..0000000000 --- a/java/sca-contrib/demos/alert-aggregator-webapp/build.xml +++ /dev/null @@ -1,148 +0,0 @@ - - -]> - - - &buildDependency; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/demos/alert-aggregator-webapp/pom.xml b/java/sca-contrib/demos/alert-aggregator-webapp/pom.xml deleted file mode 100644 index 71139b0863..0000000000 --- a/java/sca-contrib/demos/alert-aggregator-webapp/pom.xml +++ /dev/null @@ -1,345 +0,0 @@ - - - - 4.0.0 - - - org.apache.tuscany.sca - tuscany-demos - 2.0-SNAPSHOT - ../pom.xml - - - org.apache.tuscany.sca - demo-alert-aggregator-webapp - war - 2.0-SNAPSHOT - Apache Tuscany SCA Alert Aggregator Demo - http://cwiki.apache.org/TUSCANY - - - - junit - junit - 4.5 - test - - - httpunit - httpunit - 1.6.1 - test - - - org.apache.tuscany.sdo - tuscany-sdo-api-r2.1 - 1.1.1 - - - org.apache.tuscany.sdo - tuscany-sdo-impl - 1.1.1 - - - org.apache.tuscany.sca - tuscany-binding-ws-axis2 - ${pom.version} - runtime - - - org.apache.tuscany.sca - tuscany-core-databinding - ${pom.version} - runtime - - - org.apache.tuscany.sca - tuscany-databinding-jaxb - ${pom.version} - runtime - - - org.apache.tuscany.sca - tuscany-databinding-sdo - ${pom.version} - compile - - - org.apache.tuscany.sca - tuscany-databinding-axiom - ${pom.version} - compile - - - org.apache.tuscany.sca - tuscany-host-embedded - ${pom.version} - compile - - - org.apache.tuscany.sca - tuscany-implementation-java-runtime - ${pom.version} - compile - - - org.apache.tuscany.sca - tuscany-interface-java-xml - ${pom.version} - compile - - - org.apache.tuscany.sca - tuscany-host-webapp - 2.0-SNAPSHOT - runtime - - - org.apache.tuscany.sca - tuscany-binding-jsonrpc-runtime - 2.0-SNAPSHOT - runtime - - - org.apache.tuscany.sca - tuscany-binding-atom-abdera - 2.0-SNAPSHOT - - - org.apache.tuscany.sca - tuscany-binding-rss-rome - 2.0-SNAPSHOT - - - org.codehaus.woodstox - wstx-asl - 3.2.1 - runtime - - - - - demo-alert-aggregator-webapp - - - org.codehaus.mojo - build-helper-maven-plugin - 1.0 - - - add-test-source - generate-sources - - add-test-source - - - - target/sdo-source - - - - - - - org.apache.tuscany.sdo - tuscany-sdo-plugin - 1.1.1 - - - generate-sdo - generate-sources - - - - ${basedir}/src/main/resources/Alerts.wsdl - org.apache.tuscany.sca.demos.aggregator.service - - - ${basedir}/src/main/resources/AlertsSources.wsdl - org.apache.tuscany.sca.demos.aggregator.sources - - - ${basedir}/src/main/resources/Alerts.xsd - org.apache.tuscany.sca.demos.aggregator.types - - - true - true - true - - - generate - - - - - - org.apache.maven.plugins - maven-antrun-plugin - 1.1 - - - - ant - ant-trax - 1.6.5 - - - - - - install-dojo - validate - - run - - - - - - - - - - - copy-dojo-files - generate-resources - - run - - - - - - - - - - - - clean-dojo-files - clean - - run - - - - - - - - - - - - - - - org.apache.maven.plugins - maven-surefire-plugin - - - - surefire-it - integration-test - - test - - - - **/*AlertsIntegrationTest.java - - - - - - - - org.codehaus.cargo - cargo-maven2-plugin - 1.0-alpha-5 - - - start-container - pre-integration-test - - start - - - - stop-container - post-integration-test - - stop - - - - - - jetty6x - embedded - - org.apache.commons.logging.impl.SimpleLog - - - false - - - 8085 - - - - - ${project.build.directory}/${project.build.finalName}.${project.packaging} - - http://localhost:8085/AlertsSourcesServiceJSONRPC - - - ${project.build.directory}/cargo-jetty - - - - - - org.apache.tuscany.sca - tuscany-maven-ant-generator - 2.0-SNAPSHOT - - - - true - - - generate - - - - - - - - diff --git a/java/sca-contrib/demos/alert-aggregator-webapp/src/main/java/org/apache/tuscany/sca/demos/aggregator/AlertTypeNonSDOImpl.java b/java/sca-contrib/demos/alert-aggregator-webapp/src/main/java/org/apache/tuscany/sca/demos/aggregator/AlertTypeNonSDOImpl.java deleted file mode 100644 index 808374030c..0000000000 --- a/java/sca-contrib/demos/alert-aggregator-webapp/src/main/java/org/apache/tuscany/sca/demos/aggregator/AlertTypeNonSDOImpl.java +++ /dev/null @@ -1,339 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.demos.aggregator; - -import org.apache.tuscany.sca.demos.aggregator.types.AlertType; - - -public class AlertTypeNonSDOImpl implements AlertType -{ - private static final long serialVersionUID = 670364038865656196L; - -/** - * The default value of the '{@link #getTitle() Title}' attribute. - * - * - * @see #getTitle() - * @generated - * @ordered - */ - protected static final String TITLE_DEFAULT_ = null; - - /** - * The cached value of the '{@link #getTitle() Title}' attribute. - * - * - * @see #getTitle() - * @generated - * @ordered - */ - protected String title = TITLE_DEFAULT_; - - /** - * The default value of the '{@link #getSummary() Summary}' attribute. - * - * - * @see #getSummary() - * @generated - * @ordered - */ - protected static final String SUMMARY_DEFAULT_ = null; - - /** - * The cached value of the '{@link #getSummary() Summary}' attribute. - * - * - * @see #getSummary() - * @generated - * @ordered - */ - protected String summary = SUMMARY_DEFAULT_; - - /** - * The default value of the '{@link #getAddress() Address}' attribute. - * - * - * @see #getAddress() - * @generated - * @ordered - */ - protected static final String ADDRESS_DEFAULT_ = null; - - /** - * The cached value of the '{@link #getAddress() Address}' attribute. - * - * - * @see #getAddress() - * @generated - * @ordered - */ - protected String address = ADDRESS_DEFAULT_; - - /** - * The default value of the '{@link #getDate() Date}' attribute. - * - * - * @see #getDate() - * @generated - * @ordered - */ - protected static final String DATE_DEFAULT_ = null; - - /** - * The cached value of the '{@link #getDate() Date}' attribute. - * - * - * @see #getDate() - * @generated - * @ordered - */ - protected String date = DATE_DEFAULT_; - - /** - * The default value of the '{@link #getSourceId() Source Id}' attribute. - * - * - * @see #getSourceId() - * @generated - * @ordered - */ - protected static final String SOURCE_ID_DEFAULT_ = null; - - /** - * The cached value of the '{@link #getSourceId() Source Id}' attribute. - * - * - * @see #getSourceId() - * @generated - * @ordered - */ - protected String sourceId = SOURCE_ID_DEFAULT_; - - /** - * The default value of the '{@link #isUnread() Unread}' attribute. - * - * - * @see #isUnread() - * @generated - * @ordered - */ - protected static final boolean UNREAD_DEFAULT_ = false; - - /** - * The cached value of the '{@link #isUnread() Unread}' attribute. - * - * - * @see #isUnread() - * @generated - * @ordered - */ - protected boolean unread = UNREAD_DEFAULT_; - - /** - * The default value of the '{@link #getId() Id}' attribute. - * - * - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_DEFAULT_ = null; - - /** - * The cached value of the '{@link #getId() Id}' attribute. - * - * - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_DEFAULT_; - - /** - * - * - * @generated - */ - public AlertTypeNonSDOImpl() - { - super(); - } - - - /** - * - * - * @generated - */ - public String getTitle() - { - return title; - } - /** - * - * - * @generated - */ - public void setTitle(String newTitle) - { - title = newTitle; - } - - /** - * - * - * @generated - */ - public String getSummary() - { - return summary; - } - /** - * - * - * @generated - */ - public void setSummary(String newSummary) - { - summary = newSummary; - } - - /** - * - * - * @generated - */ - public String getAddress() - { - return address; - } - /** - * - * - * @generated - */ - public void setAddress(String newAddress) - { - address = newAddress; - } - - /** - * - * - * @generated - */ - public String getDate() - { - return date; - } - /** - * - * - * @generated - */ - public void setDate(String newDate) - { - date = newDate; - } - - /** - * - * - * @generated - */ - public String getSourceId() - { - return sourceId; - } - /** - * - * - * @generated - */ - public void setSourceId(String newSourceId) - { - sourceId = newSourceId; - } - - /** - * - * - * @generated - */ - public boolean isUnread() - { - return unread; - } - /** - * - * - * @generated - */ - public void setUnread(boolean newUnread) - { - unread = newUnread; - } - - /** - * - * - * @generated - */ - public String getId() - { - return id; - } - /** - * - * - * @generated - */ - public void setId(String newId) - { - id = newId; - } - - /** - * - * - * @generated - */ - @Override - public String toString() - { - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (Title: "); - result.append(title); - result.append(", Summary: "); - result.append(summary); - result.append(", Address: "); - result.append(address); - result.append(", Date: "); - result.append(date); - result.append(", SourceId: "); - result.append(sourceId); - result.append(", Unread: "); - result.append(unread); - result.append(", Id: "); - result.append(id); - result.append(')'); - return result.toString(); - } - -} //AlertTypeImpl diff --git a/java/sca-contrib/demos/alert-aggregator-webapp/src/main/java/org/apache/tuscany/sca/demos/aggregator/AlertsFeedServiceImpl.java b/java/sca-contrib/demos/alert-aggregator-webapp/src/main/java/org/apache/tuscany/sca/demos/aggregator/AlertsFeedServiceImpl.java deleted file mode 100644 index cf2f906388..0000000000 --- a/java/sca-contrib/demos/alert-aggregator-webapp/src/main/java/org/apache/tuscany/sca/demos/aggregator/AlertsFeedServiceImpl.java +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.demos.aggregator; - -import java.text.DateFormat; - -import org.apache.abdera.Abdera; -import org.apache.abdera.factory.Factory; -import org.apache.abdera.model.Entry; -import org.apache.abdera.model.Feed; -import org.apache.tuscany.sca.binding.atom.collection.Collection; -import org.apache.tuscany.sca.binding.atom.collection.NotFoundException; -import org.apache.tuscany.sca.demos.aggregator.types.AlertType; -import org.apache.tuscany.sca.demos.aggregator.types.AlertsType; -import org.oasisopen.sca.annotation.Reference; -import org.oasisopen.sca.annotation.Service; - -/** - * Read all new alerts from the specified sources - * - * @version $Rev$ $Date$ - */ -@Service(Collection.class) -public class AlertsFeedServiceImpl implements Collection { - - private AlertsService alerts; - - @Reference - public void setAlerts(AlertsService alerts) { - this.alerts = alerts; - } - - DateFormat dateFormatter = DateFormat.getDateTimeInstance(); - - /** - * Return the alerts as a feed. - * - * @return the structure containing alerts - */ - public org.apache.abdera.model.Feed getFeed() { - - // Create a new Feed - Factory factory = Abdera.getNewFactory(); - Feed feed = factory.newFeed(); - feed.setTitle("Apache Tuscany Feed Aggregator"); - feed.setSubtitle("A sample showing an SCA application to aggregate various types of feeds"); - feed.addAuthor("Apache Tuscany"); - feed.addLink("http://tuscany.apache.org"); - - // Aggregate entries from feed1 and feed2 - try { - AlertsType alerts = this.alerts.getAllNewAlerts(""); - - for( Object alertObject : alerts.getAlert() ){ - AlertType alert = ((AlertType)alertObject); - Entry entry = factory.newEntry(); - entry.setTitle(alert.getTitle()); - //entry.(alert.getSummary()); - entry.addLink(alert.getAddress()); - entry.setPublished(dateFormatter.parse(alert.getDate())); - - feed.addEntry(entry); - } - } catch(Exception ex) { - System.err.println("Exception " + ex.toString()); - } - - return feed; - } - - public Feed query(String queryString) { - return getFeed(); - } - - public void delete(String id) throws NotFoundException { - } - - public Entry get(String id) throws NotFoundException { - return null; - } - - public Entry post(Entry entry) { - return null; - } - - public void put(String id, Entry entry) throws NotFoundException { - } - -} diff --git a/java/sca-contrib/demos/alert-aggregator-webapp/src/main/java/org/apache/tuscany/sca/demos/aggregator/AlertsService.java b/java/sca-contrib/demos/alert-aggregator-webapp/src/main/java/org/apache/tuscany/sca/demos/aggregator/AlertsService.java deleted file mode 100644 index 8797349640..0000000000 --- a/java/sca-contrib/demos/alert-aggregator-webapp/src/main/java/org/apache/tuscany/sca/demos/aggregator/AlertsService.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.demos.aggregator; - -import org.apache.tuscany.sca.demos.aggregator.types.AlertsType; -import org.oasisopen.sca.annotation.Remotable; - -/** - * Retrieve and manage alerts - * - * @version $Rev$ $Date$ - */ -@Remotable -public interface AlertsService { - - /** - * Return a structure holding all of the new alerts that have been found - * - * @return the structure containing alerts - */ - public AlertsType getAllNewAlerts(String id); - -} diff --git a/java/sca-contrib/demos/alert-aggregator-webapp/src/main/java/org/apache/tuscany/sca/demos/aggregator/AlertsServiceImpl.java b/java/sca-contrib/demos/alert-aggregator-webapp/src/main/java/org/apache/tuscany/sca/demos/aggregator/AlertsServiceImpl.java deleted file mode 100644 index 569d9b7f6f..0000000000 --- a/java/sca-contrib/demos/alert-aggregator-webapp/src/main/java/org/apache/tuscany/sca/demos/aggregator/AlertsServiceImpl.java +++ /dev/null @@ -1,126 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.demos.aggregator; - -import java.text.DateFormat; -import java.util.Date; -import java.util.List; - -import org.apache.tuscany.sca.demos.aggregator.types.AlertType; -import org.apache.tuscany.sca.demos.aggregator.types.AlertsType; -import org.apache.tuscany.sca.demos.aggregator.types.ConfigType; -import org.apache.tuscany.sca.demos.aggregator.types.SourceType; -import org.oasisopen.sca.annotation.Reference; -import org.oasisopen.sca.annotation.Service; - -/** - * Read all new alerts from the specified sources - * - * @version $Rev$ $Date$ - */ -@Service(AlertsService.class) -public class AlertsServiceImpl implements AlertsService { - - private RSSCheckerService rssChecker; - - private AlertsSourcesService alertsSources; - - @Reference - public void setRssChecker(RSSCheckerService rssChecker) { - this.rssChecker = rssChecker; - } - - @Reference - public void setAlertsSources(AlertsSourcesService alertsSources) { - this.alertsSources = alertsSources; - } - - DateFormat dateFormatter = DateFormat.getDateTimeInstance(); - - /** - * Return a structure holding all of the new alerts that have been found - * - * @return the structure containing alerts - */ - public AlertsType getAllNewAlerts(String id) - { - System.err.println("getAllNewAlerts(" + id + ")"); - - //TypesFactory factory = TypesFactory.INSTANCE; - //AlertsType returnAlerts = factory.createAlertsType(); - AlertsType returnAlerts = new AlertsTypeNonSDOImpl(); - List returnAlertList = returnAlerts.getAlert(); - - // get the date/time now so that we can update the - // alert source record so that next time we - // only get the latest alerts - Date now = new Date(); - String nowString = dateFormatter.format(now); - - try { - ConfigType alertSourceConfig = alertsSources.getAlertSources(id); - - for (Object source : alertSourceConfig.getSource()){ - SourceType sourceType = (SourceType)source; - - AlertsType alerts = null; - - if ( sourceType.getFeedType().equals("rss")){ - alerts = rssChecker.getNewAlerts(sourceType.getFeedAddress(), - sourceType.getLastChecked()); - } else { - - } - - // extend return list with any alerts we found - for( Object alert : alerts.getAlert() ){ - - // set the id on the alert so we know which source it - // came from - ((AlertType)alert).setSourceId(sourceType.getId()); - - // convert from SDO to POJO so that the - // JSONRPC binding will work. It can't currently - // handle SDOs - AlertType newAlert = new AlertTypeNonSDOImpl(); - - newAlert.setSourceId(((AlertType)alert).getSourceId()); - newAlert.setTitle(((AlertType)alert).getTitle()); - newAlert.setSummary(((AlertType)alert).getSummary()); - newAlert.setAddress(((AlertType)alert).getAddress()); - newAlert.setDate(((AlertType)alert).getDate()); - newAlert.setId(((AlertType)alert).getId()); - newAlert.setUnread(((AlertType)alert).isUnread()); - - returnAlertList.add(newAlert); - } - - // update the time last checked for this source - sourceType.setLastChecked(nowString); - //alertsSources.updateAlertSource(sourceType); - } - } catch(Exception ex) { - System.err.println("Exception " + ex.toString()); - } - - return returnAlerts ; - - } -} diff --git a/java/sca-contrib/demos/alert-aggregator-webapp/src/main/java/org/apache/tuscany/sca/demos/aggregator/AlertsSourcesService.java b/java/sca-contrib/demos/alert-aggregator-webapp/src/main/java/org/apache/tuscany/sca/demos/aggregator/AlertsSourcesService.java deleted file mode 100644 index f61c307120..0000000000 --- a/java/sca-contrib/demos/alert-aggregator-webapp/src/main/java/org/apache/tuscany/sca/demos/aggregator/AlertsSourcesService.java +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.demos.aggregator; - -import org.apache.tuscany.sca.demos.aggregator.types.ConfigType; -import org.apache.tuscany.sca.demos.aggregator.types.SourceType; -import org.oasisopen.sca.annotation.Remotable; - -/** - * Retrieve and manage alert sources - * - * @version $Rev$ $Date$ - */ -@Remotable -public interface AlertsSourcesService { - - /** - * Return all of the configured alert sources. - * - * @return the list of alert sources - */ - public ConfigType getAlertSources (String id); - - /** - * Return a single alert source. - * @param id not currently used - * @return the alert source - */ - public SourceType getAlertSource (String id); - - /** - * Update an alert source. - * - * @param updatedSource the alert source to update - */ - public void updateAlertSource (SourceType updatedSource); - - /** - * Add an alert source. - * - * @param newSource the alert source to add - */ - public String addAlertSource (SourceType newSource); - - /** - * Remove an alert source. - * - * @param oldSource the alert source to remove - */ - public void removeAlertSource (String id); - -} diff --git a/java/sca-contrib/demos/alert-aggregator-webapp/src/main/java/org/apache/tuscany/sca/demos/aggregator/AlertsSourcesServiceImpl.java b/java/sca-contrib/demos/alert-aggregator-webapp/src/main/java/org/apache/tuscany/sca/demos/aggregator/AlertsSourcesServiceImpl.java deleted file mode 100644 index 38e7ba31a6..0000000000 --- a/java/sca-contrib/demos/alert-aggregator-webapp/src/main/java/org/apache/tuscany/sca/demos/aggregator/AlertsSourcesServiceImpl.java +++ /dev/null @@ -1,183 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.demos.aggregator; - -import java.io.InputStream; -import java.text.DateFormat; -import java.util.Date; - -import org.apache.tuscany.sca.demos.aggregator.types.ConfigType; -import org.apache.tuscany.sca.demos.aggregator.types.SourceType; -import org.apache.tuscany.sca.demos.aggregator.types.TypesFactory; -import org.apache.tuscany.sca.demos.aggregator.types.impl.SourceTypeImpl; -import org.oasisopen.sca.annotation.Scope; -import org.oasisopen.sca.annotation.Service; - -import commonj.sdo.helper.HelperContext; -import commonj.sdo.helper.XMLDocument; -import commonj.sdo.impl.HelperProvider; - -/** - * Retrieve and manage alert sources - * - * @version $Rev$ $Date$ - */ -@Service(AlertsSourcesService.class) -@Scope("COMPOSITE") -public class AlertsSourcesServiceImpl implements AlertsSourcesService { - - ConfigType alertSources; - - /** - * Constructor reads the configuration to provide - * the initial list of alert sources - */ - public AlertsSourcesServiceImpl(){ - System.err.println("AlertsSourcesServiceImpl()"); - try { - // read the alerts config from an XML file - InputStream is = this.getClass().getClassLoader().getResourceAsStream("sources.xml"); - - if (is == null) { - throw new Exception("Can;t find sources.xml"); - } else { - HelperContext helperContext = HelperProvider.getDefaultContext(); - TypesFactory.INSTANCE.register(helperContext); - XMLDocument xmlDoc = helperContext.getXMLHelper().load(is); - alertSources = (ConfigType)xmlDoc.getRootObject(); - } - } catch (Exception ex) { - System.err.println("Exception " + ex.toString()); - } - } - - /** - * Return all of the configured alert sources. - * - * @return the list of alert sources - */ - public ConfigType getAlertSources (String id) - { - System.err.println("getAlertSources(" + id + ")"); - - // convert alert sources to POJOs so that - // the JSONRPC binding will work - ConfigTypeNonSDOImpl sources = new ConfigTypeNonSDOImpl(); - - for (Object source : alertSources.getSource()) { - SourceTypeNonSDOImpl newSource = new SourceTypeNonSDOImpl(); - newSource.setAddress(((SourceTypeImpl)source).getAddress()); - newSource.setFeedAddress(((SourceTypeImpl)source).getFeedAddress()); - newSource.setId(((SourceTypeImpl)source).getId()); - newSource.setLastChecked(((SourceTypeImpl)source).getLastChecked()); - newSource.setName(((SourceTypeImpl)source).getName()); - newSource.setFeedType(((SourceTypeImpl)source).getFeedType()); - sources.getSource().add(newSource); - } - - return sources; - } - - /** - * Return a single alert source. - * @param id the alert source id number - * @return the alert source - */ - public SourceType getAlertSource (String id) - { - System.err.println("getAlertSource(" + id + ")"); - SourceType alertSource = null; - - for (Object source : alertSources.getSource()) { - if ( ((SourceType)source).getId().equals(id)) { - alertSource = (SourceType)source; - } - } - return alertSource; - } - - /** - * Update an alert source. - * - * @param updatedSource the alert source to update - */ - public void updateAlertSource (SourceType updatedSource) - { - System.err.println("updateAlertSource()"); - - Object originalSource = null; - - for (Object source : alertSources.getSource()) { - if ( ((SourceType)source).getId().equals(updatedSource.getId())) { - originalSource = source; - break; - } - } - - if (originalSource != null){ - alertSources.getSource().add(updatedSource); - alertSources.getSource().remove(originalSource); - } - } - - /** - * Add an alert source. - * - * @param newSource the alert source to add - */ - public String addAlertSource (SourceType newSource) - { - System.err.println("addAlertSource()"); - // set the date to now less 2 hours so we - // get some alerts straight away - DateFormat dateFormatter = DateFormat.getDateTimeInstance(); - Date now = new Date(); - now.setHours(now.getHours()-2); - String nowString = dateFormatter.format(now); - newSource.setLastChecked(nowString); - alertSources.getSource().add(newSource); - return "Done"; - } - - /** - * Remove an alert source. - * - * @param oldSource the alert source to remove - */ - public void removeAlertSource (String id) - { - System.err.println("removeAlertSource()"); - - Object originalSource = null; - - for (Object source : alertSources.getSource()) { - if ( ((SourceType)source).getId().equals(id)) { - originalSource = source; - break; - } - } - - if (originalSource != null) { - alertSources.getSource().remove(originalSource); - } - - } - -} diff --git a/java/sca-contrib/demos/alert-aggregator-webapp/src/main/java/org/apache/tuscany/sca/demos/aggregator/AlertsTypeNonSDOImpl.java b/java/sca-contrib/demos/alert-aggregator-webapp/src/main/java/org/apache/tuscany/sca/demos/aggregator/AlertsTypeNonSDOImpl.java deleted file mode 100644 index 2962defb25..0000000000 --- a/java/sca-contrib/demos/alert-aggregator-webapp/src/main/java/org/apache/tuscany/sca/demos/aggregator/AlertsTypeNonSDOImpl.java +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.demos.aggregator; - -import java.util.ArrayList; -import java.util.List; - -import org.apache.tuscany.sca.demos.aggregator.types.AlertsType; - -/** - * - * An implementation of the model object 'Alerts Type'. - * - *

- * The following features are implemented: - *

- *

- * - * @generated - */ -public class AlertsTypeNonSDOImpl implements AlertsType -{ - private static final long serialVersionUID = -3784576466148158776L; - -/** - * The cached value of the '{@link #getAlert() Alert}' containment reference list. - * - * - * @see #getAlert() - * @generated - * @ordered - */ - - protected List alert = new ArrayList(); - - /** - * - * - * @generated - */ - public AlertsTypeNonSDOImpl() - { - super(); - } - - /** - * - * - * @generated - */ - public List getAlert() - { - return alert; - } - -} //AlertsTypeImpl diff --git a/java/sca-contrib/demos/alert-aggregator-webapp/src/main/java/org/apache/tuscany/sca/demos/aggregator/ConfigTypeNonSDOImpl.java b/java/sca-contrib/demos/alert-aggregator-webapp/src/main/java/org/apache/tuscany/sca/demos/aggregator/ConfigTypeNonSDOImpl.java deleted file mode 100644 index 75544294ce..0000000000 --- a/java/sca-contrib/demos/alert-aggregator-webapp/src/main/java/org/apache/tuscany/sca/demos/aggregator/ConfigTypeNonSDOImpl.java +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.demos.aggregator; - -import java.util.ArrayList; -import java.util.List; - -import org.apache.tuscany.sca.demos.aggregator.types.ConfigType; - - -public class ConfigTypeNonSDOImpl implements ConfigType -{ - private static final long serialVersionUID = 2522843951360675364L; - - protected List source = new ArrayList(); - - /** - * - * - * @generated - */ - public ConfigTypeNonSDOImpl() - { - super(); - } - - - /** - * - * - * @generated - */ - public List getSource() - { - return source; - } - - -} //ConfigTypeImpl diff --git a/java/sca-contrib/demos/alert-aggregator-webapp/src/main/java/org/apache/tuscany/sca/demos/aggregator/RSSCheckerService.java b/java/sca-contrib/demos/alert-aggregator-webapp/src/main/java/org/apache/tuscany/sca/demos/aggregator/RSSCheckerService.java deleted file mode 100644 index 2a5775e9a9..0000000000 --- a/java/sca-contrib/demos/alert-aggregator-webapp/src/main/java/org/apache/tuscany/sca/demos/aggregator/RSSCheckerService.java +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.demos.aggregator; - -import org.apache.tuscany.sca.demos.aggregator.types.AlertsType; - -/** - * The interface for the rss checker service - */ -public interface RSSCheckerService { - - public AlertsType getNewAlerts(String rssaddress, String lastchecktimestamp); - -} diff --git a/java/sca-contrib/demos/alert-aggregator-webapp/src/main/java/org/apache/tuscany/sca/demos/aggregator/RSSCheckerServiceImpl.java b/java/sca-contrib/demos/alert-aggregator-webapp/src/main/java/org/apache/tuscany/sca/demos/aggregator/RSSCheckerServiceImpl.java deleted file mode 100644 index 549abbf602..0000000000 --- a/java/sca-contrib/demos/alert-aggregator-webapp/src/main/java/org/apache/tuscany/sca/demos/aggregator/RSSCheckerServiceImpl.java +++ /dev/null @@ -1,91 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.demos.aggregator; - -import java.net.URL; -import java.text.DateFormat; -import java.text.SimpleDateFormat; -import java.util.Date; -import java.util.List; - -import org.apache.tuscany.sca.demos.aggregator.types.AlertType; -import org.apache.tuscany.sca.demos.aggregator.types.AlertsType; -import org.apache.tuscany.sca.demos.aggregator.types.TypesFactory; - -import com.sun.syndication.feed.synd.SyndEntry; -import com.sun.syndication.feed.synd.SyndFeed; -import com.sun.syndication.io.SyndFeedInput; -import com.sun.syndication.io.XmlReader; - -/** - * The interface for the rss checker service - */ -public class RSSCheckerServiceImpl implements RSSCheckerService { - - public AlertsType getNewAlerts(String rssaddress, String lastchecktimestamp){ - // Create the list of alerts to return - TypesFactory factory = TypesFactory.INSTANCE; - AlertsType returnAlerts = factory.createAlertsType(); - List returnAlertList = returnAlerts.getAlert(); - - try { - // lastchecktimestamp comes from sources.xml configuration. - // That origin requires ISO 8601 date input (yyyy-MM-dd hh:mm:ss). - DateFormat configDateFormatter = new SimpleDateFormat( "yyyy-MM-dd hh:mm:ss"); - Date timestamp = configDateFormatter.parse(lastchecktimestamp); - // Turn feed dates into something we can process. - DateFormat feedDateFormatter = DateFormat.getDateTimeInstance(); - - // get the feed data from the supplied address - SyndFeedInput input = new SyndFeedInput(); - SyndFeed feed = input.build(new XmlReader(new URL(rssaddress))); - //System.out.println(feed); - - // check all the items to see if we have seen them before - List entries = feed.getEntries(); - for(Object entry: entries){ - SyndEntry syndEntry = (SyndEntry)entry; - - // System.err.println( "Entry pubdate=" + syndEntry.getPublishedDate() ); - if (syndEntry.getPublishedDate().after(timestamp)){ - AlertType newAlert = factory.createAlertType(); - - newAlert.setTitle(syndEntry.getTitle()); - // newAlert.setSummary(""); - newAlert.setSummary(""); - newAlert.setAddress(syndEntry.getLink()); - newAlert.setDate(feedDateFormatter.format(syndEntry.getPublishedDate())); - newAlert.setId(rssaddress); - newAlert.setUnread(true); - - returnAlertList.add(newAlert); - } - } - - } catch(Exception ex) { - ex.printStackTrace( System.err ); - System.err.println("Exception " + ex.toString()); - } - - return returnAlerts; - } - -} diff --git a/java/sca-contrib/demos/alert-aggregator-webapp/src/main/java/org/apache/tuscany/sca/demos/aggregator/SourceTypeNonSDOImpl.java b/java/sca-contrib/demos/alert-aggregator-webapp/src/main/java/org/apache/tuscany/sca/demos/aggregator/SourceTypeNonSDOImpl.java deleted file mode 100644 index 10575bf0dc..0000000000 --- a/java/sca-contrib/demos/alert-aggregator-webapp/src/main/java/org/apache/tuscany/sca/demos/aggregator/SourceTypeNonSDOImpl.java +++ /dev/null @@ -1,536 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.demos.aggregator; - -import org.apache.tuscany.sca.demos.aggregator.types.SourceType; - -import commonj.sdo.Sequence; - - -public class SourceTypeNonSDOImpl implements SourceType -{ - private static final long serialVersionUID = -4986294578888767793L; - - public final static int NAME = 0; - - public final static int ADDRESS = 1; - - public final static int LAST_CHECKED = 2; - - public final static int FEED_ADDRESS = 3; - - public final static int POP_SERVER = 4; - - public final static int POP_USERNAME = 5; - - public final static int POP_PASSWORD = 6; - - public final static int ANY = -1; - - public final static int ID = 7; - - public final static int TYPE = 8; - - public final static int SDO_PROPERTY_COUNT = 9; - - public final static int EXTENDED_PROPERTY_COUNT = -1; - - - /** - * The internal feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public final static int INTERNAL_NAME = 0; - - /** - * The internal feature id for the 'Address' attribute. - * - * - * @generated - * @ordered - */ - public final static int INTERNAL_ADDRESS = 1; - - /** - * The internal feature id for the 'Last Checked' attribute. - * - * - * @generated - * @ordered - */ - public final static int INTERNAL_LAST_CHECKED = 2; - - /** - * The internal feature id for the 'Feed Address' attribute. - * - * - * @generated - * @ordered - */ - public final static int INTERNAL_FEED_ADDRESS = 3; - - /** - * The internal feature id for the 'Pop Server' attribute. - * - * - * @generated - * @ordered - */ - public final static int INTERNAL_POP_SERVER = 4; - - /** - * The internal feature id for the 'Pop Username' attribute. - * - * - * @generated - * @ordered - */ - public final static int INTERNAL_POP_USERNAME = 5; - - /** - * The internal feature id for the 'Pop Password' attribute. - * - * - * @generated - * @ordered - */ - public final static int INTERNAL_POP_PASSWORD = 6; - - /** - * The internal feature id for the 'Any' attribute list. - * - * - * @generated - * @ordered - */ - public final static int INTERNAL_ANY = 7; - - /** - * The internal feature id for the 'Id' attribute. - * - * - * @generated - * @ordered - */ - public final static int INTERNAL_ID = 8; - - /** - * The internal feature id for the 'Type' attribute. - * - * - * @generated - * @ordered - */ - public final static int INTERNAL_TYPE = 9; - - /** - * The number of properties for this type. - * - * - * @generated - * @ordered - */ - public final static int INTERNAL_PROPERTY_COUNT = 10; - - - - - /** - * The default value of the '{@link #getName() Name}' attribute. - * - * - * @see #getName() - * @generated - * @ordered - */ - protected static final String NAME_DEFAULT_ = null; - - /** - * The cached value of the '{@link #getName() Name}' attribute. - * - * - * @see #getName() - * @generated - * @ordered - */ - protected String name = NAME_DEFAULT_; - - /** - * The default value of the '{@link #getAddress() Address}' attribute. - * - * - * @see #getAddress() - * @generated - * @ordered - */ - protected static final String ADDRESS_DEFAULT_ = null; - - /** - * The cached value of the '{@link #getAddress() Address}' attribute. - * - * - * @see #getAddress() - * @generated - * @ordered - */ - protected String address = ADDRESS_DEFAULT_; - - /** - * The default value of the '{@link #getLastChecked() Last Checked}' attribute. - * - * - * @see #getLastChecked() - * @generated - * @ordered - */ - protected static final String LAST_CHECKED_DEFAULT_ = null; - - /** - * The cached value of the '{@link #getLastChecked() Last Checked}' attribute. - * - * - * @see #getLastChecked() - * @generated - * @ordered - */ - protected String lastChecked = LAST_CHECKED_DEFAULT_; - - /** - * The default value of the '{@link #getFeedAddress() Feed Address}' attribute. - * - * - * @see #getFeedAddress() - * @generated - * @ordered - */ - protected static final String FEED_ADDRESS_DEFAULT_ = null; - - /** - * The cached value of the '{@link #getFeedAddress() Feed Address}' attribute. - * - * - * @see #getFeedAddress() - * @generated - * @ordered - */ - protected String feedAddress = FEED_ADDRESS_DEFAULT_; - - /** - * The default value of the '{@link #getPopServer() Pop Server}' attribute. - * - * - * @see #getPopServer() - * @generated - * @ordered - */ - protected static final String POP_SERVER_DEFAULT_ = null; - - /** - * The cached value of the '{@link #getPopServer() Pop Server}' attribute. - * - * - * @see #getPopServer() - * @generated - * @ordered - */ - protected String popServer = POP_SERVER_DEFAULT_; - - /** - * The default value of the '{@link #getPopUsername() Pop Username}' attribute. - * - * - * @see #getPopUsername() - * @generated - * @ordered - */ - protected static final String POP_USERNAME_DEFAULT_ = null; - - /** - * The cached value of the '{@link #getPopUsername() Pop Username}' attribute. - * - * - * @see #getPopUsername() - * @generated - * @ordered - */ - protected String popUsername = POP_USERNAME_DEFAULT_; - - /** - * The default value of the '{@link #getPopPassword() Pop Password}' attribute. - * - * - * @see #getPopPassword() - * @generated - * @ordered - */ - protected static final String POP_PASSWORD_DEFAULT_ = null; - - /** - * The cached value of the '{@link #getPopPassword() Pop Password}' attribute. - * - * - * @see #getPopPassword() - * @generated - * @ordered - */ - protected String popPassword = POP_PASSWORD_DEFAULT_; - - /** - * The cached value of the '{@link #getAny() Any}' attribute list. - * - * - * @see #getAny() - * @generated - * @ordered - */ - - protected Sequence any = null; - - /** - * The default value of the '{@link #getId() Id}' attribute. - * - * - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_DEFAULT_ = null; - - /** - * The cached value of the '{@link #getId() Id}' attribute. - * - * - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_DEFAULT_; - - /** - * The default value of the '{@link #getFeedType() Feed Type}' attribute. - * - * - * @see #getFeedType() - * @generated - * @ordered - */ - protected static final String FEED_TYPE_DEFAULT_ = null; - - /** - * The cached value of the '{@link #getFeedType() Feed Type}' attribute. - * - * - * @see #getFeedType() - * @generated - * @ordered - */ - protected String feedType = FEED_TYPE_DEFAULT_; - - - /** - * - * - * @generated - */ - public SourceTypeNonSDOImpl() - { - super(); - } - - - - /** - * - * - * @generated - */ - public String getName() - { - return name; - } - /** - * - * - * @generated - */ - public void setName(String newName) - { - name = newName; - } - - /** - * - * - * @generated - */ - public String getAddress() - { - return address; - } - /** - * - * - * @generated - */ - public void setAddress(String newAddress) - { - address = newAddress; - } - - /** - * - * - * @generated - */ - public String getLastChecked() - { - return lastChecked; - } - /** - * - * - * @generated - */ - public void setLastChecked(String newLastChecked) - { - lastChecked = newLastChecked; - } - - /** - * - * - * @generated - */ - public String getFeedAddress() - { - return feedAddress; - } - /** - * - * - * @generated - */ - public void setFeedAddress(String newFeedAddress) - { - feedAddress = newFeedAddress; - } - - /** - * - * - * @generated - */ - public String getPopServer() - { - return popServer; - } - /** - * - * - * @generated - */ - public void setPopServer(String newPopServer) - { - popServer = newPopServer; - } - - /** - * - * - * @generated - */ - public String getPopUsername() - { - return popUsername; - } - /** - * - * - * @generated - */ - public void setPopUsername(String newPopUsername) - { - popUsername = newPopUsername; - } - - /** - * - * - * @generated - */ - public String getPopPassword() - { - return popPassword; - } - /** - * - * - * @generated - */ - public void setPopPassword(String newPopPassword) - { - popPassword = newPopPassword; - } - - /** - * - * - * @generated - */ - public String getId() - { - return id; - } - /** - * - * - * @generated - */ - public void setId(String newId) - { - id = newId; - } - - /** - * - * - * @generated - */ - public String getFeedType() - { - return feedType; - } - /** - * - * - * @generated - */ - public void setFeedType(String newType) - { - feedType = newType; - } - - public Sequence getAny(){ - return null; - } - -} //SourceTypeImpl diff --git a/java/sca-contrib/demos/alert-aggregator-webapp/src/main/resources/Alerts.wsdl b/java/sca-contrib/demos/alert-aggregator-webapp/src/main/resources/Alerts.wsdl deleted file mode 100644 index 8b376240c8..0000000000 --- a/java/sca-contrib/demos/alert-aggregator-webapp/src/main/resources/Alerts.wsdl +++ /dev/null @@ -1,88 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/demos/alert-aggregator-webapp/src/main/resources/Alerts.xsd b/java/sca-contrib/demos/alert-aggregator-webapp/src/main/resources/Alerts.xsd deleted file mode 100644 index f0ec561ad8..0000000000 --- a/java/sca-contrib/demos/alert-aggregator-webapp/src/main/resources/Alerts.xsd +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/java/sca-contrib/demos/alert-aggregator-webapp/src/main/resources/AlertsSources.wsdl b/java/sca-contrib/demos/alert-aggregator-webapp/src/main/resources/AlertsSources.wsdl deleted file mode 100644 index d5642a32d1..0000000000 --- a/java/sca-contrib/demos/alert-aggregator-webapp/src/main/resources/AlertsSources.wsdl +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/demos/alert-aggregator-webapp/src/main/resources/alerts-client.composite b/java/sca-contrib/demos/alert-aggregator-webapp/src/main/resources/alerts-client.composite deleted file mode 100644 index 49f44f9da8..0000000000 --- a/java/sca-contrib/demos/alert-aggregator-webapp/src/main/resources/alerts-client.composite +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/demos/alert-aggregator-webapp/src/main/resources/alerts.composite b/java/sca-contrib/demos/alert-aggregator-webapp/src/main/resources/alerts.composite deleted file mode 100644 index c359b275be..0000000000 --- a/java/sca-contrib/demos/alert-aggregator-webapp/src/main/resources/alerts.composite +++ /dev/null @@ -1,85 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/demos/alert-aggregator-webapp/src/main/resources/sources.xml b/java/sca-contrib/demos/alert-aggregator-webapp/src/main/resources/sources.xml deleted file mode 100644 index e45250eddb..0000000000 --- a/java/sca-contrib/demos/alert-aggregator-webapp/src/main/resources/sources.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - BBC News - http://news.bbc.co.uk/ - 2008-06-20 12:00:00 - http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/world/rss.xml - - - Engadget - http://www.engadget.com - 2008-06-20 12:00:00 - http://www.engadget.com/rss.xml - - diff --git a/java/sca-contrib/demos/alert-aggregator-webapp/src/main/webapp/AlertAggregator.html b/java/sca-contrib/demos/alert-aggregator-webapp/src/main/webapp/AlertAggregator.html deleted file mode 100644 index 8b472fd0fa..0000000000 --- a/java/sca-contrib/demos/alert-aggregator-webapp/src/main/webapp/AlertAggregator.html +++ /dev/null @@ -1,330 +0,0 @@ - - - -Apache Tuscany Alert Aggregator Sample - - - - - - - - - - - - - - - -

Apache Tuscany Alert Aggregator Demo

-
-

Alert Sources:

- -
Refreshing...
-

-

-

Refreshing...
-

Back to top

-
-

-

- - - diff --git a/java/sca-contrib/demos/alert-aggregator-webapp/src/main/webapp/META-INF/sca-contribution.xml b/java/sca-contrib/demos/alert-aggregator-webapp/src/main/webapp/META-INF/sca-contribution.xml deleted file mode 100644 index 0bc67c4c98..0000000000 --- a/java/sca-contrib/demos/alert-aggregator-webapp/src/main/webapp/META-INF/sca-contribution.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - diff --git a/java/sca-contrib/demos/alert-aggregator-webapp/src/main/webapp/WEB-INF/geronimo-web.xml b/java/sca-contrib/demos/alert-aggregator-webapp/src/main/webapp/WEB-INF/geronimo-web.xml deleted file mode 100644 index bd31898e3b..0000000000 --- a/java/sca-contrib/demos/alert-aggregator-webapp/src/main/webapp/WEB-INF/geronimo-web.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - org.apache.tuscany.sca - demo-alert-aggregator-webapp - 2.0-SNAPSHOT - war - - - - org.apache.axiom - org.apache.axis2 - org.apache.commons - org.jdom - - - diff --git a/java/sca-contrib/demos/alert-aggregator-webapp/src/main/webapp/WEB-INF/web.xml b/java/sca-contrib/demos/alert-aggregator-webapp/src/main/webapp/WEB-INF/web.xml deleted file mode 100644 index a81165e1b4..0000000000 --- a/java/sca-contrib/demos/alert-aggregator-webapp/src/main/webapp/WEB-INF/web.xml +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - Apache Tuscany Alert Aggregator Demo - - - tuscany - org.apache.tuscany.sca.host.webapp.TuscanyServletFilter - - - - tuscany - /* - - - - AlertAggregator.html - - - diff --git a/java/sca-contrib/demos/alert-aggregator-webapp/src/main/webapp/pop.png b/java/sca-contrib/demos/alert-aggregator-webapp/src/main/webapp/pop.png deleted file mode 100644 index 1cf1df24a7..0000000000 Binary files a/java/sca-contrib/demos/alert-aggregator-webapp/src/main/webapp/pop.png and /dev/null differ diff --git a/java/sca-contrib/demos/alert-aggregator-webapp/src/main/webapp/rss.png b/java/sca-contrib/demos/alert-aggregator-webapp/src/main/webapp/rss.png deleted file mode 100644 index b3c949d224..0000000000 Binary files a/java/sca-contrib/demos/alert-aggregator-webapp/src/main/webapp/rss.png and /dev/null differ diff --git a/java/sca-contrib/demos/alert-aggregator-webapp/src/main/webapp/service.smd b/java/sca-contrib/demos/alert-aggregator-webapp/src/main/webapp/service.smd deleted file mode 100644 index 3c6b6c9b12..0000000000 --- a/java/sca-contrib/demos/alert-aggregator-webapp/src/main/webapp/service.smd +++ /dev/null @@ -1 +0,0 @@ -{"SMDVersion":".1","objectName":"AlertsService","serviceType":"JSON-RPC","serviceURL":"http://localhost:8085/sample-feed-aggregator/services/AlertsServiceJSONRPC","methods":[{"name":"getAllNewAlerts","parameters":[{"name":"param0","type":"STRING"}]}]} diff --git a/java/sca-contrib/demos/alert-aggregator-webapp/src/main/webapp/sources.smd b/java/sca-contrib/demos/alert-aggregator-webapp/src/main/webapp/sources.smd deleted file mode 100644 index b5f1824363..0000000000 --- a/java/sca-contrib/demos/alert-aggregator-webapp/src/main/webapp/sources.smd +++ /dev/null @@ -1 +0,0 @@ -{"SMDVersion":".1","objectName":"AlertsSourcesService","serviceType":"JSON-RPC","serviceURL":"http://localhost:8081/sample-feed-aggregator/services/AlertsSourcesServiceJSONRPC","methods":[{"name":"getAlertSources","parameters":[{"name":"param0","type":"STRING"}]},{"name":"getAlertSource","parameters":[{"name":"param0","type":"STRING"}]},{"name":"updateAlertSource","parameters":[{"name":"param0","type":"STRING"}]},{"name":"addAlertSource","parameters":[{"name":"param0","type":"STRING"}]},{"name":"removeAlertSource","parameters":[{"name":"param0","type":"STRING"}]}]} diff --git a/java/sca-contrib/demos/alert-aggregator-webapp/src/main/webapp/style.css b/java/sca-contrib/demos/alert-aggregator-webapp/src/main/webapp/style.css deleted file mode 100644 index f5bbf23379..0000000000 --- a/java/sca-contrib/demos/alert-aggregator-webapp/src/main/webapp/style.css +++ /dev/null @@ -1,176 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -p,table,li,h1,h2,h3 -{ -font-family: verdana, arial, 'sans serif'; -} - -p, h1, h2, h3, table, li, hr -{ -margin-left: 10pt; -} - -table -{ -border-color: black; -border-collapse: separate; -border-spacing: 0px 1px; - -margin-right: 10pt; -margin-left: 10pt; -width: 800px; -} - -.sourceDetailsTable -{ -width: 600px; -} - -tr, td -{ -margin-left: 0pt; -margin-right: 0pt; -padding-left: 10pt; -font-size: 90%; -} - -p,li,th -{ -font-size: 90%; -margin-left: 10pt; -} - -pre -{ -margin-left: 10pt; -} - -body -{ -#ffffff; -} - -h1,h2,h3,hr -{ -color: firebrick; -} - -a:link {COLOR: firebrick;} -a:visited {COLOR: firebrick;} -a:active {COLOR: navy;} - -.link -{ -COLOR: firebrick; -text-decoration: underline; -} - -.clickable -{ -cursor: pointer -} - -.unread_title -{ -font-weight: bold; -} - -.read_title -{ -font-weight: normal; -} - -.summary -{ -color: DimGrey; -} - -.hidden -{ -display: none; -} - -.source_name -{ -width: 600px; -} - -.alert_text -{ -width: 600px; -} - -.alert_data -{ -margin-left: 10px; -width: 800px; -height: 800px; -} - -.source_0 -{ -background-color: LightGreen; -} - -.source_1 -{ -background-color: LightSkyBlue; -} - -.source_2 -{ -background-color: Khaki; -} - -.source_3 -{ -background-color: LightPink; -} - -.source_4 -{ -background-color: Orange; -} - -.source_5 -{ -background-color: LightCoral; -} - -.source_6 -{ -background-color: Orchid; -} - -.source_7 -{ -background-color: Peru; -} - -.source_8 -{ -background-color: SpringGreen; -} - -.source_9 -{ -background-color: LightGrey; -} - diff --git a/java/sca-contrib/demos/alert-aggregator-webapp/src/test/java/org/apache/tuscany/sca/demos/aggregator/AlertsIntegrationTest.java b/java/sca-contrib/demos/alert-aggregator-webapp/src/test/java/org/apache/tuscany/sca/demos/aggregator/AlertsIntegrationTest.java deleted file mode 100644 index f0cb9ecfcb..0000000000 --- a/java/sca-contrib/demos/alert-aggregator-webapp/src/test/java/org/apache/tuscany/sca/demos/aggregator/AlertsIntegrationTest.java +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.demos.aggregator; - -import java.io.ByteArrayInputStream; - -import junit.framework.Assert; - -import org.json.JSONObject; -import org.junit.AfterClass; -import org.junit.BeforeClass; -import org.junit.Test; - -import com.meterware.httpunit.PostMethodWebRequest; -import com.meterware.httpunit.WebConversation; -import com.meterware.httpunit.WebRequest; -import com.meterware.httpunit.WebResponse; - - -/** - */ -public class AlertsIntegrationTest { - //private static SCADomain scaDomain; - - @BeforeClass - public static void setUp() throws Exception { - //scaDomain = SCADomain.newInstance("alerts.composite"); - } - - /** - * Runs after each test method - */ - @AfterClass - public static void tearDown() { - //scaDomain.close(); - } - -/* Use this if you want to test locally without deploying to a web container - public void testWait() throws Exception { - System.out.println("Feed aggregator server started (press enter to shutdown)"); - System.in.read(); - System.out.println("Feed aggregator server stopped"); - } -*/ - - @Test - public void testGetAllNewAlerts() throws Exception { - JSONObject jsonRequest = new JSONObject("{\"params\":[\"sometext\"],\"method\":\"getAllNewAlerts\",\"id\":2}"); - JSONObject jsonResp = callService ("http://localhost:8085/demo-alert-aggregator-webapp/AlertsServiceJSONRPC", - jsonRequest); - Assert.assertNotNull(jsonResp); - } - - @Test - public void testAddAlertSources() throws Exception { - JSONObject jsonRequest = new JSONObject("{\"params\":[{\"name\":\"news\",\"id\":\"2\",\"address\":\"www.news.com\",\"feedAddress\":\"http://news.com.com/2547-1_3-0-20.xml\",\"feedType\":\"rss\",\"lastChecked\":\"lastChecked\",\"javaClass\":\"org.apache.tuscany.sca.demos.aggregator.types.impl.SourceTypeImpl\"}],\"method\":\"addAlertSource\",\"id\":2}"); - JSONObject jsonResp = callService ("http://localhost:8085/demo-alert-aggregator-webapp/AlertsSourcesServiceJSONRPC", - jsonRequest); - Assert.assertNotNull(jsonResp); - } - - @Test - public void testGetAlertSources() throws Exception { - JSONObject jsonRequest = new JSONObject("{\"params\":[\"sometext\"],\"method\":\"getAlertSources\",\"id\":2}"); - JSONObject jsonResp = callService ("http://localhost:8085/demo-alert-aggregator-webapp/AlertsSourcesServiceJSONRPC", - jsonRequest); - Assert.assertEquals("BBC News", jsonResp.getJSONObject("result").getJSONObject("source").optJSONArray("list").getJSONObject(0).getString("name")); - } - - public JSONObject callService(String url, JSONObject jsonRequest) throws Exception { - System.out.println("Request = " + jsonRequest.toString()); - WebConversation wc = new WebConversation(); - WebRequest request = new PostMethodWebRequest( url, - new ByteArrayInputStream(jsonRequest.toString().getBytes("UTF-8")),"application/json"); - WebResponse response = wc.getResource(request); - System.out.println("Response= " + response.getText()); - Assert.assertEquals(200, response.getResponseCode()); - return new JSONObject(response.getText()); - } -} diff --git a/java/sca-contrib/demos/bigbank-account/LICENSE b/java/sca-contrib/demos/bigbank-account/LICENSE deleted file mode 100644 index 8aa906c321..0000000000 --- a/java/sca-contrib/demos/bigbank-account/LICENSE +++ /dev/null @@ -1,205 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - - diff --git a/java/sca-contrib/demos/bigbank-account/NOTICE b/java/sca-contrib/demos/bigbank-account/NOTICE deleted file mode 100644 index 25bb89c9b2..0000000000 --- a/java/sca-contrib/demos/bigbank-account/NOTICE +++ /dev/null @@ -1,6 +0,0 @@ -${pom.name} -Copyright (c) 2005 - 2009 The Apache Software Foundation - -This product includes software developed by -The Apache Software Foundation (http://www.apache.org/). - diff --git a/java/sca-contrib/demos/bigbank-account/README b/java/sca-contrib/demos/bigbank-account/README deleted file mode 100644 index 5c0d850c5e..0000000000 --- a/java/sca-contrib/demos/bigbank-account/README +++ /dev/null @@ -1,4 +0,0 @@ -bigbank-account is part of a larger demo called bigbank. -Please see the Readme file under bigbank to understand how bigbank-account fits into the overall demo. - - diff --git a/java/sca-contrib/demos/bigbank-account/bigbank.png b/java/sca-contrib/demos/bigbank-account/bigbank.png deleted file mode 100644 index 985cc6bd05..0000000000 Binary files a/java/sca-contrib/demos/bigbank-account/bigbank.png and /dev/null differ diff --git a/java/sca-contrib/demos/bigbank-account/bigbank.svg b/java/sca-contrib/demos/bigbank-account/bigbank.svg deleted file mode 100644 index 0650075d48..0000000000 --- a/java/sca-contrib/demos/bigbank-account/bigbank.svg +++ /dev/null @@ -1,537 +0,0 @@ - - - - - - - - - - image/svg+xml - - - - - - - - CompositeBigBank WebApp - - Component AccountJava - - - - Component AccountDataJava - binding.jsonrpc - binding.ws - binding.rmi - - - - CompositeStockQuote - - CompositeCalculator - - Component CalculatorJava - - - - Component AddJavascript - binding.rmi - - - Component SubtractRuby - - Component MultiplyPython - - Component DivideGroovy - - - - Component StockQuoteJava - - binding.ws - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/demos/bigbank-account/build-dojo.xml b/java/sca-contrib/demos/bigbank-account/build-dojo.xml deleted file mode 100644 index 0e029c6335..0000000000 --- a/java/sca-contrib/demos/bigbank-account/build-dojo.xml +++ /dev/null @@ -1,92 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/demos/bigbank-account/build.xml b/java/sca-contrib/demos/bigbank-account/build.xml deleted file mode 100644 index f7ebe32968..0000000000 --- a/java/sca-contrib/demos/bigbank-account/build.xml +++ /dev/null @@ -1,85 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/demos/bigbank-account/pom.xml b/java/sca-contrib/demos/bigbank-account/pom.xml deleted file mode 100644 index 12421e3788..0000000000 --- a/java/sca-contrib/demos/bigbank-account/pom.xml +++ /dev/null @@ -1,76 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - tuscany-demos - 2.0-SNAPSHOT - ../pom.xml - - demo-bigbank-account - jar - Apache Tuscany SCA BigBank Account Demo - - - - apache.incubator - http://people.apache.org/repo/m2-incubating-repository - - - - - - org.apache.tuscany.sca - tuscany-core-spi - 2.0-SNAPSHOT - - - - org.apache.tuscany.sca - tuscany-policy-security - 2.0-SNAPSHOT - - - - org.apache.ws.security - wss4j - 1.5.3 - - - - - demo-bigbank-account - - - org.apache.maven.plugins - maven-antrun-plugin - - - - ant - ant-trax - 1.6.5 - - - - - - diff --git a/java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/checking/CheckingAccountDetails.java b/java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/checking/CheckingAccountDetails.java deleted file mode 100644 index 57c1adcba0..0000000000 --- a/java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/checking/CheckingAccountDetails.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package bigbank.account.checking; - -/** - * @version $$Rev$$ $$Date: 2007-04-09 12:03:34 -0700 (Mon, 09 Apr - * 2007) $$ - */ - -public class CheckingAccountDetails { - private String accountNumber; - private double balance; - - public String getAccountNumber() { - return accountNumber; - } - - public void setAccountNumber(String n) { - this.accountNumber = n; - } - - public double getBalance() { - return balance; - } - - public void setBalance(double b) { - this.balance = b; - } - - @Override - public String toString() { - return accountNumber + ", balance:" + balance; - } -} diff --git a/java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/checking/CheckingAccountService.java b/java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/checking/CheckingAccountService.java deleted file mode 100644 index c984700efc..0000000000 --- a/java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/checking/CheckingAccountService.java +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package bigbank.account.checking; - -import org.oasisopen.sca.annotation.Remotable; -import org.oasisopen.sca.annotation.Service; - -/** - * @version $$Rev$$ $$Date$$ - */ -@Service -@Remotable -public interface CheckingAccountService { - - public CheckingAccountDetails getAccountDetails(String customerID); - - public double deposit(String accountNo, double depositAmt); - - public double withdraw(String accountNo, double withdrawalAmount); - -} diff --git a/java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/checking/CheckingAccountServiceImpl.java b/java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/checking/CheckingAccountServiceImpl.java deleted file mode 100644 index d79cf373ee..0000000000 --- a/java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/checking/CheckingAccountServiceImpl.java +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package bigbank.account.checking; - -import java.util.HashMap; -import java.util.Map; - -import org.oasisopen.sca.annotation.Service; - -/** - * - * */ - -@Service(CheckingAccountService.class) -public class CheckingAccountServiceImpl implements CheckingAccountService { - private Map custAcctMap = new HashMap(); - private Map checkingAccts = new HashMap(); - - public CheckingAccountServiceImpl() { - custAcctMap.put("Customer_01", "CHA_Customer_01"); - custAcctMap.put("Customer_02", "CHA_Customer_02"); - custAcctMap.put("Customer_03", "CHA_Customer_03"); - - checkingAccts.put("CHA_Customer_01", new Double(1000)); - checkingAccts.put("CHA_Customer_02", new Double(1500)); - checkingAccts.put("CHA_Customer_03", new Double(2000)); - } - - public double deposit(String accountNo, double depositAmt) { - checkingAccts.put(accountNo, new Double(checkingAccts.get(accountNo).doubleValue() + depositAmt)); - return checkingAccts.get(accountNo).doubleValue(); - } - - public CheckingAccountDetails getAccountDetails(String customerID) { - CheckingAccountDetails checkingAccount = new CheckingAccountDetails(); - checkingAccount.setAccountNumber(custAcctMap.get(customerID)); - checkingAccount.setBalance(checkingAccts.get(checkingAccount.getAccountNumber()).doubleValue()); - - return checkingAccount; - } - - public double withdraw(String accountNo, double withdrawalAmount) { - double balance = checkingAccts.get(accountNo).doubleValue(); - if ( balance - withdrawalAmount > 0 ) { - balance = balance - withdrawalAmount; - checkingAccts.put(accountNo, balance); - } - return balance; - } -} diff --git a/java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/savings/SavingsAccountDetails.java b/java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/savings/SavingsAccountDetails.java deleted file mode 100644 index cc9023da60..0000000000 --- a/java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/savings/SavingsAccountDetails.java +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package bigbank.account.savings; - -import java.io.Serializable; - -/** - * @version $$Rev$$ $$Date: 2007-04-09 12:03:34 -0700 (Mon, 09 Apr - * 2007) $$ - */ - -public class SavingsAccountDetails implements Serializable { - private String accountNumber; - private double balance; - - public String getAccountNumber() { - return accountNumber; - } - - public void setAccountNumber(String n) { - this.accountNumber = n; - } - - public double getBalance() { - return balance; - } - - public void setBalance(double b) { - this.balance = b; - } - - @Override - public String toString() { - return accountNumber + ", balance:" + balance; - } -} diff --git a/java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/savings/SavingsAccountService.java b/java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/savings/SavingsAccountService.java deleted file mode 100644 index 4a28b3f90b..0000000000 --- a/java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/savings/SavingsAccountService.java +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package bigbank.account.savings; - -import org.oasisopen.sca.annotation.Remotable; - -/** - * @version $$Rev$$ $$Date$$ - */ -@Remotable -public interface SavingsAccountService { - - public SavingsAccountDetails getAccountDetails(String customerID); - - public double deposit(String accountNo, double depositAmt); - - public double withdraw(String accountNo, double withdrawalAmount); - -} diff --git a/java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/savings/SavingsAccountServiceImpl.java b/java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/savings/SavingsAccountServiceImpl.java deleted file mode 100644 index d93007279c..0000000000 --- a/java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/savings/SavingsAccountServiceImpl.java +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package bigbank.account.savings; - -import java.util.HashMap; -import java.util.Map; - -import org.oasisopen.sca.annotation.Service; - -/** - * - * */ - -@Service(SavingsAccountService.class) -public class SavingsAccountServiceImpl implements SavingsAccountService { - private Map custAcctMap = new HashMap(); - private Map savingsAccts = new HashMap(); - - public SavingsAccountServiceImpl() { - custAcctMap.put("Customer_01", "SVA_Customer_01"); - custAcctMap.put("Customer_02", "SVA_Customer_02"); - custAcctMap.put("Customer_03", "SVA_Customer_03"); - - savingsAccts.put("SVA_Customer_01", new Double(1000)); - savingsAccts.put("SVA_Customer_02", new Double(1500)); - savingsAccts.put("SVA_Customer_03", new Double(2000)); - } - - public double deposit(String accountNo, double depositAmt) { - savingsAccts.put(accountNo, new Double(savingsAccts.get(accountNo).doubleValue() + depositAmt)); - return savingsAccts.get(accountNo).doubleValue(); - } - - public SavingsAccountDetails getAccountDetails(String customerID) { - SavingsAccountDetails savingsAccount = new SavingsAccountDetails(); - savingsAccount.setAccountNumber(custAcctMap.get(customerID)); - savingsAccount.setBalance(savingsAccts.get(savingsAccount.getAccountNumber()).doubleValue()); - - return savingsAccount; - } - - public double withdraw(String accountNo, double withdrawalAmount) { - double balance = savingsAccts.get(accountNo).doubleValue(); - if ( balance - withdrawalAmount > 0 ) { - balance = balance - withdrawalAmount; - savingsAccts.put(accountNo, balance); - } - return balance; - } -} diff --git a/java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/security/AccountsDataPasswordCallbackHandler.java b/java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/security/AccountsDataPasswordCallbackHandler.java deleted file mode 100644 index 579b4ee64b..0000000000 --- a/java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/security/AccountsDataPasswordCallbackHandler.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package bigbank.account.security; - -import java.io.IOException; - -import javax.security.auth.callback.Callback; -import javax.security.auth.callback.CallbackHandler; -import javax.security.auth.callback.UnsupportedCallbackException; - -import org.apache.ws.security.WSPasswordCallback; - -/** - * Sample userid passwd generation class - */ -public class AccountsDataPasswordCallbackHandler implements CallbackHandler { - - public void handle(Callback[] callbacks) throws IOException, - UnsupportedCallbackException { - for (int i = 0; i < callbacks.length; i++) { - WSPasswordCallback pwcb = (WSPasswordCallback)callbacks[i]; - if ( pwcb.getUsage() == WSPasswordCallback.SIGNATURE ) { - System.out.println(" Usage is SIGNATURE ... "); - pwcb.setPassword("bbservice"); - } else if ( pwcb.getUsage() == WSPasswordCallback.USERNAME_TOKEN_UNKNOWN ) { - System.out.println("*** Calling ACCOUNTS-DATA Passwd Handler for AUTHENTICATING userID = " - + pwcb.getIdentifer() + " and password = " + pwcb.getPassword() ); - if ( pwcb.getIdentifer().equals("bbaservice") && pwcb.getPassword().equals("bbaservice")) { - System.out.println("AUTHENTICATION SUCCESSFUL!"); - } else { - System.out.println("AUTHENTICATION FAILED!"); - throw new UnsupportedCallbackException(pwcb, "UserId - Password Authentication Failed!"); - } - } - } - } - -} diff --git a/java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/security/BigbankCheckingsAcl.java b/java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/security/BigbankCheckingsAcl.java deleted file mode 100644 index 5c64e11d10..0000000000 --- a/java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/security/BigbankCheckingsAcl.java +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package bigbank.account.security; - -import java.security.Principal; -import java.util.Hashtable; -import java.util.Map; - -/** - * @version $Rev$ $Date$ - */ -public class BigbankCheckingsAcl { - private static MapcheckingsAcl = new Hashtable(); - - static { - checkingsAcl.put("bbaservice", "Customer_01"); - checkingsAcl.put("bbUser01", "Customer_01"); - } - - - public static void authorize(Principal principal, String resource) { - if ( checkingsAcl.get(principal.getName()) == null || - !checkingsAcl.get(principal.getName()).equals(resource) ) { - throw new RuntimeException("User - " + principal.getName() + " not authorized to access account " + - resource); - } else { - System.out.println("Successfully Authorized '" + principal.getName() + " to access accounts of " + resource); - } - } - -} diff --git a/java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/security/CheckingsDeptAuthImplementationPolicyProvider.java b/java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/security/CheckingsDeptAuthImplementationPolicyProvider.java deleted file mode 100644 index c98dcacbf3..0000000000 --- a/java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/security/CheckingsDeptAuthImplementationPolicyProvider.java +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package bigbank.account.security; - -import org.apache.tuscany.sca.assembly.ConfiguredOperation; -import org.apache.tuscany.sca.assembly.Implementation; -import org.apache.tuscany.sca.assembly.OperationsConfigurator; -import org.apache.tuscany.sca.interfacedef.Operation; -import org.apache.tuscany.sca.invocation.Interceptor; -import org.apache.tuscany.sca.invocation.Phase; -import org.apache.tuscany.sca.policy.PolicySet; -import org.apache.tuscany.sca.provider.PolicyProvider; -import org.apache.tuscany.sca.runtime.RuntimeComponent; - -/** - * @version $Rev$ $Date$ - */ -public class CheckingsDeptAuthImplementationPolicyProvider implements PolicyProvider { - private RuntimeComponent component; - private Implementation implementation; - - public CheckingsDeptAuthImplementationPolicyProvider(RuntimeComponent component, Implementation implementation) { - super(); - this.component = component; - this.implementation = implementation; - } - - private String getContext() { - return "component.implementation: " + component.getURI() + "(" + implementation.getClass().getName() + ")"; - } - - private PolicySet findPolicySet(Operation operation) { - for (PolicySet ps : component.getPolicySets()) { - for (Object p : ps.getPolicies()) { - if (CheckingsDeptAuthPolicy.class.isInstance(p)) { - return ps; - } - } - } - - if ( component instanceof OperationsConfigurator ) { - for ( ConfiguredOperation confOp : ((OperationsConfigurator)component).getConfiguredOperations() ) { - if ( confOp.getName().equals(operation.getName())) { - for (PolicySet ps : confOp.getPolicySets()) { - for (Object p : ps.getPolicies()) { - if (CheckingsDeptAuthPolicy.class.isInstance(p)) { - return ps; - } - } - } - } - } - } - - return null; - } - - /** - * @see org.apache.tuscany.sca.provider.PolicyProvider#createInterceptor(org.apache.tuscany.sca.interfacedef.Operation) - */ - public Interceptor createInterceptor(Operation operation) { - PolicySet ps = findPolicySet(operation); - return ps == null ? null : new CheckingsDeptAuthPolicyInterceptor(getContext(), operation, ps); - } - - /** - * @see org.apache.tuscany.sca.provider.PolicyProvider#getPhase() - */ - public String getPhase() { - return Phase.IMPLEMENTATION_POLICY; - } - -} diff --git a/java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/security/CheckingsDeptAuthPolicy.java b/java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/security/CheckingsDeptAuthPolicy.java deleted file mode 100644 index 121ee9a3f8..0000000000 --- a/java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/security/CheckingsDeptAuthPolicy.java +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package bigbank.account.security; - -import javax.xml.namespace.QName; - -import org.apache.tuscany.sca.policy.Policy; - -/** - * @version $Rev$ $Date$ - */ -public class CheckingsDeptAuthPolicy implements Policy { - - public QName getSchemaName() { - // TODO Auto-generated method stub - return null; - } - - public boolean isUnresolved() { - // TODO Auto-generated method stub - return false; - } - - public void setUnresolved(boolean unresolved) { - // TODO Auto-generated method stub - - } - -} diff --git a/java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/security/CheckingsDeptAuthPolicyInterceptor.java b/java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/security/CheckingsDeptAuthPolicyInterceptor.java deleted file mode 100644 index 1d565f7ca1..0000000000 --- a/java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/security/CheckingsDeptAuthPolicyInterceptor.java +++ /dev/null @@ -1,79 +0,0 @@ -package bigbank.account.security; - -import java.security.Principal; -import java.util.logging.ConsoleHandler; -import java.util.logging.Handler; -import java.util.logging.Level; -import java.util.logging.Logger; - -import javax.xml.namespace.QName; - -import org.apache.tuscany.sca.interfacedef.Operation; -import org.apache.tuscany.sca.invocation.Interceptor; -import org.apache.tuscany.sca.invocation.Invoker; -import org.apache.tuscany.sca.invocation.Message; -import org.apache.tuscany.sca.policy.PolicySet; -import org.apache.tuscany.sca.policy.SecurityUtil; - -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -/** - * Policy handler to handle PolicySet related to Logging with the QName - * {http://tuscany.apache.org/xmlns/sca/1.0/impl/java}LoggingPolicy - */ -public class CheckingsDeptAuthPolicyInterceptor implements Interceptor { - private Invoker next; - - public CheckingsDeptAuthPolicyInterceptor(String context, Operation operation, PolicySet policySet) { - super(); - init(); - } - - private final void init() { - } - - public Message invoke(Message msg) { - Object msgBody = msg.getBody(); - if (msgBody instanceof Object[]) { - Object args[] = (Object[])msg.getBody(); - Principal principal = SecurityUtil.getPrincipal(msg); - if (principal != null){ - BigbankCheckingsAcl.authorize(principal, - (String)args[0]); - } - } - - Message responseMsg = null; - try { - responseMsg = getNext().invoke(msg); - return responseMsg; - } catch (RuntimeException e) { - throw e; - } - } - - public Invoker getNext() { - return next; - } - - public void setNext(Invoker next) { - this.next = next; - } -} diff --git a/java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/security/CheckingsDeptAuthPolicyProviderFactory.java b/java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/security/CheckingsDeptAuthPolicyProviderFactory.java deleted file mode 100644 index 5fecef691e..0000000000 --- a/java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/security/CheckingsDeptAuthPolicyProviderFactory.java +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package bigbank.account.security; - -import org.apache.tuscany.sca.assembly.Binding; -import org.apache.tuscany.sca.assembly.Implementation; -import org.apache.tuscany.sca.core.ExtensionPointRegistry; -import org.apache.tuscany.sca.provider.PolicyProvider; -import org.apache.tuscany.sca.provider.PolicyProviderFactory; -import org.apache.tuscany.sca.runtime.RuntimeComponent; -import org.apache.tuscany.sca.runtime.RuntimeComponentReference; -import org.apache.tuscany.sca.runtime.RuntimeComponentService; - -/** - * @version $Rev$ $Date$ - */ -public class CheckingsDeptAuthPolicyProviderFactory implements PolicyProviderFactory { - private ExtensionPointRegistry registry; - - public CheckingsDeptAuthPolicyProviderFactory(ExtensionPointRegistry registry) { - super(); - this.registry = registry; - } - - /** - * @see org.apache.tuscany.sca.provider.PolicyProviderFactory#createImplementationPolicyProvider(org.apache.tuscany.sca.runtime.RuntimeComponent, org.apache.tuscany.sca.assembly.Implementation) - */ - public PolicyProvider createImplementationPolicyProvider(RuntimeComponent component, Implementation implementation) { - return new CheckingsDeptAuthImplementationPolicyProvider(component, implementation); - } - - /** - * @see org.apache.tuscany.sca.provider.PolicyProviderFactory#createReferencePolicyProvider(org.apache.tuscany.sca.runtime.RuntimeComponent, org.apache.tuscany.sca.runtime.RuntimeComponentReference, org.apache.tuscany.sca.assembly.Binding) - */ - public PolicyProvider createReferencePolicyProvider(RuntimeComponent component, - RuntimeComponentReference reference, - Binding binding) { - return null; - } - - /** - * @see org.apache.tuscany.sca.provider.PolicyProviderFactory#createServicePolicyProvider(org.apache.tuscany.sca.runtime.RuntimeComponent, org.apache.tuscany.sca.runtime.RuntimeComponentService, org.apache.tuscany.sca.assembly.Binding) - */ - public PolicyProvider createServicePolicyProvider(RuntimeComponent component, - RuntimeComponentService service, - Binding binding) { - return null; - } - - /** - * @see org.apache.tuscany.sca.provider.ProviderFactory#getModelType() - */ - public Class getModelType() { - // TODO Auto-generated method stub - return null; - } - -} diff --git a/java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/security/CheckingsDeptAuthorizationPolicyHandler.java b/java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/security/CheckingsDeptAuthorizationPolicyHandler.java deleted file mode 100644 index 6667a4ba53..0000000000 --- a/java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/security/CheckingsDeptAuthorizationPolicyHandler.java +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package bigbank.account.security; - -import java.security.Principal; - -import org.apache.tuscany.sca.invocation.Message; -import org.apache.tuscany.sca.policy.PolicySet; -import org.apache.tuscany.sca.policy.SecurityUtil; -import org.apache.tuscany.sca.policy.util.PolicyHandler; - -/** - * @version $Rev$ $Date$ - */ -public class CheckingsDeptAuthorizationPolicyHandler implements PolicyHandler { - private PolicySet applicablePolicySet = null; - - public void afterInvoke(Object... context) { - } - - public void beforeInvoke(Object... context) { - for ( int count = 0 ; count < context.length ; ++count ) { - if ( context[count] instanceof Message ) { - Message msg = (Message)context[count]; - Object args[] = (Object[])msg.getBody(); - Principal principal = SecurityUtil.getPrincipal(msg); - if (principal != null){ - BigbankCheckingsAcl.authorize(principal, - (String)args[0]); - } - } - } - } - - public void cleanUp(Object... arg0) { - } - - public PolicySet getApplicablePolicySet() { - return this.applicablePolicySet; - } - - public void setApplicablePolicySet(PolicySet policySet) { - this.applicablePolicySet = policySet; - } - - public void setUp(Object... arg0) { - - } - -} diff --git a/java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/security/CheckingsDeptAuthorizationPolicyProcessor.java b/java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/security/CheckingsDeptAuthorizationPolicyProcessor.java deleted file mode 100644 index da1b6e1d06..0000000000 --- a/java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/security/CheckingsDeptAuthorizationPolicyProcessor.java +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package bigbank.account.security; - -import javax.xml.namespace.QName; -import javax.xml.stream.XMLStreamException; -import javax.xml.stream.XMLStreamReader; -import javax.xml.stream.XMLStreamWriter; - -import org.apache.tuscany.sca.contribution.ModelFactoryExtensionPoint; -import org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor; -import org.apache.tuscany.sca.contribution.resolver.ModelResolver; -import org.apache.tuscany.sca.contribution.service.ContributionReadException; -import org.apache.tuscany.sca.contribution.service.ContributionResolveException; -import org.apache.tuscany.sca.contribution.service.ContributionWriteException; - -/** - * Implementation of a Policy Processor - * - */ -public class CheckingsDeptAuthorizationPolicyProcessor implements StAXArtifactProcessor { - private static final QName CHECKINGS_DEPT_AUTHORIZATION_POLICY_QNAME = new QName("http://bigbank/checkings", "AuthPolicy"); - public QName getArtifactType() { - return CHECKINGS_DEPT_AUTHORIZATION_POLICY_QNAME; - } - - public CheckingsDeptAuthorizationPolicyProcessor(ModelFactoryExtensionPoint modelFactories) { - } - - - public CheckingsDeptAuthPolicy read(XMLStreamReader reader) throws ContributionReadException, XMLStreamException { - CheckingsDeptAuthPolicy policy = new CheckingsDeptAuthPolicy(); - return policy; - } - - public void write(CheckingsDeptAuthPolicy policy, XMLStreamWriter writer) throws ContributionWriteException, - XMLStreamException { - String prefix = "tuscany"; - writer.writeStartElement(prefix, - CHECKINGS_DEPT_AUTHORIZATION_POLICY_QNAME.getLocalPart(), - CHECKINGS_DEPT_AUTHORIZATION_POLICY_QNAME.getNamespaceURI()); - writer.writeNamespace("chk", "http://bigbank/checkings"); - - - writer.writeEndElement(); - } - - public Class getModelType() { - return CheckingsDeptAuthPolicy.class; - } - - public void resolve(CheckingsDeptAuthPolicy arg0, ModelResolver arg1) throws ContributionResolveException { - - } - -} diff --git a/java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/stock/StockAccountDetails.java b/java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/stock/StockAccountDetails.java deleted file mode 100644 index 1473436000..0000000000 --- a/java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/stock/StockAccountDetails.java +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package bigbank.account.stock; - -/** - * @version $$Rev$$ $$Date: 2007-04-09 12:03:34 -0700 (Mon, 09 Apr - * 2007) $$ - */ - -public class StockAccountDetails { - private String accountNumber; - private String symbol; - private int quantity; - - public StockAccountDetails() { - } - - public StockAccountDetails(String acNo, String symbol, int qty) { - this.accountNumber = acNo; - this.symbol = symbol; - this.quantity = qty; - } - - public String getAccountNumber() { - return accountNumber; - } - - public void setAccountNumber(String n) { - this.accountNumber = n; - } - - public int getQuantity() { - return quantity; - } - - public void setQuantity(int a) { - this.quantity = a; - } - - public String getSymbol() { - return symbol; - } - - public void setSymbol(String s) { - this.symbol = s; - } - - @Override - public String toString() { - return accountNumber + ", symbol:" + symbol + ", quantity:" + quantity; - } -} diff --git a/java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/stock/StockAccountService.java b/java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/stock/StockAccountService.java deleted file mode 100644 index da2e7940ca..0000000000 --- a/java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/stock/StockAccountService.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package bigbank.account.stock; - -import org.oasisopen.sca.annotation.Remotable; - -/** - * - */ -@Remotable -public interface StockAccountService { - - public StockAccountDetails getAccountDetails(String customerID); - - public StockAccountDetails buy(String accountNo, String symbol, int quantity); - - public StockAccountDetails sell(String accountNo, String symbol, int quantity); - - -} diff --git a/java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/stock/StockAccountServiceImpl.java b/java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/stock/StockAccountServiceImpl.java deleted file mode 100644 index c3474a554f..0000000000 --- a/java/sca-contrib/demos/bigbank-account/src/main/java/bigbank/account/stock/StockAccountServiceImpl.java +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package bigbank.account.stock; - -import java.util.HashMap; -import java.util.Map; - -import org.oasisopen.sca.annotation.Service; - -/** - * - * */ - -@Service(StockAccountService.class) -public class StockAccountServiceImpl implements StockAccountService { - private Map custAcctMap = new HashMap(); - private Map stockAccts = new HashMap(); - - public StockAccountServiceImpl() { - custAcctMap.put("Customer_01", "STA_Customer_01"); - custAcctMap.put("Customer_02", "STA_Customer_02"); - custAcctMap.put("Customer_03", "STA_Customer_03"); - - stockAccts.put("STA_Customer_01", new StockAccountDetails("STA_Customer_01", "IBM", 100)); - stockAccts.put("STA_Customer_02", new StockAccountDetails("STA_Customer_02", "IBM", 200)); - stockAccts.put("STA_Customer_03", new StockAccountDetails("STA_Customer_03", "SYM_3", 125)); - } - - - public StockAccountDetails buy(String accountNo, String symbol, int quantity) { - return null; - } - - public StockAccountDetails getAccountDetails(String customerID) { - return stockAccts.get(custAcctMap.get(customerID)); - } - - public StockAccountDetails sell(String accountNo, String symbol, int quantity) { - return null; - } - - - -} diff --git a/java/sca-contrib/demos/bigbank-account/src/main/resources/CheckingsAccount.composite b/java/sca-contrib/demos/bigbank-account/src/main/resources/CheckingsAccount.composite deleted file mode 100644 index cc76e30a75..0000000000 --- a/java/sca-contrib/demos/bigbank-account/src/main/resources/CheckingsAccount.composite +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - - diff --git a/java/sca-contrib/demos/bigbank-account/src/main/resources/META-INF/sca-contribution.xml b/java/sca-contrib/demos/bigbank-account/src/main/resources/META-INF/sca-contribution.xml deleted file mode 100644 index c5532b879d..0000000000 --- a/java/sca-contrib/demos/bigbank-account/src/main/resources/META-INF/sca-contribution.xml +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/java/sca-contrib/demos/bigbank-account/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor b/java/sca-contrib/demos/bigbank-account/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor deleted file mode 100644 index 6491a0d326..0000000000 --- a/java/sca-contrib/demos/bigbank-account/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor +++ /dev/null @@ -1,19 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. - -# Implementation class for the artifact processor extension -bigbank.account.security.CheckingsDeptAuthorizationPolicyProcessor;qname=http://bigbank/checkings#AuthPolicy,model=bigbank.account.security.CheckingsDeptAuthPolicy diff --git a/java/sca-contrib/demos/bigbank-account/src/main/resources/META-INF/services/org.apache.tuscany.sca.policy.util.PolicyHandler b/java/sca-contrib/demos/bigbank-account/src/main/resources/META-INF/services/org.apache.tuscany.sca.policy.util.PolicyHandler deleted file mode 100644 index b1bce4339d..0000000000 --- a/java/sca-contrib/demos/bigbank-account/src/main/resources/META-INF/services/org.apache.tuscany.sca.policy.util.PolicyHandler +++ /dev/null @@ -1,20 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -# PolicyHandlerClasses to interpret specific PolicyModels against specific QoS infrastructures -# handler classname;qname=;model= -bigbank.account.security.CheckingsDeptAuthorizationPolicyHandler;intent=http://bigbankAccount#authorization,model=bigbank.account.security.CheckingsDeptAuthPolicy diff --git a/java/sca-contrib/demos/bigbank-account/src/main/resources/META-INF/services/org.apache.tuscany.sca.provider.PolicyProviderFactory b/java/sca-contrib/demos/bigbank-account/src/main/resources/META-INF/services/org.apache.tuscany.sca.provider.PolicyProviderFactory deleted file mode 100644 index d6bfe2167e..0000000000 --- a/java/sca-contrib/demos/bigbank-account/src/main/resources/META-INF/services/org.apache.tuscany.sca.provider.PolicyProviderFactory +++ /dev/null @@ -1,19 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. - -# Implementation class for the policy extension -bigbank.account.security.CheckingsDeptAuthPolicyProviderFactory;model=bigbank.account.security.CheckingsDeptAuthPolicy \ No newline at end of file diff --git a/java/sca-contrib/demos/bigbank-account/src/main/resources/SavingsAccount.composite b/java/sca-contrib/demos/bigbank-account/src/main/resources/SavingsAccount.composite deleted file mode 100644 index 696b96d6e6..0000000000 --- a/java/sca-contrib/demos/bigbank-account/src/main/resources/SavingsAccount.composite +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - - - - - - diff --git a/java/sca-contrib/demos/bigbank-account/src/main/resources/StockAccount.composite b/java/sca-contrib/demos/bigbank-account/src/main/resources/StockAccount.composite deleted file mode 100644 index 62c0b63003..0000000000 --- a/java/sca-contrib/demos/bigbank-account/src/main/resources/StockAccount.composite +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - - - - - - diff --git a/java/sca-contrib/demos/bigbank-account/src/main/resources/definitions.xml b/java/sca-contrib/demos/bigbank-account/src/main/resources/definitions.xml deleted file mode 100644 index 31a8798f8b..0000000000 --- a/java/sca-contrib/demos/bigbank-account/src/main/resources/definitions.xml +++ /dev/null @@ -1,58 +0,0 @@ - - - - - - - - Authorization Intent - - - - - - - - - UsernameToken - bigbank.account.security.AccountsDataPasswordCallbackHandler - - - - - - - - - - - - \ No newline at end of file diff --git a/java/sca-contrib/demos/bigbank-account/src/main/resources/web/AccountJSON.html b/java/sca-contrib/demos/bigbank-account/src/main/resources/web/AccountJSON.html deleted file mode 100644 index 1609bf4b43..0000000000 --- a/java/sca-contrib/demos/bigbank-account/src/main/resources/web/AccountJSON.html +++ /dev/null @@ -1,92 +0,0 @@ - - - -Tuscany JSON-RPC BigBank Client - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Tuscany JSON-RPC BigBank Client
-

This example uses the Dojo - Toolkit to create a JavaScript object accountService for - the service at http://localhost:8080/AccountJSONService using Dojo's - RPC classes and providing them with http://localhost:8080/AccountJSONService?smd - for Simple Method Description - (SMD) input.

-

It then creates a Dojo button that will envoke the getAccountReport - method of the accountService object.

-
RequestResponse

- -
-
-
None Yet.
-
-
Dojo Debug:
-
- - - - - diff --git a/java/sca-contrib/demos/bigbank-account/src/main/resources/web/style.css b/java/sca-contrib/demos/bigbank-account/src/main/resources/web/style.css deleted file mode 100644 index 1071583264..0000000000 --- a/java/sca-contrib/demos/bigbank-account/src/main/resources/web/style.css +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -* { font-family: arial; } - -table, th, td { border: 2px solid blue; border-collapse: collapse; } -th { color: white; background-color: blue; } diff --git a/java/sca-contrib/demos/bigbank-account/src/main/resources/wsdl/AccountService.wsdl b/java/sca-contrib/demos/bigbank-account/src/main/resources/wsdl/AccountService.wsdl deleted file mode 100644 index ac4d987a57..0000000000 --- a/java/sca-contrib/demos/bigbank-account/src/main/resources/wsdl/AccountService.wsdl +++ /dev/null @@ -1,91 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/demos/bigbank-calculator/LICENSE b/java/sca-contrib/demos/bigbank-calculator/LICENSE deleted file mode 100644 index 8aa906c321..0000000000 --- a/java/sca-contrib/demos/bigbank-calculator/LICENSE +++ /dev/null @@ -1,205 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - - diff --git a/java/sca-contrib/demos/bigbank-calculator/NOTICE b/java/sca-contrib/demos/bigbank-calculator/NOTICE deleted file mode 100644 index 25bb89c9b2..0000000000 --- a/java/sca-contrib/demos/bigbank-calculator/NOTICE +++ /dev/null @@ -1,6 +0,0 @@ -${pom.name} -Copyright (c) 2005 - 2009 The Apache Software Foundation - -This product includes software developed by -The Apache Software Foundation (http://www.apache.org/). - diff --git a/java/sca-contrib/demos/bigbank-calculator/README b/java/sca-contrib/demos/bigbank-calculator/README deleted file mode 100644 index e8ff28fc0f..0000000000 --- a/java/sca-contrib/demos/bigbank-calculator/README +++ /dev/null @@ -1,2 +0,0 @@ -bigbank-calculator is part of a larger demo called bigbank. -Please see the Readme file under bigbank to understand how bigbank-calculator fits into the overall demo. diff --git a/java/sca-contrib/demos/bigbank-calculator/build.xml b/java/sca-contrib/demos/bigbank-calculator/build.xml deleted file mode 100644 index a06f0806df..0000000000 --- a/java/sca-contrib/demos/bigbank-calculator/build.xml +++ /dev/null @@ -1,68 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/demos/bigbank-calculator/pom.xml b/java/sca-contrib/demos/bigbank-calculator/pom.xml deleted file mode 100644 index 982fdb7e2a..0000000000 --- a/java/sca-contrib/demos/bigbank-calculator/pom.xml +++ /dev/null @@ -1,78 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - tuscany-demos - 2.0-SNAPSHOT - ../pom.xml - - demo-bigbank-calculator - Apache Tuscany SCA BigBank Calculator Demo - - - - apache.incubator - http://people.apache.org/repo/m2-incubating-repository - - - - - - org.apache.tuscany.sca - tuscany-host-embedded - 2.0-SNAPSHOT - - - - org.apache.tuscany.sca - tuscany-implementation-java-runtime - 2.0-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-implementation-script - 2.0-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-binding-rmi-runtime - 2.0-SNAPSHOT - runtime - - - - junit - junit - 4.5 - test - - - - - - ${artifactId} - - diff --git a/java/sca-contrib/demos/bigbank-calculator/src/main/java/calculator/AddService.java b/java/sca-contrib/demos/bigbank-calculator/src/main/java/calculator/AddService.java deleted file mode 100644 index 4eeb30a9c2..0000000000 --- a/java/sca-contrib/demos/bigbank-calculator/src/main/java/calculator/AddService.java +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package calculator; - -public interface AddService { - - double add(double n1, double n2); - -} diff --git a/java/sca-contrib/demos/bigbank-calculator/src/main/java/calculator/CalculatorService.java b/java/sca-contrib/demos/bigbank-calculator/src/main/java/calculator/CalculatorService.java deleted file mode 100644 index c89043276e..0000000000 --- a/java/sca-contrib/demos/bigbank-calculator/src/main/java/calculator/CalculatorService.java +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package calculator; - -/** - * The Calculator service interface. - */ -public interface CalculatorService { - - double add(double n1, double n2); - - double subtract(double n1, double n2); - - double multiply(double n1, double n2); - - double divide(double n1, double n2); - -} diff --git a/java/sca-contrib/demos/bigbank-calculator/src/main/java/calculator/CalculatorServiceImpl.java b/java/sca-contrib/demos/bigbank-calculator/src/main/java/calculator/CalculatorServiceImpl.java deleted file mode 100644 index 0b42a6ab1f..0000000000 --- a/java/sca-contrib/demos/bigbank-calculator/src/main/java/calculator/CalculatorServiceImpl.java +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package calculator; - -import org.oasisopen.sca.annotation.Reference; -import org.oasisopen.sca.annotation.Service; - -/** - * An implementation of the Calculator service. - */ -@Service(CalculatorService.class) -public class CalculatorServiceImpl implements CalculatorService { - - private AddService addService; - private SubtractService subtractService; - private MultiplyService multiplyService; - private DivideService divideService; - - @Reference - public void setAddService(AddService addService) { - this.addService = addService; - } - - @Reference - public void setSubtractService(SubtractService subtractService) { - this.subtractService = subtractService; - } - - @Reference - public void setDivideService(DivideService divideService) { - this.divideService = divideService; - } - - @Reference - public void setMultiplyService(MultiplyService multiplyService) { - this.multiplyService = multiplyService; - } - - public double add(double n1, double n2) { - return addService.add(n1, n2); - } - - public double subtract(double n1, double n2) { - return subtractService.subtract(n1, n2); - } - - public double multiply(double n1, double n2) { - System.err.println("Multiply"); - return multiplyService.multiply(n1, n2); - } - - public double divide(double n1, double n2) { - return divideService.divide(n1, n2); - } - -} diff --git a/java/sca-contrib/demos/bigbank-calculator/src/main/java/calculator/DivideService.java b/java/sca-contrib/demos/bigbank-calculator/src/main/java/calculator/DivideService.java deleted file mode 100644 index 131c5a8014..0000000000 --- a/java/sca-contrib/demos/bigbank-calculator/src/main/java/calculator/DivideService.java +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package calculator; - -public interface DivideService { - - double divide(double n1, double n2); - -} diff --git a/java/sca-contrib/demos/bigbank-calculator/src/main/java/calculator/MultiplyService.java b/java/sca-contrib/demos/bigbank-calculator/src/main/java/calculator/MultiplyService.java deleted file mode 100644 index a917896aeb..0000000000 --- a/java/sca-contrib/demos/bigbank-calculator/src/main/java/calculator/MultiplyService.java +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package calculator; - -public interface MultiplyService { - - double multiply(double n1, double n2); - -} diff --git a/java/sca-contrib/demos/bigbank-calculator/src/main/java/calculator/SubtractService.java b/java/sca-contrib/demos/bigbank-calculator/src/main/java/calculator/SubtractService.java deleted file mode 100644 index e328f024ea..0000000000 --- a/java/sca-contrib/demos/bigbank-calculator/src/main/java/calculator/SubtractService.java +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package calculator; - -public interface SubtractService { - - double subtract(double n1, double n2); - -} diff --git a/java/sca-contrib/demos/bigbank-calculator/src/main/java/calculator/demo/CalculatorServer.java b/java/sca-contrib/demos/bigbank-calculator/src/main/java/calculator/demo/CalculatorServer.java deleted file mode 100644 index b1861daafc..0000000000 --- a/java/sca-contrib/demos/bigbank-calculator/src/main/java/calculator/demo/CalculatorServer.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package calculator.demo; - -import org.apache.tuscany.sca.host.embedded.SCADomain; - -/** - * @version $Rev$ $Date$ - */ -public class CalculatorServer { - - public static void main(String[] args) throws Exception { - - System.out.println("Starting the Sample SCA Calculator..."); - - SCADomain domain = SCADomain.newInstance("Calculator.composite"); - - System.out.println("Press Enter to Exit..."); - System.in.read(); - - domain.close(); - - System.out.println("Bye"); - System.exit(0); - } - -} diff --git a/java/sca-contrib/demos/bigbank-calculator/src/main/resources/Calculator.composite b/java/sca-contrib/demos/bigbank-calculator/src/main/resources/Calculator.composite deleted file mode 100644 index 851813d31f..0000000000 --- a/java/sca-contrib/demos/bigbank-calculator/src/main/resources/Calculator.composite +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/demos/bigbank-calculator/src/main/resources/calculator/AddServiceImpl.js b/java/sca-contrib/demos/bigbank-calculator/src/main/resources/calculator/AddServiceImpl.js deleted file mode 100644 index 1d4d221364..0000000000 --- a/java/sca-contrib/demos/bigbank-calculator/src/main/resources/calculator/AddServiceImpl.js +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -function add(n1, n2) { - return n1 + n2; -} \ No newline at end of file diff --git a/java/sca-contrib/demos/bigbank-calculator/src/main/resources/calculator/DivideServiceImpl.groovy b/java/sca-contrib/demos/bigbank-calculator/src/main/resources/calculator/DivideServiceImpl.groovy deleted file mode 100644 index c31c1e8fd6..0000000000 --- a/java/sca-contrib/demos/bigbank-calculator/src/main/resources/calculator/DivideServiceImpl.groovy +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -def divide(n1, n2) { - return n1 / n2 -} \ No newline at end of file diff --git a/java/sca-contrib/demos/bigbank-calculator/src/main/resources/calculator/MultiplyServiceImpl.py b/java/sca-contrib/demos/bigbank-calculator/src/main/resources/calculator/MultiplyServiceImpl.py deleted file mode 100644 index dd56af0ad8..0000000000 --- a/java/sca-contrib/demos/bigbank-calculator/src/main/resources/calculator/MultiplyServiceImpl.py +++ /dev/null @@ -1,21 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -def multiply(n1, n2): - print "Python Calculator component: multiply(", n1, ",", n2, ")" - return n1 * n2 \ No newline at end of file diff --git a/java/sca-contrib/demos/bigbank-calculator/src/main/resources/calculator/SubtractServiceImpl.rb b/java/sca-contrib/demos/bigbank-calculator/src/main/resources/calculator/SubtractServiceImpl.rb deleted file mode 100644 index 08fa310f46..0000000000 --- a/java/sca-contrib/demos/bigbank-calculator/src/main/resources/calculator/SubtractServiceImpl.rb +++ /dev/null @@ -1,22 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -def subtract(n1, n2) - print "Ruby Calculator subtract(", n1, ",", n2, ")\n" - return n1 - n2 -end \ No newline at end of file diff --git a/java/sca-contrib/demos/bigbank-stockquote/LICENSE b/java/sca-contrib/demos/bigbank-stockquote/LICENSE deleted file mode 100644 index 8aa906c321..0000000000 --- a/java/sca-contrib/demos/bigbank-stockquote/LICENSE +++ /dev/null @@ -1,205 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - - diff --git a/java/sca-contrib/demos/bigbank-stockquote/NOTICE b/java/sca-contrib/demos/bigbank-stockquote/NOTICE deleted file mode 100644 index 25bb89c9b2..0000000000 --- a/java/sca-contrib/demos/bigbank-stockquote/NOTICE +++ /dev/null @@ -1,6 +0,0 @@ -${pom.name} -Copyright (c) 2005 - 2009 The Apache Software Foundation - -This product includes software developed by -The Apache Software Foundation (http://www.apache.org/). - diff --git a/java/sca-contrib/demos/bigbank-stockquote/README b/java/sca-contrib/demos/bigbank-stockquote/README deleted file mode 100644 index 2ea98d020c..0000000000 --- a/java/sca-contrib/demos/bigbank-stockquote/README +++ /dev/null @@ -1,4 +0,0 @@ -bigbank-stockquote is a part of a larger demo called bigbank. -Please see the Readme file under bigbank to understand how bigbank-stockquote fits into the overall demo. - - diff --git a/java/sca-contrib/demos/bigbank-stockquote/build.xml b/java/sca-contrib/demos/bigbank-stockquote/build.xml deleted file mode 100644 index 145c158ac2..0000000000 --- a/java/sca-contrib/demos/bigbank-stockquote/build.xml +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/demos/bigbank-stockquote/pom.xml b/java/sca-contrib/demos/bigbank-stockquote/pom.xml deleted file mode 100644 index 97586917cc..0000000000 --- a/java/sca-contrib/demos/bigbank-stockquote/pom.xml +++ /dev/null @@ -1,85 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - tuscany-demos - 2.0-SNAPSHOT - ../pom.xml - - demo-bigbank-stockquote - Apache Tuscany SCA BigBank StockQuote Demo - - - - apache.incubator - http://people.apache.org/repo/m2-incubating-repository - - - - - - org.apache.tuscany.sca - tuscany-host-embedded - 2.0-SNAPSHOT - - - - org.apache.ws.security - wss4j - 1.5.3 - - - - org.apache.tuscany.sca - tuscany-implementation-java-runtime - 2.0-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-binding-ws-axis2 - 2.0-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-host-tomcat - 2.0-SNAPSHOT - runtime - - - - junit - junit - 4.5 - test - - - - - - ${artifactId} - - - diff --git a/java/sca-contrib/demos/bigbank-stockquote/src/main/java/stockquote/PasswordCallbackHandler.java b/java/sca-contrib/demos/bigbank-stockquote/src/main/java/stockquote/PasswordCallbackHandler.java deleted file mode 100644 index 2d7821171d..0000000000 --- a/java/sca-contrib/demos/bigbank-stockquote/src/main/java/stockquote/PasswordCallbackHandler.java +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package stockquote; - -import java.io.IOException; - -import javax.security.auth.callback.Callback; -import javax.security.auth.callback.CallbackHandler; -import javax.security.auth.callback.UnsupportedCallbackException; - -import org.apache.ws.security.WSPasswordCallback; - -/** - * Sample userid passwd generation class - */ -public class PasswordCallbackHandler implements CallbackHandler { - - public void handle(Callback[] callbacks) throws IOException, - UnsupportedCallbackException { - for (int i = 0; i < callbacks.length; i++) { - System.out.println("*** Calling Server User/Passwd Handler...." ); - WSPasswordCallback pwcb = (WSPasswordCallback)callbacks[i]; - System.out.println("*** Getting password for user ...." + pwcb.getIdentifer() + " & " + pwcb.getKey()); - if ( pwcb.getUsage() == WSPasswordCallback.SIGNATURE ) { - System.out.println(" Usage is SIGNATURE ... "); - pwcb.setPassword("sqservice"); - } - } - } - -} diff --git a/java/sca-contrib/demos/bigbank-stockquote/src/main/java/stockquote/StockQuoteImpl.java b/java/sca-contrib/demos/bigbank-stockquote/src/main/java/stockquote/StockQuoteImpl.java deleted file mode 100644 index 63c31bd116..0000000000 --- a/java/sca-contrib/demos/bigbank-stockquote/src/main/java/stockquote/StockQuoteImpl.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package stockquote; - -import org.oasisopen.sca.annotation.Service; - -/** - * This class implements the StockQuote service. - */ -@Service(StockQuoteService.class) -public class StockQuoteImpl implements StockQuoteService { - - public double getQuote(String symbol) { - double price = 104.0 + Math.random(); - price = ((int)(price * 100)) / 100.0; - - System.out.println("Getting stock quote for: " + symbol + ", value: "+ price); - - return price; - } - -} diff --git a/java/sca-contrib/demos/bigbank-stockquote/src/main/java/stockquote/StockQuoteService.java b/java/sca-contrib/demos/bigbank-stockquote/src/main/java/stockquote/StockQuoteService.java deleted file mode 100644 index a20f4e46dd..0000000000 --- a/java/sca-contrib/demos/bigbank-stockquote/src/main/java/stockquote/StockQuoteService.java +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package stockquote; - -import org.oasisopen.sca.annotation.Remotable; - -/** - * This is the business interface of the StockQuote service. - */ -@Remotable -public interface StockQuoteService { - - public double getQuote(String symbol); -} diff --git a/java/sca-contrib/demos/bigbank-stockquote/src/main/java/stockquote/demo/StockQuoteServer.java b/java/sca-contrib/demos/bigbank-stockquote/src/main/java/stockquote/demo/StockQuoteServer.java deleted file mode 100644 index 04ed762602..0000000000 --- a/java/sca-contrib/demos/bigbank-stockquote/src/main/java/stockquote/demo/StockQuoteServer.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package stockquote.demo; - -import org.apache.tuscany.sca.host.embedded.SCADomain; - -/** - * This server program shows how to bootstrap SCA from a simple J2SE program - * and start it which activates the StockQuote Web service endpoint. - */ -public class StockQuoteServer { - - public static void main(String[] args) throws Exception { - - System.out.println("Starting the Sample SCA StockQuote Service..."); - - SCADomain domain = SCADomain.newInstance("StockQuote.composite"); - - System.out.println("Press Enter to Exit..."); - System.in.read(); - - domain.close(); - System.out.println("Bye"); - } - -} diff --git a/java/sca-contrib/demos/bigbank-stockquote/src/main/resources/StockQuote.composite b/java/sca-contrib/demos/bigbank-stockquote/src/main/resources/StockQuote.composite deleted file mode 100644 index aaad92c861..0000000000 --- a/java/sca-contrib/demos/bigbank-stockquote/src/main/resources/StockQuote.composite +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - - - diff --git a/java/sca-contrib/demos/bigbank-stockquote/src/main/resources/definitions.xml b/java/sca-contrib/demos/bigbank-stockquote/src/main/resources/definitions.xml deleted file mode 100644 index 7e1f51304e..0000000000 --- a/java/sca-contrib/demos/bigbank-stockquote/src/main/resources/definitions.xml +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - - - - - Timestamp Signature - security.properties - - - - - Timestamp Signature - sqservice - security.properties - stockquote.PasswordCallbackHandler - DirectReference - - - - - \ No newline at end of file diff --git a/java/sca-contrib/demos/bigbank-stockquote/src/main/resources/security.properties b/java/sca-contrib/demos/bigbank-stockquote/src/main/resources/security.properties deleted file mode 100644 index a5b889c269..0000000000 --- a/java/sca-contrib/demos/bigbank-stockquote/src/main/resources/security.properties +++ /dev/null @@ -1,20 +0,0 @@ -## --------------------------------------------------------------------------- -## Licensed to the Apache Software Foundation (ASF) under one or more -## contributor license agreements. See the NOTICE file distributed with -## this work for additional information regarding copyright ownership. -## The ASF licenses this file to You under the Apache License, Version 2.0 -## (the "License"); you may not use this file except in compliance with -## the License. You may obtain a copy of the License at -## -## http://www.apache.org/licenses/LICENSE-2.0 -## -## Unless required by applicable law or agreed to in writing, software -## distributed under the License is distributed on an "AS IS" BASIS, -## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -## See the License for the specific language governing permissions and -## limitations under the License. -## --------------------------------------------------------------------------- -org.apache.ws.security.crypto.provider=org.apache.ws.security.components.crypto.Merlin -org.apache.ws.security.crypto.merlin.keystore.type=jks -org.apache.ws.security.crypto.merlin.keystore.password=sqkeystore -org.apache.ws.security.crypto.merlin.file=stockQuote.jks diff --git a/java/sca-contrib/demos/bigbank-stockquote/src/main/resources/stockQuote.jks b/java/sca-contrib/demos/bigbank-stockquote/src/main/resources/stockQuote.jks deleted file mode 100644 index d53d32c4ef..0000000000 Binary files a/java/sca-contrib/demos/bigbank-stockquote/src/main/resources/stockQuote.jks and /dev/null differ diff --git a/java/sca-contrib/demos/bigbank/LICENSE b/java/sca-contrib/demos/bigbank/LICENSE deleted file mode 100644 index 8aa906c321..0000000000 --- a/java/sca-contrib/demos/bigbank/LICENSE +++ /dev/null @@ -1,205 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - - diff --git a/java/sca-contrib/demos/bigbank/NOTICE b/java/sca-contrib/demos/bigbank/NOTICE deleted file mode 100644 index 25bb89c9b2..0000000000 --- a/java/sca-contrib/demos/bigbank/NOTICE +++ /dev/null @@ -1,6 +0,0 @@ -${pom.name} -Copyright (c) 2005 - 2009 The Apache Software Foundation - -This product includes software developed by -The Apache Software Foundation (http://www.apache.org/). - diff --git a/java/sca-contrib/demos/bigbank/README b/java/sca-contrib/demos/bigbank/README deleted file mode 100644 index 5ec796db60..0000000000 --- a/java/sca-contrib/demos/bigbank/README +++ /dev/null @@ -1,127 +0,0 @@ -BigBank Demo -============ - -This application is made of 3 modules that represent the different aspects -of a fictitious banking application. Please see bigbank.png in the bigbank-account directory for a diagram of this demo. - -To run the bigbank-account demo you need to first run bigbank-calculator and bigbank-stockquote composites. This will bring up Tuscany runtime and load the two applications and make them available as services. Bigbank-account is dependent on these services. - -This demo uses ant. This is just one way of running this demo. - -Start Bigbank-calculator composite ----------------------------------- - -Bigbank-calculator is a calculator application which handles add, subtract, multiply and divide operations. Each of these operations is implemented in a different language, including JavaScript, groovy, Ruby and Python. - -To run the bigbank-calculator composite and make it available as a service for this demo do the following: - -cd bigbank-calculator -ant compile -ant run - -.. Leave the server running - -Note that 'ant compile' needs to be done the first time you run this demo out of the binary distribution. No need to do 'ant compile' from there on. - -Start Bigbank-stockquote ------------------------- - -A very simple web services based stock quote application which returns random -stock quotes on request. Please note that the stockquote service is not live and is implemented instead to allow for this application to always run without dependency on the availability of a webservice. - -cd bigbank-stockquote -ant compile -ant run - -.. Leave the server running - -Note that 'ant compile' needs to be done the first time you run this demo out of the binary distribution. No need to do 'ant compile' from there on. - -Start Bigbank -------------- -The BigBank comprises of two subsystems that are built from two distinct contributions coming from ... -1) bigbank - This contains all artifacts that make up the bigbank application. This is the application that the - end user interacts with - -2) bigbank-account - This contains all artifacts that deal with the account management within the bigbank. The services - offered by the bigbank-account module are used by the bigbank. The end user never gets to directly - interact with bigbank account - -Besides the bigbank-account the bigbank composite application calls into bigbank-stockquote and -bigbank-calculator services. - -Start bigbank-account in the following way: - -i ) Compile the bigbank-account as follows : - - cd bigbank-account - ant compile - -ii) Now start the bigbank service as follows : - - cd bigbank - ant compile - ant run - - .. Leave the server running - -Note that 'ant compile' needs to be done the first time you run this demo out ofthe binary distribution. -No need to do 'ant compile' from there on. - -Bigbank and the SCA Policies ----------------------------- -The Bigbank demo uses the Tuscany PolicyFramework to enforce security in the following ways: - -Authentication --------------- - The bigbank-account subsystem enforces authentication as a required security characteristic for - all interactions with its CheckingAccountService. Hence the 'bigbank' application which is a client - to this service authenticates itself for every interaction with the CheckingAccountService. The interaction - between the bigbank and the CheckingAccountService is over the ws binding. - -Integrity ---------- - All interactions of the bigbank application with the StockQuoteService are guarded with message integrity. - These interactions use the ws binding. - -Authorization -------------- - Within the bigbank-account subsystem the CheckingAccountService implementation enforces authorization on - its operations. This is an instance of a custom policy enforcement i.e. the CheckingAccountService - component's implementation has defined its own customized way of authorizing access to its services. - -Demonstrated features ---------------------- -This demo is to illustrate the following : - -- composition of an application using artifacts belonging to multiple contributions (here two) -- usage of sca policies in composite definitions with specific emphasis on enabling security - - -Run the demo -------------- -The front end of this demo application is a web app which users Json/RPC to communicate with the backend for retrieving account information. - -To try the app out point you browser at: - -http://localhost:8080/AccountJSON.html - -This should display an interface with a single button that goes and retrieves -a single set of account details exercising services across the three running -SCA applications. - -If you press on getAccountReport, you'll see a response posted, -but the detail of the data will be displayed in the console where you started bigbank. Among other -things you will note messages that confirm the enforecement of AUTHENTICATION, AUTHORIZATION and -SIGNING of messages exchaged. - -On the console where you have started the StockQuote Service you should again be able to see messages -that confirm the signing of messages exchanged. - -Stop the demo -------------- -Go to each of the corresponding command line screens and hit 'enter'. -This will stop each of the applications. - - diff --git a/java/sca-contrib/demos/bigbank/bigbank.png b/java/sca-contrib/demos/bigbank/bigbank.png deleted file mode 100644 index 985cc6bd05..0000000000 Binary files a/java/sca-contrib/demos/bigbank/bigbank.png and /dev/null differ diff --git a/java/sca-contrib/demos/bigbank/bigbank.svg b/java/sca-contrib/demos/bigbank/bigbank.svg deleted file mode 100644 index 30aa0eab6d..0000000000 --- a/java/sca-contrib/demos/bigbank/bigbank.svg +++ /dev/null @@ -1,537 +0,0 @@ - - - - - - - - - - image/svg+xml - - - - - - - - CompositeBigBank WebApp - - Component AccountJava - - - - Component AccountDataJava - binding.jsonrpc - binding.ws - binding.rmi - - - - CompositeStockQuote - - CompositeCalculator - - Component CalculatorJava - - - - Component AddJavascript - binding.rmi - - - Component SubtractRuby - - Component MultiplyPython - - Component DivideGroovy - - - - Component StockQuoteJava - - binding.ws - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/demos/bigbank/build-dojo.xml b/java/sca-contrib/demos/bigbank/build-dojo.xml deleted file mode 100644 index 9d282c2dd2..0000000000 --- a/java/sca-contrib/demos/bigbank/build-dojo.xml +++ /dev/null @@ -1,92 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/demos/bigbank/build.xml b/java/sca-contrib/demos/bigbank/build.xml deleted file mode 100644 index 046aadd228..0000000000 --- a/java/sca-contrib/demos/bigbank/build.xml +++ /dev/null @@ -1,84 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/demos/bigbank/pom.xml b/java/sca-contrib/demos/bigbank/pom.xml deleted file mode 100644 index d9946b0a09..0000000000 --- a/java/sca-contrib/demos/bigbank/pom.xml +++ /dev/null @@ -1,201 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - tuscany-demos - 2.0-SNAPSHOT - ../pom.xml - - demo-bigbank - jar - Apache Tuscany SCA BigBank Demo - - - - apache.incubator - http://people.apache.org/repo/m2-incubating-repository - - - - - - org.apache.tuscany.sca - tuscany-host-embedded - 2.0-SNAPSHOT - - - - org.apache.tuscany.sca - tuscany-data-api - 2.0-SNAPSHOT - - - - org.apache.ws.security - wss4j - 1.5.3 - - - - org.apache.tuscany.sca - demo-bigbank-account - 2.0-SNAPSHOT - - - - org.apache.tuscany.sca - tuscany-implementation-java-runtime - 2.0-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-binding-atom-abdera - 2.0-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-binding-rss-rome - 2.0-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-binding-ws-axis2 - 2.0-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-binding-jsonrpc-runtime - 2.0-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-binding-rmi-runtime - 2.0-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-implementation-resource-runtime - 2.0-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-binding-http-runtime - 2.0-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-host-jetty - 2.0-SNAPSHOT - runtime - - - - junit - junit - 4.5 - test - - - - - - demo-bigbank - - - org.apache.maven.plugins - maven-antrun-plugin - - - - ant - ant-trax - 1.6.5 - - - - - - install-dojo - validate - - run - - - - - - - - - - - copy-dojo-files - generate-resources - - run - - - - - - - - - - - - clean-dojo-files - clean - - run - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/demos/bigbank/src/main/java/bigbank/account/AccountService.java b/java/sca-contrib/demos/bigbank/src/main/java/bigbank/account/AccountService.java deleted file mode 100644 index 951cd175d3..0000000000 --- a/java/sca-contrib/demos/bigbank/src/main/java/bigbank/account/AccountService.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package bigbank.account; - -import org.oasisopen.sca.annotation.Remotable; - -/** - * @version $$Rev$$ $$Date$$ - */ - -@Remotable -public interface AccountService { - - public double getAccountReport(String customerID); - -} diff --git a/java/sca-contrib/demos/bigbank/src/main/java/bigbank/account/AccountServiceImpl.java b/java/sca-contrib/demos/bigbank/src/main/java/bigbank/account/AccountServiceImpl.java deleted file mode 100644 index 4cff2b7966..0000000000 --- a/java/sca-contrib/demos/bigbank/src/main/java/bigbank/account/AccountServiceImpl.java +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package bigbank.account; - -import org.oasisopen.sca.annotation.Property; -import org.oasisopen.sca.annotation.Reference; -import org.oasisopen.sca.annotation.Service; - -import stockquote.StockQuoteService; -import bigbank.account.checking.CheckingAccountDetails; -import bigbank.account.checking.CheckingAccountService; -import bigbank.account.savings.SavingsAccountDetails; -import bigbank.account.savings.SavingsAccountService; -import bigbank.account.stock.StockAccountDetails; -import bigbank.account.stock.StockAccountService; -import calculator.CalculatorService; - -/** - * @version $$Rev$$ $$Date$$ - */ - -@Service(AccountService.class) -public class AccountServiceImpl implements AccountService { - - @Reference - protected SavingsAccountService savingsAcService; - - @Reference - protected CheckingAccountService checkingAcService; - - @Reference - protected StockAccountService stockAcService; - - @Reference - protected StockQuoteService stockQuoteService; - - @Reference - protected CalculatorService calculatorService; - - @Property - protected String currency; - - public double getAccountReport(String customerID) { - - // Get the checking, savings and stock accounts from the AccountData - // service component - CheckingAccountDetails checking = null; - try { - checking = checkingAcService.getAccountDetails(customerID); - System.out.println("Checking account: " + checking); - - SavingsAccountDetails savings = savingsAcService.getAccountDetails(customerID); - System.out.println("Savings account: " + savings); - - StockAccountDetails stock = stockAcService.getAccountDetails(customerID); - System.out.println("Stock account: " + stock); - - // Get the stock price in USD - double price = stockQuoteService.getQuote(stock.getSymbol()); - System.out.println("Stock price for " + stock.getSymbol() + ": " + price); - - // Convert to the configured currency - if (currency.equals("EURO")) { - - // Use our fancy calculator service to convert to the target currency - price = calculatorService.multiply(price, 0.70); - - System.out.println("Converted to " + currency + ": " + price); - } - - // Calculate the value of the stock account - double stockValue = price * stock.getQuantity(); - - // Calculate the total balance of all accounts and return it - double balance = checking.getBalance() + savings.getBalance() + stockValue; - - return balance; - } catch ( Throwable e ) { - e.printStackTrace(); - return 0; - } - } -} diff --git a/java/sca-contrib/demos/bigbank/src/main/java/bigbank/account/feed/AccountFeedImpl.java b/java/sca-contrib/demos/bigbank/src/main/java/bigbank/account/feed/AccountFeedImpl.java deleted file mode 100644 index b8aff2a3b1..0000000000 --- a/java/sca-contrib/demos/bigbank/src/main/java/bigbank/account/feed/AccountFeedImpl.java +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package bigbank.account.feed; - -import org.apache.tuscany.sca.data.collection.Collection; -import org.apache.tuscany.sca.data.collection.Entry; -import org.apache.tuscany.sca.data.collection.NotFoundException; -import org.oasisopen.sca.annotation.Reference; -import org.oasisopen.sca.annotation.Service; - -import bigbank.account.AccountService; - -/** - * @version $$Rev$$ $$Date$$ - */ - -@Service(Collection.class) -public class AccountFeedImpl implements Collection { - - @Reference - protected AccountService accountService; - - public Entry[] getAll() { - - // Add the Account report entry - String report = get("1234"); - Entry entry = new Entry("1234", report); - - return new Entry[] { entry } ; - } - - public String get(String id) { - - // Get the account report for the specified customer ID - double balance = accountService.getAccountReport(id); - String report = Double.toString(balance); - - return report; - } - - public void delete(String key) throws NotFoundException { - } - - public String post(String key, String item) { - return null; - } - - public void put(String key, String item) throws NotFoundException { - } - - public Entry[] query(String queryString) { - return null; - } -} diff --git a/java/sca-contrib/demos/bigbank/src/main/java/bigbank/client/BigBankClient.java b/java/sca-contrib/demos/bigbank/src/main/java/bigbank/client/BigBankClient.java deleted file mode 100644 index a7fa5ecc22..0000000000 --- a/java/sca-contrib/demos/bigbank/src/main/java/bigbank/client/BigBankClient.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package bigbank.client; - -import org.apache.tuscany.sca.host.embedded.SCADomain; - -import bigbank.account.AccountService; - -/** - * This client program shows how to create an SCA runtime, start it, - * and locate and invoke a SCA component - */ -public class BigBankClient { - - public static void main(String[] args) throws Exception { - - SCADomain domain = SCADomain.newInstance("BigBank.composite"); - - AccountService accountService = domain.getService(AccountService.class, "AccountServiceComponent"); - - String customerID = "1234"; - - System.out.println("Calling account service for customer: " + customerID); - System.out.println(); - double balance = accountService.getAccountReport(customerID); - - System.out.println(); - System.out.println("Balance: " + balance); - - domain.close(); - } - -} diff --git a/java/sca-contrib/demos/bigbank/src/main/java/bigbank/demo/BigBankServer.java b/java/sca-contrib/demos/bigbank/src/main/java/bigbank/demo/BigBankServer.java deleted file mode 100644 index 05360e07a5..0000000000 --- a/java/sca-contrib/demos/bigbank/src/main/java/bigbank/demo/BigBankServer.java +++ /dev/null @@ -1,130 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package bigbank.demo; - -import java.net.MalformedURLException; -import java.net.URL; - -import org.apache.tuscany.sca.assembly.Composite; -import org.apache.tuscany.sca.contribution.Contribution; -import org.apache.tuscany.sca.contribution.service.ContributionService; -import org.apache.tuscany.sca.host.embedded.SCADomain; -import org.apache.tuscany.sca.host.embedded.impl.EmbeddedSCADomain; - -import bigbank.account.savings.SavingsAccountService; - - - -/** - * This client program shows how to create an SCA runtime, start it, - * and locate and invoke a SCA component - */ -public class BigBankServer { - - public static void main(String[] args) throws Exception { - long timeout = -1L; - if (args.length > 0) { - timeout = Long.parseLong(args[0]); - } - - System.out.println("Starting the Sample SCA BigBank server..."); - ClassLoader cl = BigBankServer.class.getClassLoader(); - EmbeddedSCADomain domain = new EmbeddedSCADomain(cl, "http://localhost"); - - //Start the domain - domain.start(); - - // Contribute the SCA contribution - ContributionService contributionService = domain.getContributionService(); - - URL javaContribURL = getContributionURL(SavingsAccountService.class); - Contribution bigbankAcContribution = contributionService.contribute("http://bigbank-account", javaContribURL, false); - for (Composite deployable : bigbankAcContribution.getDeployables()) { - domain.getDomainComposite().getIncludes().add(deployable); - domain.buildComposite(deployable); - } - - URL bigbankContribUrl = getContributionURL(BigBankServer.class); - Contribution bigbankContribution = contributionService.contribute("http://bigbank", bigbankContribUrl, false); - for (Composite deployable : bigbankContribution.getDeployables()) { - domain.getDomainComposite().getIncludes().add(deployable); - domain.buildComposite(deployable); - } - - - //Start Components from composite - for (Composite deployable : bigbankAcContribution.getDeployables()) { - domain.getCompositeActivator().activate(deployable); - domain.getCompositeActivator().start(deployable); - } - - for (Composite deployable : bigbankContribution.getDeployables()) { - domain.getCompositeActivator().activate(deployable); - domain.getCompositeActivator().start(deployable); - } - - if (timeout < 0) { - System.out.println("Press Enter to Exit..."); - System.in.read(); - } else { - Thread.sleep(timeout); - } - - contributionService.remove("http://bigbank-account"); - contributionService.remove("http://bigbank"); - - // Stop Components from composite - for (Composite deployable : bigbankContribution.getDeployables()) { - domain.getCompositeActivator().stop(deployable); - domain.getCompositeActivator().deactivate(deployable); - } - - domain.stop(); - - domain.close(); - - - /*SCADomain domain = SCADomain.newInstance("BigBank.composite"); - - if (timeout < 0) { - System.out.println("Press Enter to Exit..."); - System.in.read(); - } else { - Thread.sleep(timeout); - } - - domain.close();*/ - - System.out.println("Bye"); - } - - private static URL getContributionURL(Class cls) throws MalformedURLException { - String flag = "/" + cls.getName().replace('.', '/') + ".class"; - URL url = cls.getResource(flag); - String root = url.toExternalForm(); - root = root.substring(0, root.length() - flag.length() + 1); - if (root.startsWith("jar:") && root.endsWith("!/")) { - root = root.substring(4, root.length() - 2); - } - url = new URL(root); - return url; - } - -} diff --git a/java/sca-contrib/demos/bigbank/src/main/java/bigbank/security/BigbankPasswordCallbackHandler.java b/java/sca-contrib/demos/bigbank/src/main/java/bigbank/security/BigbankPasswordCallbackHandler.java deleted file mode 100644 index 6d3b547939..0000000000 --- a/java/sca-contrib/demos/bigbank/src/main/java/bigbank/security/BigbankPasswordCallbackHandler.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package bigbank.security; - -import java.io.IOException; - -import javax.security.auth.callback.Callback; -import javax.security.auth.callback.CallbackHandler; -import javax.security.auth.callback.UnsupportedCallbackException; - -import org.apache.ws.security.WSPasswordCallback; - -/** - * Sample userid passwd generation class - */ -public class BigbankPasswordCallbackHandler implements CallbackHandler { - - public void handle(Callback[] callbacks) throws IOException, - UnsupportedCallbackException { - for (int i = 0; i < callbacks.length; i++) { - WSPasswordCallback pwcb = (WSPasswordCallback)callbacks[i]; - //System.out.println("*** Getting password for user ...." + pwcb.getIdentifer() + " & " + pwcb.getKey()); - if ( pwcb.getUsage() == WSPasswordCallback.SIGNATURE ) { - System.out.println("*** Calling BIG-BANK Passwd Handler for SIGNING...." ); - pwcb.setPassword("bbservice"); - } else if ( pwcb.getUsage() == WSPasswordCallback.USERNAME_TOKEN ) { - if ( pwcb.getIdentifer().equals("bbaservice")) { - System.out.println("*** Calling BIG-BANK Passwd Handler for setting AUTHENTICATION password...." ); - pwcb.setPassword("bbaservice"); - } - } - } - } - -} diff --git a/java/sca-contrib/demos/bigbank/src/main/java/calculator/CalculatorService.java b/java/sca-contrib/demos/bigbank/src/main/java/calculator/CalculatorService.java deleted file mode 100644 index c89043276e..0000000000 --- a/java/sca-contrib/demos/bigbank/src/main/java/calculator/CalculatorService.java +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package calculator; - -/** - * The Calculator service interface. - */ -public interface CalculatorService { - - double add(double n1, double n2); - - double subtract(double n1, double n2); - - double multiply(double n1, double n2); - - double divide(double n1, double n2); - -} diff --git a/java/sca-contrib/demos/bigbank/src/main/java/stockquote/StockQuoteService.java b/java/sca-contrib/demos/bigbank/src/main/java/stockquote/StockQuoteService.java deleted file mode 100644 index 5d3366ae00..0000000000 --- a/java/sca-contrib/demos/bigbank/src/main/java/stockquote/StockQuoteService.java +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package stockquote; - -import org.oasisopen.sca.annotation.Remotable; - -/** - * This is the business interface of the StockQuote service. - */ -@Remotable -public interface StockQuoteService { - public double getQuote(String symbol); -} diff --git a/java/sca-contrib/demos/bigbank/src/main/resources/BigBank.composite b/java/sca-contrib/demos/bigbank/src/main/resources/BigBank.composite deleted file mode 100644 index 11591308b4..0000000000 --- a/java/sca-contrib/demos/bigbank/src/main/resources/BigBank.composite +++ /dev/null @@ -1,85 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - EURO - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/demos/bigbank/src/main/resources/META-INF/sca-contribution.xml b/java/sca-contrib/demos/bigbank/src/main/resources/META-INF/sca-contribution.xml deleted file mode 100644 index 154992c843..0000000000 --- a/java/sca-contrib/demos/bigbank/src/main/resources/META-INF/sca-contribution.xml +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/java/sca-contrib/demos/bigbank/src/main/resources/bigbank.jks b/java/sca-contrib/demos/bigbank/src/main/resources/bigbank.jks deleted file mode 100644 index e6294d85f7..0000000000 Binary files a/java/sca-contrib/demos/bigbank/src/main/resources/bigbank.jks and /dev/null differ diff --git a/java/sca-contrib/demos/bigbank/src/main/resources/definitions.xml b/java/sca-contrib/demos/bigbank/src/main/resources/definitions.xml deleted file mode 100644 index 8654151d82..0000000000 --- a/java/sca-contrib/demos/bigbank/src/main/resources/definitions.xml +++ /dev/null @@ -1,64 +0,0 @@ - - - - - - - - - - Timestamp Signature - security.properties - - - - - Timestamp Signature - bbservice - security.properties - bigbank.security.BigbankPasswordCallbackHandler - DirectReference - - - - - - - - - - UsernameToken - bbaservice - bigbank.security.BigbankPasswordCallbackHandler - PasswordText - - - - - \ No newline at end of file diff --git a/java/sca-contrib/demos/bigbank/src/main/resources/security.properties b/java/sca-contrib/demos/bigbank/src/main/resources/security.properties deleted file mode 100644 index d1b489acbb..0000000000 --- a/java/sca-contrib/demos/bigbank/src/main/resources/security.properties +++ /dev/null @@ -1,20 +0,0 @@ -## --------------------------------------------------------------------------- -## Licensed to the Apache Software Foundation (ASF) under one or more -## contributor license agreements. See the NOTICE file distributed with -## this work for additional information regarding copyright ownership. -## The ASF licenses this file to You under the Apache License, Version 2.0 -## (the "License"); you may not use this file except in compliance with -## the License. You may obtain a copy of the License at -## -## http://www.apache.org/licenses/LICENSE-2.0 -## -## Unless required by applicable law or agreed to in writing, software -## distributed under the License is distributed on an "AS IS" BASIS, -## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -## See the License for the specific language governing permissions and -## limitations under the License. -## --------------------------------------------------------------------------- -org.apache.ws.security.crypto.provider=org.apache.ws.security.components.crypto.Merlin -org.apache.ws.security.crypto.merlin.keystore.type=jks -org.apache.ws.security.crypto.merlin.keystore.password=bbakeystore -org.apache.ws.security.crypto.merlin.file=bigbank.jks diff --git a/java/sca-contrib/demos/bigbank/src/main/resources/web/AccountJSON.html b/java/sca-contrib/demos/bigbank/src/main/resources/web/AccountJSON.html deleted file mode 100644 index 9f4368443f..0000000000 --- a/java/sca-contrib/demos/bigbank/src/main/resources/web/AccountJSON.html +++ /dev/null @@ -1,92 +0,0 @@ - - - -Tuscany JSON-RPC BigBank Client - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Tuscany JSON-RPC BigBank Client
-

This example uses the Dojo - Toolkit to create a JavaScript object accountService for - the service at http://localhost:8080/AccountJSONService using Dojo's - RPC classes and providing them with http://localhost:8080/AccountJSONService?smd - for Simple Method Description - (SMD) input.

-

It then creates a Dojo button that will envoke the getAccountReport - method of the accountService object.

-
RequestResponse

- -
-
-
None Yet.
-
-
Dojo Debug:
-
- - - - - diff --git a/java/sca-contrib/demos/bigbank/src/main/resources/web/style.css b/java/sca-contrib/demos/bigbank/src/main/resources/web/style.css deleted file mode 100644 index 1071583264..0000000000 --- a/java/sca-contrib/demos/bigbank/src/main/resources/web/style.css +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -* { font-family: arial; } - -table, th, td { border: 2px solid blue; border-collapse: collapse; } -th { color: white; background-color: blue; } diff --git a/java/sca-contrib/demos/bigbank/src/main/resources/wsdl/AccountService.wsdl b/java/sca-contrib/demos/bigbank/src/main/resources/wsdl/AccountService.wsdl deleted file mode 100644 index ac4d987a57..0000000000 --- a/java/sca-contrib/demos/bigbank/src/main/resources/wsdl/AccountService.wsdl +++ /dev/null @@ -1,91 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/demos/bigbank/src/test/java/test/BigBankTestCase.java b/java/sca-contrib/demos/bigbank/src/test/java/test/BigBankTestCase.java deleted file mode 100644 index 3b7c5ef2ad..0000000000 --- a/java/sca-contrib/demos/bigbank/src/test/java/test/BigBankTestCase.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package test; - -import junit.framework.TestCase; - -import bigbank.demo.BigBankServer; - -/** - * @version $Rev$ $Date$ - */ -public class BigBankTestCase extends TestCase { - - public void testServer() throws Exception { - BigBankServer.main(new String[] {"1000"}); - } -} diff --git a/java/sca-contrib/demos/load-balancing-webapp/LICENSE b/java/sca-contrib/demos/load-balancing-webapp/LICENSE deleted file mode 100644 index 8aa906c321..0000000000 --- a/java/sca-contrib/demos/load-balancing-webapp/LICENSE +++ /dev/null @@ -1,205 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - - diff --git a/java/sca-contrib/demos/load-balancing-webapp/NOTICE b/java/sca-contrib/demos/load-balancing-webapp/NOTICE deleted file mode 100644 index 25bb89c9b2..0000000000 --- a/java/sca-contrib/demos/load-balancing-webapp/NOTICE +++ /dev/null @@ -1,6 +0,0 @@ -${pom.name} -Copyright (c) 2005 - 2009 The Apache Software Foundation - -This product includes software developed by -The Apache Software Foundation (http://www.apache.org/). - diff --git a/java/sca-contrib/demos/load-balancing-webapp/README b/java/sca-contrib/demos/load-balancing-webapp/README deleted file mode 100644 index b7bbb64b1a..0000000000 --- a/java/sca-contrib/demos/load-balancing-webapp/README +++ /dev/null @@ -1,76 +0,0 @@ -WebApp Load Balancing Demo -=========================== - -Demonstrates balancing load acoss SCA services by deploying an SCA composite -to two tomcat servers in a cluster. The tomcat servers sit behind an Apache -server which directs load to one or other tomcat server based on a set of rules. - -The mvn pom distributed with this sample will download, install and configure -two Tomcat servers automatically to act as workers. You need to install the -Apache web server and configure it manually. - -1 - Install and configure the Tomcat workers - -mvn - -This results in two tomcat servers at - -target/tomcat-8085 -target/tomcat-8086 - -2 - Install and configure the Apache server to balance load - -In this case we've chosen to use the native JK connector. There are several -resources that tell you how to configure Apache for load balancing Tomcat with -the JK connector. For example, - -http://tomcat.apache.org/connectors-doc/webserver_howto/apache.html -http://www.crazysquirrel.com/computing/debian/servers/tomcat55.jspx - -Here is a high level summary - -Download the latest version of Apache 2.2 (this demo was built with Apache 2.2.6) - http://httpd.apache.org/ - Install in a local director called, say, apache - -Download the mod_jk module (in binary form if you can) - http://tomcat.apache.org/download-connectors.cgi - Install it in apache/modules - -Configure the mod_jk module - Copy src/test/resources/apache-80/conf/workers.properties to apache/conf - Append the contents of src/test/resources/apache-80/conf/httpd.conf to apache/conf/httpf.conf - -3 - Start the apache and tomcat servers - -In three command prompts - -cd target/tomcat-8085 -bin/catalina run - -cd target/tomcat-8086 -bin/catalina run - -cd apache -bin/httpd - -4 - Run the client - -run the LanchClient program - TBD - need a script - -5 - Result - -The client will make 10 calls to the SCA service described in the helloworldws.composite that -is part of the webapp deployed to the tomcat servers. You will see the result of this -service call reported at the client in the form - -Called getGreetings -Hello World 6 - -If you look at the Tomcat consoles you will see that each server deals with half the requests -as the load is balanced equally between the two of them. - - - - - diff --git a/java/sca-contrib/demos/load-balancing-webapp/build-tomcat.xml b/java/sca-contrib/demos/load-balancing-webapp/build-tomcat.xml deleted file mode 100644 index 7e1dc4b0e9..0000000000 --- a/java/sca-contrib/demos/load-balancing-webapp/build-tomcat.xml +++ /dev/null @@ -1,96 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/demos/load-balancing-webapp/build.xml b/java/sca-contrib/demos/load-balancing-webapp/build.xml deleted file mode 100644 index b84f85616e..0000000000 --- a/java/sca-contrib/demos/load-balancing-webapp/build.xml +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/demos/load-balancing-webapp/pom.xml b/java/sca-contrib/demos/load-balancing-webapp/pom.xml deleted file mode 100644 index cdd6727460..0000000000 --- a/java/sca-contrib/demos/load-balancing-webapp/pom.xml +++ /dev/null @@ -1,349 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - tuscany-demos - 2.0-SNAPSHOT - ../pom.xml - - demo-load-balancing-webapp - war - Apache Tuscany SCA WebApp Load Balancing Demo - A sample SCA application that is deployed as a webapp to a cluster of tomcat servers - - - - org.apache.tuscany.sca - tuscany-host-webapp - 2.0-SNAPSHOT - - - - org.apache.tuscany.sca - tuscany-implementation-java-runtime - 2.0-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-binding-ws-axis2 - 2.0-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-monitor-logging - 2.0-SNAPSHOT - - - - org.apache.tuscany.sca - tuscany-node2-impl - 2.0-SNAPSHOT - - - - tomcat - catalina-balancer - 5.5.12 - - - - javax.servlet - servlet-api - 2.4 - provided - - - - junit - junit - 4.2 - test - - - - - - 8085 - http://127.0.0.1:${http.port} - ${env.CATALINA_HOME} - - - - ${artifactId} - - - - - org.apache.maven.plugins - maven-antrun-plugin - 1.1 - - - - ant - ant-trax - 1.6.5 - - - - - - download-tomcat - validate - - run - - - - - - - - - - - - unpack-tomcat-8086 - generate-resources - - run - - - - - - - - - - - unpack-tomcat-8087 - generate-resources - - run - - - - - - - - - - - - configure-tomcat-8086 - pre-integration-test - - run - - - - - - - - - - - configure-tomcat-8087 - pre-integration-test - - run - - - - - - - - - - - - copy-webapp-8086 - pre-integration-test - - run - - - - - - - - - - - copy-webapp-8087 - pre-integration-test - - run - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/demos/load-balancing-webapp/src/main/java/client/LaunchClient.java b/java/sca-contrib/demos/load-balancing-webapp/src/main/java/client/LaunchClient.java deleted file mode 100644 index 872893945e..0000000000 --- a/java/sca-contrib/demos/load-balancing-webapp/src/main/java/client/LaunchClient.java +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package client; - -import java.io.File; - -import helloworld.HelloWorldService; - -import org.apache.tuscany.sca.node.SCAClient; -import org.apache.tuscany.sca.node.SCANode2; -import org.apache.tuscany.sca.node.SCANode2Factory; -import org.apache.tuscany.sca.node.SCANode2Factory.SCAContribution; -import org.oasisopen.sca.ServiceRuntimeException; - -public class LaunchClient { - public static void main(String[] args) throws Exception { - - SCANode2 node = null; - try { - - SCANode2Factory nodeFactory = SCANode2Factory.newInstance(); - node = nodeFactory.createSCANode(new File("src/main/resources/client-contribution/helloworldwsclient.composite").toURL().toString(), - new SCAContribution("TestContribution", - new File("src/main/resources/client-contribution").toURL().toString())); - - node.start(); - HelloWorldService helloWorldService = ((SCAClient)node).getService(HelloWorldService.class, "HelloWorldClientComponent"); - - - for (int i=0; i < 10; i++){ - System.out.println(helloWorldService.getGreetings("World " + i)); - } - - node.stop(); - - } catch (Exception e) { - throw new ServiceRuntimeException(e); - } - } -} diff --git a/java/sca-contrib/demos/load-balancing-webapp/src/main/java/domain/LaunchDomain.java b/java/sca-contrib/demos/load-balancing-webapp/src/main/java/domain/LaunchDomain.java deleted file mode 100644 index 33c37869a3..0000000000 --- a/java/sca-contrib/demos/load-balancing-webapp/src/main/java/domain/LaunchDomain.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package domain; - -//import org.apache.tuscany.sca.node.launcher.DomainManagerLauncher; - -/** - * This server program that loads a composite to provide simple registry function. - * This server can be replaced with any registry that is appropriate but the components - * in each node that talk to the registry should be replaced also. - */ -public class LaunchDomain { - public static void main(String[] args) throws Exception { - // DomainManagerLauncher.main(args); - } - -} diff --git a/java/sca-contrib/demos/load-balancing-webapp/src/main/java/helloworld/HelloWorldImpl.java b/java/sca-contrib/demos/load-balancing-webapp/src/main/java/helloworld/HelloWorldImpl.java deleted file mode 100644 index 23beb7f933..0000000000 --- a/java/sca-contrib/demos/load-balancing-webapp/src/main/java/helloworld/HelloWorldImpl.java +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package helloworld; - -import org.oasisopen.sca.annotation.Service; - -/** - * This class implements the HelloWorld service. - */ -@Service(HelloWorldService.class) -public class HelloWorldImpl implements HelloWorldService { - - public String getGreetings(String name) { - String message = "Hello " + name; - System.err.println(message); - return message; - } - -} diff --git a/java/sca-contrib/demos/load-balancing-webapp/src/main/java/helloworld/HelloWorldService.java b/java/sca-contrib/demos/load-balancing-webapp/src/main/java/helloworld/HelloWorldService.java deleted file mode 100644 index 513c2e3129..0000000000 --- a/java/sca-contrib/demos/load-balancing-webapp/src/main/java/helloworld/HelloWorldService.java +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package helloworld; - -import org.oasisopen.sca.annotation.Remotable; - -/** - * This is the business interface of the HelloWorld greetings service. - */ -@Remotable -public interface HelloWorldService { - - public String getGreetings(String name); -} - diff --git a/java/sca-contrib/demos/load-balancing-webapp/src/main/java/helloworld/HelloWorldServiceClient.java b/java/sca-contrib/demos/load-balancing-webapp/src/main/java/helloworld/HelloWorldServiceClient.java deleted file mode 100644 index f3d2fdb2ed..0000000000 --- a/java/sca-contrib/demos/load-balancing-webapp/src/main/java/helloworld/HelloWorldServiceClient.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package helloworld; - -/** - * The HelloWorld service implementation - */ -public class HelloWorldServiceClient implements HelloWorldService { - - HelloWorldService helloWorldService; - - public String getGreetings(String name) { - System.out.println("Called getGreetings"); - return helloWorldService.getGreetings(name); - } - - public HelloWorldService getHelloWorldService() { - System.out.println("Got Injected helloWorldService"); - return helloWorldService; - } - - public void setHelloWorldService(HelloWorldService helloWorldService) { - System.out.println("Injected helloWorldService"); - this.helloWorldService = helloWorldService; - } -} \ No newline at end of file diff --git a/java/sca-contrib/demos/load-balancing-webapp/src/main/java/org/apache/tuscany/sca/demos/loadbalancer/rule/RoundRobinRule.java b/java/sca-contrib/demos/load-balancing-webapp/src/main/java/org/apache/tuscany/sca/demos/loadbalancer/rule/RoundRobinRule.java deleted file mode 100644 index 5dc1b6671b..0000000000 --- a/java/sca-contrib/demos/load-balancing-webapp/src/main/java/org/apache/tuscany/sca/demos/loadbalancer/rule/RoundRobinRule.java +++ /dev/null @@ -1,96 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.tuscany.sca.demos.loadbalancer.rule; - -import javax.servlet.http.HttpServletRequest; - -import org.apache.webapp.balancer.rules.BaseRule; - - -public class RoundRobinRule extends BaseRule { - /** - * The number of worker nodes that load will - * be balanced across - */ - private int workerCount; - - private int currentCount = 1; - - - /** - * Sets the worker count. - * - * @param workerCount The worker count - */ - public void setWorkerCount(int workerCount) { - if (workerCount == 0) { - throw new IllegalArgumentException( - "worker count cannot be 0."); - } else { - this.workerCount = workerCount; - } - } - - /** - * Returns the worker count. - * - * @return int The worker count - */ - protected int getWorkerCount() { - return workerCount; - } - - - - /** - * @see org.apache.webapp.balancer.Rule#matches(HttpServletRequest) - */ - public boolean matches(HttpServletRequest request) { - - if (currentCount == workerCount){ - currentCount = 1; - return true; - } else { - currentCount++; - return false; - } - } - - /** - * Returns a String representation of this object. - * - * @return String - */ - public String toString() { - StringBuffer buffer = new StringBuffer(); - - buffer.append("["); - buffer.append(getClass().getName()); - buffer.append(": "); - - buffer.append("Worker count: "); - buffer.append(getWorkerCount()); - buffer.append(" / "); - - buffer.append("Redirect URL: "); - buffer.append(getRedirectUrl()); - - buffer.append("]"); - - return buffer.toString(); - } -} diff --git a/java/sca-contrib/demos/load-balancing-webapp/src/main/resources/client-contribution/helloworldwsclient.composite b/java/sca-contrib/demos/load-balancing-webapp/src/main/resources/client-contribution/helloworldwsclient.composite deleted file mode 100644 index 9b6052741e..0000000000 --- a/java/sca-contrib/demos/load-balancing-webapp/src/main/resources/client-contribution/helloworldwsclient.composite +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - - - - diff --git a/java/sca-contrib/demos/load-balancing-webapp/src/main/webapp/META-INF/sca-contribution.xml b/java/sca-contrib/demos/load-balancing-webapp/src/main/webapp/META-INF/sca-contribution.xml deleted file mode 100644 index 11347004f9..0000000000 --- a/java/sca-contrib/demos/load-balancing-webapp/src/main/webapp/META-INF/sca-contribution.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - \ No newline at end of file diff --git a/java/sca-contrib/demos/load-balancing-webapp/src/main/webapp/META-INF/sca-deployables/helloworldws.composite b/java/sca-contrib/demos/load-balancing-webapp/src/main/webapp/META-INF/sca-deployables/helloworldws.composite deleted file mode 100644 index 1ab78d802d..0000000000 --- a/java/sca-contrib/demos/load-balancing-webapp/src/main/webapp/META-INF/sca-deployables/helloworldws.composite +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - diff --git a/java/sca-contrib/demos/load-balancing-webapp/src/main/webapp/WEB-INF/web.xml b/java/sca-contrib/demos/load-balancing-webapp/src/main/webapp/WEB-INF/web.xml deleted file mode 100644 index 8d47ae2207..0000000000 --- a/java/sca-contrib/demos/load-balancing-webapp/src/main/webapp/WEB-INF/web.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - Apache Tuscany Load Balancing Demo - - - tuscany - org.apache.tuscany.sca.host.webapp.TuscanyServletFilter - - - - tuscany - /* - - - diff --git a/java/sca-contrib/demos/load-balancing-webapp/src/test/resources/apache-80/conf/httpd.conf b/java/sca-contrib/demos/load-balancing-webapp/src/test/resources/apache-80/conf/httpd.conf deleted file mode 100644 index 37cf284d35..0000000000 --- a/java/sca-contrib/demos/load-balancing-webapp/src/test/resources/apache-80/conf/httpd.conf +++ /dev/null @@ -1,28 +0,0 @@ -# Load mod_jk module -# Update this path to match your modules location -LoadModule jk_module modules/mod_jk.so - -# Declare the module for (remove this line on Apache 2.x) -# AddModule mod_jk.c -# Where to find workers.properties -# Update this path to match your conf directory location (put workers.properties next to httpd.conf) -JkWorkersFile conf/workers.properties - -# Where to put jk shared memory -# Update this path to match your local state directory or logs directory -JkShmFile logs/mod_jk.shm - -# Where to put jk logs -# Update this path to match your logs directory location (put mod_jk.log next to access_log) -JkLogFile logs/mod_jk.log - -# Set the jk log level [debug/error/info] -JkLogLevel info - -# Select the timestamp log format -JkLogStampFormat "[%a %b %d %H:%M:%S %Y] " - -# Send everything for context /examples to worker named worker1 (ajp13) -# JkMount /examples/* worker1 -# Send everything for context /* to the router -JkMount /* router diff --git a/java/sca-contrib/demos/load-balancing-webapp/src/test/resources/apache-80/conf/workers.properties b/java/sca-contrib/demos/load-balancing-webapp/src/test/resources/apache-80/conf/workers.properties deleted file mode 100644 index 9228c4fd8e..0000000000 --- a/java/sca-contrib/demos/load-balancing-webapp/src/test/resources/apache-80/conf/workers.properties +++ /dev/null @@ -1,18 +0,0 @@ - # Load balancer looks after the workers - worker.list=router - - # The load balacer - worker.router.type=lb - worker.router.balance_workers=worker1,worker2 - - # Set properties for worker1 (ajp13) - worker.worker1.type=ajp13 - worker.worker1.host=localhost - worker.worker1.port=8010 - worker.worker1.lbfactor=1 - - # Set properties for worker1 (ajp13) - worker.worker2.type=ajp13 - worker.worker2.host=localhost - worker.worker2.port=8011 - worker.worker2.lbfactor=1 diff --git a/java/sca-contrib/demos/load-balancing-webapp/src/test/resources/tomcat-8085/conf/server.xml b/java/sca-contrib/demos/load-balancing-webapp/src/test/resources/tomcat-8085/conf/server.xml deleted file mode 100644 index 920fa7b037..0000000000 --- a/java/sca-contrib/demos/load-balancing-webapp/src/test/resources/tomcat-8085/conf/server.xml +++ /dev/null @@ -1,391 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/demos/load-balancing-webapp/src/test/resources/tomcat-8085/webapps/balancer/WEB-INF/config/rules.xml b/java/sca-contrib/demos/load-balancing-webapp/src/test/resources/tomcat-8085/webapps/balancer/WEB-INF/config/rules.xml deleted file mode 100644 index 7486dc8148..0000000000 --- a/java/sca-contrib/demos/load-balancing-webapp/src/test/resources/tomcat-8085/webapps/balancer/WEB-INF/config/rules.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - diff --git a/java/sca-contrib/demos/load-balancing-webapp/src/test/resources/tomcat-8086/conf/server.xml b/java/sca-contrib/demos/load-balancing-webapp/src/test/resources/tomcat-8086/conf/server.xml deleted file mode 100644 index 5ecb8fe5c4..0000000000 --- a/java/sca-contrib/demos/load-balancing-webapp/src/test/resources/tomcat-8086/conf/server.xml +++ /dev/null @@ -1,391 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/demos/load-balancing-webapp/src/test/resources/tomcat-8087/conf/server.xml b/java/sca-contrib/demos/load-balancing-webapp/src/test/resources/tomcat-8087/conf/server.xml deleted file mode 100644 index f83c68191c..0000000000 --- a/java/sca-contrib/demos/load-balancing-webapp/src/test/resources/tomcat-8087/conf/server.xml +++ /dev/null @@ -1,391 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/demos/mortgage-creditcheck/LICENSE b/java/sca-contrib/demos/mortgage-creditcheck/LICENSE deleted file mode 100644 index 8aa906c321..0000000000 --- a/java/sca-contrib/demos/mortgage-creditcheck/LICENSE +++ /dev/null @@ -1,205 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - - diff --git a/java/sca-contrib/demos/mortgage-creditcheck/NOTICE b/java/sca-contrib/demos/mortgage-creditcheck/NOTICE deleted file mode 100644 index 25bb89c9b2..0000000000 --- a/java/sca-contrib/demos/mortgage-creditcheck/NOTICE +++ /dev/null @@ -1,6 +0,0 @@ -${pom.name} -Copyright (c) 2005 - 2009 The Apache Software Foundation - -This product includes software developed by -The Apache Software Foundation (http://www.apache.org/). - diff --git a/java/sca-contrib/demos/mortgage-creditcheck/README b/java/sca-contrib/demos/mortgage-creditcheck/README deleted file mode 100644 index b785802920..0000000000 --- a/java/sca-contrib/demos/mortgage-creditcheck/README +++ /dev/null @@ -1,6 +0,0 @@ -Mortgage Loan Approval Demo -=========================== -Please refer to the README under mortgage-loanapproval for information on how to run this demo. - -Mortgage-creditcheck is part of a larger demo that is explained there. - diff --git a/java/sca-contrib/demos/mortgage-creditcheck/build.xml b/java/sca-contrib/demos/mortgage-creditcheck/build.xml deleted file mode 100644 index 59f1342276..0000000000 --- a/java/sca-contrib/demos/mortgage-creditcheck/build.xml +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/demos/mortgage-creditcheck/pom.xml b/java/sca-contrib/demos/mortgage-creditcheck/pom.xml deleted file mode 100644 index a5e268812b..0000000000 --- a/java/sca-contrib/demos/mortgage-creditcheck/pom.xml +++ /dev/null @@ -1,75 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - tuscany-demos - 2.0-SNAPSHOT - ../pom.xml - - demo-mortgage-creditcheck - jar - Apache Tuscany SCA Mortgage Credit Check Demo - A sample Mortgage application made of several SCA components wired together. - - - - org.apache.tuscany.sca - tuscany-host-embedded - 2.0-SNAPSHOT - - - - org.apache.tuscany.sca - tuscany-implementation-java-runtime - 2.0-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-binding-ws-axis2 - 2.0-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-host-jetty - 2.0-SNAPSHOT - runtime - - - - junit - junit - 4.5 - test - - - - - - ${artifactId} - - - - diff --git a/java/sca-contrib/demos/mortgage-creditcheck/src/main/java/credit/CreditCheck.java b/java/sca-contrib/demos/mortgage-creditcheck/src/main/java/credit/CreditCheck.java deleted file mode 100644 index 26048de722..0000000000 --- a/java/sca-contrib/demos/mortgage-creditcheck/src/main/java/credit/CreditCheck.java +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package credit; - -import org.oasisopen.sca.annotation.Remotable; - -@Remotable -public interface CreditCheck { - int getCreditScore(String ssn); -} diff --git a/java/sca-contrib/demos/mortgage-creditcheck/src/main/java/credit/CreditCheckImpl.java b/java/sca-contrib/demos/mortgage-creditcheck/src/main/java/credit/CreditCheckImpl.java deleted file mode 100644 index 20a0c5dd7f..0000000000 --- a/java/sca-contrib/demos/mortgage-creditcheck/src/main/java/credit/CreditCheckImpl.java +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package credit; - -import org.oasisopen.sca.annotation.Service; - -/** - * An implementation of the CreditReportService service - */ -@Service(CreditCheck.class) -public class CreditCheckImpl implements CreditCheck { - - public int getCreditScore(String ssn) { - int score = (int)(700 + (Math.random() - 0.5) * 100); - System.out.println("Credit score for " + ssn + ": " + score); - return score; - } -} diff --git a/java/sca-contrib/demos/mortgage-creditcheck/src/main/java/credit/CreditCheckServer.java b/java/sca-contrib/demos/mortgage-creditcheck/src/main/java/credit/CreditCheckServer.java deleted file mode 100644 index 870ea1941d..0000000000 --- a/java/sca-contrib/demos/mortgage-creditcheck/src/main/java/credit/CreditCheckServer.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package credit; - -import org.apache.tuscany.sca.host.embedded.SCADomain; - -/** - * @version $Rev$ $Date$ - */ -public class CreditCheckServer { - public static void main(String[] args) throws Exception { - - System.out.println("Starting the CreditCheck Service..."); - - SCADomain domain = SCADomain.newInstance("http://localhost", "/", "CreditCheck.composite"); - - System.out.println("Press Enter to Exit..."); - System.in.read(); - - domain.close(); - System.out.println("Bye"); - } -} diff --git a/java/sca-contrib/demos/mortgage-creditcheck/src/main/resources/CreditCheck.composite b/java/sca-contrib/demos/mortgage-creditcheck/src/main/resources/CreditCheck.composite deleted file mode 100644 index 5c828f5a39..0000000000 --- a/java/sca-contrib/demos/mortgage-creditcheck/src/main/resources/CreditCheck.composite +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - diff --git a/java/sca-contrib/demos/mortgage-creditcheck/src/main/resources/wsdl/credit.wsdl b/java/sca-contrib/demos/mortgage-creditcheck/src/main/resources/wsdl/credit.wsdl deleted file mode 100644 index 9c2acc96d3..0000000000 --- a/java/sca-contrib/demos/mortgage-creditcheck/src/main/resources/wsdl/credit.wsdl +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/demos/mortgage-creditcheck/src/main/webapp/META-INF/sca-contribution.xml b/java/sca-contrib/demos/mortgage-creditcheck/src/main/webapp/META-INF/sca-contribution.xml deleted file mode 100644 index aea009292a..0000000000 --- a/java/sca-contrib/demos/mortgage-creditcheck/src/main/webapp/META-INF/sca-contribution.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - \ No newline at end of file diff --git a/java/sca-contrib/demos/mortgage-creditcheck/src/main/webapp/WEB-INF/web.xml b/java/sca-contrib/demos/mortgage-creditcheck/src/main/webapp/WEB-INF/web.xml deleted file mode 100644 index d7b2e32dd1..0000000000 --- a/java/sca-contrib/demos/mortgage-creditcheck/src/main/webapp/WEB-INF/web.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - Apache Tuscany Credit Check Demo - - - tuscany - org.apache.tuscany.sca.host.webapp.TuscanyServletFilter - - - - tuscany - /* - - - diff --git a/java/sca-contrib/demos/mortgage-loanapproval/LICENSE b/java/sca-contrib/demos/mortgage-loanapproval/LICENSE deleted file mode 100644 index 8aa906c321..0000000000 --- a/java/sca-contrib/demos/mortgage-loanapproval/LICENSE +++ /dev/null @@ -1,205 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - - diff --git a/java/sca-contrib/demos/mortgage-loanapproval/NOTICE b/java/sca-contrib/demos/mortgage-loanapproval/NOTICE deleted file mode 100644 index 25bb89c9b2..0000000000 --- a/java/sca-contrib/demos/mortgage-loanapproval/NOTICE +++ /dev/null @@ -1,6 +0,0 @@ -${pom.name} -Copyright (c) 2005 - 2009 The Apache Software Foundation - -This product includes software developed by -The Apache Software Foundation (http://www.apache.org/). - diff --git a/java/sca-contrib/demos/mortgage-loanapproval/README b/java/sca-contrib/demos/mortgage-loanapproval/README deleted file mode 100644 index dbf3829a20..0000000000 --- a/java/sca-contrib/demos/mortgage-loanapproval/README +++ /dev/null @@ -1,60 +0,0 @@ -Mortgage Loan Approval Demo -=========================== - -This demo was used as an example in the java developer journal article: http://jdj.sys-con.com/read/325183.htm. - -The demo consists of two modules: - -mortgage-loanapproval: provides the business logic for loan approval. -mortgage-creditcheck: handles credit check requests. This is a java component exposed as a webservice running on the embedded Tomcat. - -Please check mortgage_assembly.png file that is located in this directory for a high level view of the demo. - -Here is what happens when you run the demo. A loan approval request for customer with id 111-222-3333 -gets initiated when mortgage-loanapproval application is run. Depending on what the 'imaginary' credit - status of this person is, the loan gets approved or diapproved. - -You would need two command windows to run mortgage loan approval composite. The order in which the -applications are run is important. Run mortgage-creditcheck first since mortgage-loanapproval is dependent on -it's service. - -In the first command window ---------------------------- -1) go to mortgage-creditcheck directory -2) ant compile -3) ant run -You should see the following displayed: -Buildfile: build.xml - -run: - [java] Starting the CreditCheck Service... - [java] 14-Jan-2008 14:14:20 org.apache.tuscany.sca.http.jetty.JettyServer a -ddServletMapping - [java] INFO: Added Servlet mapping: http://L3AW203:8085/CreditCheckServiceC -omponent - [java] Press Enter to Exit... - -In the second command window ----------------------------- -1) go to mortgage-loanapproval directory -2) ant compile -3) ant run - -If the loan is approved, you will see the following displayed in the command screen where -mortgage-loanapproval is run: - -Buildfile: build.xml -run: - [java] Interest rate for a 30-year loan of $200000.0 in CA: 6.5% - [java] Approved: John Smith[111-22-3333] - -If the loan is disapproved, you will see the following displayed in the command screen where -mortgage-loanapproval is run: - -Buildfile: build.xml -run: - [java] Credit score for 111-22-3333: 708 - [java] Interest rate for a 30-year loan of $200000.0 in CA: 6.5% - [java] Debt/Income ratio 0.2528272093971861 is too high. - [java] Rejected: John Smith[111-22-3333] - diff --git a/java/sca-contrib/demos/mortgage-loanapproval/build.xml b/java/sca-contrib/demos/mortgage-loanapproval/build.xml deleted file mode 100644 index 9a0a83bf1d..0000000000 --- a/java/sca-contrib/demos/mortgage-loanapproval/build.xml +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/demos/mortgage-loanapproval/doc/credit_composite.jpg b/java/sca-contrib/demos/mortgage-loanapproval/doc/credit_composite.jpg deleted file mode 100644 index e28ed63cfb..0000000000 Binary files a/java/sca-contrib/demos/mortgage-loanapproval/doc/credit_composite.jpg and /dev/null differ diff --git a/java/sca-contrib/demos/mortgage-loanapproval/doc/credit_composite.png b/java/sca-contrib/demos/mortgage-loanapproval/doc/credit_composite.png deleted file mode 100644 index 0bfce0078d..0000000000 Binary files a/java/sca-contrib/demos/mortgage-loanapproval/doc/credit_composite.png and /dev/null differ diff --git a/java/sca-contrib/demos/mortgage-loanapproval/doc/loan_approval.jpg b/java/sca-contrib/demos/mortgage-loanapproval/doc/loan_approval.jpg deleted file mode 100644 index 3f00557c7f..0000000000 Binary files a/java/sca-contrib/demos/mortgage-loanapproval/doc/loan_approval.jpg and /dev/null differ diff --git a/java/sca-contrib/demos/mortgage-loanapproval/doc/loan_approval.png b/java/sca-contrib/demos/mortgage-loanapproval/doc/loan_approval.png deleted file mode 100644 index 9d5f829fe5..0000000000 Binary files a/java/sca-contrib/demos/mortgage-loanapproval/doc/loan_approval.png and /dev/null differ diff --git a/java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_assembly0.jpg b/java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_assembly0.jpg deleted file mode 100644 index 515b6ecde7..0000000000 Binary files a/java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_assembly0.jpg and /dev/null differ diff --git a/java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_assembly0.png b/java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_assembly0.png deleted file mode 100644 index 4b815a4b82..0000000000 Binary files a/java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_assembly0.png and /dev/null differ diff --git a/java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_assembly1.jpg b/java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_assembly1.jpg deleted file mode 100644 index 01a7c55a14..0000000000 Binary files a/java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_assembly1.jpg and /dev/null differ diff --git a/java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_assembly1.png b/java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_assembly1.png deleted file mode 100644 index 07422c4f45..0000000000 Binary files a/java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_assembly1.png and /dev/null differ diff --git a/java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_assembly2.jpg b/java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_assembly2.jpg deleted file mode 100644 index 992c048684..0000000000 Binary files a/java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_assembly2.jpg and /dev/null differ diff --git a/java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_assembly2.png b/java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_assembly2.png deleted file mode 100644 index 4667956ed0..0000000000 Binary files a/java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_assembly2.png and /dev/null differ diff --git a/java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_composite.jpg b/java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_composite.jpg deleted file mode 100644 index 5021f6a317..0000000000 Binary files a/java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_composite.jpg and /dev/null differ diff --git a/java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_composite.png b/java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_composite.png deleted file mode 100644 index 1398c50ded..0000000000 Binary files a/java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_composite.png and /dev/null differ diff --git a/java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_diagrams.doc b/java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_diagrams.doc deleted file mode 100644 index 32a0b72907..0000000000 Binary files a/java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_diagrams.doc and /dev/null differ diff --git a/java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_package1.jpg b/java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_package1.jpg deleted file mode 100644 index e91c5f1bbd..0000000000 Binary files a/java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_package1.jpg and /dev/null differ diff --git a/java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_package1.png b/java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_package1.png deleted file mode 100644 index db304a4c28..0000000000 Binary files a/java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_package1.png and /dev/null differ diff --git a/java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_package2.jpg b/java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_package2.jpg deleted file mode 100644 index e8c2865e4a..0000000000 Binary files a/java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_package2.jpg and /dev/null differ diff --git a/java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_package2.png b/java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_package2.png deleted file mode 100644 index 502e538e94..0000000000 Binary files a/java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_package2.png and /dev/null differ diff --git a/java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_scenario.jpg b/java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_scenario.jpg deleted file mode 100644 index fccf2e35c3..0000000000 Binary files a/java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_scenario.jpg and /dev/null differ diff --git a/java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_scenario.png b/java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_scenario.png deleted file mode 100644 index b8f42ad318..0000000000 Binary files a/java/sca-contrib/demos/mortgage-loanapproval/doc/mortgage_scenario.png and /dev/null differ diff --git a/java/sca-contrib/demos/mortgage-loanapproval/mortgage_assembly.png b/java/sca-contrib/demos/mortgage-loanapproval/mortgage_assembly.png deleted file mode 100644 index 4667956ed0..0000000000 Binary files a/java/sca-contrib/demos/mortgage-loanapproval/mortgage_assembly.png and /dev/null differ diff --git a/java/sca-contrib/demos/mortgage-loanapproval/pom.xml b/java/sca-contrib/demos/mortgage-loanapproval/pom.xml deleted file mode 100644 index 2947a59ee9..0000000000 --- a/java/sca-contrib/demos/mortgage-loanapproval/pom.xml +++ /dev/null @@ -1,83 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - tuscany-demos - 2.0-SNAPSHOT - ../pom.xml - - demo-mortgage-loanapproval - jar - Apache Tuscany SCA Mortgage Loan Approval Demo - A sample Mortgage application made of several SCA components wired together. - - - 1.4-SNAPSHOT - - - - - org.apache.tuscany.sca - tuscany-host-embedded - 2.0-SNAPSHOT - - - - org.apache.tuscany.sca - tuscany-implementation-java-runtime - 2.0-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-binding-ws-axis2 - 2.0-SNAPSHOT - runtime - - - org.apache.tuscany.sca - tuscany-implementation-script - 2.0-SNAPSHOT - runtime - - - - - - install - ${artifactId} - - - org.apache.maven.plugins - maven-jar-plugin - - - - mortgage.MortgageClient - - - - - - - diff --git a/java/sca-contrib/demos/mortgage-loanapproval/src/main/java/mortgage/CreditCheck.java b/java/sca-contrib/demos/mortgage-loanapproval/src/main/java/mortgage/CreditCheck.java deleted file mode 100644 index 2d830fdf7a..0000000000 --- a/java/sca-contrib/demos/mortgage-loanapproval/src/main/java/mortgage/CreditCheck.java +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package mortgage; - -import org.oasisopen.sca.annotation.Remotable; - -/** - * CreditCheck interface - */ -@Remotable -public interface CreditCheck { - int getCreditScore(String ssn); -} diff --git a/java/sca-contrib/demos/mortgage-loanapproval/src/main/java/mortgage/CreditCheckImpl.java b/java/sca-contrib/demos/mortgage-loanapproval/src/main/java/mortgage/CreditCheckImpl.java deleted file mode 100644 index 8f85bc7d9c..0000000000 --- a/java/sca-contrib/demos/mortgage-loanapproval/src/main/java/mortgage/CreditCheckImpl.java +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package mortgage; - -import org.oasisopen.sca.annotation.Service; - -/** - * A pojo implementation of the CreditCheck service - */ -@Service(CreditCheck.class) -public class CreditCheckImpl implements CreditCheck { - - public int getCreditScore(String ssn) { - int score = (int)(700 + (Math.random() - 0.5) * 100); - System.out.println("Credit score for " + ssn + ": " + score); - return score; - } -} diff --git a/java/sca-contrib/demos/mortgage-loanapproval/src/main/java/mortgage/Customer.java b/java/sca-contrib/demos/mortgage-loanapproval/src/main/java/mortgage/Customer.java deleted file mode 100644 index 66a486d516..0000000000 --- a/java/sca-contrib/demos/mortgage-loanapproval/src/main/java/mortgage/Customer.java +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package mortgage; - -/** - * A simple Customer object - */ -public class Customer { - private String ssn; - private String firstName; - private String lastName; - private double monthlyIncome; - private String state; - - public double getMonthlyIncome() { - return monthlyIncome; - } - - public void setMonthlyIncome(double monthlyIncome) { - this.monthlyIncome = monthlyIncome; - } - - public String getState() { - return state; - } - - public void setState(String state) { - this.state = state; - } - - public String getFirstName() { - return firstName; - } - - public void setFirstName(String firstName) { - this.firstName = firstName; - } - - public String getLastName() { - return lastName; - } - - public void setLastName(String lastName) { - this.lastName = lastName; - } - - public String getSsn() { - return ssn; - } - - public void setSsn(String ssn) { - this.ssn = ssn; - } - - @Override - public String toString() { - return firstName + " " + lastName + "[" + ssn + "]"; - } -} diff --git a/java/sca-contrib/demos/mortgage-loanapproval/src/main/java/mortgage/InterestRateQuote.java b/java/sca-contrib/demos/mortgage-loanapproval/src/main/java/mortgage/InterestRateQuote.java deleted file mode 100644 index b5bafeb204..0000000000 --- a/java/sca-contrib/demos/mortgage-loanapproval/src/main/java/mortgage/InterestRateQuote.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package mortgage; - -public interface InterestRateQuote { - public float getRate(String state, double loanAmount, int termInYears); -} diff --git a/java/sca-contrib/demos/mortgage-loanapproval/src/main/java/mortgage/InterestRateQuoteImpl.java b/java/sca-contrib/demos/mortgage-loanapproval/src/main/java/mortgage/InterestRateQuoteImpl.java deleted file mode 100644 index e5d7a1f077..0000000000 --- a/java/sca-contrib/demos/mortgage-loanapproval/src/main/java/mortgage/InterestRateQuoteImpl.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package mortgage; - -import org.oasisopen.sca.annotation.Service; - -@Service(InterestRateQuote.class) -public class InterestRateQuoteImpl implements InterestRateQuote { - public float getRate(String state, double loanAmount, int termInYears) { - float rate = 6.0f; - if (termInYears == 5) { - rate = 5.5f; - } else { - rate = 6.5f; - } - System.out.println("Interest rate for a " + termInYears - + "-year loan of $" - + loanAmount - + " in " - + state - + ": " - + rate - + "%"); - return rate; - } -} diff --git a/java/sca-contrib/demos/mortgage-loanapproval/src/main/java/mortgage/LoanApproval.java b/java/sca-contrib/demos/mortgage-loanapproval/src/main/java/mortgage/LoanApproval.java deleted file mode 100644 index dcdad18496..0000000000 --- a/java/sca-contrib/demos/mortgage-loanapproval/src/main/java/mortgage/LoanApproval.java +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package mortgage; - -/** - * Loan Approval interface - */ -public interface LoanApproval { - public boolean approve(Customer customer, double loanAmount, int years); -} diff --git a/java/sca-contrib/demos/mortgage-loanapproval/src/main/java/mortgage/LoanApprovalImpl.java b/java/sca-contrib/demos/mortgage-loanapproval/src/main/java/mortgage/LoanApprovalImpl.java deleted file mode 100644 index f211e1356c..0000000000 --- a/java/sca-contrib/demos/mortgage-loanapproval/src/main/java/mortgage/LoanApprovalImpl.java +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package mortgage; - -import org.oasisopen.sca.annotation.Property; -import org.oasisopen.sca.annotation.Reference; -import org.oasisopen.sca.annotation.Service; - -/** - * An implementation of the LoanApproval service. - */ -@Service(LoanApproval.class) -// Service declaration -public class LoanApprovalImpl implements LoanApproval { - private CreditCheck[] creditCheck; - private MortgageCalculator mortgageCalculator; - private InterestRateQuote interestRateQuote; - - // Reference declaration using a protected or public field - @Reference - public RiskAssessment riskAssessment; - - private int minimumCreditScore = 650; - - // Property declaration using a setter method - @Property(name = "minimumCreditScore") - public void setMinimumCreditScore(int minimumCreditScore) { - this.minimumCreditScore = minimumCreditScore; - } - - // Reference declaration using a setter method - @Reference - public void setCreditCheck(CreditCheck[] creditCheck) { - this.creditCheck = creditCheck; - } - - @Reference - public void setInterestRateQuote(InterestRateQuote interestRateQuote) { - this.interestRateQuote = interestRateQuote; - } - - @Reference - public void setMortgageCalculator(MortgageCalculator mortgageCalculator) { - this.mortgageCalculator = mortgageCalculator; - } - - public boolean approve(Customer customer, double loanAmount, int years) { - int score = 0; - for (int i = 0; i < creditCheck.length; i++) { - score += creditCheck[i].getCreditScore(customer.getSsn()); - } - if (score != 0) { - score = score / creditCheck.length; - } - if (score < minimumCreditScore) { - System.err.println("Credit score " + score + " is below the minimum " + minimumCreditScore + "."); - return false; - } - float rate = interestRateQuote.getRate(customer.getState(), loanAmount, years); - double monthlyPayment = mortgageCalculator.getMonthlyPayment(loanAmount, years, rate); - double ratio = monthlyPayment / customer.getMonthlyIncome(); - boolean approved = riskAssessment.assess(score, ratio); - if (!approved) { - System.err.println("Debt/Income ratio " + ratio + " is too high."); - } - return approved; - } -} diff --git a/java/sca-contrib/demos/mortgage-loanapproval/src/main/java/mortgage/MortgageCalculator.java b/java/sca-contrib/demos/mortgage-loanapproval/src/main/java/mortgage/MortgageCalculator.java deleted file mode 100644 index 350b2c24ea..0000000000 --- a/java/sca-contrib/demos/mortgage-loanapproval/src/main/java/mortgage/MortgageCalculator.java +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package mortgage; - -import org.oasisopen.sca.annotation.Remotable; - -/** - * The Mortgage Calculator service interface. - */ -@Remotable -public interface MortgageCalculator { - public double getMonthlyPayment(double principal, int years, float interestRate); -} diff --git a/java/sca-contrib/demos/mortgage-loanapproval/src/main/java/mortgage/MortgageCalculatorImpl.java b/java/sca-contrib/demos/mortgage-loanapproval/src/main/java/mortgage/MortgageCalculatorImpl.java deleted file mode 100644 index 839e9e098c..0000000000 --- a/java/sca-contrib/demos/mortgage-loanapproval/src/main/java/mortgage/MortgageCalculatorImpl.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package mortgage; - -import org.oasisopen.sca.annotation.Service; - -/** - * An implementation of the Calculator service. - */ -@Service(MortgageCalculator.class) -public class MortgageCalculatorImpl implements MortgageCalculator { - - public double getMonthlyPayment(double principal, int years, float interestRate) { - double monthlyRate = interestRate / 12.0 / 100.0; - double p = Math.pow(1 + monthlyRate, years * 12); - double q = p / (p - 1); - double monthlyPayment = principal * monthlyRate * q; - System.out.println("Monthly payment for a " + years + "-year loan of $" + principal + ": " + monthlyPayment); - return monthlyPayment; - } - -} diff --git a/java/sca-contrib/demos/mortgage-loanapproval/src/main/java/mortgage/MortgageClient.java b/java/sca-contrib/demos/mortgage-loanapproval/src/main/java/mortgage/MortgageClient.java deleted file mode 100644 index d69f0a1163..0000000000 --- a/java/sca-contrib/demos/mortgage-loanapproval/src/main/java/mortgage/MortgageClient.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package mortgage; - -import org.apache.tuscany.sca.host.embedded.SCADomain; - -/** - * This client program to invoke the Mortgage LoanApproval service - */ -public class MortgageClient { - public static void main(String[] args) throws Exception { - - SCADomain domain = SCADomain.newInstance("Mortgage1.composite"); - LoanApproval loanApplication = domain.getService(LoanApproval.class, "LoanApprovalComponent"); - - // Create the customer - Customer customer = new Customer(); - customer.setSsn("111-22-3333"); - customer.setFirstName("John"); - customer.setLastName("Smith"); - customer.setMonthlyIncome(5000.0d); - customer.setState("CA"); - - // Invoke the service - boolean result = loanApplication.approve(customer, 200000d, 30); - System.out.println((result ? "Approved: " : "Rejected: ") + customer); - } -} diff --git a/java/sca-contrib/demos/mortgage-loanapproval/src/main/java/mortgage/RiskAssessment.java b/java/sca-contrib/demos/mortgage-loanapproval/src/main/java/mortgage/RiskAssessment.java deleted file mode 100644 index 23c9589e85..0000000000 --- a/java/sca-contrib/demos/mortgage-loanapproval/src/main/java/mortgage/RiskAssessment.java +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package mortgage; - -/** - * Risk Assessment interface - */ -public interface RiskAssessment { - public boolean assess(int creditScore, double ratio); -} diff --git a/java/sca-contrib/demos/mortgage-loanapproval/src/main/java/mortgage/RiskAssessmentImpl.java b/java/sca-contrib/demos/mortgage-loanapproval/src/main/java/mortgage/RiskAssessmentImpl.java deleted file mode 100644 index 0e88093c61..0000000000 --- a/java/sca-contrib/demos/mortgage-loanapproval/src/main/java/mortgage/RiskAssessmentImpl.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package mortgage; - -import org.oasisopen.sca.annotation.Service; - -/** - * A pojo implementation of RiskAssessment service - */ -@Service(RiskAssessment.class) -public class RiskAssessmentImpl implements RiskAssessment { - public boolean assess(int creditScore, double ratio) { - if (creditScore >= 750) { - return ratio < 0.35; - } else if (creditScore >= 700) { - return ratio < 0.30; - } else { - return ratio < 0.25; - } - } -} diff --git a/java/sca-contrib/demos/mortgage-loanapproval/src/main/resources/Mortgage.composite b/java/sca-contrib/demos/mortgage-loanapproval/src/main/resources/Mortgage.composite deleted file mode 100644 index d1128b9907..0000000000 --- a/java/sca-contrib/demos/mortgage-loanapproval/src/main/resources/Mortgage.composite +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - - 600 - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/demos/mortgage-loanapproval/src/main/resources/Mortgage1.composite b/java/sca-contrib/demos/mortgage-loanapproval/src/main/resources/Mortgage1.composite deleted file mode 100644 index 4cad6c7223..0000000000 --- a/java/sca-contrib/demos/mortgage-loanapproval/src/main/resources/Mortgage1.composite +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - - 600 - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/demos/mortgage-loanapproval/src/main/resources/MortgageCalculator.componentType b/java/sca-contrib/demos/mortgage-loanapproval/src/main/resources/MortgageCalculator.componentType deleted file mode 100644 index bf7b10e0f7..0000000000 --- a/java/sca-contrib/demos/mortgage-loanapproval/src/main/resources/MortgageCalculator.componentType +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - - - diff --git a/java/sca-contrib/demos/mortgage-loanapproval/src/main/resources/MortgageCalculator.js b/java/sca-contrib/demos/mortgage-loanapproval/src/main/resources/MortgageCalculator.js deleted file mode 100644 index b25af1d039..0000000000 --- a/java/sca-contrib/demos/mortgage-loanapproval/src/main/resources/MortgageCalculator.js +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -function getMonthlyPayment(principal, years, interestRate) { - var monthlyRate = interestRate / 12.0 / 100.0; - var p = Math.pow(1 + monthlyRate, years * 12); - var q = p / (p - 1); - var monthlyPayment = principal * monthlyRate * q; - return monthlyPayment; -} diff --git a/java/sca-contrib/demos/mortgage-loanapproval/src/main/resources/wsdl/credit.wsdl b/java/sca-contrib/demos/mortgage-loanapproval/src/main/resources/wsdl/credit.wsdl deleted file mode 100644 index 9c2acc96d3..0000000000 --- a/java/sca-contrib/demos/mortgage-loanapproval/src/main/resources/wsdl/credit.wsdl +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/demos/mortgage-loanapproval/src/test/java/mortgage/MortgageClientTestCase.java b/java/sca-contrib/demos/mortgage-loanapproval/src/test/java/mortgage/MortgageClientTestCase.java deleted file mode 100644 index 285cc72515..0000000000 --- a/java/sca-contrib/demos/mortgage-loanapproval/src/test/java/mortgage/MortgageClientTestCase.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package mortgage; - -import junit.framework.TestCase; - -import org.apache.tuscany.sca.host.embedded.SCADomain; - -/** - * This shows how to test the Calculator service component. - */ -public class MortgageClientTestCase extends TestCase { - private SCADomain domain; - private LoanApproval loanApproval; - - @Override - protected void setUp() throws Exception { - domain = SCADomain.newInstance("Mortgage.composite"); - loanApproval = domain.getService(LoanApproval.class, "LoanApprovalComponent"); - } - - @Override - protected void tearDown() throws Exception { - if (domain != null) { - domain.close(); - } - } - - public void testApprove() throws Exception { - Customer customer = new Customer(); - customer.setSsn("111-22-3333"); - customer.setFirstName("John"); - customer.setLastName("Smith"); - customer.setMonthlyIncome(5000.0d); - customer.setState("CA"); - - boolean approved = loanApproval.approve(customer, 200000d, 30); - System.out.println((approved ? "Approved: " : "Rejected: ") + customer); - } -} diff --git a/java/sca-contrib/demos/pom.xml b/java/sca-contrib/demos/pom.xml deleted file mode 100644 index 9ada7dba1e..0000000000 --- a/java/sca-contrib/demos/pom.xml +++ /dev/null @@ -1,52 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - tuscany-sca - 2.0-SNAPSHOT - ../pom.xml - - tuscany-demos - pom - Apache Tuscany SCA Demos - - - - default - - true - - - alert-aggregator-webapp - bigbank - bigbank-account - bigbank-calculator - bigbank-stockquote - mortgage-creditcheck - mortgage-loanapproval - xml-bigbank - - - - - - diff --git a/java/sca-contrib/demos/workpool-distributed/LICENSE b/java/sca-contrib/demos/workpool-distributed/LICENSE deleted file mode 100644 index 8aa906c321..0000000000 --- a/java/sca-contrib/demos/workpool-distributed/LICENSE +++ /dev/null @@ -1,205 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - - diff --git a/java/sca-contrib/demos/workpool-distributed/NOTICE b/java/sca-contrib/demos/workpool-distributed/NOTICE deleted file mode 100644 index 25bb89c9b2..0000000000 --- a/java/sca-contrib/demos/workpool-distributed/NOTICE +++ /dev/null @@ -1,6 +0,0 @@ -${pom.name} -Copyright (c) 2005 - 2009 The Apache Software Foundation - -This product includes software developed by -The Apache Software Foundation (http://www.apache.org/). - diff --git a/java/sca-contrib/demos/workpool-distributed/build.xml b/java/sca-contrib/demos/workpool-distributed/build.xml deleted file mode 100644 index 9e10e8ec91..0000000000 --- a/java/sca-contrib/demos/workpool-distributed/build.xml +++ /dev/null @@ -1,446 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/demos/workpool-distributed/pom.xml b/java/sca-contrib/demos/workpool-distributed/pom.xml deleted file mode 100644 index 6d441bdfaf..0000000000 --- a/java/sca-contrib/demos/workpool-distributed/pom.xml +++ /dev/null @@ -1,148 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - tuscany-sca - 2.0-SNAPSHOT - ../../pom.xml - - demo-workpool-distributed - Apache Tuscany SCA Distributed Job Workpool Demo - - - - apache.incubator - - http://people.apache.org/repo/m2-incubating-repository - - - - org.drools - http://repository.jboss.com/maven2/org/drools/ - - - - - - org.apache.tuscany.sca - tuscany-host-embedded - 2.0-SNAPSHOT - - - - org.drools - drools - 4.0.4 - - - - antlr - antlr - 2.7.1 - - - commons-daemon - commons-daemon - 1.0.1 - - - - antlr - stringtemplate - 2.3b6 - - - - org.apache.tuscany.sca - tuscany-node-impl - 2.0-SNAPSHOT - - - - org.apache.tuscany.sca - tuscany-domain-impl - 2.0-SNAPSHOT - - - - org.apache.tuscany.sca - tuscany-binding-sca-axis2 - 2.0-SNAPSHOT - - - - org.apache.tuscany.sca - tuscany-binding-jsonrpc-runtime - 2.0-SNAPSHOT - - - - org.apache.tuscany.sca - tuscany-binding-http-runtime - 2.0-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-databinding-job - 2.0-SNAPSHOT - - - org.apache.tuscany.sca - tuscany-contribution-updater - 2.0-SNAPSHOT - - - - org.apache.tuscany.sca - tuscany-databinding-xstream - 2.0-SNAPSHOT - - - - org.apache.tuscany.sca - tuscany-implementation-resource-runtime - 2.0-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-host-tomcat - 2.0-SNAPSHOT - test - - - - junit - junit - 4.2 - test - - - - - - ${artifactId} - - diff --git a/java/sca-contrib/demos/workpool-distributed/src/main/java/node/DomainNode.java b/java/sca-contrib/demos/workpool-distributed/src/main/java/node/DomainNode.java deleted file mode 100644 index a278499aae..0000000000 --- a/java/sca-contrib/demos/workpool-distributed/src/main/java/node/DomainNode.java +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package node; - -import java.io.BufferedReader; -import java.io.IOException; -import java.io.InputStreamReader; - -import org.apache.tuscany.sca.domain.SCADomain; -import org.apache.tuscany.sca.domain.SCADomainFactory; - -/** - * This server program that loads a composite to provide simple registry - * function. This server can be replaced with any registry that is appropriate - * but the components in each node that talk to the registry should be replaced - * also. - */ -public class DomainNode { - - private static String DEFAULT_DOMAIN_URI = "http://u12:8877"; - private boolean stopped = true; - - public static void main(String[] args) { - - try { - - SCADomainFactory domainFactory = SCADomainFactory.newInstance(); - SCADomain domain = domainFactory - .createSCADomain(DEFAULT_DOMAIN_URI); - - System.out.println("Domain started (press enter to shutdown)"); - System.in.read(); - // waitForever(); - domain.destroy(); - } catch (Exception e) { - e.printStackTrace(); - } - - System.out.println("Domain stopped"); - } -} diff --git a/java/sca-contrib/demos/workpool-distributed/src/main/java/node/DomainNodeDaemon.java b/java/sca-contrib/demos/workpool-distributed/src/main/java/node/DomainNodeDaemon.java deleted file mode 100644 index 9d05761ad6..0000000000 --- a/java/sca-contrib/demos/workpool-distributed/src/main/java/node/DomainNodeDaemon.java +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package node; - -import java.io.BufferedReader; -import java.io.IOException; -import java.io.InputStreamReader; - -import org.apache.commons.daemon.Daemon; -import org.apache.commons.daemon.DaemonContext; -import org.apache.tuscany.sca.domain.SCADomain; -import org.apache.tuscany.sca.domain.SCADomainFactory; - -/** - * This server program that loads a composite to provide simple registry - * function. This server can be replaced with any registry that is appropriate - * but the components in each node that talk to the registry should be replaced - * also. - */ -public class DomainNodeDaemon implements Daemon { - - private SCADomain domain; - private static String DEFAULT_DOMAIN_URI = "http://u12:8877"; - private boolean stopped = true; - - private synchronized void waitForever() { - while (!stopped) { - try { - wait(); - } catch (InterruptedException ex) { - stopped = true; - return; - } - } - - } - - public void destroy() { - // TODO Auto-generated method stub - - } - - public void init(DaemonContext arg0) throws Exception { - // TODO Auto-generated method stub - - } - - public void start() throws Exception { - - SCADomainFactory domainFactory = SCADomainFactory.newInstance(); - domain = domainFactory.createSCADomain(DEFAULT_DOMAIN_URI); - - System.out.println("Domain started (press enter to shutdown)"); - waitForever(); - - } - - public void stop() throws Exception { - // TODO Auto-generated method stub - Thread.currentThread().interrupt(); - domain.destroy(); - } -} \ No newline at end of file diff --git a/java/sca-contrib/demos/workpool-distributed/src/main/java/node/TestJob.java b/java/sca-contrib/demos/workpool-distributed/src/main/java/node/TestJob.java deleted file mode 100644 index f48e647bd6..0000000000 --- a/java/sca-contrib/demos/workpool-distributed/src/main/java/node/TestJob.java +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package node; - -import org.apache.tuscany.sca.databinding.job.Job; -import org.apache.tuscany.sca.databinding.job.JobDataMap; -import org.apache.tuscany.sca.databinding.job.JobExecutionContext; -import org.apache.tuscany.sca.databinding.job.RemoteJob; - -import com.thoughtworks.xstream.XStream; -import com.thoughtworks.xstream.io.json.JsonHierarchicalStreamDriver; - -public class TestJob extends RemoteJob implements java.io.Serializable { - private boolean EOS = false; - private Double value; - - public TestJob(Double x, long iterations, int[] items) { - JobDataMap map = new JobDataMap(); - map.addJobData("value", x); - map.addJobData("iterations", iterations); - map.addJobData("items", items); - context.setJobData(map); - } - - public TestJob(Double i, boolean eos) { - value = i; - this.EOS = eos; - } - - public TestJob(String jsonData) { - JobExecutionContext ctxt = new JobExecutionContext(); - ctxt.storeJSONData(jsonData); - } - - public int getType() { - return Job.REGULAR_JOB; - } - - public void setEOS() { - EOS = true; - } - - public boolean eos() { - return EOS; - } - - @Override - public Double compute(JobExecutionContext context) { - JobDataMap contextMap = context.getJobData(); - Long iterations = (Long) contextMap.getJobDataObject("iterations"); - Double value = (Double) contextMap.getJobDataObject("value"); - double x = value.doubleValue(); - System.out.println("Computing sinx for " + value + " for " - + iterations.intValue() + " times"); - long computing_start = System.currentTimeMillis(); - for (long i = 0; i < iterations.longValue(); ++i) { - x = Math.sin(x); - } - long computing_end = System.currentTimeMillis(); - System.out.println("Computing time= " - + (computing_end - computing_start)); - System.out.println("Send result = " + x); - return new Double(x); - } - -} diff --git a/java/sca-contrib/demos/workpool-distributed/src/main/java/node/WorkpoolDaemon.java b/java/sca-contrib/demos/workpool-distributed/src/main/java/node/WorkpoolDaemon.java deleted file mode 100644 index 1f2a4d1f9a..0000000000 --- a/java/sca-contrib/demos/workpool-distributed/src/main/java/node/WorkpoolDaemon.java +++ /dev/null @@ -1,271 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package node; - -import java.io.BufferedInputStream; -import java.io.BufferedReader; -import java.io.File; -import java.io.FileInputStream; -import java.io.FileReader; -import java.io.IOException; -import java.io.InputStreamReader; -import java.util.List; - -import javax.xml.namespace.QName; - -import org.apache.commons.daemon.Daemon; -import org.apache.commons.daemon.DaemonContext; -import org.apache.commons.daemon.DaemonController; -import org.apache.tuscany.sca.assembly.Composite; -import org.apache.tuscany.sca.assembly.Service; -import org.apache.tuscany.sca.contribution.Contribution; -import org.apache.tuscany.sca.contribution.DeployedArtifact; -import org.apache.tuscany.sca.contribution.service.impl.ContributionServiceImpl; -import org.apache.tuscany.sca.domain.SCADomain; -import org.apache.tuscany.sca.node.NodeException; -import org.apache.tuscany.sca.node.NodeManagerInitService; -import org.apache.tuscany.sca.node.SCANode; -import org.apache.tuscany.sca.node.SCANodeFactory; -import org.apache.tuscany.sca.node.impl.SCANodeImpl; -import org.apache.tuscany.sca.node.management.SCANodeManagerInitService; - -import java.net.URI; - -import workpool.WorkerManager; -import workpool.WorkerManagerImpl; -import workpool.WorkpoolManager; -import workpool.WorkpoolService; -import workpool.WorkpoolServiceImpl; - -/** - * This client program shows how to run a distributed SCA node. In this case a - * calculator node has been constructed specifically for running the calculator - * composite. Internally it creates a representation of a node and associates a - * distributed domain with the node. This separation is made different - * implementations of the distributed domain can be provided. - */ -public class WorkpoolDaemon implements Daemon, Runnable { - private String domainName; - private String nodeName; - private long iterations; - private long jobsNo; - private long workerNo; - private SCANode node; - private boolean stopped = false; - private DaemonController controller = null; - private Thread thread = null; - private String ruleFile = "workerRules.drl"; - - /* - * public static void main(String[] args) throws Exception { - * // Check that the correct arguments have been provided if (null == args || - * args.length < 4) { System.err.println("Usage: java WorkpoolNode - * domainname nodename iterTest workerNo"); System.exit(1); } - * - * try { String domainName = args[0]; String nodeName = args[1]; long - * iterations = Long.parseLong(args[2]); long jobsNo = - * Long.parseLong(args[3]); long workerNo = Long.parseLong(args[4]); - * ClassLoader cl = WorkpoolDaemon.class.getClassLoader(); - * - * SCANodeFactory nodeFactory = SCANodeFactory.newInstance(); node = - * nodeFactory.createSCANode(null, domainName); - * node.addContribution(nodeName, cl.getResource(nodeName + "/")); - * node.addToDomainLevelComposite(new QName("http://sample", "Workpool")); - * node.start(); // nodeA is the head node and runs some tests while all - * other nodes // simply listen for incoming messages - * - * FileReader rules = new FileReader("workerRules.drl"); StringBuffer buffer = - * new StringBuffer(); - * - * BufferedReader br = new BufferedReader(rules); String ruleString; do { - * ruleString = br.readLine(); if (ruleString!=null) { - * buffer.append(ruleString);} } while (ruleString!=null); - * - * if ( nodeName.equals("nodeA") ) { // do some application stuff - * WorkpoolService workpoolService = - * node.getDomain().getService(WorkpoolService.class, - * "WorkpoolServiceComponent"); workpoolService.start(); - * NodeManagerInitService nodeInit = - * node.getDomain().getService(NodeManagerInitService.class, - * "WorkpoolManagerComponent/NodeManagerInitService"); - * nodeInit.setNode(node); WorkpoolManager workpoolManager = - * node.getDomain().getService(WorkpoolManager.class, - * "WorkpoolManagerComponent/WorkpoolManager"); - * workpoolManager.setWorkpoolReference(node.getDomain().getServiceReference(WorkpoolService.class, - * "WorkpoolServiceComponent")); - * workpoolManager.acceptRules(buffer.toString()); workpoolManager.start(); - * int items[] = {3,4,5,6,3,6,3,5,9,5,6}; - * - * double x = 398349; for (int i = 0; i < jobsNo; ++i) - * workpoolService.submit(new TestJob(x,iterations,items)); - * - * TestJob j = new TestJob(-1.0,true); for (int i = 0; i < workerNo+1; ++i){ - * j.setEOS(); workpoolService.submit(j); } } try { if - * (nodeName.equals("nodeB")) { NodeManagerInitService serviceNodeB = - * node.getDomain().getService(NodeManagerInitService.class,"WorkerManagerNodeBComponent/NodeManagerInitService"); - * serviceNodeB.setNode(node); } if (nodeName.equals("nodeC")) { - * NodeManagerInitService workerManagerC = - * node.getDomain().getService(NodeManagerInitService.class,"WorkerManagerNodeCComponent/NodeManagerInitService"); - * workerManagerC.setNode(node); } if (nodeName.equals("nodeD")) { - * NodeManagerInitService workerManagerD = - * node.getDomain().getService(NodeManagerInitService.class,"WorkerManagerNodeDComponent/NodeManagerInitService"); - * workerManagerD.setNode(node); } if (nodeName.equals("nodeE")) { - * NodeManagerInitService workerManagerE = - * node.getDomain().getService(NodeManagerInitService.class,"WorkerManagerNodeEComponent/NodeManagerInitService"); - * workerManagerE.setNode(node); } - * - * System.out.println("Node started (press enter to shutdown)"); - * System.in.read(); } catch (IOException e) { e.printStackTrace(); } // - * stop the node and all the domains in it node.stop(); node.destroy(); - * System.exit(0); } catch(Exception ex) { System.err.println("Exception in - * node - " + ex.getMessage()); ex.printStackTrace(System.err); } } - */ - public void destroy() { - // TODO Auto-generated method stub - - } - - public void init(DaemonContext arg0) throws Exception { - String[] args = arg0.getArguments(); - domainName = args[0]; - nodeName = args[1]; - iterations = Long.parseLong(args[2]); - jobsNo = Long.parseLong(args[3]); - workerNo = Long.parseLong(args[4]); - if (args.length == 6) { - ruleFile = args[5]; - } - this.controller = arg0.getController(); - // this.thread=new Thread(this); - } - - public void start() throws Exception { - - ClassLoader cl = WorkpoolDaemon.class.getClassLoader(); - - SCANodeFactory nodeFactory = SCANodeFactory.newInstance(); - node = nodeFactory.createSCANode(null, domainName); - node.addContribution(nodeName, cl.getResource(nodeName + "/")); - node.addToDomainLevelComposite(new QName("http://sample", "Workpool")); - node.start(); - // nodeA is the head node and runs some tests while all other nodes - // simply listen for incoming messages - - FileReader rules = new FileReader(ruleFile); - StringBuffer buffer = new StringBuffer(); - - BufferedReader br = new BufferedReader(rules); - String ruleString; - do { - ruleString = br.readLine(); - if (ruleString != null) { - buffer.append(ruleString + "\n"); - } - } while (ruleString != null); - - if (nodeName.equals("nodeA")) { - // do some application stuff - WorkpoolService workpoolService = node.getDomain().getService( - WorkpoolService.class, "WorkpoolServiceComponent"); - workpoolService.start(); - SCANodeManagerInitService nodeInit = node.getDomain().getService( - SCANodeManagerInitService.class, - "WorkpoolManagerComponent/NodeManagerInitService"); - nodeInit.setNode(node); - WorkpoolManager workpoolManager = node.getDomain().getService( - WorkpoolManager.class, - "WorkpoolManagerComponent/WorkpoolManager"); - workpoolManager.setWorkpoolReference(node.getDomain() - .getServiceReference(WorkpoolService.class, - "WorkpoolServiceComponent")); - workpoolManager.acceptRules(buffer.toString()); - workpoolManager.start(); - - int items[] = { 3, 4, 5, 6, 3, 6, 3, 5, 9, 5, 6 }; - - double x = 398349; - for (int i = 0; i < jobsNo; ++i) { - workpoolService.submit(new TestJob(x, iterations, items)); - } - TestJob j = new TestJob(-1.0, true); - for (int i = 0; i < workerNo + 1; ++i) { - j.setEOS(); - workpoolService.submit(j); - } - - } - if (nodeName.equals("nodeB")) { - SCANodeManagerInitService workerManagerNodeB = node - .getDomain() - .getService(SCANodeManagerInitService.class, - "WorkerManagerNodeBComponent/NodeManagerInitService"); - workerManagerNodeB.setNode(node); - } - - if (nodeName.equals("nodeC")) { - SCANodeManagerInitService workerManagerNodeC = node - .getDomain() - .getService(SCANodeManagerInitService.class, - "WorkerManagerNodeCComponent/NodeManagerInitService"); - workerManagerNodeC.setNode(node); - } - - if (nodeName.equals("nodeD")) { - SCANodeManagerInitService workerManagerNodeD = node - .getDomain() - .getService(SCANodeManagerInitService.class, - "WorkerManagerNodeDComponent/NodeManagerInitService"); - workerManagerNodeD.setNode(node); - } - - if (nodeName.equals("nodeE")) { - SCANodeManagerInitService workerManagerNodeE = node - .getDomain() - .getService(SCANodeManagerInitService.class, - "WorkerManagerNodeEComponent/NodeManagerInitService"); - workerManagerNodeE.setNode(node); - } - - this.waitForever(); - // this.thread.start(); - } - - public void stop() throws Exception { - Thread.currentThread().interrupt(); - // thread.interrupt(); - node.stop(); - node.destroy(); - } - - private synchronized void waitForever() { - while (!stopped) { - try { - wait(); - } catch (InterruptedException ex) { - stopped = true; - return; - } - } - } - - public void run() { - waitForever(); - } -} diff --git a/java/sca-contrib/demos/workpool-distributed/src/main/java/node/WorkpoolNode.java b/java/sca-contrib/demos/workpool-distributed/src/main/java/node/WorkpoolNode.java deleted file mode 100644 index 86557548af..0000000000 --- a/java/sca-contrib/demos/workpool-distributed/src/main/java/node/WorkpoolNode.java +++ /dev/null @@ -1,179 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package node; - -import java.io.BufferedInputStream; -import java.io.BufferedReader; -import java.io.File; -import java.io.FileInputStream; -import java.io.FileReader; -import java.io.IOException; -import java.io.InputStreamReader; -import java.util.List; - -import javax.xml.namespace.QName; - -import org.apache.tuscany.sca.assembly.Composite; -import org.apache.tuscany.sca.assembly.Service; -import org.apache.tuscany.sca.contribution.Contribution; -import org.apache.tuscany.sca.contribution.DeployedArtifact; -import org.apache.tuscany.sca.contribution.service.impl.ContributionServiceImpl; -import org.apache.tuscany.sca.domain.SCADomain; -import org.apache.tuscany.sca.node.NodeManagerInitService; -import org.apache.tuscany.sca.node.SCANode; -import org.apache.tuscany.sca.node.SCANodeFactory; -import org.apache.tuscany.sca.node.impl.SCANodeImpl; -import java.net.URI; - -import workpool.WorkerManager; -import workpool.WorkerManagerImpl; -import workpool.WorkpoolManager; -import workpool.WorkpoolService; -import workpool.WorkpoolServiceImpl; - -/** - * This client program shows how to run a distributed SCA node. In this case a - * calculator node has been constructed specifically for running the calculator - * composite. Internally it creates a representation of a node and associates a - * distributed domain with the node. This separation is made different - * implementations of the distributed domain can be provided. - */ -public class WorkpoolNode { - - public static void main(String[] args) throws Exception { - - // Check that the correct arguments have been provided - if (null == args || args.length < 4) { - System.err - .println("Useage: java WorkpoolNode domainname nodename iterTest workerNo"); - System.exit(1); - } - BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); - String domainName = args[0]; - String nodeName = args[1]; - long iterations = Long.parseLong(args[2]); - long jobsNo = Long.parseLong(args[3]); - long workerNo = Long.parseLong(args[4]); - ClassLoader cl = WorkpoolNode.class.getClassLoader(); - - SCANodeFactory nodeFactory = SCANodeFactory.newInstance(); - SCANode node = nodeFactory.createSCANode(null, domainName); - node.addContribution(nodeName, cl.getResource(nodeName + "/")); - node.addToDomainLevelComposite(new QName("http://sample", "Workpool")); - node.start(); - // nodeA is the head node and runs some tests while all other nodes - // simply listen for incoming messages - - FileReader rules = new FileReader("workerRules.drl"); - StringBuffer buffer = new StringBuffer(); - - BufferedReader br = new BufferedReader(rules); - String ruleString; - do { - ruleString = br.readLine(); - if (ruleString != null) { - buffer.append(ruleString + "\n"); - } - } while (ruleString != null); - - if (nodeName.equals("nodeA")) { - // do some application stuff - WorkpoolService workpoolService = node.getDomain().getService( - WorkpoolService.class, "WorkpoolServiceComponent"); - workpoolService.start(); - NodeManagerInitService nodeInit = node.getDomain().getService( - NodeManagerInitService.class, - "WorkpoolManagerComponent/NodeManagerInitService"); - nodeInit.setNode(node); - WorkpoolManager workpoolManager = node.getDomain().getService( - WorkpoolManager.class, - "WorkpoolManagerComponent/WorkpoolManager"); - workpoolManager.setWorkpoolReference(node.getDomain() - .getServiceReference(WorkpoolService.class, - "WorkpoolServiceComponent")); - workpoolManager.setCycleTime(8000); - workpoolManager.acceptRules(buffer.toString()); - workpoolManager.start(); - int items[] = { 3, 4, 5, 6, 3, 6, 3, 5, 9, 5, 6 }; - - double x = 398349; - - for (int i = 0; i < jobsNo; ++i) - workpoolService.submit(new TestJob(x, iterations, items)); - - TestJob j = new TestJob(-1.0, true); - for (int i = 0; i < workerNo + 1; ++i) { - j.setEOS(); - workpoolService.submit(j); - } - - } - try { - if (nodeName.equals("nodeB")) { - NodeManagerInitService serviceNodeB = node - .getDomain() - .getService(NodeManagerInitService.class, - "WorkerManagerNodeBComponent/NodeManagerInitService"); - serviceNodeB.setNode(node); - } - if (nodeName.equals("nodeC")) { - NodeManagerInitService workerManagerC = node - .getDomain() - .getService(NodeManagerInitService.class, - "WorkerManagerNodeCComponent/NodeManagerInitService"); - workerManagerC.setNode(node); - } - if (nodeName.equals("nodeD")) { - NodeManagerInitService workerManagerD = node - .getDomain() - .getService(NodeManagerInitService.class, - "WorkerManagerNodeDComponent/NodeManagerInitService"); - workerManagerD.setNode(node); - } - if (nodeName.equals("nodeE")) { - NodeManagerInitService workerManagerE = node - .getDomain() - .getService(NodeManagerInitService.class, - "WorkerManagerNodeEComponent/NodeManagerInitService"); - workerManagerE.setNode(node); - } - - System.out.println("Node started (press enter to shutdown)"); - String buff; - for (;;) { - try { - buff = in.readLine(); - if (buff == null) - break; - System.out.print(in.readLine()); - } catch (IOException ex) { - break; // Exit thread. - } - } - // stop the node and all the domains in it - node.stop(); - node.destroy(); - System.exit(0); - } catch (Exception ex) { - System.err.println("Exception in node - " + ex.getMessage()); - ex.printStackTrace(System.err); - } - } -} diff --git a/java/sca-contrib/demos/workpool-distributed/src/main/java/node/workerRules1.drl b/java/sca-contrib/demos/workpool-distributed/src/main/java/node/workerRules1.drl deleted file mode 100644 index 9c5a5d1b7f..0000000000 --- a/java/sca-contrib/demos/workpool-distributed/src/main/java/node/workerRules1.drl +++ /dev/null @@ -1,13 +0,0 @@ -package workpool -import workpool.*; -rule "WorkerAdder1" - when - $workerBean: WorkpoolBean(singleAction == false && (jobComputed > 500)) - then - $workerBean.setSingleAction() - $workerBean.addWorkerToNode("nodeB") - $workerBean.addWorkerToNode("nodeC") - $workerBean.addWorkerToNode("nodeD") - $workerBean.addWorkerToNode("nodeE") -end - \ No newline at end of file diff --git a/java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/MetaComponentWorker.java b/java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/MetaComponentWorker.java deleted file mode 100644 index cdd0f30b34..0000000000 --- a/java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/MetaComponentWorker.java +++ /dev/null @@ -1,85 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package workpool; - -import java.io.StringReader; -import java.net.URI; -import java.security.MessageDigest; -import java.security.NoSuchAlgorithmException; -import java.security.SecureRandom; -import java.util.logging.Logger; - -import javax.xml.stream.XMLInputFactory; -import javax.xml.stream.XMLStreamReader; - -import org.apache.tuscany.sca.assembly.MetaComponent; -import org.apache.tuscany.sca.assembly.impl.DefaultMetaComponent; - -public class MetaComponentWorker extends DefaultMetaComponent { - - private SecureRandom prng; - private String componentName; - private String scdl; - private String javaClass; - private boolean loadedFromString = false; - private Logger log = Logger.getLogger(MetaComponentWorker.class.getName()); - - public MetaComponentWorker() { - componentName = "WorkerComponent" - + java.util.UUID.randomUUID().toString(); - } - - public void setWorkerName(String componentName) { - this.componentName = componentName; - } - - public void setWorkerClass(String javaClass) { - this.javaClass = javaClass; - } - - private String generateSCDL() { - StringBuffer buffer = new StringBuffer(512); - buffer - .append("\n"); - buffer.append(""); - buffer.append(""); - buffer.append(this.componentName); - buffer.append("\n"); - return buffer.toString(); - } - - @Override - public XMLStreamReader build() throws Exception { - XMLInputFactory factory = XMLInputFactory.newInstance(); - if (!loadedFromString) - scdl = generateSCDL(); - return factory.createXMLStreamReader(new StringReader(scdl)); - - } - - public String getName() { - - return componentName; - } - -} diff --git a/java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/MyWorker.java b/java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/MyWorker.java deleted file mode 100644 index 3d4df38c95..0000000000 --- a/java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/MyWorker.java +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package workpool; - -import org.apache.tuscany.sca.core.context.CallableReferenceImpl; -import org.apache.tuscany.sca.databinding.job.Job; -import org.apache.tuscany.sca.databinding.job.JobDataMap; -import org.apache.tuscany.sca.databinding.job.JobExecutionContext; -import org.apache.tuscany.sca.databinding.job.RemoteJob; -import org.oasisopen.sca.annotation.Scope; - -@Scope("COMPOSITE") -public class MyWorker extends WorkerServiceImpl { - private static int resultcount = 0; - - @Override - public ResultJob computeTask(Job job) { - - RemoteJob remoteJob = (RemoteJob) job; - System.out.println("Computing the job"); - JobExecutionContext context = remoteJob.getContext(); - ResultJob resultJob = new ResultJob(); - JobDataMap resultMap = new JobDataMap(); - resultMap.addJobData("result", remoteJob.compute(context)); - resultJob.setJobDataMap(resultMap); - System.out.println("Count result = " + (++resultcount)); - return resultJob; - } - -} diff --git a/java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/NullJob.java b/java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/NullJob.java deleted file mode 100644 index fb930adf2e..0000000000 --- a/java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/NullJob.java +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package workpool; - -import org.apache.tuscany.sca.databinding.job.Job; -import org.apache.tuscany.sca.databinding.job.JobDataMap; - -public class NullJob implements Job, java.io.Serializable { - - public Object compute(Object arg0) { - // TODO Auto-generated method stub - return null; - } - - public JobDataMap getDataMap() { - return null; - } - - public boolean eos() { - return false; - } - - public int getType() { - return Job.NULL_JOB; - } - -} diff --git a/java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/ResultJob.java b/java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/ResultJob.java deleted file mode 100644 index e04411668b..0000000000 --- a/java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/ResultJob.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package workpool; - -import org.apache.tuscany.sca.databinding.job.Job; -import org.apache.tuscany.sca.databinding.job.JobDataMap; -import org.apache.tuscany.sca.databinding.job.JobExecutionContext; -import org.apache.tuscany.sca.databinding.job.RemoteJob; - -public class ResultJob extends RemoteJob implements - java.io.Serializable { - private JobDataMap map; - - public JobDataMap getDataMap() { - return map; - } - - public void setJobDataMap(JobDataMap map) { - this.map = map; - } - - public boolean eos() { - // TODO Auto-generated method stub - return true; - } - - public int getType() { - // TODO Auto-generated method stub - return Job.RESULT_JOB; - } - - @Override - public Object compute(JobExecutionContext v) { - // TODO Auto-generated method stub - return null; - } - -} diff --git a/java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/Trigger.java b/java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/Trigger.java deleted file mode 100644 index 52703d6954..0000000000 --- a/java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/Trigger.java +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package workpool; - -import org.apache.tuscany.sca.databinding.annotation.DataBinding; -import org.apache.tuscany.sca.databinding.job.Job; -import org.oasisopen.sca.annotation.Remotable; - -@Remotable -@DataBinding("org.apache.tuscany.sca.databinding.job.Job") -public interface Trigger { - void handleEvent(T c); -} diff --git a/java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/WorkerManager.java b/java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/WorkerManager.java deleted file mode 100644 index d2b306cbd5..0000000000 --- a/java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/WorkerManager.java +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package workpool; -import org.oasisopen.sca.annotation.Remotable; -import org.oasisopen.sca.CallableReference; -@Remotable -public interface WorkerManager { - CallableReference addWorker(); - boolean removeWorker(String workerName); - boolean removeWorkers(int k); - boolean removeAllWorkers(); - double getNodeLoad(); - int activeWorkers(); - void start(); -} diff --git a/java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/WorkerManagerImpl.java b/java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/WorkerManagerImpl.java deleted file mode 100644 index 9660a6c2b2..0000000000 --- a/java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/WorkerManagerImpl.java +++ /dev/null @@ -1,213 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package workpool; - -import java.io.FileNotFoundException; -import java.io.IOException; -import java.io.RandomAccessFile; -import java.util.List; -import java.util.logging.Logger; - -import org.apache.tuscany.sca.assembly.Composite; -import org.apache.tuscany.sca.contribution.Contribution; -import org.apache.tuscany.sca.contribution.DeployedArtifact; -import org.apache.tuscany.sca.contribution.service.impl.ContributionServiceImpl; -import org.oasisopen.sca.CallableReference; -import org.apache.tuscany.sca.node.management.SCANodeManagerInitService; -import org.apache.tuscany.sca.node.SCANode; -import org.apache.tuscany.sca.node.impl.SCANodeImpl; -import org.apache.tuscany.sca.runtime.RuntimeComponent; -import org.oasisopen.sca.ComponentContext; -import org.oasisopen.sca.annotation.Context; -import org.oasisopen.sca.annotation.Property; -import org.oasisopen.sca.annotation.Scope; -import org.oasisopen.sca.annotation.Service; -import java.util.LinkedList; -import java.util.ArrayList; - -@Scope("COMPOSITE") -@Service(interfaces = { SCANodeManagerInitService.class, WorkerManager.class }) -public class WorkerManagerImpl implements WorkerManager, SCANodeManagerInitService { - private Logger log = Logger.getLogger(WorkerManagerImpl.class.getName()); - private LinkedList> activeWorkers = new LinkedList>(); - private List workerComponentNames = new ArrayList(); - private SCANodeImpl node; - @Property - protected String nodeName; - @Property - protected String compositeName; - @Property - protected String workerClass; - @Context - protected ComponentContext context; - private double loadAverage; - - /* This method is used to find a composite inside all deployed artifacts */ - private Composite findComposite(List artifacts) { - for (Composite fact : artifacts) { - log.info("Searching in a contribution deployed artifacts -" - + compositeName); - Composite augmented = (Composite) fact; - // found - if (augmented.getURI().equals(compositeName)) { - log.info("Found composite..." + compositeName); - return augmented; - } - } - } - return null; - } - - public CallableReference addWorker() { - log.info("Adding a new worker call.."); - long addWorkerStartTime = System.nanoTime(); - ContributionServiceImpl cServiceImpl = (ContributionServiceImpl) node.getContributionService(); - Contribution contribution = cServiceImpl.getContribution(nodeName); - List artifacts = contribution.getDeployables(); - CallableReference workerReference = null; - CallableReference ref = null; - log.info("Creating a MetaComponentWorker.."); - MetaComponentWorker mcw = new MetaComponentWorker(); - boolean found = false; - mcw.setWorkerClass(workerClass); - Composite augmented = findComposite(artifacts); - try { - if (augmented != null) { - long startCreation = System.nanoTime(); - node.addComponentToComposite(mcw, contribution.getURI(), - augmented.getURI()); - System.out.println("addComponentToComposite time = " - + (System.nanoTime() - startCreation)); - RuntimeComponent workerComponent = (RuntimeComponent) node - .getComponent(mcw.getName()); - if (workerComponent != null) { - ref = (CallableReference) workerComponent - .getComponentContext().createSelfReference( - WorkerService.class); - ref.getService().start(); - activeWorkers.addLast(ref); - workerComponentNames.add(mcw.getName()); - CallableReference manager = (CallableReference) context - .createSelfReference(WorkerManager.class, - "WorkerManager"); - ref.getService().registerManager(manager); - return ref; - } - } else { - log.info("Workpool composite not found!"); - } - } catch (Exception e) { - log.info("Exception activation"); - e.printStackTrace(); - } - ; - System.out.println("Component Creation Time =" - + (System.nanoTime() - addWorkerStartTime)); - return ref; - } - - public boolean removeAllWorkers() { - for (CallableReference callable : activeWorkers) { - callable.getService().stop(); - } - return true; - } - - public boolean removeWorker() { - CallableReference callable = activeWorkers - .removeLast(); - callable.getService().stop(); - return true; - } - - public boolean removeWorkers(int k) { - if (k >= activeWorkers.size()) - return false; - for (int i = 0; i < k; ++i) { - if (!removeWorker()) - return false; - } - return true; - } - - public void setNode(SCANode node) { - this.node = (SCANodeImpl) node; - - } - - public double getNodeLoad() { - /* - * FIXME [jo] this works only on Linux To be replaced with an JNI - * extension - */ - RandomAccessFile statfile; - - this.loadAverage = 1.0; - // load = 0; - int NoProcessors = 0; - String cpuLine = null; - try { - NoProcessors = Runtime.getRuntime().availableProcessors(); - if (NoProcessors > 1) - this.loadAverage = 1 / (1.0 * NoProcessors); - statfile = new RandomAccessFile("/proc/loadavg", "r"); - try { - statfile.seek(0); - cpuLine = statfile.readLine(); - - } catch (IOException e) { - // FIX ME: Better exception handling. - e.printStackTrace(); - } - } catch (FileNotFoundException e) { - e.printStackTrace(); - } catch (NumberFormatException e) { - e.printStackTrace(); - } - double min1; - if (cpuLine != null) { - java.util.StringTokenizer st = new java.util.StringTokenizer( - cpuLine, " "); - min1 = Double.parseDouble(st.nextToken()); - } else - min1 = 0; - - return min1 * this.loadAverage; - } - - public int activeWorkers() { - return activeWorkers.size(); - } - - public boolean removeWorker(String workerName) { - RuntimeComponent workerComponent = (RuntimeComponent) node - .getComponent(workerName); - if (workerComponent != null) { - log.info("Removing component " + workerName); - node.removeComponentFromComposite(nodeName, "Workpool.composite", - workerName); - return true; - } - return false; - } - - public void start() { - // do nothing for now. - } -} diff --git a/java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/WorkerService.java b/java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/WorkerService.java deleted file mode 100644 index 3f702db369..0000000000 --- a/java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/WorkerService.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package workpool; - -import org.oasisopen.sca.ServiceReference; -import org.oasisopen.sca.annotation.Callback; -import org.oasisopen.sca.annotation.Remotable; -import org.oasisopen.sca.annotation.OneWay; -import org.apache.tuscany.sca.core.context.CallableReferenceImpl; -import org.apache.tuscany.sca.databinding.annotation.DataBinding; -import org.apache.tuscany.sca.databinding.job.Job; - -/** - * The interface for the multiply service - */ -@Remotable -@Callback(WorkerServiceCallback.class) -@DataBinding("org.apache.tuscany.sca.databinding.job.Job") -public interface WorkerService { - @OneWay - void compute(Job j); - - void start(); - - void stop(); - - // void addJobCompleteHandler(String triggerName, - // CallableReferenceImpl handle); - // void removeJobCompleteHandler(String triggerName); - /* The worker manager */ - void registerManager(CallableReferenceImpl wm); - - void registerSender(CallableReferenceImpl sender); - - // void init(Job nullJob); - @OneWay - void computeFirstTime(Job nullJob, - CallableReferenceImpl myReference); - -} diff --git a/java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/WorkerServiceCallback.java b/java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/WorkerServiceCallback.java deleted file mode 100644 index 22cfc38ff4..0000000000 --- a/java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/WorkerServiceCallback.java +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package workpool; - -import org.apache.tuscany.sca.databinding.job.Job; -import org.oasisopen.sca.annotation.Remotable; - -@Remotable -public interface WorkerServiceCallback { - void receiveResult(Job resultType, boolean reuse, String workerName); -} diff --git a/java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/WorkerServiceImpl.java b/java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/WorkerServiceImpl.java deleted file mode 100644 index c38b27a6cf..0000000000 --- a/java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/WorkerServiceImpl.java +++ /dev/null @@ -1,171 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package workpool; - -import org.oasisopen.sca.ComponentContext; -import org.oasisopen.sca.RequestContext; -import org.oasisopen.sca.ServiceReference; -import org.oasisopen.sca.annotation.Callback; -import org.oasisopen.sca.annotation.Context; -import org.oasisopen.sca.annotation.Property; -import org.oasisopen.sca.annotation.Scope; -import org.oasisopen.sca.annotation.Service; -import org.apache.tuscany.sca.core.context.CallableReferenceImpl; -import org.apache.tuscany.sca.databinding.annotation.DataBinding; -import org.apache.tuscany.sca.databinding.job.Job; - -import java.util.HashMap; -import java.util.Map; -import java.util.logging.*; - -/** - * An implementation of the worker service. - */ -@Service(WorkerService.class) -@DataBinding("org.apache.tuscany.sca.databinding.job.Job") -@Scope("COMPOSITE") -public abstract class WorkerServiceImpl implements WorkerService { - private Logger log = Logger.getLogger(this.getClass().getName()); - private WorkerServiceCallback workerServiceCallback; - @Context - protected ComponentContext workerContext; - @Context - protected RequestContext requestContext; - @Property - protected String workerName; - private CallableReferenceImpl managerReference = null; - - /* TODO add the triggers, but before ask */ - // protected Map triggers = new HashMap(); - public abstract ResultJob computeTask(Job job); - - private boolean stopped = false; - private CallableReferenceImpl serviceRef; - private CallableReferenceImpl senderService; - private WorkpoolService wp = null; - private WorkerManager manager = null; - - public void start() { - log.info("Starting worker..."); - stopped = false; - serviceRef = (CallableReferenceImpl) workerContext - .createSelfReference(WorkerService.class); - - } - - public void init(CallableReferenceImpl sender, Job nullJob) { - compute(nullJob); - } - - public void stop() { - stopped = true; - } - - @Callback - public void setWorkerServiceCallback( - WorkerServiceCallback workerServiceCallback) { - log.info("Setting worker callback"); - this.workerServiceCallback = workerServiceCallback; - } - - public void computeFirstTime(Job nullJob, - CallableReferenceImpl sender) { - senderService = sender; - wp = sender.getService(); - workWithCallable(nullJob); - } - - public void registerManager(CallableReferenceImpl wm) { - managerReference = wm; - manager = managerReference.getService(); - - } - - public void registerSender(CallableReferenceImpl sender) { - log.info("Registering sender.."); - senderService = sender; - wp = sender.getService(); - } - - private void workWithInjection(Job j) { - log.info("Worker has received job"); - if (stopped) { - workerServiceCallback - .receiveResult(j, true, workerContext.getURI()); - if (managerReference != null) - manager.removeWorker(workerContext.getURI()); - } else if (j.eos()) { - if (managerReference != null) - manager.removeWorker(workerContext.getURI()); - } - if (j instanceof NullJob) { - workerServiceCallback.receiveResult(j, false, workerContext - .getURI()); - } else { - workerServiceCallback.receiveResult(computeTask(j), false, - workerContext.getURI()); - } - } - - private void workWithCallable(Job j) { - log.info("Worker " + workerContext.getURI() - + " has received job with eos --> " + j.eos()); - if (stopped) { - wp.handleResult(j, true, workerContext.getURI(), serviceRef, false); - return; - } - if (j.eos()) { - log.info("Got poison token..."); - if (managerReference != null) { - log.info("Removing component " + workerContext.getURI()); - manager.removeWorker(workerContext.getURI()); - - } - return; - } - if (j.getType() != Job.NULL_JOB) { - wp.handleResult(computeTask(j), false, workerContext.getURI(), - serviceRef, false); - } else { - log.info("Got a null job"); - wp.handleResult(j, false, workerContext.getURI(), serviceRef, true); - } - } - - public void compute(Job j) { - - if (senderService != null) { - log.info("Computing job using callable reference method"); - workWithCallable(j); - - } else { - log.info("Computing job using reference injection method"); - workWithInjection(j); - - } - } - /* - * public void addJobCompleteHandler(String triggerName, - * CallableReferenceImpl handle) { if - * (!triggers.containsKey(triggerName)) { triggers.put(triggerName, - * handle.getService()); } } public void removeJobCompleteHandler(String - * triggerName) { if (!triggers.containsKey(triggerName)) { - * triggers.remove(triggerName); } } - */ -} diff --git a/java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/WorkpoolBean.java b/java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/WorkpoolBean.java deleted file mode 100644 index 80c093ff1c..0000000000 --- a/java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/WorkpoolBean.java +++ /dev/null @@ -1,162 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package workpool; - -import java.beans.*; -import java.util.Vector; -import java.util.logging.*; - -public class WorkpoolBean { - private Vector listeners = new Vector(); - double loadAverage = 0; - int nodeNumbers = 0; - int workers = 0; - int estimedQueueSize = 0; - double averageServiceTime = 0; - double averageArrivalTime = 0; - double usageFactor = 0; - private final PropertyChangeSupport changes = new PropertyChangeSupport( - this); - long jobComputed = 0; - boolean singleAction = false; - private Logger log = Logger.getLogger(WorkpoolBean.class.getName()); - - public void setNodeNumbers(int n) { - this.nodeNumbers = n; - } - - public void setWorkers(int w) { - this.workers = w; - } - - public void setLoadAverage(double loadAverage) { - this.loadAverage = loadAverage; - } - - public void setAverageServiceTime(double service) { - this.averageServiceTime = service; - } - - public void setAverageArrivalTime(double service) { - this.averageArrivalTime = service; - } - - public double getAverageArrivalTime() { - return this.averageArrivalTime; - } - - public double getUtilizationFactor() { - return usageFactor; - } - - public void setUsageFactor() { - usageFactor = averageServiceTime / averageArrivalTime; - } - - public void setEstimedQueueSize(int size) { - estimedQueueSize = size; - } - - public int getEstimedQueueSize() { - return estimedQueueSize; - } - - public double getLoadAverage() { - return this.loadAverage; - } - - public int getWorkers() { - return this.workers; - } - - public int getNodeNumbers() { - return this.nodeNumbers; - } - - public double getAverageServiceTime() { - return this.averageServiceTime; - } - - public void addPropertyChangeListener(final PropertyChangeListener l) { - this.changes.addPropertyChangeListener(l); - } - - public void removePropertyChangeListener(final PropertyChangeListener l) { - this.changes.removePropertyChangeListener(l); - } - - private synchronized void fireWorkpoolEvent(WorkpoolEvent ev) { - for (WorkpoolBeanListener l : listeners) { - l.handleEvent(new WorkpoolEvent(ev)); - } - } - - public void addWorkersToNode(int k, String nodeName) { - log.info("Adding a worker to node " + nodeName); - WorkpoolEvent ev = new WorkpoolEvent(this, - WorkpoolEvent.EVENT_MULTIPLE_ADD_WORKER, k, nodeName); - fireWorkpoolEvent(ev); - } - - public void addWorkerToNode(String nodeName) { - log.info("Adding a worker to node " + nodeName); - WorkpoolEvent ev = new WorkpoolEvent(this, - WorkpoolEvent.SINGLE_ADD_WORKER, 1, nodeName); - fireWorkpoolEvent(ev); - } - - public void removeWorkersToNode(int k, String nodeName) { - log.info("Removing a worker to node " + nodeName); - WorkpoolEvent ev = new WorkpoolEvent(this, - WorkpoolEvent.EVENT_MULTIPLE_REMOVE_WORKER, k, nodeName); - fireWorkpoolEvent(ev); - } - - public void removeWorkerToNode(String nodeName) { - log.info("Removing a worker to node " + nodeName); - WorkpoolEvent ev = new WorkpoolEvent(this, - WorkpoolEvent.SINGLE_REMOVE_WORKER, 1, nodeName); - fireWorkpoolEvent(ev); - } - - public synchronized void addListener(WorkpoolBeanListener l) { - this.listeners.add(l); - } - - public synchronized void removeListener(WorkpoolBeanListener l) { - this.listeners.remove(l); - } - - public void setJobComputed(long jobComputed) { - this.jobComputed = jobComputed; - - } - - public void setSingleAction() { - singleAction = true; - } - - public boolean getSingleAction() { - return singleAction; - } - - public long getJobComputed() { - return this.jobComputed; - } -} diff --git a/java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/WorkpoolBeanListener.java b/java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/WorkpoolBeanListener.java deleted file mode 100644 index 0ecc223fed..0000000000 --- a/java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/WorkpoolBeanListener.java +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package workpool; - -import java.util.EventListener; - -public interface WorkpoolBeanListener extends EventListener { - public void handleEvent(WorkpoolEvent ev); -} diff --git a/java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/WorkpoolEvent.java b/java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/WorkpoolEvent.java deleted file mode 100644 index 0bdc3671d5..0000000000 --- a/java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/WorkpoolEvent.java +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package workpool; - -import java.util.EventObject; - -public class WorkpoolEvent extends EventObject { - - private static final long serialVersionUID = -1273928009411948768L; - - public WorkpoolEvent(Object source) { - super(source); - } - - public WorkpoolEvent(WorkpoolEvent ev) { - super(ev.source); - type = ev.type; - noWorker = ev.noWorker; - nodeName = ev.nodeName; - } - - public WorkpoolEvent(Object source, int typeEv, int worker) { - super(source); - type = typeEv; - noWorker = worker; - nodeName = ""; - } - - public WorkpoolEvent(Object source, int typeEv, int worker, String nodeName) { - super(source); - type = typeEv; - noWorker = worker; - this.nodeName = nodeName; - } - - public String getNodeName() { - return nodeName; - } - - public int getType() { - return type; - } - - public int workers() { - return noWorker; - } - - private int type; - private int noWorker; - private String nodeName; - public static final int EVENT_MULTIPLE_ADD_WORKER = 0; - public static final int EVENT_MULTIPLE_REMOVE_WORKER = 1; - public static final int SINGLE_REMOVE_WORKER = 2; - public static final int SINGLE_ADD_WORKER = 3; -} diff --git a/java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/WorkpoolManager.java b/java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/WorkpoolManager.java deleted file mode 100644 index 46fbda7998..0000000000 --- a/java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/WorkpoolManager.java +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package workpool; - -import org.oasisopen.sca.ServiceReference; -import org.oasisopen.sca.annotation.OneWay; -import org.oasisopen.sca.annotation.Remotable; - -@Remotable -public interface WorkpoolManager { - /* - * @param String rules This are the autonomic rules. The format is the Java - * Drools .drl file. You have to read it - */ - @OneWay - void acceptRules(String rules); - - @OneWay - void start(); - - @OneWay - void stopAutonomicCycle(); - - @OneWay - void startAutonomicCycle(); - - int activeWorkers(); - - void setCycleTime(long time); - - void setWorkpoolReference(ServiceReference serviceReference); -} diff --git a/java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/WorkpoolManagerImpl.java b/java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/WorkpoolManagerImpl.java deleted file mode 100644 index cf353fb3fe..0000000000 --- a/java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/WorkpoolManagerImpl.java +++ /dev/null @@ -1,555 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package workpool; - -import org.oasisopen.sca.ComponentContext; -import org.oasisopen.sca.ServiceReference; -import java.util.Collections; -import java.util.Enumeration; -import java.io.IOException; -import java.io.StringReader; -import java.io.StringWriter; -import java.util.Collection; -import java.util.Iterator; -import java.util.Timer; -import java.util.TimerTask; -import java.util.logging.Logger; - -import javax.xml.stream.XMLStreamException; - -import node.TestJob; -import java.io.File; -import java.util.Vector; -import org.apache.axiom.om.OMElement; -import org.apache.tuscany.sca.contribution.service.ContributionResolveException; -import org.apache.tuscany.sca.core.context.CallableReferenceImpl; -import org.apache.tuscany.sca.core.context.ServiceReferenceImpl; -import org.apache.tuscany.sca.databinding.job.Job; -import org.apache.tuscany.sca.node.NodeManagerInitService; -import org.apache.tuscany.sca.node.SCANode; -import org.apache.tuscany.sca.node.impl.SCANodeImpl; -import org.oasisopen.sca.CallableReference; -import org.drools.FactHandle; -import org.drools.RuleBase; -import org.drools.RuleBaseFactory; -import org.drools.StatefulSession; -import org.drools.StatelessSession; -import org.drools.compiler.DroolsParserException; -import org.drools.compiler.PackageBuilder; -import org.drools.rule.Package; -import org.oasisopen.sca.annotation.Constructor; -import org.oasisopen.sca.annotation.Context; -import org.oasisopen.sca.annotation.Destroy; -import org.oasisopen.sca.annotation.Property; -import org.oasisopen.sca.annotation.Reference; -import org.oasisopen.sca.annotation.Scope; -import org.oasisopen.sca.annotation.Service; -import java.util.concurrent.ConcurrentHashMap; -import java.util.concurrent.atomic.AtomicInteger; -import java.util.concurrent.locks.ReentrantLock; - -@Service(interfaces = { NodeManagerInitService.class, WorkpoolManager.class }) -@Scope("COMPOSITE") -/* - * This is the core manager of the workpool application. The Workpool Manager - * holds the reference to each remote node manager. Inside it we've a rule - * engine instance. - */ -public class WorkpoolManagerImpl implements WorkpoolManager, - NodeManagerInitService, WorkpoolBeanListener { - /* - * This inner class trigs the rule engine, at given times: 1. It checks the - * different loads for each nodes and sets the WorkpoolBean 2. It checks the - * Workpool AverageService Time and sets the WorkpoolBean 3. It checks how - * many jobs are already computed and sets the WorkpoolBean Then given the - * configured bean and the rules, run the Rule Engine for executing the - * business logic - */ - class RuleEngineTrigger extends TimerTask { - // private ReentrantLock triggerLock = new ReentrantLock(); - @Override - public void run() { - - System.out.println("Updating WorkpoolBean.."); - // checkActiveWorkers(); - // checkLoadInNodes(); - checkServiceTime(); - // checkEstimedQueueSize(); - // checkArrivalTime(); - getProcessedItem(); - // computeUsageFactor(); - doRun(bean); - } - - } - - private WorkerManager managerNodeB; - private WorkerManager managerNodeC; - private WorkerManager managerNodeD; - private WorkerManager managerNodeE; - - private SCANodeImpl node; - private WorkpoolBean bean = new WorkpoolBean(); - private ReentrantLock handleEventLock = new ReentrantLock(); - private ReentrantLock updateRuleLock = new ReentrantLock(); - - private ServiceReference reference; - private AtomicInteger activeWorkers = new AtomicInteger(0); - private Logger log = Logger.getLogger(WorkpoolManagerImpl.class.getName()); - @Property - protected String workers; - @Property - protected String nodes; - @Property - protected String injection; - @Context - protected ComponentContext workpoolManagerContext; - private CallableReferenceImpl myReference; - private String rules = null; - private boolean referenceInjection = false; - private ConcurrentHashMap workerManagerTable = new ConcurrentHashMap(); - private int workersNo; - private int nodesNo; - private Timer timer = new Timer(); - /* this handle facts */ - private RuleBase ruleBase = null; - private FactHandle handle = null; - private StatefulSession wm = null; - private long cycleTime = 5000; - - @Reference - public void setManagerNodeB(WorkerManager managerNodeB) { - this.managerNodeB = managerNodeB; - workerManagerTable.put("nodeB", managerNodeB); - } - - @Reference - public void setManagerNodeC(WorkerManager managerNodeC) { - this.managerNodeC = managerNodeC; - workerManagerTable.put("nodeC", managerNodeC); - } - - @Reference - public void setManagerNodeD(WorkerManager managerNodeD) { - this.managerNodeD = managerNodeD; - workerManagerTable.put("nodeD", managerNodeD); - } - - @Reference - public void setManagerNodeE(WorkerManager managerNodeE) { - this.managerNodeE = managerNodeE; - workerManagerTable.put("nodeE", managerNodeE); - } - - private void startNewComponents( - Vector> vector) { - log.info("Starting new components"); - WorkpoolService wp = reference.getService(); - // CallableReferenceImpl sink = - // (CallableReferenceImpl) reference; - Job j = new NullJob(); - for (CallableReferenceImpl item : vector) { - // WorkerService service = item.getService(); - // service.start(); - // service.computeFirstTime(j, sink); - log.info("Send PostWorkerReference..."); - wp.PostWorkerReference(item); - } - if (myReference != null) - wp.registerManager(myReference); - } - - public void setCycleTime(long cycle) { - this.cycleTime = cycle; - } - - @SuppressWarnings("unchecked") - /* - * This gets the number of workers workerNo and instantiates them - */ - public void start() { - this.myReference = (CallableReferenceImpl) workpoolManagerContext - .createSelfReference(WorkpoolManager.class, "WorkpoolManager"); - this.workersNo = Integer.parseInt(this.workers); - this.nodesNo = Integer.parseInt(this.nodes); - this.referenceInjection = (Integer.parseInt(this.injection) != 0); - log.info("Starting WorkpoolManager Component with #" + workersNo - + " workers and #" + nodes + " nodes"); - nodesNo = workerManagerTable.values().size(); - // Sets info in the bean. - bean.setWorkers(this.workersNo); - bean.setNodeNumbers(nodesNo); - Vector> workerRefs = new Vector>(); - int exactTimes = workersNo / nodesNo; - for (int i = 0; i < exactTimes; ++i) { - for (WorkerManager manager : workerManagerTable.values()) { - manager.start(); - if (manager != null) { - System.err.println("Actual load = " - + manager.getNodeLoad() + " for node "); - addNewComponent(manager, workerRefs); - } - } - } - - int module = (workersNo % nodesNo); - int n = 0; - if (module > 0) { - Vector v = new Vector(workerManagerTable.keySet()); - Collections.sort(v); - // Iterator iter = - // workerManagerTable.values().iterator(); - // Display (sorted) hashtable. - for (Enumeration e = v.elements(); (e.hasMoreElements() && n < module); ++n) { - String key = e.nextElement(); - WorkerManager m = workerManagerTable.get(key); - System.err.println("Module Actual load = " + m.getNodeLoad() - + " for node "); - addNewComponent(m, workerRefs); - } - } - startNewComponents(workerRefs); - bean.addListener(this); - TimerTask task = new WorkpoolManagerImpl.RuleEngineTrigger(); - timer.scheduleAtFixedRate(task, 3000, cycleTime); - } - - private void checkLoadInNodes() { - System.out.println("CheckLoadInNodes"); - int number = 1; - double loadAverage = 0; - for (WorkerManager manager : workerManagerTable.values()) { - loadAverage += manager.getNodeLoad(); - number++; - } - bean.setLoadAverage(loadAverage / number); - } - - private void computeUsageFactor() { - bean.setUsageFactor(); - } - - private void checkEstimedQueueSize() { - WorkpoolService wp = reference.getService(); - - if (wp != null) { - int size = wp.estimatedQueueSize(); - log.info("Estimed Queue Size =" + size); - bean.setEstimedQueueSize(size); - } - } - - private WorkerManager findMinLoad() { - double load = 0; - // workerManagerTable.values().iterator().next().getNodeLoad(); - WorkerManager toFind = null; - for (WorkerManager manager : workerManagerTable.values()) { - if (load == 0) { - load = manager.getNodeLoad(); - toFind = manager; - } else if (manager.getNodeLoad() < load) { - load = manager.getNodeLoad(); - toFind = manager; - } - } - return toFind; - } - - private void checkServiceTime() { - WorkpoolService wp = reference.getService(); - - if (wp != null) { - double time = wp.getServiceTime(); - log.info("Average System Service Time =" + time); - bean.setAverageServiceTime(time); - } - } - - private void checkArrivalTime() { - WorkpoolService wp = reference.getService(); - - if (wp != null) { - double time = wp.getArrivalTime(); - log.info("Average Arrival Service Time =" + time); - bean.setAverageArrivalTime(time); - } - } - - private void checkActiveWorkers() { - bean.setWorkers(this.activeWorkers()); - } - - private void getProcessedItem() { - WorkpoolService wp = reference.getService(); - if (wp != null) { - long computed = wp.getJobComputed(); - log.info("The system has already computed " + computed + " jobs"); - bean.setJobComputed(computed); - } - } - - private boolean removeComponent(WorkerManager manager, int k) { - manager.removeWorkers(k); - activeWorkers.decrementAndGet(); - return true; - } - - @SuppressWarnings("unchecked") - private boolean addNewComponent(WorkerManager manager, - Vector> workerRefs) { - CallableReferenceImpl workerReference = (CallableReferenceImpl) manager - .addWorker(); - - if (workerReference != null) { - /* if i'll decide to use dynamically generated references */ - if (referenceInjection) { - workerReference.getService(); - String uri = workerReference.getEndpointReference().getURI(); - int nameIndex = uri.indexOf("/"); - String componentName = uri.substring(0, nameIndex); - if (componentName.startsWith("/")) - componentName = uri.substring(1, uri.length()); - if (componentName.endsWith("/")) - componentName = uri.substring(0, uri.length() - 1); - // String componentName = uri.substring(0, nameIndex-1); - - log.info("Adding wire from WorkpoolComponentService to " - + componentName); - String referenceName = "ref" + componentName; - - /* - * I'm updating the WorkpoolServiceComponent with a new - * reference to a just created component I assume that the - * WorkpoolManagerService and the WorkpoolServiceComponent stay - * in the same JVM It's like in the scdl there were: With this then - * I've a wire WorkpoolService---> a new Worker - */ - try { - node.addComponentReferenceWire(referenceName, "nodeA", - "Workpool.composite", "workpool.WorkerServiceImpl", - WorkerService.class, "WorkpoolServiceComponent", - componentName); - } catch (Exception e) { - e.printStackTrace(); - return false; - } - log.info("Sending reference name " + referenceName - + " to WorkpoolService"); - // TODO: this was part of dynamic wiring, but it doesn't work. - // reference.getService().PostWorkerName(referenceName); - - } else { - // log.info("Sending callable reference to WorkpoolService - // placed at -->"+reference); - // reference.getService().PostWorkerReference(workerReference); - workerRefs.add(workerReference); - } - activeWorkers.incrementAndGet(); - return true; - } - return false; - } - - public int activeWorkers() { - - return activeWorkers.get(); - } - - private void doRun(WorkpoolBean bean) { - - long startTime = System.currentTimeMillis(); - updateRuleLock.lock(); - if (wm == null) - wm = ruleBase.newStatefulSession(); - if (this.handle == null) - handle = wm.insert(bean); - else { - wm.update(handle, bean); - } - wm.fireAllRules(); - updateRuleLock.unlock(); - - System.out.println("Engine rule overhead = " - + (System.currentTimeMillis() - startTime)); - } - - private RuleBase readRule(String rule) { - - PackageBuilder packBuilder = new PackageBuilder(); - try { - packBuilder.addPackageFromDrl(new StringReader(rule)); - } catch (DroolsParserException e) { - // TODO Auto-generated catch block - e.printStackTrace(); - } catch (IOException e) { - // TODO Auto-generated catch block - e.printStackTrace(); - } - Package pkg = packBuilder.getPackage(); - RuleBase ruleBase = RuleBaseFactory.newRuleBase(); - try { - ruleBase.addPackage(pkg); - } catch (Exception e) { - e.printStackTrace(); - } - return ruleBase; - } - - public void acceptRules(String rules) { - this.rules = rules; - if (ruleBase == null) { - RuleBase base = readRule(rules); - if (base != null) { - ruleBase = base; - } - } else { - updateRuleLock.lock(); - // i have already a rule: updating - ruleBase = readRule(rules); - wm = ruleBase.newStatefulSession(); - handle = null; - updateRuleLock.unlock(); - } - - System.out.println("Accepted rules = " + rules); - } - - public String getRules() { - return rules; - } - - private WorkerManager findMaxLoadNode() { - double load = 0.0; - WorkerManager toFind = null; - for (WorkerManager manager : workerManagerTable.values()) { - if (manager.getNodeLoad() > load) { - load = manager.getNodeLoad(); - toFind = manager; - } - } - return toFind; - - } - - public void setWorkpoolReference( - ServiceReference serviceReference) { - reference = serviceReference; - } - - public void setNode(SCANode arg0) { - node = (SCANodeImpl) arg0; - } - - public void handleEvent(WorkpoolEvent ev) { - if (ev == null) - return; - - String nodeName = ev.getNodeName(); - - switch (ev.getType()) { - case WorkpoolEvent.SINGLE_ADD_WORKER: { - if (nodeName != null) { - Vector> workerRefs = new Vector>(); - - // in this case I have a nodeName - if (!nodeName.equals("") - && (workerManagerTable.containsKey(nodeName))) { - WorkerManager manager = workerManagerTable.get(nodeName); - addNewComponent(manager, workerRefs); - startNewComponents(workerRefs); - } else if (nodeName.equals("")) { - WorkerManager manager = findMinLoad(); - addNewComponent(manager, workerRefs); - startNewComponents(workerRefs); - } - } - break; - } - case WorkpoolEvent.EVENT_MULTIPLE_ADD_WORKER: { - Vector> workerRefs = new Vector>(); - - if (nodeName.equals("")) { - - WorkerManager manager = findMinLoad(); - int k = ev.workers(); - for (int h = 0; h < k; ++h) { - addNewComponent(manager, workerRefs); - } - } else { - WorkerManager manager = workerManagerTable - .get(ev.getNodeName()); - int k = ev.workers(); - for (int h = 0; h < k; ++h) { - addNewComponent(manager, workerRefs); - } - } - startNewComponents(workerRefs); - break; - } - case WorkpoolEvent.SINGLE_REMOVE_WORKER: { - if (nodeName != null) { - // in this case I have a nodeName - if (!nodeName.equals("") - && (workerManagerTable.containsKey(nodeName))) { - WorkerManager manager = workerManagerTable.get(nodeName); - removeComponent(manager, 1); - } else if (nodeName.equals("")) { - WorkerManager manager = findMaxLoadNode(); - removeComponent(manager, 1); - } - } - break; - } - case WorkpoolEvent.EVENT_MULTIPLE_REMOVE_WORKER: { - if (nodeName.equals("")) { - WorkerManager manager = findMaxLoadNode(); - removeComponent(manager, ev.workers()); - - } else { - WorkerManager manager = workerManagerTable.get(nodeName); - removeComponent(manager, ev.workers()); - } - break; - } - } - - } - - @Destroy - public void onExit() { - // do cleanup - this.timer.cancel(); - this.timer.purge(); - } - - public void stopAutonomicCycle() { - this.timer.cancel(); - this.timer.purge(); - this.timer = null; - } - - public void startAutonomicCycle() { - if (this.timer == null) { - this.timer = new Timer(); - TimerTask task = new WorkpoolManagerImpl.RuleEngineTrigger(); - timer.schedule(task, 3000, cycleTime); - } - } -} diff --git a/java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/WorkpoolService.java b/java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/WorkpoolService.java deleted file mode 100644 index 239e5d145d..0000000000 --- a/java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/WorkpoolService.java +++ /dev/null @@ -1,91 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package workpool; - -import org.apache.tuscany.sca.core.context.CallableReferenceImpl; -import org.apache.tuscany.sca.databinding.annotation.DataBinding; -import org.apache.tuscany.sca.databinding.job.Job; -import org.oasisopen.sca.annotation.OneWay; -import org.oasisopen.sca.annotation.Remotable; -import org.oasisopen.sca.ServiceReference; - -@DataBinding("org.apache.tuscany.sca.databinding.job.Job") -@Remotable -public interface WorkpoolService { - - /* this the functional part */ - void submit(Job i); - - /* the time between two subsequent worker invocations */ - double getServiceTime(); - - /* the number of ResultJob received */ - long getJobComputed(); - - /* the time elapsed between the stream has initiated and now */ - long getElapsedTime(); - - /* the size of the internal queue : it's not accurate */ - int estimatedQueueSize(); - - /* the average time between two consuecutive submit */ - double getArrivalTime(); - - void start(); - - void stop(); - - /* - * this is the part needed by management. May be in future i'll refactor it - * order to hide this part. - */ - @OneWay - void handleResult(Job j, boolean reuse, String string, - CallableReferenceImpl worker, boolean newJob); - - void addTrigger(CallableReferenceImpl reference); - - void removeTrigger(); - - void registerManager( - CallableReferenceImpl createSelfReference); - - /* - * This could placed in another interface definition - think about it These - * methods evict, and evictAll are needed when a worker finish to exist and - * it needs to be evicted by the WorkpoolManager. In the system I have two - * caches: 1) a domain cache, which holds the components URI 2) a - * workerReference cache (implemented by a ConcurrentHashMap), which holds a - * proxy to each worker. Every proxy gets built from the worker callable - * reference. I'm thinking for placing the workerReferenceCache in a local - * interface. Assuming that WorkpoolService and WorkpoolManager are in the - * same JVM. - */ - void evict(String workerURI); - - void evictAll(); - - /* - * these two are no longer needed. I leave it because if i'll have time to - * do dynamic wiring the first one is needed. void PostWorkerName(String - * referenceName); - */ - void PostWorkerReference(CallableReferenceImpl worker); - -} diff --git a/java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/WorkpoolServiceImpl.java b/java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/WorkpoolServiceImpl.java deleted file mode 100644 index 268edae530..0000000000 --- a/java/sca-contrib/demos/workpool-distributed/src/main/java/workpool/WorkpoolServiceImpl.java +++ /dev/null @@ -1,416 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package workpool; - -import java.util.concurrent.atomic.AtomicInteger; -import java.util.concurrent.atomic.AtomicLong; -import java.util.concurrent.locks.ReentrantLock; -import java.util.logging.Logger; -import org.apache.tuscany.sca.core.context.CallableReferenceImpl; -import org.apache.tuscany.sca.databinding.annotation.DataBinding; -import org.oasisopen.sca.ComponentContext; -import org.oasisopen.sca.annotation.Context; -import org.oasisopen.sca.annotation.Scope; -import org.oasisopen.sca.annotation.Service; -import org.apache.tuscany.sca.databinding.job.Job; -import org.apache.tuscany.sca.databinding.job.JobDataMap; -import java.util.concurrent.ConcurrentHashMap; -import java.util.concurrent.ConcurrentLinkedQueue; -import java.util.concurrent.LinkedBlockingQueue; - -/** - * An implementation of the Workpool service. - */ -@Service(WorkpoolService.class) -@Scope("COMPOSITE") -@DataBinding("org.apache.tuscany.sca.databinding.job.Job") -public class WorkpoolServiceImpl implements WorkpoolService, - WorkerServiceCallback { - - /* incoming job queue */ - private LinkedBlockingQueue queue = new LinkedBlockingQueue(5000); - private CallableReferenceImpl trigger = null; - private Trigger forwardResult = null; - /* counter for job's number fetched from the queue and sent to the Worker */ - private AtomicInteger jobSent = new AtomicInteger(0); - /* time for initHandleResult */ - private AtomicLong initHandleResult = new AtomicLong(0); - /* time for endHandleResult */ - private AtomicLong endHandleResult = new AtomicLong(0); - /* - * number of job computed, this will be exposed in order to be used to - * firing rules - */ - private long jobComputed = 0; - /* same as above */ - private AtomicLong elapsedTime = new AtomicLong(0); - /* this is for comuputing averageServiceTime */ - private long times = 1; - /* this is for computing averageArrivalTime */ - private long timesArrival = 1; - private ReentrantLock arrivalLock = new ReentrantLock(); - private long arrivalPrevious = -1; - // private AtomicBoolean processingStopped = new AtomicBoolean(false); - private boolean processingStopped = false; - // private LinkedBlockingQueue triggers = new - // LinkedBlockingQueue(); - @Context - protected ComponentContext workpoolContext; - private CallableReferenceImpl manager; - private long previousSubmitTime = -1; - private boolean firstTime = true; - private boolean first = true; - private long start = 0; - private long end = 0; - private double averageServiceTime = 0; - private double averageArrivalTime = 0; - private int workersNo = 0; - private final Job nullJob = new NullJob(); - /* This is useful for counting the start and end */ - private Logger log = Logger.getLogger(WorkpoolServiceImpl.class.getName()); - private ReentrantLock handleResultLock = new ReentrantLock(); - private ReentrantLock postWorkerReferenceLock = new ReentrantLock(); - private ConcurrentHashMap cacheReference = new ConcurrentHashMap(); - private CallableReferenceImpl myReference; - private String previuosURI = ""; - private long time = 0; - - private void computeAverageTime() { - long actualServiceTime = 0; - // if the processing is finished - if (processingStopped) - return; - - if (firstTime == true) { - this.previousSubmitTime = System.currentTimeMillis(); - this.averageServiceTime = 0; - firstTime = false; - } else { - actualServiceTime = System.currentTimeMillis() - - this.previousSubmitTime; - this.previousSubmitTime = System.currentTimeMillis(); - averageServiceTime = ((averageServiceTime * times) + actualServiceTime) - / (times + 1); - ++times; - } - } - - public void submit(Job j) { - try { - // log.info("Submit job in queue -->"+ j.getType()); - // processingStopped.set(false); - try { - arrivalLock.lock(); - if (this.arrivalPrevious == -1) { - arrivalPrevious = System.currentTimeMillis(); - averageArrivalTime = 0; - } - double actualArrivalTime = System.currentTimeMillis() - - arrivalPrevious; - averageArrivalTime = ((averageArrivalTime * timesArrival) + actualArrivalTime) - / (timesArrival + 1); - arrivalPrevious = System.currentTimeMillis(); - ++timesArrival; - } finally { - arrivalLock.unlock(); - } - queue.put(j); - } catch (Exception e) { - log.info("Exception in queue"); - queue.clear(); - e.printStackTrace(); - } - } - - public double getArrivalTime() { - return this.averageArrivalTime; - } - - public double getServiceTime() { - return this.averageServiceTime; - } - - public void receiveResult(Job resultType, boolean reuse, String workerURI) { - - if (reuse) { - queue.add(resultType); - return; - } - - computeAverageTime(); - Job job = null; - try { - job = queue.take(); - } catch (InterruptedException e) { - // TODO Better exception handling --> see Exception antipattern doc - e.printStackTrace(); - return; - } - - if ((job != null) && (job.eos() == false)) { - int nameIndex = workerURI.indexOf("/"); - String workerName = workerURI.substring(0, nameIndex - 1); - log.info("Sending job to worker --> " + workerName); - WorkerService worker = workpoolContext.getService( - WorkerService.class, workerName); - worker.compute(job); - } - - JobDataMap map = ((ResultJob) resultType).getDataMap(); - if (map != null) { - ++jobComputed; - Object obj = map.getJobDataObject("result"); - System.out.println("Result = " + ((Double) obj).doubleValue()); - } - - } - - public void start() { - log.info("WorkpoolServiceComponent started..."); - myReference = (CallableReferenceImpl) workpoolContext - .createSelfReference(WorkpoolService.class, "WorkpoolService"); - myReference.getService(); - } - - /* - * - * This method is called by WorkpoolManagerImpl, when it creates a new - * worker component in order to dispatch worker to the WorkpoolServiceImpl - * @param CallableReferenceImpl reference - a dynamically created reference - * from the Worker - */ - public void PostWorkerReference( - CallableReferenceImpl reference) { - - try { - long initPostWorkerReference; - long endPostWorkerReference; - this.postWorkerReferenceLock.lock(); - - initPostWorkerReference = System.currentTimeMillis(); - WorkerService worker; - worker = reference.getService(); - worker.start(); - - ++workersNo; - if (myReference != null) { - - // Job poison = new ResultJob(); - this.postWorkerReferenceLock.unlock(); - log.info("Sending null job to worker"); - worker.computeFirstTime(nullJob, myReference); - // queue.put(poison); - endPostWorkerReference = System.currentTimeMillis(); - System.out.println("Time PostWorker =" - + (endPostWorkerReference - initPostWorkerReference)); - } else { - log.info("myReference is null"); - - } - } catch (Exception e) { - postWorkerReferenceLock.unlock(); - } finally { - } - - } - - /* - * FIXME This method currently is not used because i've not yet ready - * dynamic wire injection - */ - - public void PostWorkerName(String referenceName) { - /* TODO Do something similar to PostWorkerReference */ - } - - private void printComputingTime(Job j) { - - if (first == true) { - first = false; - start = System.currentTimeMillis(); - end = System.currentTimeMillis(); - } else { - end = System.currentTimeMillis(); - System.out.println("Elapsed Time = " + (end - start)); - elapsedTime.set(end - start); - } - /* - * i could use reflection or instance of (but it's a penalty kick) , or - * an object as result, but i'd prefer a job so i've defined a - * RESULT_JOB There're in the system three kind of jobs: RESULT_JOB, - * NULL_JOB, DEFAULT_JOB - */ - if ((j != null) && (j.getType() == Job.RESULT_JOB)) { - jobComputed++; - ResultJob result = (ResultJob) j; - JobDataMap map = result.getDataMap(); - if (map != null) { - Double doubleValue = (Double) map.getJobDataObject("result"); - System.out - .println("ResultValue = " + doubleValue.doubleValue()); - } - - } - - } - - public void handleResult(Job resultType, boolean reuse, String workerURI, - CallableReferenceImpl worker, boolean newWorker) { - initHandleResult.set(System.nanoTime()); - if (reuse) { - log.info("Reusing a job.."); - queue.add(resultType); - return; - } - // init job variable - Job job; - if (newWorker) - System.out.println("newWorkerActivation= " + System.nanoTime()); - printComputingTime(resultType); - - try { - job = queue.take(); - } catch (Exception e) { - log.info("Exception during fetching the queue"); - e.printStackTrace(); - return; - } - - try { - // it needs to be locked because multiple threads could invoke this. - handleResultLock.lock(); - if (previuosURI.equals("")) { - time = System.currentTimeMillis(); - this.previuosURI = workerURI; - } else { - if (previuosURI.equals(workerURI)) - System.out.println("Complete ComputeTime for an item =" - + (time - System.currentTimeMillis())); - } - if (job.eos()) { - long endTime = System.currentTimeMillis(); - /* checking for EOS */ - if (processingStopped == false) { - processingStopped = true; - System.out.println("GOT EOS in time=" + (endTime - start)); - log.info("Stop autonomic cycle.."); - /* - * I'm doing this because i want that in the termination i - * would have more jobs with eos == true than workers. So - * i'm sure that every worker removes itself from its - * manager. I do it only one time. This is necessary because - * i have a variable number of workers. The number of - * workers in the system might change every time the rule - * engine cycle gets executed. - */ - ResultJob poison = new ResultJob(); - for (int i = 0; i < workersNo; ++i) { - try { - - queue.put(poison); - - } catch (Exception e) { - log.info("Cannot duplicate poison tokens"); - break; - } - - } - manager.getService().stopAutonomicCycle(); - } - } - computeAverageTime(); - System.out.println("AverageTime =" + averageServiceTime); - if (job != null) { - - WorkerService workerService; - /* - * the workpool has a high reuse, i always call the same - * component set or un superset or subset, so i cache it. When - * the WorkpoolManager will remove an item, it removes still - * this cache entry - */ - if (!cacheReference.containsKey(workerURI)) { - workerService = worker.getService(); - handleResultLock.unlock(); - cacheReference.put(workerURI, workerService); - } else { - handleResultLock.unlock(); - workerService = cacheReference.get(workerURI); - } - // it's still a penalty kick locking compute because it's going - // to be scheduled whereas it's async. - workerService.compute(job); - log.info("Sent job #" + jobSent.incrementAndGet() - + " Queue size " + queue.size()); - endHandleResult.set(System.nanoTime()); - System.out - .println("begin:handleResult ==> end:handleResult:compute = " - + (endHandleResult.addAndGet(-(initHandleResult - .get())) / 1000000)); - } - } catch (Exception e) { - handleResultLock.unlock(); - } - } - - public void evictAll() { - cacheReference.clear(); - } - - public void evict(String workerURI) { - if (cacheReference.containsKey(workerURI)) { - cacheReference.remove(workerURI); - } - - } - - public int estimatedQueueSize() { - return queue.size(); - } - - public long getElapsedTime() { - return elapsedTime.get(); - } - - public long getJobComputed() { - return jobComputed; - } - - public void registerManager( - CallableReferenceImpl createSelfReference) { - manager = createSelfReference; - - } - - public void stop() { - // TODO Auto-generated method stub - - } - - public void addTrigger(CallableReferenceImpl reference) { - this.trigger = reference; - this.forwardResult = reference.getService(); - - } - - public void removeTrigger() { - this.trigger = null; - this.forwardResult = null; - } -} diff --git a/java/sca-contrib/demos/workpool-distributed/src/main/resources/nodeA/META-INF/sca-contribution.xml b/java/sca-contrib/demos/workpool-distributed/src/main/resources/nodeA/META-INF/sca-contribution.xml deleted file mode 100644 index b3e2d16c05..0000000000 --- a/java/sca-contrib/demos/workpool-distributed/src/main/resources/nodeA/META-INF/sca-contribution.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - diff --git a/java/sca-contrib/demos/workpool-distributed/src/main/resources/nodeA/Workpool.composite b/java/sca-contrib/demos/workpool-distributed/src/main/resources/nodeA/Workpool.composite deleted file mode 100644 index 9a00a8e839..0000000000 --- a/java/sca-contrib/demos/workpool-distributed/src/main/resources/nodeA/Workpool.composite +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - - - 4 - 4 - 0 - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/demos/workpool-distributed/src/main/resources/nodeB/META-INF/sca-contribution.xml b/java/sca-contrib/demos/workpool-distributed/src/main/resources/nodeB/META-INF/sca-contribution.xml deleted file mode 100644 index b3e2d16c05..0000000000 --- a/java/sca-contrib/demos/workpool-distributed/src/main/resources/nodeB/META-INF/sca-contribution.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - diff --git a/java/sca-contrib/demos/workpool-distributed/src/main/resources/nodeB/Workpool.composite b/java/sca-contrib/demos/workpool-distributed/src/main/resources/nodeB/Workpool.composite deleted file mode 100644 index a71dc9e08a..0000000000 --- a/java/sca-contrib/demos/workpool-distributed/src/main/resources/nodeB/Workpool.composite +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - nodeB - Workpool.composite - workpool.MyWorker - - - - - - - - - - diff --git a/java/sca-contrib/demos/workpool-distributed/src/main/resources/nodeC/META-INF/sca-contribution.xml b/java/sca-contrib/demos/workpool-distributed/src/main/resources/nodeC/META-INF/sca-contribution.xml deleted file mode 100644 index b3e2d16c05..0000000000 --- a/java/sca-contrib/demos/workpool-distributed/src/main/resources/nodeC/META-INF/sca-contribution.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - diff --git a/java/sca-contrib/demos/workpool-distributed/src/main/resources/nodeC/Workpool.composite b/java/sca-contrib/demos/workpool-distributed/src/main/resources/nodeC/Workpool.composite deleted file mode 100644 index 771db5370b..0000000000 --- a/java/sca-contrib/demos/workpool-distributed/src/main/resources/nodeC/Workpool.composite +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - nodeC - Workpool.composite - workpool.MyWorker - - - - - - - - - - diff --git a/java/sca-contrib/demos/workpool-distributed/src/main/resources/nodeD/META-INF/sca-contribution.xml b/java/sca-contrib/demos/workpool-distributed/src/main/resources/nodeD/META-INF/sca-contribution.xml deleted file mode 100644 index b3e2d16c05..0000000000 --- a/java/sca-contrib/demos/workpool-distributed/src/main/resources/nodeD/META-INF/sca-contribution.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - diff --git a/java/sca-contrib/demos/workpool-distributed/src/main/resources/nodeD/Workpool.composite b/java/sca-contrib/demos/workpool-distributed/src/main/resources/nodeD/Workpool.composite deleted file mode 100644 index 55fd48934f..0000000000 --- a/java/sca-contrib/demos/workpool-distributed/src/main/resources/nodeD/Workpool.composite +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - nodeD - Workpool.composite - workpool.MyWorker - - - - - - - - - - diff --git a/java/sca-contrib/demos/workpool-distributed/src/main/resources/nodeE/META-INF/sca-contribution.xml b/java/sca-contrib/demos/workpool-distributed/src/main/resources/nodeE/META-INF/sca-contribution.xml deleted file mode 100644 index b3e2d16c05..0000000000 --- a/java/sca-contrib/demos/workpool-distributed/src/main/resources/nodeE/META-INF/sca-contribution.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - diff --git a/java/sca-contrib/demos/workpool-distributed/src/main/resources/nodeE/Workpool.composite b/java/sca-contrib/demos/workpool-distributed/src/main/resources/nodeE/Workpool.composite deleted file mode 100644 index 1dc9ccfcea..0000000000 --- a/java/sca-contrib/demos/workpool-distributed/src/main/resources/nodeE/Workpool.composite +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - nodeE - Workpool.composite - workpool.MyWorker - - - - - - - - - - diff --git a/java/sca-contrib/demos/workpool-distributed/src/test/java/workpool/AComponent.java b/java/sca-contrib/demos/workpool-distributed/src/test/java/workpool/AComponent.java deleted file mode 100644 index 5c20537fab..0000000000 --- a/java/sca-contrib/demos/workpool-distributed/src/test/java/workpool/AComponent.java +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package workpool; - -public interface AComponent { - public static final int RETURN_VALUE = 1; - - public void greet(); -} diff --git a/java/sca-contrib/demos/workpool-distributed/workerRules.drl b/java/sca-contrib/demos/workpool-distributed/workerRules.drl deleted file mode 100644 index e7ebcad4c0..0000000000 --- a/java/sca-contrib/demos/workpool-distributed/workerRules.drl +++ /dev/null @@ -1,9 +0,0 @@ -package workpool -import workpool.*; -rule "WorkerAdder" - when - $workerBean: WorkpoolBean(singleAction == false && (jobComputed > 500)) - then - $workerBean.addWorkerToNode("nodeB"); - $workerBean.setSingleAction(); -end diff --git a/java/sca-contrib/demos/workpool-distributed/workerRules1.drl b/java/sca-contrib/demos/workpool-distributed/workerRules1.drl deleted file mode 100644 index 6fa0b85ba2..0000000000 --- a/java/sca-contrib/demos/workpool-distributed/workerRules1.drl +++ /dev/null @@ -1,9 +0,0 @@ -package workpool -import workpool.*; -rule "WorkerAdder" - when - $workerBean: WorkpoolBean(averageServiceTime > 250) - then - $workerBean.addWorkerToNode("nodeB"); - $workerBean.setSingleAction(); -end diff --git a/java/sca-contrib/demos/workpool-distributed/workerRules2.drl b/java/sca-contrib/demos/workpool-distributed/workerRules2.drl deleted file mode 100644 index 9d9551c3ea..0000000000 --- a/java/sca-contrib/demos/workpool-distributed/workerRules2.drl +++ /dev/null @@ -1,8 +0,0 @@ -package workpool -import workpool.*; -rule "WorkerAverageService" - when - $workerBean: WorkpoolBean(jobComputed > 250) - then - $workerBean.addWorkerToNode("nodeB"); -end diff --git a/java/sca-contrib/demos/workpool-distributed/workerRules3.drl b/java/sca-contrib/demos/workpool-distributed/workerRules3.drl deleted file mode 100644 index a67af910a4..0000000000 --- a/java/sca-contrib/demos/workpool-distributed/workerRules3.drl +++ /dev/null @@ -1,14 +0,0 @@ -package workpool -import workpool.*; -rule "AdaptUsageFactor" - when - $workerBean: WorkpoolBean(usageFactor > 0.8) - then - $workerBean.addWorkerToNode(""); -end -rule "AdaptQueueFull" - when - $workerBean: WorkpoolBean((estimedQueueSize > 1900) && jobsComputed > 100) - then - $workerBean.addWorkerToNode("nodeB") -end \ No newline at end of file diff --git a/java/sca-contrib/demos/xml-bigbank/LICENSE b/java/sca-contrib/demos/xml-bigbank/LICENSE deleted file mode 100644 index 6e529a25c4..0000000000 --- a/java/sca-contrib/demos/xml-bigbank/LICENSE +++ /dev/null @@ -1,205 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - - diff --git a/java/sca-contrib/demos/xml-bigbank/NOTICE b/java/sca-contrib/demos/xml-bigbank/NOTICE deleted file mode 100644 index 51042eab05..0000000000 --- a/java/sca-contrib/demos/xml-bigbank/NOTICE +++ /dev/null @@ -1,6 +0,0 @@ -${pom.name} -Copyright (c) 2005 - 2009 The Apache Software Foundation - -This product includes software developed by -The Apache Software Foundation (http://www.apache.org/). - diff --git a/java/sca-contrib/demos/xml-bigbank/README b/java/sca-contrib/demos/xml-bigbank/README deleted file mode 100644 index 3bdeeca60a..0000000000 --- a/java/sca-contrib/demos/xml-bigbank/README +++ /dev/null @@ -1,46 +0,0 @@ -XML BigBank Demo -================ - -This demo showcases the integration with XML technolgies in the service assembly. - -Note: The live stock quote web service is not always running. Sometimes empty response is returned and the stock value is 0. - -To run the demo, type "ant run" and it will produce the following output. - -Buildfile: build.xml - -init: - [get] Getting: http://www.swanandmokashi.com/HomePage/WebServices/StockQuotes.asmx?WSDL - [get] To: C:\Apache\tuscany-sca-1.0.1-incubating\demos\xml-bigbank\src\main\resources\wsdl\StockQuotes.wsdl - [get] local file date : Tue Nov 06 15:50:37 PST 2007 - [get] . - [get] last modified = Wed Dec 31 16:00:00 PST 1969 - using current time instead - [mkdir] Created dir: C:\Apache\tuscany-sca-1.0.1-incubating\demos\xml-bigbank\target\classes - -compile: - [javac] Compiling 11 source files to C:\Apache\tuscany-sca-1.0.1-incubating\demos\xml-bigbank\target\classes - [copy] Copying 6 files to C:\Apache\tuscany-sca-1.0.1-incubating\demos\xml-bigbank\target\classes - [jar] Building jar: C:\Apache\tuscany-sca-1.0.1-incubating\demos\xml-bigbank\target\demo-xml-bigbank.jar - -run: - [java] Nov 6, 2007 3:52:28 PM org.apache.axis2.deployment.DeploymentEngine loadFromClassPath - [java] INFO: Module validation failed: The system is attempting to engage a module that is not available: rampart - [java] Retrieving exchange rate... - [java] Nov 6, 2007 3:52:29 PM org.apache.tuscany.sca.binding.feed.provider.RSSBindingInvoker invoke - [java] INFO: >>> RSSBindingInvoker (rss_2.0) http://ansuz.sooke.bc.ca/rippy/exchange/?M=R&B=USD&F=CAD,CNY,EUR&T=F&S=O&I=S - [java] Exchange rate: USD 1.0=EUR 0.68705 - [java] Loading account data... - [java] Getting stock quote... - [java] Nov 6, 2007 3:52:30 PM org.apache.commons.httpclient.HttpMethodBase readResponse - [java] INFO: Discarding unexpected response: HTTP/1.1 100 Continue - [java] Calculating total value... - [java] Checking Balance: xs:double: 1000 - [java] Saving Blance: xs:double: 20000 - [java] Stock Value: xs:integer: 0 - [java] Total Value [1]: xs:double: 21000 - [java] Total Value=USD 21000.0 - [java] EUR: 14428.050000000001 - -BUILD SUCCESSFUL -Total time: 7 seconds - diff --git a/java/sca-contrib/demos/xml-bigbank/build.xml b/java/sca-contrib/demos/xml-bigbank/build.xml deleted file mode 100644 index 0ba1b069aa..0000000000 --- a/java/sca-contrib/demos/xml-bigbank/build.xml +++ /dev/null @@ -1,63 +0,0 @@ - - -]> - - - &buildDependency; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/demos/xml-bigbank/pom.xml b/java/sca-contrib/demos/xml-bigbank/pom.xml deleted file mode 100644 index 0dc535352b..0000000000 --- a/java/sca-contrib/demos/xml-bigbank/pom.xml +++ /dev/null @@ -1,115 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - tuscany-demos - 2.0-SNAPSHOT - ../pom.xml - - demo-xml-bigbank - jar - Apache Tuscany SCA XML BigBank Demo - Apache Tuscany SCA XML BigBank Demo - - - - org.apache.tuscany.sca - tuscany-host-embedded - 2.0-SNAPSHOT - - - - org.apache.tuscany.sca - tuscany-implementation-java-runtime - 2.0-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-binding-ws-axis2 - 2.0-SNAPSHOT - compile - - - - org.apache.tuscany.sca - tuscany-binding-rss-rome - 2.0-SNAPSHOT - compile - - - - org.apache.tuscany.sca - tuscany-databinding-saxon - 2.0-SNAPSHOT - runtime - - - - - org.apache.tuscany.sca - tuscany-implementation-xquery - 2.0-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-host-jetty - 2.0-SNAPSHOT - runtime - - - - junit - junit - 4.5 - test - - - - - - ${artifactId} - - - org.apache.tuscany.sca - tuscany-maven-ant-generator - 2.0-SNAPSHOT - - - - bigbank.BigBankClient - true - - - generate - - - - - - - - - diff --git a/java/sca-contrib/demos/xml-bigbank/src/main/java/bigbank/AccountData.java b/java/sca-contrib/demos/xml-bigbank/src/main/java/bigbank/AccountData.java deleted file mode 100644 index c3ae8d0912..0000000000 --- a/java/sca-contrib/demos/xml-bigbank/src/main/java/bigbank/AccountData.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package bigbank; - -import java.io.IOException; - -import javax.xml.stream.XMLStreamReader; - -/** - * @version $Rev$ $Date$ - */ -public interface AccountData { - /** - * Get the StAX stream that represent the accounts data - * @return The StAX stream containign the accounts - * @throws IOException - */ - XMLStreamReader getAccounts() throws IOException; -} diff --git a/java/sca-contrib/demos/xml-bigbank/src/main/java/bigbank/AccountDataImpl.java b/java/sca-contrib/demos/xml-bigbank/src/main/java/bigbank/AccountDataImpl.java deleted file mode 100644 index bb37b97fb8..0000000000 --- a/java/sca-contrib/demos/xml-bigbank/src/main/java/bigbank/AccountDataImpl.java +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package bigbank; - -import java.io.IOException; -import java.net.URL; - -import javax.xml.stream.XMLInputFactory; -import javax.xml.stream.XMLStreamReader; - -import org.oasisopen.sca.annotation.Service; - -/** - * @version $Rev$ $Date$ - */ -@Service(AccountData.class) -public class AccountDataImpl implements AccountData { - private XMLInputFactory factory = XMLInputFactory.newInstance(); - - public XMLStreamReader getAccounts() throws IOException { - URL doc = getClass().getResource("/accounts.xml"); - XMLStreamReader reader = null; - try { - reader = factory.createXMLStreamReader(doc.openStream()); - } catch (Exception e) { - e.printStackTrace(); - } - return reader; - } - -} diff --git a/java/sca-contrib/demos/xml-bigbank/src/main/java/bigbank/AccountService.java b/java/sca-contrib/demos/xml-bigbank/src/main/java/bigbank/AccountService.java deleted file mode 100644 index 4c72384e7b..0000000000 --- a/java/sca-contrib/demos/xml-bigbank/src/main/java/bigbank/AccountService.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package bigbank; - - -/** - * @version $Rev$ $Date$ - */ -public interface AccountService { - /** - * Get the total value of all accounts owned by the customer - * @return The total value - */ - double getTotalValue(); -} diff --git a/java/sca-contrib/demos/xml-bigbank/src/main/java/bigbank/AccountServiceImpl.java b/java/sca-contrib/demos/xml-bigbank/src/main/java/bigbank/AccountServiceImpl.java deleted file mode 100644 index 77af28d6cd..0000000000 --- a/java/sca-contrib/demos/xml-bigbank/src/main/java/bigbank/AccountServiceImpl.java +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package bigbank; - -import java.io.StringReader; - -import javax.xml.stream.XMLInputFactory; -import javax.xml.stream.XMLStreamReader; - -import org.apache.axiom.om.OMElement; -import org.oasisopen.sca.ServiceRuntimeException; -import org.oasisopen.sca.annotation.Property; -import org.oasisopen.sca.annotation.Reference; -import org.oasisopen.sca.annotation.Service; - -/** - * @version $Rev$ $Date$ - */ -@Service(AccountService.class) -public class AccountServiceImpl implements AccountService { - private static final String STOCK_QUOTE_REQUEST = - "IBM GOOG MSFT"; - - private XMLInputFactory factory = XMLInputFactory.newInstance(); - - @Reference - protected ExchangeRate exchangeRate; - - @Reference - protected StockQuote stockQuote; - - @Reference - protected AccountData accountData; - - @Reference - protected StockValue stockValue; - - @Property - protected String currency; - - public double getTotalValue() { - try { - double rate = exchangeRate.getExchangeRate(currency); - - System.out.println("Loading account data..."); - XMLStreamReader accounts = accountData.getAccounts(); - - System.out.println("Getting stock quote..."); - XMLStreamReader request = factory.createXMLStreamReader(new StringReader(STOCK_QUOTE_REQUEST)); - - OMElement quotes = stockQuote.GetQuote(request); - - String xml = quotes.getText(); - System.out.println(xml); - XMLStreamReader qts = factory.createXMLStreamReader(new StringReader(xml)); - System.out.println("Calculating total value..."); - double value = stockValue.calculate(qts, accounts); - - System.out.println("Total Value=USD " + value); - - return value * rate; - } catch (Exception e) { - throw new ServiceRuntimeException(e); - } - } - -} diff --git a/java/sca-contrib/demos/xml-bigbank/src/main/java/bigbank/BigBankClient.java b/java/sca-contrib/demos/xml-bigbank/src/main/java/bigbank/BigBankClient.java deleted file mode 100644 index a7703787fb..0000000000 --- a/java/sca-contrib/demos/xml-bigbank/src/main/java/bigbank/BigBankClient.java +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package bigbank; - -import org.apache.tuscany.sca.host.embedded.SCADomain; - -/** - * This client program to invoke the Account service - */ -public class BigBankClient { - - public static void main(String[] args) throws Exception { - - SCADomain domain = SCADomain.newInstance("BigBank.composite"); - AccountService accountService = domain.getService(AccountService.class, "AccountService"); - - System.out.println("EUR: " + accountService.getTotalValue()); - } -} diff --git a/java/sca-contrib/demos/xml-bigbank/src/main/java/bigbank/BigBankServer.java b/java/sca-contrib/demos/xml-bigbank/src/main/java/bigbank/BigBankServer.java deleted file mode 100644 index f5f1ca90b6..0000000000 --- a/java/sca-contrib/demos/xml-bigbank/src/main/java/bigbank/BigBankServer.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package bigbank; - -import org.apache.tuscany.sca.host.embedded.SCADomain; - -/** - * @version $Rev$ $Date$ - */ -public class BigBankServer { - public static void main(String[] args) throws Exception { - - System.out.println("Starting the BigBank Service..."); - - SCADomain domain = SCADomain.newInstance("http://localhost", "/", "BigBank.composite"); - - System.out.println("Press Enter to Exit..."); - System.in.read(); - - domain.close(); - System.out.println("Bye"); - } -} diff --git a/java/sca-contrib/demos/xml-bigbank/src/main/java/bigbank/CurrencyExchange.java b/java/sca-contrib/demos/xml-bigbank/src/main/java/bigbank/CurrencyExchange.java deleted file mode 100644 index 96f9e9bd18..0000000000 --- a/java/sca-contrib/demos/xml-bigbank/src/main/java/bigbank/CurrencyExchange.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package bigbank; - -import org.oasisopen.sca.annotation.Remotable; - -import com.sun.syndication.feed.synd.SyndFeed; - -/** - * @version $Rev$ $Date$ - */ -@Remotable -public interface CurrencyExchange { - /** - * Get the currency exchange rates as a RSS feed - * @return - */ - SyndFeed getRates(); -} diff --git a/java/sca-contrib/demos/xml-bigbank/src/main/java/bigbank/ExchangeRate.java b/java/sca-contrib/demos/xml-bigbank/src/main/java/bigbank/ExchangeRate.java deleted file mode 100644 index 358e5e19a2..0000000000 --- a/java/sca-contrib/demos/xml-bigbank/src/main/java/bigbank/ExchangeRate.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package bigbank; - -/** - * @version $Rev$ $Date$ - */ -public interface ExchangeRate { - /** - * Look up the exchange rate of a currency against USD - * @param currency The currency - * @return The exchange rate - */ - double getExchangeRate(String currency); -} diff --git a/java/sca-contrib/demos/xml-bigbank/src/main/java/bigbank/ExchangeRateImpl.java b/java/sca-contrib/demos/xml-bigbank/src/main/java/bigbank/ExchangeRateImpl.java deleted file mode 100644 index 3b95f5240f..0000000000 --- a/java/sca-contrib/demos/xml-bigbank/src/main/java/bigbank/ExchangeRateImpl.java +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package bigbank; - -import java.io.ByteArrayInputStream; - -import javax.xml.parsers.DocumentBuilder; -import javax.xml.parsers.DocumentBuilderFactory; -import javax.xml.parsers.ParserConfigurationException; -import javax.xml.xpath.XPath; -import javax.xml.xpath.XPathConstants; -import javax.xml.xpath.XPathExpression; -import javax.xml.xpath.XPathFactory; - -import org.oasisopen.sca.ServiceRuntimeException; -import org.oasisopen.sca.annotation.Reference; -import org.oasisopen.sca.annotation.Service; -import org.w3c.dom.Document; -import org.w3c.dom.Node; - -import com.sun.syndication.feed.synd.SyndEntry; -import com.sun.syndication.feed.synd.SyndFeed; - -/** - * @version $Rev$ $Date$ - */ -@Service(ExchangeRate.class) -public class ExchangeRateImpl { - @Reference - protected CurrencyExchange exchangeRate; - - private final DocumentBuilder builder; - - public ExchangeRateImpl() { - try { - builder = DocumentBuilderFactory.newInstance().newDocumentBuilder(); - } catch (ParserConfigurationException e) { - throw new IllegalArgumentException(e); - } - } - - /** - * Retrieve the live currency exchange rate from a live feed and extract the data for a given - * currecy using XPath - * @param currency The currency - * @return The exchange rate - */ - public double getExchangeRate(String currency) { - try { - System.out.println("Retrieving exchange rate..."); - SyndFeed feed = exchangeRate.getRates(); - SyndEntry entry = (SyndEntry)feed.getEntries().get(0); - String rateTable = entry.getDescription().getValue(); - - Document doc = builder.parse(new ByteArrayInputStream(rateTable.getBytes())); - Node node = doc.getDocumentElement(); - XPath path = XPathFactory.newInstance().newXPath(); - XPathExpression exp = path.compile("/TABLE/TR[TD[1]='" + currency.toUpperCase() + "']/TD[2]"); - Node rateNode = (Node)exp.evaluate(node, XPathConstants.NODE); - double rate = Double.valueOf(rateNode.getTextContent().trim()); - System.out.println("Exchange rate: USD 1.0=" + currency + " " + rate); - return rate; - } catch (Exception e) { - throw new ServiceRuntimeException(e); - } - } -} diff --git a/java/sca-contrib/demos/xml-bigbank/src/main/java/bigbank/StockQuote.java b/java/sca-contrib/demos/xml-bigbank/src/main/java/bigbank/StockQuote.java deleted file mode 100644 index 7896cf7890..0000000000 --- a/java/sca-contrib/demos/xml-bigbank/src/main/java/bigbank/StockQuote.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package bigbank; - -import javax.xml.stream.XMLStreamReader; - -import org.apache.axiom.om.OMElement; -import org.oasisopen.sca.annotation.Remotable; - -/** - * @version $Rev$ $Date$ - */ -@Remotable -public interface StockQuote { - /** - * Invoke the stock quote web service to get the live quotes - * @param input The StAX stream of the request - * @return The StAX stream of the response - */ - public OMElement GetQuote(XMLStreamReader input); -} diff --git a/java/sca-contrib/demos/xml-bigbank/src/main/java/bigbank/StockValue.java b/java/sca-contrib/demos/xml-bigbank/src/main/java/bigbank/StockValue.java deleted file mode 100644 index 6b9ab1f9a3..0000000000 --- a/java/sca-contrib/demos/xml-bigbank/src/main/java/bigbank/StockValue.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package bigbank; - -import javax.xml.stream.XMLStreamReader; - -import org.oasisopen.sca.annotation.Remotable; - -/** - * @version $Rev$ $Date$ - */ -@Remotable -public interface StockValue { - /** - * Join the quotes and accounts document to calculate the value - * @param quotes The quotes XML document - * @param accounts The accounts XML document - * @return The value - */ - double calculate(XMLStreamReader quotes, XMLStreamReader accounts); -} diff --git a/java/sca-contrib/demos/xml-bigbank/src/main/resources/BigBank.composite b/java/sca-contrib/demos/xml-bigbank/src/main/resources/BigBank.composite deleted file mode 100644 index 8afde4bf80..0000000000 --- a/java/sca-contrib/demos/xml-bigbank/src/main/resources/BigBank.composite +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - - - EUR - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/demos/xml-bigbank/src/main/resources/accounts.xml b/java/sca-contrib/demos/xml-bigbank/src/main/resources/accounts.xml deleted file mode 100644 index 52ffd41fa7..0000000000 --- a/java/sca-contrib/demos/xml-bigbank/src/main/resources/accounts.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - John - Smith - - - - - - - \ No newline at end of file diff --git a/java/sca-contrib/demos/xml-bigbank/src/main/resources/customer.xsd b/java/sca-contrib/demos/xml-bigbank/src/main/resources/customer.xsd deleted file mode 100644 index b22efb74c4..0000000000 --- a/java/sca-contrib/demos/xml-bigbank/src/main/resources/customer.xsd +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/java/sca-contrib/demos/xml-bigbank/src/main/resources/stock.xq b/java/sca-contrib/demos/xml-bigbank/src/main/resources/stock.xq deleted file mode 100644 index 03c19e457d..0000000000 --- a/java/sca-contrib/demos/xml-bigbank/src/main/resources/stock.xq +++ /dev/null @@ -1,52 +0,0 @@ -(: - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. -:) -declare namespace q="http://www.webserviceX.NET/"; -declare namespace c="http://example.com/customer"; -declare namespace stock="scaservice:java/bigbank.StockValue"; -(: declare namespace currency="scaproperty:java/java.lang.String"; :) - -declare function stock:calculate($quoteDoc, $accountDoc) as xs:double { - let $checking := - trace( - sum( - for $a in $accountDoc/c:customer/c:accounts/c:checking - return $a/@balance - ), "Checking Balance") - - let $saving := - trace( - sum( - for $a in $accountDoc/c:customer/c:accounts/c:saving - return $a/@balance - ), "Saving Blance") - - let $value := - trace( - sum( - for $quote in $quoteDoc/StockQuotes/Stock, - $account in $accountDoc/c:customer/c:accounts/c:stock - where string($quote/Symbol) = string($account/@symbol) - return - trace(number($quote/Last),"Stock Price") * trace(number($account/@quantity), "Quantity") - ), "Stock Value") - return trace($checking + $saving + $value, "Total Value") -}; - - - diff --git a/java/sca-contrib/demos/xml-bigbank/src/main/resources/wsdl/StockQuotes.wsdl b/java/sca-contrib/demos/xml-bigbank/src/main/resources/wsdl/StockQuotes.wsdl deleted file mode 100644 index 8411e22ff7..0000000000 --- a/java/sca-contrib/demos/xml-bigbank/src/main/resources/wsdl/StockQuotes.wsdl +++ /dev/null @@ -1,23 +0,0 @@ - - - - - \ No newline at end of file diff --git a/java/sca-contrib/demos/xml-bigbank/xml-bigbank.png b/java/sca-contrib/demos/xml-bigbank/xml-bigbank.png deleted file mode 100644 index 0743a413a3..0000000000 Binary files a/java/sca-contrib/demos/xml-bigbank/xml-bigbank.png and /dev/null differ diff --git a/java/sca-contrib/demos/xml-bigbank/xml-bigbank.svg b/java/sca-contrib/demos/xml-bigbank/xml-bigbank.svg deleted file mode 100644 index c7acc03324..0000000000 --- a/java/sca-contrib/demos/xml-bigbank/xml-bigbank.svg +++ /dev/null @@ -1,447 +0,0 @@ - - - - - - - - - - image/svg+xml - - - - - - - - BigBank - AccountData(Local file orDatabase) - - StockValue (XQuery) - - - - - - - - - - - - - - WS XML Feed(rss) - - 1 - - - - 2 - - - - 3 - - - - 4 - - - - AccountService (Java) - - - ExchangeRate (Java) - - StockQuote(Live WebService) CurrencyExchangeRate (Live RSS Feed) - - - - diff --git a/java/sca-contrib/distribution/core/pom.xml b/java/sca-contrib/distribution/core/pom.xml deleted file mode 100644 index 8da15ac32d..0000000000 --- a/java/sca-contrib/distribution/core/pom.xml +++ /dev/null @@ -1,152 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - tuscany-distribution - 2.0-SNAPSHOT - ../pom.xml - - - tuscany-distribution-core - Apache Tuscany SCA Core Distribution - pom - - - - - org.apache.tuscany.sca - tuscany-feature-core - pom - 2.0-SNAPSHOT - - - - - - - - - distribution - - false - - - - - org.apache.tuscany.sca - tuscany-maven-bundle-plugin - 2.0-SNAPSHOT - - - distribution-modules - generate-resources - - generate-modules - - - target/modules - true - - - - - - - org.apache.maven.plugins - maven-assembly-plugin - - - distribution-package - package - - single - - - - src/main/assembly/bin.xml - src/main/assembly/src.xml - - gnu - apache-tuscany-sca-core-2.0-SNAPSHOT - - - - - - - - - - - - modules - - ../../modules/assembly - ../../modules/assembly-xml - ../../modules/assembly-xsd - ../../modules/binding-sca - ../../modules/binding-sca-xml - ../../modules/contribution - ../../modules/contribution-java - ../../modules/contribution-namespace - ../../modules/contribution-xml - ../../modules/core - ../../modules/core-databinding - ../../modules/core-spi - ../../modules/databinding - ../../modules/databinding-jaxb - ../../modules/definitions - ../../modules/definitions-xml - ../../modules/endpoint - ../../modules/extensibility - ../../modules/extensibility-equinox - ../../modules/host-http - ../../modules/implementation-java - ../../modules/implementation-java-runtime - ../../modules/implementation-java-xml - ../../modules/implementation-node - ../../modules/implementation-node-runtime - ../../modules/interface - ../../modules/interface-java - ../../modules/interface-java-jaxws - ../../modules/interface-java-xml - ../../modules/interface-wsdl - ../../modules/interface-wsdl-xml - ../../modules/monitor - ../../modules/node-api - ../../modules/node-impl - ../../modules/node-launcher - ../../modules/node-launcher-equinox - ../../modules/policy - ../../modules/policy-security - ../../modules/policy-xml - ../../modules/sca-api - ../../modules/workspace - ../../modules/workspace-impl - ../../modules/workspace-xml - ../../modules/xsd - ../../modules/xsd-xml - - - - - diff --git a/java/sca-contrib/distribution/core/src/main/assembly/bin.xml b/java/sca-contrib/distribution/core/src/main/assembly/bin.xml deleted file mode 100644 index 8a882e6623..0000000000 --- a/java/sca-contrib/distribution/core/src/main/assembly/bin.xml +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - true - tuscany-sca-2.0-SNAPSHOT - - dir - tar.gz - zip - - - - src/main/components/bin-common.xml - src/main/components/bin-modules.xml - src/main/components/bin-samples.xml - - diff --git a/java/sca-contrib/distribution/core/src/main/assembly/src.xml b/java/sca-contrib/distribution/core/src/main/assembly/src.xml deleted file mode 100644 index 7fc8a97b96..0000000000 --- a/java/sca-contrib/distribution/core/src/main/assembly/src.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - - src - true - tuscany-sca-2.0-SNAPSHOT-src - - - zip - - - - src/main/components/src-common.xml - src/main/components/src-modules.xml - - diff --git a/java/sca-contrib/distribution/core/src/main/components/bin-common.xml b/java/sca-contrib/distribution/core/src/main/components/bin-common.xml deleted file mode 100644 index c69e8e3699..0000000000 --- a/java/sca-contrib/distribution/core/src/main/components/bin-common.xml +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - src/main/release - - - CHANGES - DISCLAIMER - README - RELEASE_NOTES - - - - src/main/release/bin - - - INSTALL - LICENSE - NOTICE - - - - - diff --git a/java/sca-contrib/distribution/core/src/main/components/bin-modules.xml b/java/sca-contrib/distribution/core/src/main/components/bin-modules.xml deleted file mode 100644 index 69ec47740a..0000000000 --- a/java/sca-contrib/distribution/core/src/main/components/bin-modules.xml +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - target - / - - modules/**/* - features/**/* - - - - - - diff --git a/java/sca-contrib/distribution/core/src/main/components/bin-samples.xml b/java/sca-contrib/distribution/core/src/main/components/bin-samples.xml deleted file mode 100644 index 64533c6ee2..0000000000 --- a/java/sca-contrib/distribution/core/src/main/components/bin-samples.xml +++ /dev/null @@ -1,62 +0,0 @@ - - - - - - ../../samples - samples - - README - logging.properties - build-common.xml - implementation-java-calculator/**/* - calculator/**/* - calculator-equinox/**/* - calculator-osgi/**/* - - - - **/.* - **/.*/** - **/*.log - **/*.svg - **/maven-eclipse.xml - - - pom.xml - - - */target/mvn-eclipse-cache.properties - */target/classes - */target/classes/**/* - */target/dependency-maven-plugin-markers - */target/dependency-maven-plugin-markers/**/* - */target/.felix - */target/.felix/**/* - */target/maven-archiver - */target/maven-archiver/**/* - */target/test-classes - */target/test-classes/**/* - */target/surefire-reports - */target/surefire-reports/**/* - - - - diff --git a/java/sca-contrib/distribution/core/src/main/components/src-common.xml b/java/sca-contrib/distribution/core/src/main/components/src-common.xml deleted file mode 100644 index 002df33fc7..0000000000 --- a/java/sca-contrib/distribution/core/src/main/components/src-common.xml +++ /dev/null @@ -1,42 +0,0 @@ - - - - - src/main/release - - - CHANGES - DISCLAIMER - README - RELEASE_NOTES - - - - src/main/release/src - - - BUILDING - LICENSE - NOTICE - - - - - diff --git a/java/sca-contrib/distribution/core/src/main/components/src-modules.xml b/java/sca-contrib/distribution/core/src/main/components/src-modules.xml deleted file mode 100644 index edf73ec8fc..0000000000 --- a/java/sca-contrib/distribution/core/src/main/components/src-modules.xml +++ /dev/null @@ -1,86 +0,0 @@ - - - - - - - ../../../modules - modules - - assembly/**/* - assembly-xml/**/* - assembly-xsd/**/* - binding-sca/**/* - binding-sca-xml/**/* - contribution/**/* - contribution-java/**/* - contribution-namespace/**/* - contribution-xml/**/* - core/**/* - core-databinding/**/* - core-spi/**/* - databinding/**/* - databinding-jaxb/**/* - definitions/**/* - definitions-xml/**/* - endpoint/**/* - extensibility/**/* - extensibility-equinox/**/* - host-http/**/* - implementation-java/**/* - implementation-java-runtime/**/* - implementation-java-xml/**/* - implementation-node/**/* - implementation-node-runtime/**/* - interface/**/* - interface-java/**/* - interface-java-jaxws/**/* - interface-java-xml/**/* - interface-wsdl/**/* - interface-wsdl-xml/**/* - monitor/**/* - node-api/**/* - node-impl/**/* - node-launcher/**/* - node-launcher-equinox/**/* - policy/**/* - policy-security/**/* - policy-xml/**/* - sca-api/**/* - workspace/**/* - workspace-impl/**/* - workspace-xml/**/* - xsd/**/* - xsd-xml/**/* - - - - **/.* - **/.*/** - **/*.log - - - pom.xml - **/target - **/target/**/* - - - - diff --git a/java/sca-contrib/distribution/core/src/main/release/CHANGES b/java/sca-contrib/distribution/core/src/main/release/CHANGES deleted file mode 100644 index 3de7358ec6..0000000000 --- a/java/sca-contrib/distribution/core/src/main/release/CHANGES +++ /dev/null @@ -1,431 +0,0 @@ -Changes With Apache Tuscany SCA 1.2 (incubating) April 2008 -=========================================================== - -- Fix the following JIRA issues (http://issues.apache.org/jira/browse/TUSCANY): - * TUSCANY-2027 - * TUSCANY-1999 - * TUSCANY-2037 - * TUSCANY-2034 - * TUSCANY-2038 - * TUSCANY-2043 - * TUSCANY-2046 - * TUSCANY-2047 - * TUSCANY-2028 - * TUSCANY-1873 - * TUSCANY-2049 - * TUSCANY-2035 - * TUSCANY-1206 - * TUSCANY-2036 - * TUSCANY-1771 - * TUSCANY-2013 - * TUSCANY-1926 - * TUSCANY-1917 - * TUSCANY-1949 - * TUSCANY-1941 - * TUSCANY-2045 - * TUSCANY-2057 - * TUSCANY-2055 - * TUSCANY-2056 - * TUSCANY-2072 - * TUSCANY-2047 - * TUSCANY-2073 - * TUSCANY-1977 - * TUSCANY-2075 - * TUSCANY-1894 - * TUSCANY-2079 - * TUSCANY-2078 - * TUSCANY-2080 - * TUSCANY-2068 - * TUSCANY-1950 - * TUSCANY-2077 - * TUSCANY-2056 - * TUSCANY-2088 - * TUSCANY-2086 - * TUSCANY-2094 - * TUSCANY-2106 - - Features and/or Enhancements - - * Core - - Interceptor Enhancements - - Phase-based interceptor ordering to allow contribution of new interceptors and also define the order in witch they should be invoked - - Pass-by-reference SPI to allow interceptors to indicate if they support pass-by-reference - - PolicyProvider SPIs to allow extensions to plugin policy interceptors - - Support for JAXWS annotations and mapping of faults to Java exceptions according to JAXWS specification - - Improvement of contribution service to allow it to be used outside of the runtime environment - - Support for Contribution Import/Export resource - - Enhanced Distributed Domain story using Workspace - - Implementation of a SCA domain allowing a system administrator to manage contributions, composites and sca nodes that run these composites - - Set of core services providing management capabilities - - Administration web interface - - This is a work in progress and you can see it in action in samples/calculator-distributed. Other samples that use distributed operation are yet to move over to the workspace. - - Enhanced support for SCA Policy spec - - Ability to apply external policy definitions to a SCA composition - - Ability to spread policy definitions to multiple definitions.xml files available across the sca domain - - Bug fixes - - Improvements of http binding to support servlet components - - Enable Tuscany to run inside an OSGi runtime - - * Web 2.0 Extensions - - Enhancements to implementation.widget (support for properties) - - New atom binding based on Apache Abdera - - Refactoring of rss-rome binding - * Other Extensions - - Binding JMS - - greatly simplified the use of the JMS binding, support locating JMS resources from JNDI, and better compliance with the SCA JMS binding spec - - see the doc page for more details: http://incubator.apache.org/tuscany/sca-java-bindingjms.html - - Enhancements to Binding RMI - - Support shared RMI registry and use 999x as the ports in test case to avoid 1099 conflict - - Enhancements to Groovy extension - - Support for 'native' groovy classes - - Enhancements to OSGi bundle contributions - - Support Bundle URLs to be added as contributions - - * Tools - - Eclipse plugin providing a Tuscany runtime Library and Tuscany launcher in Eclipse environment - - An updatesite is also available to facilitate the plugin installation using the Eclipse update manager - - * Samples/Tutorial/Demos - - calculator-distributed migrated to use new Tuscany Distributed Workspace - - sample-calculator-ws-secure-webapp - - sample-helloworld-jms-webapp - - new jms samples - - improve bigbank demo to include support for policies - - tutorial store changes - - use of import/export - - development of contribution without requiring dependencies on the Tuscany runtime - - usage of new sca domain infrastructure - - * Testing - - Web Container Testing Framework integrated with (Tomcat, Jetty, Geronimo and Websphere) - - -Changes With Apache Tuscany SCA 1.1 (incubating) January 2008 -=============================================================== - -- Fix the following JIRA issues (http://issues.apache.org/jira/browse/TUSCANY): - * TUSCANY-1939 - * TUSCANY-1914 - * TUSCANY-1854 - * TUSCANY-1931 - * TUSCANY-1547 - * TUSCANY-1909 - * TUSCANY-1919 - * TUSCANY-1930 - * TUSCANY-1806 - * TUSCANY-1804 - * TUSCANY-1916 - * TUSCANY-1913 - * TUSCANY-1834 - * TUSCANY-1857 - * TUSCANY-1687 - * TUSCANY-1801 - * TUSCANY-1742 - * TUSCANY-1762 - * TUSCANY-1945 - * TUSCANY-1595 - * TUSCANY-1594 - * TUSCANY-1849 - * TUSCANY-1836 - * TUSCANY-1934 - * TUSCANY-1902 - * TUSCANY-1608 - * TUSCANY-1943 - * TUSCANY-1896 - * TUSCANY-1626 - * TUSCANY-1797 - * TUSCANY-1601 - * TUSCANY-1415 - -- Better JMS support - * binding.jms supporting point to point text based messaging only - * New SOAP/JMS sample (helloworld-ws-reference/service-jms) - -- Improvements in PolicyFramework Support - * Support for policy specifications on operation elements in a composite definition - * Separate sample (calculator-implementation-policies) to demonstrate use of Implementation Policies - (uses logging and JAAS Authentication) - -- Modeling of client side java script components - * See implementation.widget - -- Evolving support for doman API suggested by assembly spec including a standalone node and nodes running - connected together in a domain. This is still experimental. - -- Class loading and OSGI improvements - * Enable Tuscany to be run in a multi-classloader environment including inside OSGi. By default, - Tuscany continues to run using a single CLASSPATH-based classloader. - * Contributions no longer need to be in the CLASSPATH. All import/export dependencies across contributions should be - explicitly specified (as described in the spec). - -- JAXB based POJO transformations - -Changes With Apache Tuscany SCA 1.0.1 (incubating) November 2007 -================================================================ - -The Tuscany SCA Java 1.0.1 is mainly a bug-fix release. It also comes with some improvements as listed below. - -- Fix the following JIRA issues (http://issues.apache.org/jira/browse/TUSCANY): - * TUSCANY-1848 - * TUSCANY-1857 - * TUSCANY-1859 - * TUSCANY-1801 - * TUSCANY-1823 - * TUSCANY-1839 - * TUSCANY-1814 - * TUSCANY-1818 - * TUSCANY-1834 - * TUSCANY-1637 - * TUSCANY-1826 - * TUSCANY-1823 - * TUSCANY-1819 - * TUSCANY-1821 - * TUSCANY-1822 - * TUSCANY-1806 - * TUSCANY-1808 - * TUSCANY-1756 - * TUSCANY-1757 - -- Fix build issues with Maven 2.0.7 and JDK 6 - -- Reduce memory consumption for WSDLs that import large XSDs - -- Add more logging statements for better servicibility - -- Add an extension point to allow extensions to plug-in extension schemas. - -- Add a demo application to showcase XML integration story - -- Improve in databinding framework - * Add support for JSON Databindings and other refactoring - * Set databinding for introspected data type and enhance the checking of wrapper style - * Improve the tree-based XMLStreamReader and convert Bean & DOM to use this approach - * Add a tree-iterator based XMLStreamReader base impl - * Add default element info to java interface - * Rename Interface.setDefaultDataBinding to resetDataBinding - -- Limit the method injection to setters and allow the setter annotation to override field annotation - -- Evolving support in Intent and Policy handling - * Add support for policies in implementation - * Fix the algorithm for macthing policySets defined on bindings for the wire - * Add policy intent for implementation.java - * Extend java implementation type to recognize and apply policies, adding util support for this in Policy module - * Add policy module for logging - -- Evolving development in the SCA Domain/Node - -- Update NOTICE files with missing dependencies - - -Changes With Apache Tuscany SCA 1.0 (incubating) September 2007 -=============================================================== - -- Tuscany Java SCA now implements V1.0 of the core SCA - specifications - SCA Assembly Model V1.0 - SCA Java Common Annotations and APIs V1.0 - SCA Java Component Implementation V1.0 - SCA Web Services Binding V1.0 - Including callbacks, conversations and callable references - - -- Support for ws-security configurable in the web services binding - thro Tuscany SCA policy intents and policysets using the policy framework - introduced in the last release. - - Note : This release supports specifications of policies around axis2 - config params - see helloworld-ws-service-secure sample. The policy - intents that have been tested are authentication, integrity and - confidentiality. - There is no sample or test that exercises confidentiality since there - are some unresolved licensing issue around bouncycastle libraries. - However, users who are not encumbered by the bouncycastle license - restrictions can try the 'confidentiality' intent. See FAQ - - http://incubator.apache.org/tuscany/tuscany-sca-java-faq.html - - This release does not include support for WS-Policy - attachments in Tuscany Policysets for ws-security. - - -- An XQuery component implementation type - implementation-xquery - - -- A Databinding for converting data to and from nodes for XQuery - processing - databinding-saxon - - -- OSGI support has been extended to allow Tuscany contributions - packaged as OSGI bundles hence taking advantage of OSGI's bundle - loading an dependency management capabilities - - -- A BPEL component implementation type experimental implementation -based on SCA BPEL Client and Implementation V1.0. At the moment only -supports BPEL process as services. - implementation-bpel - - -- The distributed runtime implementation has been separated out - into - *) domain - *) node - It is now wrapped by a SCADomain interface as is the standalone - runtime. - - Note: This release does not include support for WebApp host deployment - for a distributed SCA Domain - - - -- The web service binding will now generate WSDL automatically - based on the service interface if no WSDL is provided - - -- A new "store" sample and associated document show how a - simple store front application can be constructed - samples/store - -- The following features of this release are still experimental: - - BPEL implementation type, integrating with Apache ODE - - OSGI implementation type, integrating with Apache Felix - - XQuery implementation type - - - -Changes With Apache Tuscany SCA 0.99 (incubating) August 2007 -============================================================= - -The following are the significant additions to release 0.99 -over and above all of what was offered in release 0.91. - -- A version of the default sca binding that works between - components runing in separate Java virtual machines - binding-sca-axis - -- A simple node implementation and a service discovery - function for running sca applications distributed - across more than one node - distributed - distributed-impl - -- integration with OSGi runtimes is now supported with - a new implementation-osgi component type - -- PUB/SUB interactions are now supported by using new - notification binding and implementation types, and - samples demonstrating the feature. - -- The Tuscany runtime now has a policy framework supporting - the SCA policy specification - -- the endpoint URIs used by SCA bindings has been rationalized - and now follows the SCA Assembly specification - -- binding-ajax has been renamed to binding-dwr - -Changes With Apache Tuscany SCA 0.91 (incubating) July 2007 -=========================================================== - -The following are the significant additions to release 0.91 -over and above all of what was offered in release 0.90. - - -- Enhancements to support multiple contributions to the SCA Domain - -- The inclusion of a alternative simplified extensions-helper -SPI layer to faciliate rapid development of extensions - -- More Implementation Extenstions - Spring - WebResource - -- More Binding Extensions - AJAX - EJB - RSS/ATOM Feeds - -- Demos that demonstrate the use of a mix of extensions - alert-aggregator-webapp - bigbank-account - bigbank-calculator - bigbank-stockquote - - -- Samples - Samples to demostrate use of Spring, Resource, AJAX extensions - -Changes With Apache Tuscany SCA 0.90 (incubating) June 2007 -=========================================================== - -- Implementations for all of the Java Annotations and API Specification V1.0 found at - (http://www.osoa.org/display/Main/Service+Component+Architecture+Specifications) - apart from the following. - @ComponentName - Conversation - RequestContext - -- New assembly model implementation taking into account SCA 1.0 artifacts - Data duplication between assembly model and runtime removed - -- Simple single process domain support - Contribution support to scope items being deployed into the runtime - -- Improved Package/Class naming consistency across modules - -- Extensions now loaded via Java service mechanism - Refactored extensions to use new SPIs (see below) - -- Maven and Ant based sample builds in the binary distribution - -- Implementation Extensions - Java - Script supporting (Ruby, Python, Groovy, JavaScript) - -- Binding Extensions - Axis2 - RMI - JSONRPC - --Databinding Extensions - Axiom - JAXB - SDO - -- Host environments - Embedded - Tomcat - Jetty - RMI - -- A clear set of SPIs intended to be stable over future releases - SCA assembly model - org.apache.tuscany.sca.assembly - org.apache.tuscany.sca.interfacedef - org.apache.tuscany.sca.interfacedef.java - org.apache.tuscany.sca.interfacedef.wsdl - org.apache.tuscany.sca.policy - - SCA contribution model - org.apache.tuscany.sca.contribution - - Runtime extensions - org.apache.tuscany.sca.core - org.apache.tuscany.sca.invocation - org.apache.tuscany.sca.provider - org.apache.tuscany.sca.runtime - org.apache.tuscany.sca.work - - Data binding support - org.apache.tuscany.sca.databinding - - Embedding Tuscany - org.apache.tuscany.sca.host.embedded - - Servlet container integration - org.apache.tuscany.sca.http - -- For this point release a partial set of JavaDoc is provided to - be filled out as we close on release 1.0 diff --git a/java/sca-contrib/distribution/core/src/main/release/README b/java/sca-contrib/distribution/core/src/main/release/README deleted file mode 100644 index 4d83dcfde9..0000000000 --- a/java/sca-contrib/distribution/core/src/main/release/README +++ /dev/null @@ -1,19 +0,0 @@ -Apache Tuscany SCA 1.2 (incubating) April 2008 README -===================================================== - -Welcome to the Tuscany SCA 1.2 release. - -See the RELEASE_NOTES file for information specific to this release. - -In the binary release see the INSTALL file for information on how to -install the release. - -In the source distribution see the BUILDING file for information on -building the source code. - - - - - - - diff --git a/java/sca-contrib/distribution/core/src/main/release/RELEASE_NOTES b/java/sca-contrib/distribution/core/src/main/release/RELEASE_NOTES deleted file mode 100644 index a04ef5c553..0000000000 --- a/java/sca-contrib/distribution/core/src/main/release/RELEASE_NOTES +++ /dev/null @@ -1,83 +0,0 @@ -Apache Tuscany SCA 1.2 (incubating) April 2008 Release Notes -============================================================ - -Apache Tuscany provides a runtime based on the Service Component -Architecture. SCA is a set of specifications aimed at simplifying SOA -Application Development which are being standardized at OASIS as part -of Open Composite Services Architecture (Open CSA) - http://www.oasis-opencsa.org/. - -Overview --------- - - The Apache Tuscany SCA 1.2 release includes implementations of the - main SCA specifications including: - - SCA Assembly Model V1.0 - SCA Policy Framework V1.0 - SCA Java Common Annotations and APIs V1.0 - SCA Java Component Implementation V1.0 - SCA Spring Component Implementation V1.0 - SCA BPEL Client and Implementation V1.0 - SCA Web Services Binding V1.0 - SCA EJB Session Bean Binding V1.0 - - It also includes implementations of many features not yet defined - by SCA specifications, including: - - - SCA bindings for Direct Web Remoting, RSS and ATOM Feeds, - HTTP resources, JSON-RPC, PUB/SUB Notifications, and RMI. - - SCA implementation types for OSGI, XQuery, BPEL, Widget and various - dynamic languages including Groovy, Javascript, Python and Ruby - - Databindings for Service Data Objects (SDO), JAXB, XmlBeans, - Axis2's AXIOM, JSON, SAXON, DOM, SAX and StAX - - The Tuscany SCA Runtime can be configured as a single node SCA domain or - as an SCA domain distributed across multiple nodes. - In addition Tuscany SCA supports the following host-deployment options: - - - running standalone - - running with distributed nodes across multiple JVMs - - running with embedded Jetty or Tomcat - - running as part of a standard web application - - The Wepapp samples included in this release have been tried and tested on - - Tomcat 5.5.20 and Tomcat 6.0.14 - - Jetty 6.1.3 - - Geronimo 2.0.2 Tomcat6 jee5 - - WebSphere 6.1 fix pack 9 - -See the CHANGES file for a detailed list of the features in this release. - -Support -------- - -For more information on Apache Tuscany visit the website at: - - http://incubator.apache.org/tuscany/ - -Any issues with this release can be reported to Apache Tuscany -using the mailing lists or in the JIRA issue tracker. - - Mailing list archives: - - http://mail-archives.apache.org/mod_mbox/ws-tuscany-user/ - http://mail-archives.apache.org/mod_mbox/ws-tuscany-dev/ - - Jira: - - http://issues.apache.org/jira/browse/TUSCANY - -To join the project's mailing lists follow the instructions at: - - http://incubator.apache.org/tuscany/mailing-lists.html - -To find out more about OASIS Open CSA go to: - - http://www.oasis-opencsa.org. - -Apache Tuscany welcomes your help. Any contribution, including code, -testing, improving the documentation, or bug reporting is always -appreciated. - -Thank you for using Apache Tuscany! - -- The Tuscany Team. diff --git a/java/sca-contrib/distribution/core/src/main/release/bin/INSTALL b/java/sca-contrib/distribution/core/src/main/release/bin/INSTALL deleted file mode 100644 index 2da53a2b44..0000000000 --- a/java/sca-contrib/distribution/core/src/main/release/bin/INSTALL +++ /dev/null @@ -1,27 +0,0 @@ -Installing the Apache Tuscany SCA 1.2 (incubating) April 2008 Release binary distribution -========================================================================================= - -Unzip Tuscany binary distribution archive and you get the following: - -tuscany-sca-1.1-incubating - DISCLAIMER - the ASF incubation disclaimer - INSTALL - this help file - LICENSE - the Apache License and any dependecy licenses - NOTICE - attribution notices associated with the licenses - README - readme for the release - RELEASE_NOTES - description of this release - CHANGES - A note of the major changes in this release - - /demos - Demo applications showcasing the use of Apache Tuscany - - /lib - The tuscany-sca-all and tuscany-sca-manifest jars and all their dependencies - - /modules - all of the individual Tuscany jars - - /samples - all the Tuscany samples, see the README in that directory - - /tutorial - The store tutorial, see the README in that directory - - - - diff --git a/java/sca-contrib/distribution/core/src/main/release/bin/LICENSE b/java/sca-contrib/distribution/core/src/main/release/bin/LICENSE deleted file mode 100644 index 5e1f585d46..0000000000 --- a/java/sca-contrib/distribution/core/src/main/release/bin/LICENSE +++ /dev/null @@ -1,2366 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - -=============================================================================== - -APACHE TUSCANY SUBCOMPONENTS: - -The Apache Tuscany binary distribution includes a number of subcomponents -with separate copyright notices and license terms. Your use of the -code for the these subcomponents is subject to the terms and -conditions of the following licenses. - -=============================================================================== - -The following components come under Apache Software License 1.1 - - commons-discovery-0.2.jar - commons-primitives-1.0.jar - -The following components come under Apache Software License 2.0 - - abdera-core-0.3.0-incubating.jar - abdera-i18n-0.3.0-incubating.jar - abdera-parser-0.3.0-incubating.jar - activeio-2.0-r118.jar - activeio-core-3.0.0-incubator.jar - apache-activemq-4.1.1.jar - addressing-1.3.mar - annogen-0.1.0.jar - annotations-api-6.0.14.jar - aopalliance-1.0.jar - axiom-api-1.2.5.jar - axiom-dom-1.2.5.jar - axiom-impl-1.2.5.jar - axis2-adb-1.3.jar - axis2-codegen-1.3.jar - axis2-java2wsdl-1.3.jar - axis2-kernel-1.3.jar - axis2-mtompolicy-1.3.jar - bsf-all-3.0-beta2.jar - catalina-6.0.14.jar - cglib-nodep-2.1_3.jar - commons-collections-3.1.jar - commons-codec-1.3.jar - commons-fileupload-1.1.1.jar - commons-httpclient-3.0.1.jar - commons-io-1.2.jar - commons-jexl-1.1.jar - commons-lang-2.1.jar - commons-logging-1.1.jar - coyote-6.0.14.jar - derby-10.1.3.1.jar - geronimo-activation_1.1_spec-1.0-M1.jar - geronimo-common-1.2-beta.jar - geronimo-commonj_1.1_spec-1.0.jar - geronimo-connector-1.2-beta.jar - geronimo-core-1.2-beta.jar - geronimo-deployment-1.2-beta.jar - geronimo-ejb_3.0_spec-1.0.jar - geronimo-interceptor-1.2-beta.jar - geronimo-j2ee-1.2-beta.jar - geronimo-j2ee-connector_1.5_spec-1.1.jar - geronimo-j2ee-jacc_1.0_spec-1.1.jar - geronimo-j2ee-management_1.0_spec-1.1.jar - geronimo-javamail_1.4_spec-1.0-M1.jar - geronimo-jms_1.1_spec-1.1.jar - geronimo-jpa_3.0_spec-1.0.jar - geronimo-jta_1.0.1B_spec-1.0.jar - geronimo-kernel-1.2-beta.jar - geronimo-management-1.2-beta.jar - geronimo-naming-1.2-beta.jar - geronimo-security-1.2-beta.jar - geronimo-spec-j2ee-connector-1.5-rc4.jar - geronimo-spec-jta-1.0.1B-rc4.jar - geronimo-system-1.2-beta.jar - geronimo-transaction-1.2-beta.jar - geronimo-util-1.2-beta.jar - httpcore-4.0-alpha5.jar - httpcore-nio-4.0-alpha5.jar - httpcore-niossl-4.0-alpha5.jar - jettison-1.0-RC2.jar - jetty-6.1.7.jar - jetty-util-6.1.7.jar - json-rpc-1.0.jar - juli-6.0.14.jar - log4j-1.2.12.jar - logkit-1.0.1.jar - neethi-2.0.2.jar - ode-bpel-api-1.1.jar - ode-bpel-compiler-1.1.jar - ode-bpel-dao-1.1.jar - ode-bpel-epr-1.1.jar - ode-bpel-obj-1.1.jar - ode-bpel-runtime-1.1.jar - ode-bpel-schemas-1.1.jar - ode-bpel-store-1.1.jar - ode-dao-jpa-1.1.jar - ode-dao-jpa-ojpa-derby-1.1.zip - ode-jacob-1.1.jar - ode-jacob-ap-1.1.jar - ode-scheduler-simple-1.1.jar - ode-utils-1.1.jar - openjpa-all-0.9.7-incubating.jar - openjpa-persistence-0.9.7-incubating.jar - org.apache.felix.bundlerepository-1.0.2.jar - org.apache.felix.framework-1.0.3.jar - org.apache.felix.main-1.0.3.jar - org.apache.felix.shell-1.0.0.jar - org.apache.felix.shell.tui-1.0.0.jar - rampart-core-1.3.jar - rampart-policy-1.3.jar - rampart-trust-1.3.jar - regexp-1.3.jar - spring-beans-2.0.6.jar - spring-context-2.0.6.jar - spring-core-2.0.6.jar - tranql-connector-1.1.jar - tuscany-sdo-api-r2.1-1.0-incubating.jar - tuscany-sdo-impl-1.0-incubating.jar - tuscany-sdo-lib-1.0-incubating.jar - tuscany-sdo-tools-1.0-incubating.jar - woden-1.0-incubating-M7b.jar - wss4j-1.5.3.jar - wstx-asl-3.2.1.jar - xalan-2.7.0.jar - xbean-naming-2.7.jar - xercesImpl-2.8.1.jar - xml-apis-1.3.03.jar - xmlbeans-2.3.0.jar - xml-resolver-1.1.jar - xmlsec-1.4.0.jar - XmlSchema-1.3.2.jar - -=============================================================================== -axion-1.0-M3-dev.jar - -Copyright (c) 2002-2003 Axion Development Team. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above - copyright notice, this list of conditions and the following - disclaimer. - -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - -3. The names "Tigris", "Axion", nor the names of its contributors may - not be used to endorse or promote products derived from this - software without specific prior written permission. - -4. Products derived from this software may not be called "Axion", nor - may "Tigris" or "Axion" appear in their names without specific prior - written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A -PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -The "Axion Development Team" is defined to be: - - * Chuck Burdick - * James Burke - * Morgan Delagrange - * Geir Magnusson Jr. - * Martin Poeschl - * Steve Polyak - * Daniel Rall - * Ahimanikya Satapathy - * Doug Sale - * James Strachan - * Rodney Waldhoff - * Jason van Zyl - -License changes are to be determined by a simple majority vote of the -Axion Development Team. - -=============================================================================== -dom4j-1.6.1.jar - -Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved. - -Redistribution and use of this software and associated documentation -("Software"), with or without modification, are permitted provided -that the following conditions are met: - -1. Redistributions of source code must retain copyright - statements and notices. Redistributions must also contain a - copy of this document. - -2. Redistributions in binary form must reproduce the - above copyright notice, this list of conditions and the - following disclaimer in the documentation and/or other - materials provided with the distribution. - -3. The name "DOM4J" must not be used to endorse or promote - products derived from this Software without prior written - permission of MetaStuff, Ltd. For written permission, - please contact dom4j-info@metastuff.com. - -4. Products derived from this Software may not be called "DOM4J" - nor may "DOM4J" appear in their names without prior written - permission of MetaStuff, Ltd. DOM4J is a registered - trademark of MetaStuff, Ltd. - -5. Due credit should be given to the DOM4J Project - - http://www.dom4j.org - -THIS SOFTWARE IS PROVIDED BY METASTUFF, LTD. AND CONTRIBUTORS -``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT -NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND -FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL -METASTUFF, LTD. OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED -OF THE POSSIBILITY OF SUCH DAMAGE. - -=============================================================================== - -The EMF jars; - codegen-2.2.3.jar - codegen-ecore-2.2.3.jar - common-2.2.3.jar - ecore-2.2.3.jar - ecore-change-2.2.3.jar - ecore-xmi-2.2.3.jar - xsd-2.2.3.jar - -Eclipse Public License - v 1.0 - -THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE -PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF -THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. - -1. DEFINITIONS - -"Contribution" means: - -a) in the case of the initial Contributor, the initial code and -documentation distributed under this Agreement, and -b) in the case of each subsequent Contributor: - -i) changes to the Program, and - -ii) additions to the Program; - -where such changes and/or additions to the Program originate from and -are distributed by that particular Contributor. A Contribution -'originates' from a Contributor if it was added to the Program by such -Contributor itself or anyone acting on such Contributor's behalf. -Contributions do not include additions to the Program which: (i) are -separate modules of software distributed in conjunction with the -Program under their own license agreement, and (ii) are not derivative -works of the Program. - -"Contributor" means any person or entity that distributes the Program. - -"Licensed Patents " mean patent claims licensable by a Contributor -which are necessarily infringed by the use or sale of its Contribution -alone or when combined with the Program. - -"Program" means the Contributions distributed in accordance with this -Agreement. - -"Recipient" means anyone who receives the Program under this -Agreement, including all Contributors. - -2. GRANT OF RIGHTS - -a) Subject to the terms of this Agreement, each Contributor hereby -grants Recipient a non-exclusive, worldwide, royalty-free copyright -license to reproduce, prepare derivative works of, publicly display, -publicly perform, distribute and sublicense the Contribution of such -Contributor, if any, and such derivative works, in source code and -object code form. - -b) Subject to the terms of this Agreement, each Contributor hereby -grants Recipient a non-exclusive, worldwide, royalty-free patent -license under Licensed Patents to make, use, sell, offer to sell, -import and otherwise transfer the Contribution of such Contributor, if -any, in source code and object code form. This patent license shall -apply to the combination of the Contribution and the Program if, at -the time the Contribution is added by the Contributor, such addition -of the Contribution causes such combination to be covered by the -Licensed Patents. The patent license shall not apply to any other -combinations which include the Contribution. No hardware per se is -licensed hereunder. - -c) Recipient understands that although each Contributor grants the -licenses to its Contributions set forth herein, no assurances are -provided by any Contributor that the Program does not infringe the -patent or other intellectual property rights of any other entity. Each -Contributor disclaims any liability to Recipient for claims brought by -any other entity based on infringement of intellectual property rights -or otherwise. As a condition to exercising the rights and licenses -granted hereunder, each Recipient hereby assumes sole responsibility -to secure any other intellectual property rights needed, if any. For -example, if a third party patent license is required to allow -Recipient to distribute the Program, it is Recipient's responsibility -to acquire that license before distributing the Program. - -d) Each Contributor represents that to its knowledge it has sufficient -copyright rights in its Contribution, if any, to grant the copyright -license set forth in this Agreement. - -3. REQUIREMENTS - -A Contributor may choose to distribute the Program in object code form -under its own license agreement, provided that: - -a) it complies with the terms and conditions of this Agreement; and - -b) its license agreement: - -i) effectively disclaims on behalf of all Contributors all warranties -and conditions, express and implied, including warranties or -conditions of title and non-infringement, and implied warranties or -conditions of merchantability and fitness for a particular purpose; - -ii) effectively excludes on behalf of all Contributors all liability -for damages, including direct, indirect, special, incidental and -consequential damages, such as lost profits; - -iii) states that any provisions which differ from this Agreement are -offered by that Contributor alone and not by any other party; and - -iv) states that source code for the Program is available from such -Contributor, and informs licensees how to obtain it in a reasonable -manner on or through a medium customarily used for software exchange. - -When the Program is made available in source code form: - -a) it must be made available under this Agreement; and - -b) a copy of this Agreement must be included with each copy of the -Program. - -Contributors may not remove or alter any copyright notices contained -within the Program. - -Each Contributor must identify itself as the originator of its -Contribution, if any, in a manner that reasonably allows subsequent -Recipients to identify the originator of the Contribution. - -4. COMMERCIAL DISTRIBUTION - -Commercial distributors of software may accept certain -responsibilities with respect to end users, business partners and the -like. While this license is intended to facilitate the commercial use -of the Program, the Contributor who includes the Program in a -commercial product offering should do so in a manner which does not -create potential liability for other Contributors. Therefore, if a -Contributor includes the Program in a commercial product offering, -such Contributor ("Commercial Contributor") hereby agrees to defend -and indemnify every other Contributor ("Indemnified Contributor") -against any losses, damages and costs (collectively "Losses") arising -from claims, lawsuits and other legal actions brought by a third party -against the Indemnified Contributor to the extent caused by the acts -or omissions of such Commercial Contributor in connection with its -distribution of the Program in a commercial product offering. The -obligations in this section do not apply to any claims or Losses -relating to any actual or alleged intellectual property infringement. -In order to qualify, an Indemnified Contributor must: a) promptly -notify the Commercial Contributor in writing of such claim, and b) -allow the Commercial Contributor to control, and cooperate with the -Commercial Contributor in, the defense and any related settlement -negotiations. The Indemnified Contributor may participate in any such -claim at its own expense. - -For example, a Contributor might include the Program in a commercial -product offering, Product X. That Contributor is then a Commercial -Contributor. If that Commercial Contributor then makes performance -claims, or offers warranties related to Product X, those performance -claims and warranties are such Commercial Contributor's responsibility -alone. Under this section, the Commercial Contributor would have to -defend claims against the other Contributors related to those -performance claims and warranties, and if a court requires any other -Contributor to pay any damages as a result, the Commercial Contributor -must pay those damages. - -5. NO WARRANTY - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS -PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY -OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely -responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement , including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -6. DISCLAIMER OF LIABILITY - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -7. GENERAL - -If any provision of this Agreement is invalid or unenforceable under -applicable law, it shall not affect the validity or enforceability of -the remainder of the terms of this Agreement, and without further -action by the parties hereto, such provision shall be reformed to the -minimum extent necessary to make such provision valid and enforceable. - -If Recipient institutes patent litigation against any entity -(including a cross-claim or counterclaim in a lawsuit) alleging that -the Program itself (excluding combinations of the Program with other -software or hardware) infringes such Recipient's patent(s), then such -Recipient's rights granted under Section 2(b) shall terminate as of -the date such litigation is filed. - -All Recipient's rights under this Agreement shall terminate if it -fails to comply with any of the material terms or conditions of this -Agreement and does not cure such failure in a reasonable period of -time after becoming aware of such noncompliance. If all Recipient's -rights under this Agreement terminate, Recipient agrees to cease use -and distribution of the Program as soon as reasonably practicable. -However, Recipient's obligations under this Agreement and any licenses -granted by Recipient relating to the Program shall continue and -survive. - -Everyone is permitted to copy and distribute copies of this Agreement, -but in order to avoid inconsistency the Agreement is copyrighted and -may only be modified in the following manner. The Agreement Steward -reserves the right to publish new versions (including revisions) of -this Agreement from time to time. No one other than the Agreement -Steward has the right to modify this Agreement. The Eclipse Foundation -is the initial Agreement Steward. The Eclipse Foundation may assign -the responsibility to serve as the Agreement Steward to a suitable -separate entity. Each new version of the Agreement will be given a -distinguishing version number. The Program (including Contributions) -may always be distributed subject to the version of the Agreement -under which it was received. In addition, after a new version of the -Agreement is published, Contributor may elect to distribute the -Program (including its Contributions) under the new version. Except as -expressly stated in Sections 2(a) and 2(b) above, Recipient receives -no rights or licenses to the intellectual property of any Contributor -under this Agreement, whether expressly, by implication, estoppel or -otherwise. All rights in the Program not expressly granted under this -Agreement are reserved. - -This Agreement is governed by the laws of the State of New York and -the intellectual property laws of the United States of America. No -party to this Agreement will bring a legal action under this Agreement -more than one year after the cause of action arose. Each party waives -its rights to a jury trial in any resulting litigation. - -=============================================================================== -For Saxon including - saxon-8.7.jar - saxon-dom-8.7.jar - saxon-xpath-8.7.jar - - MOZILLA PUBLIC LICENSE -Version 1.0 - -1. Definitions. - - 1.1. ``Contributor'' means each entity that creates or contributes to the creation of Modifications. - - 1.2. ``Contributor Version'' means the combination of the Original Code, prior Modifications used by a Contributor, and the Modifications made by that particular Contributor. - - 1.3. ``Covered Code'' means the Original Code or Modifications or the combination of the Original Code and Modifications, in each case including portions thereof. - - 1.4. ``Electronic Distribution Mechanism'' means a mechanism generally accepted in the software development community for the electronic transfer of data. - - 1.5. ``Executable'' means Covered Code in any form other than Source Code. - - 1.6. ``Initial Developer'' means the individual or entity identified as the Initial Developer in the Source Code notice required by Exhibit A. - - 1.7. ``Larger Work'' means a work which combines Covered Code or portions thereof with code not governed by the terms of this License. - - 1.8. ``License'' means this document. - - 1.9. ``Modifications'' means any addition to or deletion from the substance or structure of either the Original Code or any previous Modifications. When Covered Code is released as a series of files, a Modification is: - - A. Any addition to or deletion from the contents of a file containing Original Code or previous Modifications. - - B. Any new file that contains any part of the Original Code or previous Modifications. - - 1.10. ``Original Code'' means Source Code of computer software code which is described in the Source Code notice required by Exhibit A as Original Code, and which, at the time of its release under this License is not already Covered Code governed by this License. - - 1.11. ``Source Code'' means the preferred form of the Covered Code for making modifications to it, including all modules it contains, plus any associated interface definition files, scripts used to control compilation and installation of an Executable, or a list of source code differential comparisons against either the Original Code or another well known, available Covered Code of the Contributor's choice. The Source Code can be in a compressed or archival form, provided the appropriate decompression or de-archiving software is widely available for no charge. - - 1.12. ``You'' means an individual or a legal entity exercising rights under, and complying with all of the terms of, this License or a future version of this License issued under Section 6.1. For legal entities, ``You'' includes any entity which controls, is controlled by, or is under common control with You. For purposes of this definition, ``control'' means (a) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (b) ownership of fifty percent (50%) or more of the outstanding shares or beneficial ownership of such entity. - -2. Source Code License. - - 2.1. The Initial Developer Grant. - The Initial Developer hereby grants You a world-wide, royalty-free, non-exclusive license, subject to third party intellectual property claims: - - (a) to use, reproduce, modify, display, perform, sublicense and distribute the Original Code (or portions thereof) with or without Modifications, or as part of a Larger Work; and - - (b) under patents now or hereafter owned or controlled by Initial Developer, to make, have made, use and sell (``Utilize'') the Original Code (or portions thereof), but solely to the extent that any such patent is reasonably necessary to enable You to Utilize the Original Code (or portions thereof) and not to any greater extent that may be necessary to Utilize further Modifications or combinations. - - 2.2. Contributor Grant. - Each Contributor hereby grants You a world-wide, royalty-free, non-exclusive license, subject to third party intellectual property claims: - - (a) to use, reproduce, modify, display, perform, sublicense and distribute the Modifications created by such Contributor (or portions thereof) either on an unmodified basis, with other Modifications, as Covered Code or as part of a Larger Work; and - - (b) under patents now or hereafter owned or controlled by Contributor, to Utilize the Contributor Version (or portions thereof), but solely to the extent that any such patent is reasonably necessary to enable You to Utilize the Contributor Version (or portions thereof), and not to any greater extent that may be necessary to Utilize further Modifications or combinations. - -3. Distribution Obligations. - - 3.1. Application of License. - The Modifications which You create or to which You contribute are governed by the terms of this License, including without limitation Section 2.2. The Source Code version of Covered Code may be distributed only under the terms of this License or a future version of this License released under Section 6.1, and You must include a copy of this License with every copy of the Source Code You distribute. You may not offer or impose any terms on any Source Code version that alters or restricts the applicable version of this License or the recipients' rights hereunder. However, You may include an additional document offering the additional rights described in Section 3.5. - - 3.2. Availability of Source Code. - Any Modification which You create or to which You contribute must be made available in Source Code form under the terms of this License either on the same media as an Executable version or via an accepted Electronic Distribution Mechanism to anyone to whom you made an Executable version available; and if made available via Electronic Distribution Mechanism, must remain available for at least twelve (12) months after the date it initially became available, or at least six (6) months after a subsequent version of that particular Modification has been made available to such recipients. You are responsible for ensuring that the Source Code version remains available even if the Electronic Distribution Mechanism is maintained by a third party. - - 3.3. Description of Modifications. - You must cause all Covered Code to which you contribute to contain a file documenting the changes You made to create that Covered Code and the date of any change. You must include a prominent statement that the Modification is derived, directly or indirectly, from Original Code provided by the Initial Developer and including the name of the Initial Developer in (a) the Source Code, and (b) in any notice in an Executable version or related documentation in which You describe the origin or ownership of the Covered Code. - - 3.4. Intellectual Property Matters - - (a) Third Party Claims. - If You have knowledge that a party claims an intellectual property right in particular functionality or code (or its utilization under this License), you must include a text file with the source code distribution titled ``LEGAL'' which describes the claim and the party making the claim in sufficient detail that a recipient will know whom to contact. If you obtain such knowledge after You make Your Modification available as described in Section 3.2, You shall promptly modify the LEGAL file in all copies You make available thereafter and shall take other steps (such as notifying appropriate mailing lists or newsgroups) reasonably calculated to inform those who received the Covered Code that new knowledge has been obtained. - - (b) Contributor APIs. - If Your Modification is an application programming interface and You own or control patents which are reasonably necessary to implement that API, you must also include this information in the LEGAL file. - - 3.5. Required Notices. - You must duplicate the notice in Exhibit A in each file of the Source Code, and this License in any documentation for the Source Code, where You describe recipients' rights relating to Covered Code. If You created one or more Modification(s), You may add your name as a Contributor to the notice described in Exhibit A. If it is not possible to put such notice in a particular Source Code file due to its structure, then you must include such notice in a location (such as a relevant directory file) where a user would be likely to look for such a notice. You may choose to offer, and to charge a fee for, warranty, support, indemnity or liability obligations to one or more recipients of Covered Code. However, You may do so only on Your own behalf, and not on behalf of the Initial Developer or any Contributor. You must make it absolutely clear than any such warranty, support, indemnity or liability obligation is offered by You alone, and You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of warranty, support, indemnity or liability terms You offer. - - 3.6. Distribution of Executable Versions. - You may distribute Covered Code in Executable form only if the requirements of Section 3.1-3.5 have been met for that Covered Code, and if You include a notice stating that the Source Code version of the Covered Code is available under the terms of this License, including a description of how and where You have fulfilled the obligations of Section 3.2. The notice must be conspicuously included in any notice in an Executable version, related documentation or collateral in which You describe recipients' rights relating to the Covered Code. You may distribute the Executable version of Covered Code under a license of Your choice, which may contain terms different from this License, provided that You are in compliance with the terms of this License and that the license for the Executable version does not attempt to limit or alter the recipient's rights in the Source Code version from the rights set forth in this License. If You distribute the Executable version under a different license You must make it absolutely clear that any terms which differ from this License are offered by You alone, not by the Initial Developer or any Contributor. You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of any such terms You offer. - - 3.7. Larger Works. - You may create a Larger Work by combining Covered Code with other code not governed by the terms of this License and distribute the Larger Work as a single product. In such a case, You must make sure the requirements of this License are fulfilled for the Covered Code. - -4. Inability to Comply Due to Statute or Regulation. - - If it is impossible for You to comply with any of the terms of this License with respect to some or all of the Covered Code due to statute or regulation then You must: (a) comply with the terms of this License to the maximum extent possible; and (b) describe the limitations and the code they affect. Such description must be included in the LEGAL file described in Section 3.4 and must be included with all distributions of the Source Code. Except to the extent prohibited by statute or regulation, such description must be sufficiently detailed for a recipient of ordinary skill to be able to understand it. - -5. Application of this License. - - This License applies to code to which the Initial Developer has attached the notice in Exhibit A, and to related Covered Code. - -6. Versions of the License. - - 6.1. New Versions. - Netscape Communications Corporation (``Netscape'') may publish revised and/or new versions of the License from time to time. Each version will be given a distinguishing version number. - - 6.2. Effect of New Versions. - Once Covered Code has been published under a particular version of the License, You may always continue to use it under the terms of that version. You may also choose to use such Covered Code under the terms of any subsequent version of the License published by Netscape. No one other than Netscape has the right to modify the terms applicable to Covered Code created under this License. - - 6.3. Derivative Works. - If you create or use a modified version of this License (which you may only do in order to apply it to code which is not already Covered Code governed by this License), you must (a) rename Your license so that the phrases ``Mozilla'', ``MOZILLAPL'', ``MOZPL'', ``Netscape'', ``NPL'' or any confusingly similar phrase do not appear anywhere in your license and (b) otherwise make it clear that your version of the license contains terms which differ from the Mozilla Public License and Netscape Public License. (Filling in the name of the Initial Developer, Original Code or Contributor in the notice described in Exhibit A shall not of themselves be deemed to be modifications of this License.) - -7. DISCLAIMER OF WARRANTY. - - COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN ``AS IS'' BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. - -8. TERMINATION. - - This License and the rights granted hereunder will terminate automatically if You fail to comply with terms herein and fail to cure such breach within 30 days of becoming aware of the breach. All sublicenses to the Covered Code which are properly granted shall survive any termination of this License. Provisions which, by their nature, must remain in effect beyond the termination of this License shall survive. - -9. LIMITATION OF LIABILITY. - - UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL THE INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO YOU OR ANY OTHER PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THAT EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. - -10. U.S. GOVERNMENT END USERS. - - The Covered Code is a ``commercial item,'' as that term is defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of ``commercial computer software'' and ``commercial computer software documentation,'' as such terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all U.S. Government End Users acquire Covered Code with only those rights set forth herein. - -11. MISCELLANEOUS. - - This License represents the complete agreement concerning subject matter hereof. If any provision of this License is held to be unenforceable, such provision shall be reformed only to the extent necessary to make it enforceable. This License shall be governed by California law provisions (except to the extent applicable law, if any, provides otherwise), excluding its conflict-of-law provisions. With respect to disputes in which at least one party is a citizen of, or an entity chartered or registered to do business in, the United States of America: (a) unless otherwise agreed in writing, all disputes relating to this License (excepting any dispute relating to intellectual property rights) shall be subject to final and binding arbitration, with the losing party paying all costs of arbitration; (b) any arbitration relating to this Agreement shall be held in Santa Clara County, California, under the auspices of JAMS/EndDispute; and (c) any litigation relating to this Agreement shall be subject to the jurisdiction of the Federal Courts of the Northern District of California, with venue lying in Santa Clara County, California, with the losing party responsible for costs, including without limitation, court costs and reasonable attorneys fees and expenses. The application of the United Nations Convention on Contracts for the International Sale of Goods is expressly excluded. Any law or regulation which provides that the language of a contract shall be construed against the drafter shall not apply to this License. - -12. RESPONSIBILITY FOR CLAIMS. - - Except in cases where another Contributor has failed to comply with Section 3.4, You are responsible for damages arising, directly or indirectly, out of Your utilization of rights under this License, based on the number of copies of Covered Code you made available, the revenues you received from utilizing such rights, and other relevant factors. You agree to work with affected parties to distribute responsibility on an equitable basis. - -EXHIBIT A. - - ``The contents of this file are subject to the Mozilla Public License Version 1.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/ - - Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License. - - The Original Code is ______________________________________. - - The Initial Developer of the Original Code is ________________________. Portions created by ______________________ are Copyright (C) ______ _______________________. All Rights Reserved. - - Contributor(s): ______________________________________.'' - -=============================================================================== - -For the Rhino JavaScript engine js-1.6R7.jar: - - MOZILLA PUBLIC LICENSE - Version 1.1 - - --------------- - -1. Definitions. - - 1.0.1. "Commercial Use" means distribution or otherwise making the - Covered Code available to a third party. - - 1.1. "Contributor" means each entity that creates or contributes to - the creation of Modifications. - - 1.2. "Contributor Version" means the combination of the Original - Code, prior Modifications used by a Contributor, and the Modifications - made by that particular Contributor. - - 1.3. "Covered Code" means the Original Code or Modifications or the - combination of the Original Code and Modifications, in each case - including portions thereof. - - 1.4. "Electronic Distribution Mechanism" means a mechanism generally - accepted in the software development community for the electronic - transfer of data. - - 1.5. "Executable" means Covered Code in any form other than Source - Code. - - 1.6. "Initial Developer" means the individual or entity identified - as the Initial Developer in the Source Code notice required by Exhibit - A. - - 1.7. "Larger Work" means a work which combines Covered Code or - portions thereof with code not governed by the terms of this License. - - 1.8. "License" means this document. - - 1.8.1. "Licensable" means having the right to grant, to the maximum - extent possible, whether at the time of the initial grant or - subsequently acquired, any and all of the rights conveyed herein. - - 1.9. "Modifications" means any addition to or deletion from the - substance or structure of either the Original Code or any previous - Modifications. When Covered Code is released as a series of files, a - Modification is: - A. Any addition to or deletion from the contents of a file - containing Original Code or previous Modifications. - - B. Any new file that contains any part of the Original Code or - previous Modifications. - - 1.10. "Original Code" means Source Code of computer software code - which is described in the Source Code notice required by Exhibit A as - Original Code, and which, at the time of its release under this - License is not already Covered Code governed by this License. - - 1.10.1. "Patent Claims" means any patent claim(s), now owned or - hereafter acquired, including without limitation, method, process, - and apparatus claims, in any patent Licensable by grantor. - - 1.11. "Source Code" means the preferred form of the Covered Code for - making modifications to it, including all modules it contains, plus - any associated interface definition files, scripts used to control - compilation and installation of an Executable, or source code - differential comparisons against either the Original Code or another - well known, available Covered Code of the Contributor's choice. The - Source Code can be in a compressed or archival form, provided the - appropriate decompression or de-archiving software is widely available - for no charge. - - 1.12. "You" (or "Your") means an individual or a legal entity - exercising rights under, and complying with all of the terms of, this - License or a future version of this License issued under Section 6.1. - For legal entities, "You" includes any entity which controls, is - controlled by, or is under common control with You. For purposes of - this definition, "control" means (a) the power, direct or indirect, - to cause the direction or management of such entity, whether by - contract or otherwise, or (b) ownership of more than fifty percent - (50%) of the outstanding shares or beneficial ownership of such - entity. - -2. Source Code License. - - 2.1. The Initial Developer Grant. - The Initial Developer hereby grants You a world-wide, royalty-free, - non-exclusive license, subject to third party intellectual property - claims: - (a) under intellectual property rights (other than patent or - trademark) Licensable by Initial Developer to use, reproduce, - modify, display, perform, sublicense and distribute the Original - Code (or portions thereof) with or without Modifications, and/or - as part of a Larger Work; and - - (b) under Patents Claims infringed by the making, using or - selling of Original Code, to make, have made, use, practice, - sell, and offer for sale, and/or otherwise dispose of the - Original Code (or portions thereof). - - (c) the licenses granted in this Section 2.1(a) and (b) are - effective on the date Initial Developer first distributes - Original Code under the terms of this License. - - (d) Notwithstanding Section 2.1(b) above, no patent license is - granted: 1) for code that You delete from the Original Code; 2) - separate from the Original Code; or 3) for infringements caused - by: i) the modification of the Original Code or ii) the - combination of the Original Code with other software or devices. - - 2.2. Contributor Grant. - Subject to third party intellectual property claims, each Contributor - hereby grants You a world-wide, royalty-free, non-exclusive license - - (a) under intellectual property rights (other than patent or - trademark) Licensable by Contributor, to use, reproduce, modify, - display, perform, sublicense and distribute the Modifications - created by such Contributor (or portions thereof) either on an - unmodified basis, with other Modifications, as Covered Code - and/or as part of a Larger Work; and - - (b) under Patent Claims infringed by the making, using, or - selling of Modifications made by that Contributor either alone - and/or in combination with its Contributor Version (or portions - of such combination), to make, use, sell, offer for sale, have - made, and/or otherwise dispose of: 1) Modifications made by that - Contributor (or portions thereof); and 2) the combination of - Modifications made by that Contributor with its Contributor - Version (or portions of such combination). - - (c) the licenses granted in Sections 2.2(a) and 2.2(b) are - effective on the date Contributor first makes Commercial Use of - the Covered Code. - - (d) Notwithstanding Section 2.2(b) above, no patent license is - granted: 1) for any code that Contributor has deleted from the - Contributor Version; 2) separate from the Contributor Version; - 3) for infringements caused by: i) third party modifications of - Contributor Version or ii) the combination of Modifications made - by that Contributor with other software (except as part of the - Contributor Version) or other devices; or 4) under Patent Claims - infringed by Covered Code in the absence of Modifications made by - that Contributor. - -3. Distribution Obligations. - - 3.1. Application of License. - The Modifications which You create or to which You contribute are - governed by the terms of this License, including without limitation - Section 2.2. The Source Code version of Covered Code may be - distributed only under the terms of this License or a future version - of this License released under Section 6.1, and You must include a - copy of this License with every copy of the Source Code You - distribute. You may not offer or impose any terms on any Source Code - version that alters or restricts the applicable version of this - License or the recipients' rights hereunder. However, You may include - an additional document offering the additional rights described in - Section 3.5. - - 3.2. Availability of Source Code. - Any Modification which You create or to which You contribute must be - made available in Source Code form under the terms of this License - either on the same media as an Executable version or via an accepted - Electronic Distribution Mechanism to anyone to whom you made an - Executable version available; and if made available via Electronic - Distribution Mechanism, must remain available for at least twelve (12) - months after the date it initially became available, or at least six - (6) months after a subsequent version of that particular Modification - has been made available to such recipients. You are responsible for - ensuring that the Source Code version remains available even if the - Electronic Distribution Mechanism is maintained by a third party. - - 3.3. Description of Modifications. - You must cause all Covered Code to which You contribute to contain a - file documenting the changes You made to create that Covered Code and - the date of any change. You must include a prominent statement that - the Modification is derived, directly or indirectly, from Original - Code provided by the Initial Developer and including the name of the - Initial Developer in (a) the Source Code, and (b) in any notice in an - Executable version or related documentation in which You describe the - origin or ownership of the Covered Code. - - 3.4. Intellectual Property Matters - (a) Third Party Claims. - If Contributor has knowledge that a license under a third party's - intellectual property rights is required to exercise the rights - granted by such Contributor under Sections 2.1 or 2.2, - Contributor must include a text file with the Source Code - distribution titled "LEGAL" which describes the claim and the - party making the claim in sufficient detail that a recipient will - know whom to contact. If Contributor obtains such knowledge after - the Modification is made available as described in Section 3.2, - Contributor shall promptly modify the LEGAL file in all copies - Contributor makes available thereafter and shall take other steps - (such as notifying appropriate mailing lists or newsgroups) - reasonably calculated to inform those who received the Covered - Code that new knowledge has been obtained. - - (b) Contributor APIs. - If Contributor's Modifications include an application programming - interface and Contributor has knowledge of patent licenses which - are reasonably necessary to implement that API, Contributor must - also include this information in the LEGAL file. - - (c) Representations. - Contributor represents that, except as disclosed pursuant to - Section 3.4(a) above, Contributor believes that Contributor's - Modifications are Contributor's original creation(s) and/or - Contributor has sufficient rights to grant the rights conveyed by - this License. - - 3.5. Required Notices. - You must duplicate the notice in Exhibit A in each file of the Source - Code. If it is not possible to put such notice in a particular Source - Code file due to its structure, then You must include such notice in a - location (such as a relevant directory) where a user would be likely - to look for such a notice. If You created one or more Modification(s) - You may add your name as a Contributor to the notice described in - Exhibit A. You must also duplicate this License in any documentation - for the Source Code where You describe recipients' rights or ownership - rights relating to Covered Code. You may choose to offer, and to - charge a fee for, warranty, support, indemnity or liability - obligations to one or more recipients of Covered Code. However, You - may do so only on Your own behalf, and not on behalf of the Initial - Developer or any Contributor. You must make it absolutely clear than - any such warranty, support, indemnity or liability obligation is - offered by You alone, and You hereby agree to indemnify the Initial - Developer and every Contributor for any liability incurred by the - Initial Developer or such Contributor as a result of warranty, - support, indemnity or liability terms You offer. - - 3.6. Distribution of Executable Versions. - You may distribute Covered Code in Executable form only if the - requirements of Section 3.1-3.5 have been met for that Covered Code, - and if You include a notice stating that the Source Code version of - the Covered Code is available under the terms of this License, - including a description of how and where You have fulfilled the - obligations of Section 3.2. The notice must be conspicuously included - in any notice in an Executable version, related documentation or - collateral in which You describe recipients' rights relating to the - Covered Code. You may distribute the Executable version of Covered - Code or ownership rights under a license of Your choice, which may - contain terms different from this License, provided that You are in - compliance with the terms of this License and that the license for the - Executable version does not attempt to limit or alter the recipient's - rights in the Source Code version from the rights set forth in this - License. If You distribute the Executable version under a different - license You must make it absolutely clear that any terms which differ - from this License are offered by You alone, not by the Initial - Developer or any Contributor. You hereby agree to indemnify the - Initial Developer and every Contributor for any liability incurred by - the Initial Developer or such Contributor as a result of any such - terms You offer. - - 3.7. Larger Works. - You may create a Larger Work by combining Covered Code with other code - not governed by the terms of this License and distribute the Larger - Work as a single product. In such a case, You must make sure the - requirements of this License are fulfilled for the Covered Code. - -4. Inability to Comply Due to Statute or Regulation. - - If it is impossible for You to comply with any of the terms of this - License with respect to some or all of the Covered Code due to - statute, judicial order, or regulation then You must: (a) comply with - the terms of this License to the maximum extent possible; and (b) - describe the limitations and the code they affect. Such description - must be included in the LEGAL file described in Section 3.4 and must - be included with all distributions of the Source Code. Except to the - extent prohibited by statute or regulation, such description must be - sufficiently detailed for a recipient of ordinary skill to be able to - understand it. - -5. Application of this License. - - This License applies to code to which the Initial Developer has - attached the notice in Exhibit A and to related Covered Code. - -6. Versions of the License. - - 6.1. New Versions. - Netscape Communications Corporation ("Netscape") may publish revised - and/or new versions of the License from time to time. Each version - will be given a distinguishing version number. - - 6.2. Effect of New Versions. - Once Covered Code has been published under a particular version of the - License, You may always continue to use it under the terms of that - version. You may also choose to use such Covered Code under the terms - of any subsequent version of the License published by Netscape. No one - other than Netscape has the right to modify the terms applicable to - Covered Code created under this License. - - 6.3. Derivative Works. - If You create or use a modified version of this License (which you may - only do in order to apply it to code which is not already Covered Code - governed by this License), You must (a) rename Your license so that - the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape", - "MPL", "NPL" or any confusingly similar phrase do not appear in your - license (except to note that your license differs from this License) - and (b) otherwise make it clear that Your version of the license - contains terms which differ from the Mozilla Public License and - Netscape Public License. (Filling in the name of the Initial - Developer, Original Code or Contributor in the notice described in - Exhibit A shall not of themselves be deemed to be modifications of - this License.) - -7. DISCLAIMER OF WARRANTY. - - COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, - WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, - WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF - DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. - THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE - IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, - YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE - COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER - OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF - ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. - -8. TERMINATION. - - 8.1. This License and the rights granted hereunder will terminate - automatically if You fail to comply with terms herein and fail to cure - such breach within 30 days of becoming aware of the breach. All - sublicenses to the Covered Code which are properly granted shall - survive any termination of this License. Provisions which, by their - nature, must remain in effect beyond the termination of this License - shall survive. - - 8.2. If You initiate litigation by asserting a patent infringement - claim (excluding declatory judgment actions) against Initial Developer - or a Contributor (the Initial Developer or Contributor against whom - You file such action is referred to as "Participant") alleging that: - - (a) such Participant's Contributor Version directly or indirectly - infringes any patent, then any and all rights granted by such - Participant to You under Sections 2.1 and/or 2.2 of this License - shall, upon 60 days notice from Participant terminate prospectively, - unless if within 60 days after receipt of notice You either: (i) - agree in writing to pay Participant a mutually agreeable reasonable - royalty for Your past and future use of Modifications made by such - Participant, or (ii) withdraw Your litigation claim with respect to - the Contributor Version against such Participant. If within 60 days - of notice, a reasonable royalty and payment arrangement are not - mutually agreed upon in writing by the parties or the litigation claim - is not withdrawn, the rights granted by Participant to You under - Sections 2.1 and/or 2.2 automatically terminate at the expiration of - the 60 day notice period specified above. - - (b) any software, hardware, or device, other than such Participant's - Contributor Version, directly or indirectly infringes any patent, then - any rights granted to You by such Participant under Sections 2.1(b) - and 2.2(b) are revoked effective as of the date You first made, used, - sold, distributed, or had made, Modifications made by that - Participant. - - 8.3. If You assert a patent infringement claim against Participant - alleging that such Participant's Contributor Version directly or - indirectly infringes any patent where such claim is resolved (such as - by license or settlement) prior to the initiation of patent - infringement litigation, then the reasonable value of the licenses - granted by such Participant under Sections 2.1 or 2.2 shall be taken - into account in determining the amount or value of any payment or - license. - - 8.4. In the event of termination under Sections 8.1 or 8.2 above, - all end user license agreements (excluding distributors and resellers) - which have been validly granted by You or any distributor hereunder - prior to termination shall survive termination. - -9. LIMITATION OF LIABILITY. - - UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT - (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL - DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE, - OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR - ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY - CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, - WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER - COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN - INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF - LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY - RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW - PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE - EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO - THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. - -10. U.S. GOVERNMENT END USERS. - - The Covered Code is a "commercial item," as that term is defined in - 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer - software" and "commercial computer software documentation," as such - terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 - C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), - all U.S. Government End Users acquire Covered Code with only those - rights set forth herein. - -11. MISCELLANEOUS. - - This License represents the complete agreement concerning subject - matter hereof. If any provision of this License is held to be - unenforceable, such provision shall be reformed only to the extent - necessary to make it enforceable. This License shall be governed by - California law provisions (except to the extent applicable law, if - any, provides otherwise), excluding its conflict-of-law provisions. - With respect to disputes in which at least one party is a citizen of, - or an entity chartered or registered to do business in the United - States of America, any litigation relating to this License shall be - subject to the jurisdiction of the Federal Courts of the Northern - District of California, with venue lying in Santa Clara County, - California, with the losing party responsible for costs, including - without limitation, court costs and reasonable attorneys' fees and - expenses. The application of the United Nations Convention on - Contracts for the International Sale of Goods is expressly excluded. - Any law or regulation which provides that the language of a contract - shall be construed against the drafter shall not apply to this - License. - -12. RESPONSIBILITY FOR CLAIMS. - - As between Initial Developer and the Contributors, each party is - responsible for claims and damages arising, directly or indirectly, - out of its utilization of rights under this License and You agree to - work with Initial Developer and Contributors to distribute such - responsibility on an equitable basis. Nothing herein is intended or - shall be deemed to constitute any admission of liability. - -13. MULTIPLE-LICENSED CODE. - - Initial Developer may designate portions of the Covered Code as - "Multiple-Licensed". "Multiple-Licensed" means that the Initial - Developer permits you to utilize portions of the Covered Code under - Your choice of the NPL or the alternative licenses, if any, specified - by the Initial Developer in the file described in Exhibit A. - -EXHIBIT A -Mozilla Public License. - - ``The contents of this file are subject to the Mozilla Public License - Version 1.1 (the "License"); you may not use this file except in - compliance with the License. You may obtain a copy of the License at - http://www.mozilla.org/MPL/ - - Software distributed under the License is distributed on an "AS IS" - basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the - License for the specific language governing rights and limitations - under the License. - - The Original Code is ______________________________________. - - The Initial Developer of the Original Code is ________________________. - Portions created by ______________________ are Copyright (C) ______ - _______________________. All Rights Reserved. - - Contributor(s): ______________________________________. - - Alternatively, the contents of this file may be used under the terms - of the _____ license (the "[___] License"), in which case the - provisions of [______] License are applicable instead of those - above. If you wish to allow use of your version of this file only - under the terms of the [____] License and not to allow others to use - your version of this file under the MPL, indicate your decision by - deleting the provisions above and replace them with the notice and - other provisions required by the [___] License. If you do not delete - the provisions above, a recipient may use your version of this file - under either the MPL or the [___] License." - - [NOTE: The text of this Exhibit A may differ slightly from the text of - the notices in the Source Code files of the Original Code. You should - use the text of this Exhibit A rather than the text found in the - Original Code Source Code for Your Modifications.] - - -=============================================================================== -Groovy (groovy-all-minimal-1.5.4.jar): - -/* - $Id: LICENSE.txt 156 2003-09-26 17:36:37Z jstrachan $ - - Copyright 2003 (C) James Strachan and Bob Mcwhirter. All Rights Reserved. - - Redistribution and use of this software and associated documentation - ("Software"), with or without modification, are permitted provided - that the following conditions are met: - - 1. Redistributions of source code must retain copyright - statements and notices. Redistributions must also contain a - copy of this document. - - 2. Redistributions in binary form must reproduce the - above copyright notice, this list of conditions and the - following disclaimer in the documentation and/or other - materials provided with the distribution. - - 3. The name "groovy" must not be used to endorse or promote - products derived from this Software without prior written - permission of The Codehaus. For written permission, - please contact info@codehaus.org. - - 4. Products derived from this Software may not be called "groovy" - nor may "groovy" appear in their names without prior written - permission of The Codehaus. "groovy" is a registered - trademark of The Codehaus. - - 5. Due credit should be given to The Codehaus - - http://groovy.codehaus.org/ - - THIS SOFTWARE IS PROVIDED BY THE CODEHAUS AND CONTRIBUTORS - ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT - NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL - THE CODEHAUS OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, - INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, - STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED - OF THE POSSIBILITY OF SUCH DAMAGE. - - */ - -=============================================================================== - -Jython (jython-2.2.jar): - -A. HISTORY OF THE SOFTWARE -======================= - -JPython was created in late 1997 by Jim Hugunin. Jim was also the -primary developer while he was at CNRI. In February 1999 Barry Warsaw -took over as primary developer and released JPython version 1.1. - -In October 2000 Barry helped move the software to SourceForge -where it was renamed to Jython. Jython 2.0 and on are licensed under -the Jython specific license below. - -The standard library is covered by the Python Software Foundation -license. See the LICENSE_CPython.txt file for details. - -The zxJDBC package was written by Brian Zimmer and originally licensed -under the GNU Public License. The package is now covered by the Jython -Software License. - -The command line interpreter is covered by the Apache Software -License. See the LICENSE_Apache.txt file for details. - -B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING JYTHON -================================ - -Copyright (c) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Jython Developers -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - - - Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - - - Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the distribution. - - - Neither the name of the Jython Developers nor the names of - its contributors may be used to endorse or promote products - derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR -CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY -OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - - - -JPython 1.1.x Software License. -========================= - -______________________________________________________________________ - -IMPORTANT: PLEASE READ THE FOLLOWING AGREEMENT CAREFULLY. - -BY CLICKING ON THE "ACCEPT" BUTTON WHERE INDICATED, OR BY INSTALLING, -COPYING OR OTHERWISE USING THE SOFTWARE, YOU ARE DEEMED TO HAVE AGREED TO -THE TERMS AND CONDITIONS OF THIS AGREEMENT. - -______________________________________________________________________ - -JPython version 1.1.x - - 1. This LICENSE AGREEMENT is between the Corporation for National Research - Initiatives, having an office at 1895 Preston White Drive, Reston, VA - 20191 ("CNRI"), and the Individual or Organization ("Licensee") - accessing and using JPython version 1.1.x in source or binary form and - its associated documentation as provided herein ("Software"). - - 2. Subject to the terms and conditions of this License Agreement, CNRI - hereby grants Licensee a non-exclusive, non-transferable, royalty-free, - world-wide license to reproduce, analyze, test, perform and/or display - publicly, prepare derivative works, distribute, and otherwise use the - Software alone or in any derivative version, provided, however, that - CNRI's License Agreement and CNRI's notice of copyright, i.e., - "Copyright ©1996-1999 Corporation for National Research Initiatives; - All Rights Reserved" are both retained in the Software, alone or in any - derivative version prepared by Licensee. - - Alternatively, in lieu of CNRI's License Agreement, Licensee may - substitute the following text (omitting the quotes), provided, however, - that such text is displayed prominently in the Software alone or in any - derivative version prepared by Licensee: "JPython (Version 1.1.x) is - made available subject to the terms and conditions in CNRI's License - Agreement. This Agreement may be located on the Internet using the - following unique, persistent identifier (known as a handle): - 1895.22/1006. The License may also be obtained from a proxy server on - the Web using the following URL: http://hdl.handle.net/1895.22/1006." - - 3. In the event Licensee prepares a derivative work that is based on or - incorporates the Software or any part thereof, and wants to make the - derivative work available to the public as provided herein, then - Licensee hereby agrees to indicate in any such work, in a prominently - visible way, the nature of the modifications made to CNRI's Software. - - 4. Licensee may not use CNRI trademarks or trade name, including JPython - or CNRI, in a trademark sense to endorse or promote products or - services of Licensee, or any third party. Licensee may use the mark - JPython in connection with Licensee's derivative versions that are - based on or incorporate the Software, but only in the form - "JPython-based ___________________," or equivalent. - - 5. CNRI is making the Software available to Licensee on an "AS IS" basis. - CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY - OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND DISCLAIMS ANY - REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY - PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT INFRINGE - ANY THIRD PARTY RIGHTS. - - 6. CNRI SHALL NOT BE LIABLE TO LICENSEE OR OTHER USERS OF THE SOFTWARE FOR - ANY INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF - USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY DERIVATIVE - THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. SOME STATES DO NOT - ALLOW THE LIMITATION OR EXCLUSION OF LIABILITY SO THE ABOVE DISCLAIMER - MAY NOT APPLY TO LICENSEE. - - 7. This License Agreement may be terminated by CNRI (i) immediately upon - written notice from CNRI of any material breach by the Licensee, if the - nature of the breach is such that it cannot be promptly remedied; or - (ii) sixty (60) days following notice from CNRI to Licensee of a - material remediable breach, if Licensee has not remedied such breach - within that sixty-day period. - - 8. This License Agreement shall be governed by and interpreted in all - respects by the law of the State of Virginia, excluding conflict of law - provisions. Nothing in this Agreement shall be deemed to create any - relationship of agency, partnership, or joint venture between CNRI and - Licensee. - - 9. By clicking on the "ACCEPT" button where indicated, or by installing, - copying or otherwise using the Software, Licensee agrees to be bound by - the terms and conditions of this License Agreement. - - -=============================================================================== - -The jars; -activation-1.1.jar, -jaxb-api-2.1.jar, -jaxb-impl-2.1.6.jar, -jaxb-xjc-2.1.4.jar, -jaxb2-reflection-2.1.4.jar, -jsr181-api-1.0-MR1.jar, -jsr250-api-1.0.jar, -jaxws-api-2.1-1.jar, -mail-1.4.jar, -saaj-api-1.3.jar, -servlet-api-2.5.jar, -stax-api-1.0-commons-cli-1.0.jar2.jar - -COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0 - - - 1. Definitions. - - 1.1. "Contributor" means each individual or entity that - creates or contributes to the creation of Modifications. - - 1.2. "Contributor Version" means the combination of the - Original Software, prior Modifications used by a - Contributor (if any), and the Modifications made by that - particular Contributor. - - 1.3. "Covered Software" means (a) the Original Software, or - (b) Modifications, or (c) the combination of files - containing Original Software with files containing - Modifications, in each case including portions thereof. - - 1.4. "Executable" means the Covered Software in any form - other than Source Code. - - 1.5. "Initial Developer" means the individual or entity - that first makes Original Software available under this - License. - - 1.6. "Larger Work" means a work which combines Covered - Software or portions thereof with code not governed by the - terms of this License. - - 1.7. "License" means this document. - - 1.8. "Licensable" means having the right to grant, to the - maximum extent possible, whether at the time of the initial - grant or subsequently acquired, any and all of the rights - conveyed herein. - - 1.9. "Modifications" means the Source Code and Executable - form of any of the following: - - A. Any file that results from an addition to, - deletion from or modification of the contents of a - file containing Original Software or previous - Modifications; - - B. Any new file that contains any part of the - Original Software or previous Modification; or - - C. Any new file that is contributed or otherwise made - available under the terms of this License. - - 1.10. "Original Software" means the Source Code and - Executable form of computer software code that is - originally released under this License. - - 1.11. "Patent Claims" means any patent claim(s), now owned - or hereafter acquired, including without limitation, - method, process, and apparatus claims, in any patent - Licensable by grantor. - - 1.12. "Source Code" means (a) the common form of computer - software code in which modifications are made and (b) - associated documentation included in or with such code. - - 1.13. "You" (or "Your") means an individual or a legal - entity exercising rights under, and complying with all of - the terms of, this License. For legal entities, "You" - includes any entity which controls, is controlled by, or is - under common control with You. For purposes of this - definition, "control" means (a) the power, direct or - indirect, to cause the direction or management of such - entity, whether by contract or otherwise, or (b) ownership - of more than fifty percent (50%) of the outstanding shares - or beneficial ownership of such entity. - - 2. License Grants. - - 2.1. The Initial Developer Grant. - - Conditioned upon Your compliance with Section 3.1 below and - subject to third party intellectual property claims, the - Initial Developer hereby grants You a world-wide, - royalty-free, non-exclusive license: - - (a) under intellectual property rights (other than - patent or trademark) Licensable by Initial Developer, - to use, reproduce, modify, display, perform, - sublicense and distribute the Original Software (or - portions thereof), with or without Modifications, - and/or as part of a Larger Work; and - - (b) under Patent Claims infringed by the making, - using or selling of Original Software, to make, have - made, use, practice, sell, and offer for sale, and/or - otherwise dispose of the Original Software (or - portions thereof). - - (c) The licenses granted in Sections 2.1(a) and (b) - are effective on the date Initial Developer first - distributes or otherwise makes the Original Software - available to a third party under the terms of this - License. - - (d) Notwithstanding Section 2.1(b) above, no patent - license is granted: (1) for code that You delete from - the Original Software, or (2) for infringements - caused by: (i) the modification of the Original - Software, or (ii) the combination of the Original - Software with other software or devices. - - 2.2. Contributor Grant. - - Conditioned upon Your compliance with Section 3.1 below and - subject to third party intellectual property claims, each - Contributor hereby grants You a world-wide, royalty-free, - non-exclusive license: - - (a) under intellectual property rights (other than - patent or trademark) Licensable by Contributor to - use, reproduce, modify, display, perform, sublicense - and distribute the Modifications created by such - Contributor (or portions thereof), either on an - unmodified basis, with other Modifications, as - Covered Software and/or as part of a Larger Work; and - - - (b) under Patent Claims infringed by the making, - using, or selling of Modifications made by that - Contributor either alone and/or in combination with - its Contributor Version (or portions of such - combination), to make, use, sell, offer for sale, - have made, and/or otherwise dispose of: (1) - Modifications made by that Contributor (or portions - thereof); and (2) the combination of Modifications - made by that Contributor with its Contributor Version - (or portions of such combination). - - (c) The licenses granted in Sections 2.2(a) and - 2.2(b) are effective on the date Contributor first - distributes or otherwise makes the Modifications - available to a third party. - - (d) Notwithstanding Section 2.2(b) above, no patent - license is granted: (1) for any code that Contributor - has deleted from the Contributor Version; (2) for - infringements caused by: (i) third party - modifications of Contributor Version, or (ii) the - combination of Modifications made by that Contributor - with other software (except as part of the - Contributor Version) or other devices; or (3) under - Patent Claims infringed by Covered Software in the - absence of Modifications made by that Contributor. - - 3. Distribution Obligations. - - 3.1. Availability of Source Code. - - Any Covered Software that You distribute or otherwise make - available in Executable form must also be made available in - Source Code form and that Source Code form must be - distributed only under the terms of this License. You must - include a copy of this License with every copy of the - Source Code form of the Covered Software You distribute or - otherwise make available. You must inform recipients of any - such Covered Software in Executable form as to how they can - obtain such Covered Software in Source Code form in a - reasonable manner on or through a medium customarily used - for software exchange. - - 3.2. Modifications. - - The Modifications that You create or to which You - contribute are governed by the terms of this License. You - represent that You believe Your Modifications are Your - original creation(s) and/or You have sufficient rights to - grant the rights conveyed by this License. - - 3.3. Required Notices. - - You must include a notice in each of Your Modifications - that identifies You as the Contributor of the Modification. - You may not remove or alter any copyright, patent or - trademark notices contained within the Covered Software, or - any notices of licensing or any descriptive text giving - attribution to any Contributor or the Initial Developer. - - 3.4. Application of Additional Terms. - - You may not offer or impose any terms on any Covered - Software in Source Code form that alters or restricts the - applicable version of this License or the recipients' - rights hereunder. You may choose to offer, and to charge a - fee for, warranty, support, indemnity or liability - obligations to one or more recipients of Covered Software. - However, you may do so only on Your own behalf, and not on - behalf of the Initial Developer or any Contributor. You - must make it absolutely clear that any such warranty, - support, indemnity or liability obligation is offered by - You alone, and You hereby agree to indemnify the Initial - Developer and every Contributor for any liability incurred - by the Initial Developer or such Contributor as a result of - warranty, support, indemnity or liability terms You offer. - - - 3.5. Distribution of Executable Versions. - - You may distribute the Executable form of the Covered - Software under the terms of this License or under the terms - of a license of Your choice, which may contain terms - different from this License, provided that You are in - compliance with the terms of this License and that the - license for the Executable form does not attempt to limit - or alter the recipient's rights in the Source Code form - from the rights set forth in this License. If You - distribute the Covered Software in Executable form under a - different license, You must make it absolutely clear that - any terms which differ from this License are offered by You - alone, not by the Initial Developer or Contributor. You - hereby agree to indemnify the Initial Developer and every - Contributor for any liability incurred by the Initial - Developer or such Contributor as a result of any such terms - You offer. - - 3.6. Larger Works. - - You may create a Larger Work by combining Covered Software - with other code not governed by the terms of this License - and distribute the Larger Work as a single product. In such - a case, You must make sure the requirements of this License - are fulfilled for the Covered Software. - - 4. Versions of the License. - - 4.1. New Versions. - - Sun Microsystems, Inc. is the initial license steward and - may publish revised and/or new versions of this License - from time to time. Each version will be given a - distinguishing version number. Except as provided in - Section 4.3, no one other than the license steward has the - right to modify this License. - - 4.2. Effect of New Versions. - - You may always continue to use, distribute or otherwise - make the Covered Software available under the terms of the - version of the License under which You originally received - the Covered Software. If the Initial Developer includes a - notice in the Original Software prohibiting it from being - distributed or otherwise made available under any - subsequent version of the License, You must distribute and - make the Covered Software available under the terms of the - version of the License under which You originally received - the Covered Software. Otherwise, You may also choose to - use, distribute or otherwise make the Covered Software - available under the terms of any subsequent version of the - License published by the license steward. - - 4.3. Modified Versions. - - When You are an Initial Developer and You want to create a - new license for Your Original Software, You may create and - use a modified version of this License if You: (a) rename - the license and remove any references to the name of the - license steward (except to note that the license differs - from this License); and (b) otherwise make it clear that - the license contains terms which differ from this License. - - - 5. DISCLAIMER OF WARRANTY. - - COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" - BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, - INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED - SOFTWARE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR - PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND - PERFORMANCE OF THE COVERED SOFTWARE IS WITH YOU. SHOULD ANY - COVERED SOFTWARE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE - INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF - ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF - WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF - ANY COVERED SOFTWARE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS - DISCLAIMER. - - 6. TERMINATION. - - 6.1. This License and the rights granted hereunder will - terminate automatically if You fail to comply with terms - herein and fail to cure such breach within 30 days of - becoming aware of the breach. Provisions which, by their - nature, must remain in effect beyond the termination of - this License shall survive. - - 6.2. If You assert a patent infringement claim (excluding - declaratory judgment actions) against Initial Developer or - a Contributor (the Initial Developer or Contributor against - whom You assert such claim is referred to as "Participant") - alleging that the Participant Software (meaning the - Contributor Version where the Participant is a Contributor - or the Original Software where the Participant is the - Initial Developer) directly or indirectly infringes any - patent, then any and all rights granted directly or - indirectly to You by such Participant, the Initial - Developer (if the Initial Developer is not the Participant) - and all Contributors under Sections 2.1 and/or 2.2 of this - License shall, upon 60 days notice from Participant - terminate prospectively and automatically at the expiration - of such 60 day notice period, unless if within such 60 day - period You withdraw Your claim with respect to the - Participant Software against such Participant either - unilaterally or pursuant to a written agreement with - Participant. - - 6.3. In the event of termination under Sections 6.1 or 6.2 - above, all end user licenses that have been validly granted - by You or any distributor hereunder prior to termination - (excluding licenses granted to You by any distributor) - shall survive termination. - - 7. LIMITATION OF LIABILITY. - - UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT - (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE - INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF - COVERED SOFTWARE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE - LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR - CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT - LIMITATION, DAMAGES FOR LOST PROFITS, LOSS OF GOODWILL, WORK - STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER - COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN - INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF - LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL - INJURY RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT - APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO - NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR - CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT - APPLY TO YOU. - - 8. U.S. GOVERNMENT END USERS. - - The Covered Software is a "commercial item," as that term is - defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial - computer software" (as that term is defined at 48 C.F.R. - 252.227-7014(a)(1)) and "commercial computer software - documentation" as such terms are used in 48 C.F.R. 12.212 (Sept. - 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 - through 227.7202-4 (June 1995), all U.S. Government End Users - acquire Covered Software with only those rights set forth herein. - This U.S. Government Rights clause is in lieu of, and supersedes, - any other FAR, DFAR, or other clause or provision that addresses - Government rights in computer software under this License. - - 9. MISCELLANEOUS. - - This License represents the complete agreement concerning subject - matter hereof. If any provision of this License is held to be - unenforceable, such provision shall be reformed only to the - extent necessary to make it enforceable. This License shall be - governed by the law of the jurisdiction specified in a notice - contained within the Original Software (except to the extent - applicable law, if any, provides otherwise), excluding such - jurisdiction's conflict-of-law provisions. Any litigation - relating to this License shall be subject to the jurisdiction of - the courts located in the jurisdiction and venue specified in a - notice contained within the Original Software, with the losing - party responsible for costs, including, without limitation, court - costs and reasonable attorneys' fees and expenses. The - application of the United Nations Convention on Contracts for the - International Sale of Goods is expressly excluded. Any law or - regulation which provides that the language of a contract shall - be construed against the drafter shall not apply to this License. - You agree that You alone are responsible for compliance with the - United States export administration regulations (and the export - control laws and regulation of any other countries) when You use, - distribute or otherwise make available any Covered Software. - - 10. RESPONSIBILITY FOR CLAIMS. - - As between Initial Developer and the Contributors, each party is - responsible for claims and damages arising, directly or - indirectly, out of its utilization of rights under this License - and You agree to work with Initial Developer and Contributors to - distribute such responsibility on an equitable basis. Nothing - herein is intended or shall be deemed to constitute any admission - of liability. - -=============================================================================== - -JRuby (jruby-complete-1.0.jar), wsdl4j (wsdl4j-1.6.2.jar): - -Common Public License - v 1.0 - -THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. - -1. DEFINITIONS - -"Contribution" means: - - a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and - b) in the case of each subsequent Contributor: - - i) changes to the Program, and - - ii) additions to the Program; - - where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. Contributions do not include additions to the Program which: (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program. - -"Contributor" means any person or entity that distributes the Program. - -"Licensed Patents " mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program. - -"Program" means the Contributions distributed in accordance with this Agreement. - -"Recipient" means anyone who receives the Program under this Agreement, including all Contributors. - -2. GRANT OF RIGHTS - - a) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code form. - - b) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder. - - c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the Program, it is Recipient's responsibility to acquire that license before distributing the Program. - - d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement. - -3. REQUIREMENTS - -A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that: - - a) it complies with the terms and conditions of this Agreement; and - - b) its license agreement: - - i) effectively disclaims on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose; - - ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits; - - iii) states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and - - iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange. - -When the Program is made available in source code form: - - a) it must be made available under this Agreement; and - - b) a copy of this Agreement must be included with each copy of the Program. - -Contributors may not remove or alter any copyright notices contained within the Program. - -Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows subsequent Recipients to identify the originator of the Contribution. - -4. COMMERCIAL DISTRIBUTION - -Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor ("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense. - -For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages. - -5. NO WARRANTY - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely responsible for determining the appropriateness of using and distributing the Program and assumes all risks associated with its exercise of rights under this Agreement, including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, programs or equipment, and unavailability or interruption of operations. - -6. DISCLAIMER OF LIABILITY - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -7. GENERAL - -If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable. - -If Recipient institutes patent litigation against a Contributor with respect to a patent applicable to software (including a cross-claim or counterclaim in a lawsuit), then any patent licenses granted by that Contributor to such Recipient under this Agreement shall terminate as of the date such litigation is filed. In addition, if Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed. - -All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive. - -Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the right to modify this Agreement. IBM is the initial Agreement Steward. IBM may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the new version. Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or otherwise. All rights in the Program not expressly granted under this Agreement are reserved. - -This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation. - -=============================================================================== - -backport-util-concurrent-2.2.jar: - -The software comprising backport-util-concurrent is based in large -part on the code from JSR166, and the package dl.util.concurrent. -The software has been released to the public domain, as explained at: -http://creativecommons.org/licenses/publicdomain, excepting portions -of the class -edu.emory.mathcs.backport.java.util.concurrent.CopyOnWriteArrayList, -which were adapted from class java.util.ArrayList, written by Sun -Microsystems, Inc, which are used with kind permission, and subject -to the following: - -Copyright 2002-2004 Sun Microsystems, Inc. All rights reserved. Use is -subject to the following license terms. - - "Sun hereby grants you a non-exclusive, worldwide, non-transferrable - license to use and distribute the Java Software technologies as part - of a larger work in source and binary forms, with or without - modification, provided that the following conditions are met: - - -Neither the name of or trademarks of Sun may be used to endorse or - promote products derived from the Java Software technology without - specific prior written permission. - - -Redistributions of source or binary code must be accompanied by the - following notice and disclaimers: - - Portions copyright Sun Microsystems, Inc. Used with kind permission. - - This software is provided AS IS, without a warranty of any kind. ALL - EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND - WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF - MERCHANTABILITY, FITNESS FOR A PARTICULAR PUPOSE OR - NON-INFRINGEMENT, ARE HEREBY EXCLUDED. SUN - MICROSYSTEMS, INC. AND ITS LICENSORS SHALL NOT BE LIABLE - FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF - USING, MODIFYING OR DISTRIBUTING THE SOFTWARE OR ITS - DERIVATIVES. IN NO EVENT WILL SUN MICROSYSTEMS, INC. OR - ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR - DATA, OR FOR DIRECT, INDIRECT,CONSQUENTIAL, INCIDENTAL - OR PUNITIVE DAMAGES, HOWEVER CAUSED AND REGARDLESS OF - THE THEORY OR LIABILITY, ARISING OUT OF THE USE OF OR - INABILITY TO USE SOFTWARE, EVEN IF SUN MICROSYSTEMS, INC. - HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - - You acknowledge that Software is not designed, licensed or intended for - use in the design, construction, operation or maintenance of any nuclear - facility." - -=============================================================================== -rome-0.9.jar - -Copyright 2004 Sun Microsystems, Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. - -=============================================================================== -jdom-1.0.jar : - -$Id: LICENSE.txt,v 1.11 2004/02/06 09:32:57 jhunter Exp $ - - Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin. - All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions - are met: - - 1. Redistributions of source code must retain the above copyright - notice, this list of conditions, and the following disclaimer. - - 2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions, and the disclaimer that follows - these conditions in the documentation and/or other materials - provided with the distribution. - - 3. The name "JDOM" must not be used to endorse or promote products - derived from this software without prior written permission. For - written permission, please contact . - - 4. Products derived from this software may not be called "JDOM", nor - may "JDOM" appear in their name, without prior written permission - from the JDOM Project Management . - - In addition, we request (but do not require) that you include in the - end-user documentation provided with the redistribution and/or in the - software itself an acknowledgement equivalent to the following: - "This product includes software developed by the - JDOM Project (http://www.jdom.org/)." - Alternatively, the acknowledgment may be graphical using the logos - available at http://www.jdom.org/images/logos. - - THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED - WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES - OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - DISCLAIMED. IN NO EVENT SHALL THE JDOM AUTHORS OR THE PROJECT - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF - USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT - OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - SUCH DAMAGE. - - This software consists of voluntary contributions made by many - individuals on behalf of the JDOM Project and was originally - created by Jason Hunter and - Brett McLaughlin . For more information - on the JDOM Project, please see . - -======================================================================== - -dwr-2.0.1.jar : - -/* -* Copyright 2005 Joe Walker -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ - -========================================================================== - -dojotoolkit V1.0.0: - -The "New" BSD License: -********************** - -Copyright (c) 2005, The Dojo Foundation -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - * Neither the name of the Dojo Foundation nor the names of its contributors - may be used to endorse or promote products derived from this software - without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -================================================================================ - -The module tuscany-implementation-script-1.0-incubating.jar temporarily includes -one file under the below BSD license with the following copyright: - - Copyright (c) 2006, Sun Microsystems, Inc. - All rights reserved. - -BSD license: - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are met: - - - Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - - - Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - - - Neither the name of the Sun Microsystems, Inc. nor the names of - contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND - CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED - WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE - COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY - DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF - USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE - OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH - DAMAGE. - -================================================================================ - -The serp-1.12.0.jar is distributed under the BSD license with the following copyright: - - Copyright (c) 2002, A. Abram White - All rights reserved. - -BSD license: - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are met: - - - Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - - - Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - - - Neither the name of the Sun Microsystems, Inc. nor the names of - contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND - CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED - WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE - COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY - DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF - USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE - OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH - DAMAGE. - -================================================================================ -The javacc-3.2.jar, and howl-1.0.1-1.jar are distributed under the BSD license: - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - - * Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED -TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR -CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -================================================================================ - -The tuscany-assembly-xsd jar includes XSD files under the following SCA Collaboration license: - -License for the Service Component Architecture JavaDoc, Interface -Definition files and XSD files. - -The Service Component Architecture JavaDoc, Interface Definition files, -and XSD files are being provided by the copyright holders under the -following license. By using and/or copying this work, you agree that -you have read, understood and will comply with the following terms and -conditions: - -Permission to copy, display, make derivative works of, and distribute -the Service Component Architecture JavaDoc, Interface Definition Files -and XSD files (the "Artifacts") in any medium without fee or royalty is -hereby granted, provided that you include the following on ALL copies -of the Artifacts, or portions thereof, that you make: - -1. A link or URL to the Artifacts at this location: -http://www.osoa.org/display/Main/Service+Component+Architecture+Specifications - -2. The full text of this copyright notice as shown in the Artifacts. - -THE ARTIFACTS ARE PROVIDED "AS IS," AND THE AUTHORS MAKE NO -REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, REGARDING THE -ARTIFACTS AND THE IMPLEMENTATION OF THEIR CONTENTS, INCLUDING, BUT NOT -LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR -PURPOSE, NON-INFRINGEMENT OR TITLE. - -THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, -INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY -USE OR DISTRIBUTION OF THE ARTIFACTS. - -The name and trademarks of the Authors may NOT be used in any manner, -including advertising or publicity pertaining to the Service Component -Architecture Specification or its contents without specific, written -prior permission. Title to copyright in the Service Component -Architecture Specification and the JavaDoc, Interface Definition Files -and XSD Files will at all times remain with the Authors. - -No other rights are granted by implication, estoppel or otherwise. - -Revision level 1.1, last updated on 2007/11/19 - -================================================================================ -License for the Service Data Objects JavaDoc and Interface Definition files. (tuscany-sdo-api-r2.1-1.0-incubating.jar) - -These files being ... -commonj/sdo/ChangeSummary$Setting.class -commonj/sdo/ChangeSummary.class -commonj/sdo/DataGraph.class -commonj/sdo/DataObject.class -commonj/sdo/helper/CopyHelper.class -commonj/sdo/helper/DataFactory.class -commonj/sdo/helper/DataHelper.class -commonj/sdo/helper/EqualityHelper.class -commonj/sdo/helper/HelperContext.class -commonj/sdo/helper/TypeHelper.class -commonj/sdo/helper/XMLDocument.class -commonj/sdo/helper/XMLHelper.class -commonj/sdo/helper/XSDHelper.class -commonj/sdo/impl/ExternalizableDelegator$Resolvable.class -commonj/sdo/impl/ExternalizableDelegator.class -commonj/sdo/Property.class -commonj/sdo/Sequence.class -commonj/sdo/Type.class -xml/datagraph.xsd -xml/sdoJava.xml -xml/sdoJava.xsd -xml/sdoModel.xml -xml/sdoModel.xsd -xml/sdoXML.xml -xml/sdoXML.xsd - - -License for the Service Data Objects JavaDoc and Interface Definition files. - -The Service Data Objects Specification is being provided by the copyright holders under the following -license. By using and/or copying this work, you agree that you have read, understood and will comply with -the following terms and conditions: - -Permission to copy, display and distribute the Service Data Objects Specification and/or portions thereof, without -modification, in any medium without fee or royalty is hereby granted, provided that you include the -following on ALL copies of the Service Data Objects Specification, or portions thereof, that you make: - -1. A link or URL to the Service Data Objects Specification at this location: -http://www.osoa.org/display/Main/Service+Data+Objects+Specifications - -2. The full text of this copyright notice as shown in the Service Data Objects Specification. - -BEA, IBM, Oracle, Primeton Technologies, Rogue Wave Software, SAP, Software AG, Sun Microsystems, Xcalia, -Zend Technologies (collectively, the “Authors”) agree to grant you a royalty-free license, under reasonable, -non-discriminatory terms and conditions to patents that they deem necessary to implement the Service Data -Objects Specification. - -THE Service Data Objects SPECIFICATION IS PROVIDED "AS IS," AND THE AUTHORS MAKE NO REPRESENTATIONS OR -WARRANTIES, EXPRESS OR IMPLIED, REGARDING THIS SPECIFICATION AND THE IMPLEMENTATION OF ITS CONTENTS, -INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, -NON-INFRINGEMENT OR TITLE. THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL -OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY USE OR DISTRIBUTION OF THE SERVICE DATA OBJECTS -SPECIFICATION. - -The name and trademarks of the Authors may NOT be used in any manner, including advertising or publicity -pertaining to the Service Data Objects Specification or its contents without specific, written prior -permission. Title to copyright in the Service Data Objects Specification will at all times remain with the -Authors. - -No other rights are granted by implication, estoppel or otherwise. -================================================================================ - diff --git a/java/sca-contrib/distribution/core/src/main/release/bin/NOTICE b/java/sca-contrib/distribution/core/src/main/release/bin/NOTICE deleted file mode 100644 index 5daa9a3dfe..0000000000 --- a/java/sca-contrib/distribution/core/src/main/release/bin/NOTICE +++ /dev/null @@ -1,95 +0,0 @@ -Apache Tuscany -Copyright (c) 2005 - 2009 The Apache Software Foundation - -This product includes software developed at -The Apache Software Foundation (http://www.apache.org/). - -This product includes/uses XmlSchema developed at -The Apache Software Foundation (http://ws.apache.org/commons/XmlSchema) - Portions Copyright 2006 International Business Machines Corp. - -This product includes/uses ode-bpel-api-1.1 developed at -The Apache Software Foundation (http://ode.apache.org) - - Copyright 1999-2006 Intalio - This product includes software developed by Intalio (http://www.intalio.com) - - Copyright 2006 Sybase - This product includes software developed by Sybase.(http://www.sybase.com) - -"This product includes software developed by the Spring Framework - Project (http://www.springframework.org)." - -This product includes/uses the Jetty Servlet Engine (http://jetty.mortbay.org), -developed by Mort Bay Consulting (http://www.mortbay.com) - -This product includes/uses the Groovy Script Engine (http://groovy.codehaus.org/), -Copyright 2003 (C) James Strachan and Bob Mcwhirter. All Rights Reserved. - -This product includes/uses the Axion : the Open Source Java Database (http://axion.tigris.org/) - Copyright (c) 2002-2003 Axion Development Team. All rights reserved. - -This product includes/uses DOM4J : the flexible XML framework for java (http://www.dom4j.org/) - Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved. - -This product includes/uses software, AOP alliance (http://aopalliance.sourceforge.net) -License: Public Domain - -This product includes/uses JSON-RPC-Java (http://oss.metaparadigm.com/jsonrpc/) - -This product includes/uses JSON-RPC JavaScript client (jsonrpc.js) - Copyright (c) 2003-2004 Jan-Klaas Kollhof - Copyright (c) 2005 Michael Clark, Metaparadigm Pte Ltd - -This product includes software from the GlassFish project (https://glassfish.dev.java.net/) - Copyright (c) 2006, Sun Microsystems, Inc. - -This product includes software from the Rome project (https://rome.dev.java.net/) - Copyright (c) 2006, Sun Microsystems, Inc. - -This product includes/uses the Eclipse Modeling Framework project (http://www.eclipse.org/emf/) - -This product includes/uses the Mozilla Rhino project (http://www.mozilla.org/rhino/) - -This product includes/uses the Sourceforge wsdl4j project (http://sourceforge.net/projects/wsdl4j/)i - -This product includes/uses the Codehaus JRuby project (http://jruby.codehaus.org/) - -This product includes/uses JDOM (http://www.jdom.org/) - Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin. All rights reserved. - -This product includes/uses DWR (http://getahead.org/dwr) - Copyright 2005 Joe Walker. All rights reserved. - -This product includes/uses dojotoolkit (http://dojotoolkit.org/) - Copyright (c) 2005, The Dojo Foundation. All rights reserved. - -This product includes/uses Howl (http://howl.objectweb.org/) - Copyright (c) 2004, Bull S.A. - -This product includes/uses axion (http://axion.tigris.org/) - Copyright (c) 2002-2003 Axion Development Team. - -This product includes/uses javacc (https://javacc.dev.java.net/) - Copyright (c) 2003 Sun Microsystems, Inc. All Rights Reserved. - -The Program includes all or portions of the following software: "The -Saxon XSLT and XQuery Processor from Saxonica Limited" distributed under -an MPL v1.0 license. Please refer to the homepage URL at -http://www.saxonica.com/. - -This product includes/uses Serp (http://serp.sourceforge.net/) under the BSD license: - Copyright (c) 2002, A. Abram White. All rights reserved. - -This product also includes software under the BSD license -with the following copyright: - Copyright (c) 2006, Sun Microsystems, Inc. All rights reserved. - -This product includes software under the Service Component Architecture JavaDoc, -Interface Definition files and XSD files license. - (c) Copyright SCA Collaboration 2006, 2007 - -This product includes software under the Service Data Objects JavaDoc and -Interface Definition file license - -(c) Copyright BEA Systems, Inc., International Business Machines Corporation, -Oracle Corporation, Primeton Technologies Ltd., Rogue Wave Software, SAP AG., -Software AG., Sun Microsystems, Sybase Inc., Xcalia, Zend Technologies, -2005, 2006. All rights reserved. - diff --git a/java/sca-contrib/distribution/core/src/main/release/src/BUILDING b/java/sca-contrib/distribution/core/src/main/release/src/BUILDING deleted file mode 100644 index 65d09c5eae..0000000000 --- a/java/sca-contrib/distribution/core/src/main/release/src/BUILDING +++ /dev/null @@ -1,55 +0,0 @@ -Building the Apache Tuscany SCA 1.2 (incubating) April 2008 Release source distribution -======================================================================================= - -Initial Setup -------------- - -1) Install J2SE 5.0 SDK, which can be downloaded from - http://java.sun.com/j2se/1.5.0/download.jsp. Use version of 1.5.0_06 JDK or higher. - -2) Make sure that your JAVA_HOME environment variable is set to the newly installed - JDK location, and that your PATH includes %JAVA_HOME%\bin (windows) or - $JAVA_HOME$/bin (unix). - -3) Install Maven 2.0.7 or higher, which can be downloaded from - http://maven.apache.org/download.html. Make sure that your PATH includes - the MVN_HOME/bin directory. - -4) Make sure that your MAVEN_OPTS environment variable has -Xmx128M (or more), - you can manually do this by executing the following in your prompt : - Windows users: - set MAVEN_OPTS=-Xmx128M - Unix users: - export MAVEN_OPTS=-Xmx128M - - -Building --------- - -1) Change to the top level directory of Apache Tuscany source distribution. -2) Run - - $> mvn - - This will compile Apache Tuscany and run all of the tests in the source - distribution. - - Depending on the load of remote Maven 2.0 repositories, you may have - to run "mvn" several times utill the required dependencies are - all located in your local maven repository. It usually takes some time for - maven to download required dependencies in the first build. Once all the - dependencies have been downloaded you may use the -o option to run maven - in offline mode, for example, 'mvn clean install -o'. - - -Building the distributions --------------------------- - -1) Change to the distribution folder -2) Run - - $> mvn - - This will build the binary and source distribution with .zip and .gz - formats in the distribution/target directory. - diff --git a/java/sca-contrib/distribution/core/src/main/release/src/LICENSE b/java/sca-contrib/distribution/core/src/main/release/src/LICENSE deleted file mode 100644 index 144d8ae692..0000000000 --- a/java/sca-contrib/distribution/core/src/main/release/src/LICENSE +++ /dev/null @@ -1,397 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - -=============================================================================================================== - -Apache Tuscany SCA for Java Subcomponents -=========================================: - -The Tuscany SCA for Java release includes a number of subcomponents with -separate copyright notices and license terms. Your use of the source -code for the these subcomponents is subject to the terms and -conditions of the following licenses. - -=============================================================================================================== - -The module itest/databindings/common includes the test schema; datagraph.xsd, sdoJava.xsd, and sdoModel.xsd -under the following license: - -License for the Service Data Objects JavaDoc, Interface Definition files -and XSD files. - -The Service Data Objects JavaDoc, Interface Definition files and XSD files -are being provided by the copyright holders under the following license. -By using and/or copying this work, you agree that you have read, -understood and will comply with the following terms and conditions: - -Permission to copy, display, make derivative works of and distribute -the Service Data Objects JavaDoc, Interface Definition files and XSD files -(the "Artifacts") in any medium without fee or royalty is hereby granted, -provided that you include the following on ALL copies of the Artifacts, -or portions thereof, that you make: - -1. A link or URL to the Artifacts at this location: -http://www.osoa.org/display/Main/Service+Data+Objects+Specifications - -2. The full text of this copyright notice as shown in the Artifacts. - - - -THE ARTIFACTS ARE PROVIDED "AS IS" AND THE AUTHORS MAKE NO -REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, REGARDING THE -ARTIFACTS AND THE IMPLEMENTATION OF THEIR CONTENTS, -INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT OR TITLE. - -THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, -INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY -USE OR DISTRIBUTION OF THE ARTIFACTS. - -The name and trademarks of the Authors may NOT be used in any manner, -including advertising or publicity pertaining to the Service Data -Objects Specification or its contents without specific, written prior -permission. Title to copyright in the Service Data Objects -Specification will at all times remain with the Authors. - -No other rights are granted by implication, estoppel or otherwise. - -Revision level 1.11, last updated on 2007/12/21 - -================================================================================================================= - -The module implementation-script temporarily includes one file under the following BSD license: - - Copyright (c) 2006, Sun Microsystems, Inc. - All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are met: - - - Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - - - Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - - - Neither the name of the Sun Microsystems, Inc. nor the names of - contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND - CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED - WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE - COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY - DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF - USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE - OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH - DAMAGE. - -================================================================================================================= - -The module assembly-xsd includes XSD files under the following SCA Collaboration license: - -License for the Service Component Architecture JavaDoc, Interface -Definition files and XSD files. - -The Service Component Architecture JavaDoc, Interface Definition files, -and XSD files are being provided by the copyright holders under the -following license. By using and/or copying this work, you agree that -you have read, understood and will comply with the following terms and -conditions: - -Permission to copy, display, make derivative works of, and distribute -the Service Component Architecture JavaDoc, Interface Definition Files -and XSD files (the "Artifacts") in any medium without fee or royalty is -hereby granted, provided that you include the following on ALL copies -of the Artifacts, or portions thereof, that you make: - -1. A link or URL to the Artifacts at this location: -http://www.osoa.org/display/Main/Service+Component+Architecture+Specifications - -2. The full text of this copyright notice as shown in the Artifacts. - -THE ARTIFACTS ARE PROVIDED "AS IS," AND THE AUTHORS MAKE NO -REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, REGARDING THE -ARTIFACTS AND THE IMPLEMENTATION OF THEIR CONTENTS, INCLUDING, BUT NOT -LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR -PURPOSE, NON-INFRINGEMENT OR TITLE. - -THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, -INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY -USE OR DISTRIBUTION OF THE ARTIFACTS. - -The name and trademarks of the Authors may NOT be used in any manner, -including advertising or publicity pertaining to the Service Component -Architecture Specification or its contents without specific, written -prior permission. Title to copyright in the Service Component -Architecture Specification and the JavaDoc, Interface Definition Files -and XSD Files will at all times remain with the Authors. - -No other rights are granted by implication, estoppel or otherwise. - -Revision level 1.1, last updated on 2007/11/19 - -================================================================================================================= -The modules - -binding-ws-xml -databinding -databinding-axiom -databinding-jaxb -databinding-json -databinding-sdo -databinding-sdo-axiom -databinding-xmlbeans -interface-wsdl-xml - -Include the ipo.xsd and address.xsd information from the XML Schema Primer -(http://www.w3.org/TR/2004/PER-xmlschema-0-20040318/) combined into the -file ipo.xsd and extended with UK postcode structures. - -The ipo.xsd file is include under the following license: - -W3C(c) SOFTWARE NOTICE AND LICENSE -http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 - -This work (and included software, documentation such as READMEs, or other -related items) is being provided by the copyright holders under the following -license. By obtaining, using and/or copying this work, you (the licensee) agree -that you have read, understood, and will comply with the following terms and conditions. - -Permission to copy, modify, and distribute this software and its documentation, -with or without modification, for any purpose and without fee or royalty is -hereby granted, provided that you include the following on ALL copies of the -software and documentation or portions thereof, including modifications: - - 1. The full text of this NOTICE in a location viewable to users of the - redistributed or derivative work. - 2. Any pre-existing intellectual property disclaimers, notices, or terms - and conditions. If none exist, the W3C Software Short Notice should be - included (hypertext is preferred, text is permitted) within the body of - any redistributed or derivative code. - 3. Notice of any changes or modifications to the files, including the date - changes were made. (We recommend you provide URIs to the location from which - the code is derived.) - -THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE -NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, -WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE -USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY PATENTS, -COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. - -COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR -CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENTATION. - -The name and trademarks of copyright holders may NOT be used in advertising or -publicity pertaining to the software without specific, written prior permission. -Title to copyright in this software and any associated documentation will at all -times remain with copyright holders. diff --git a/java/sca-contrib/distribution/core/src/main/release/src/NOTICE b/java/sca-contrib/distribution/core/src/main/release/src/NOTICE deleted file mode 100644 index 31540fd607..0000000000 --- a/java/sca-contrib/distribution/core/src/main/release/src/NOTICE +++ /dev/null @@ -1,39 +0,0 @@ -Apache Tuscany -Copyright (c) 2005 - 2009 The Apache Software Foundation - -This product includes software developed at -The Apache Software Foundation (http://www.apache.org/). - -This product includes/uses JSON-RPC JavaScript client (jsonrpc.js) - Copyright (c) 2003-2004 Jan-Klaas Kollhof - Copyright (c) 2005 Michael Clark, Metaparadigm Pte Ltd - -This product also includes software under the BSD license -(see the LICENSE file contained in this distribution), with -the following copyright: - Copyright (c) 2006, Sun Microsystems, Inc. All rights reserved. - -This product includes software under the Service Component Architecture JavaDoc, -Interface Definition files and XSD files license. - (c) Copyright SCA Collaboration 2006, 2007 - -This product includes software under the Service Data Objects JavaDoc and -Interface Definition file license - -(c) Copyright BEA Systems, Inc., International Business Machines Corporation, -Oracle Corporation, Primeton Technologies Ltd., Rogue Wave Software, SAP AG., -Software AG., Sun Microsystems, Sybase Inc., Xcalia, Zend Technologies, -2005, 2006. All rights reserved. - -This product includes software under the W3C(c) Software License -with the following copyright: - -Copyright (c) 2008 World Wide Web Consortium, (Massachusetts Institute of Technology, -European Research Consortium for Informatics and Mathematics, Keio University). -All Rights Reserved. This work is distributed under the W3C(c) Software License [1] in -the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied -warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - -[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 - - diff --git a/java/sca-contrib/distribution/ejava/pom.xml b/java/sca-contrib/distribution/ejava/pom.xml deleted file mode 100644 index f02a29093e..0000000000 --- a/java/sca-contrib/distribution/ejava/pom.xml +++ /dev/null @@ -1,155 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - tuscany-distribution - 2.0-SNAPSHOT - ../pom.xml - - - tuscany-distribution-ejava - Apache Tuscany SCA JEE Distribution - pom - - - - - org.apache.tuscany.sca - tuscany-feature-ejava - pom - 2.0-SNAPSHOT - - - - - - - - - distribution - - false - - - - - org.apache.tuscany.sca - tuscany-maven-bundle-plugin - - - distribution-modules - generate-resources - - generate-modules - - - target/modules - - ../core/target/modules - - - - - - - - org.apache.maven.plugins - maven-assembly-plugin - - - distribution-package - package - - single - - - - src/main/assembly/bin.xml - src/main/assembly/src.xml - - gnu - apache-tuscany-sca-ejava-2.0-SNAPSHOT - - - - - - - - - - - modules - - ../../modules/assembly - ../../modules/assembly-xml - ../../modules/assembly-xsd - ../../modules/binding-rmi - ../../modules/binding-rmi-runtime - ../../modules/binding-sca - ../../modules/binding-sca-xml - ../../modules/contribution - ../../modules/contribution-java - ../../modules/contribution-namespace - ../../modules/contribution-xml - ../../modules/core - ../../modules/core-databinding - ../../modules/core-spi - ../../modules/databinding - ../../modules/databinding-jaxb - ../../modules/definitions - ../../modules/definitions-xml - ../../modules/endpoint - ../../modules/extensibility - ../../modules/extensibility-equinox - ../../modules/host-http - ../../modules/host-rmi - ../../modules/implementation-java - ../../modules/implementation-java-runtime - ../../modules/implementation-java-xml - ../../modules/implementation-node - ../../modules/implementation-node-runtime - ../../modules/interface - ../../modules/interface-java - ../../modules/interface-java-jaxws - ../../modules/interface-java-xml - ../../modules/interface-wsdl - ../../modules/interface-wsdl-xml - ../../modules/monitor - ../../modules/node-api - ../../modules/node-impl - ../../modules/node-launcher - ../../modules/node-launcher-equinox - ../../modules/policy - ../../modules/policy-security - ../../modules/policy-xml - ../../modules/sca-api - ../../modules/workspace - ../../modules/workspace-impl - ../../modules/workspace-xml - ../../modules/xsd - ../../modules/xsd-xml - - - - - diff --git a/java/sca-contrib/distribution/ejava/src/main/assembly/bin.xml b/java/sca-contrib/distribution/ejava/src/main/assembly/bin.xml deleted file mode 100644 index 3a85bc09a3..0000000000 --- a/java/sca-contrib/distribution/ejava/src/main/assembly/bin.xml +++ /dev/null @@ -1,36 +0,0 @@ - - - - - bin - true - tuscany-sca-2.0-SNAPSHOT - - dir - tar.gz - zip - - - - ../core/src/main/components/bin-common.xml - ../core/src/main/components/bin-modules.xml - src/main/components/bin-samples.xml - - diff --git a/java/sca-contrib/distribution/ejava/src/main/assembly/src.xml b/java/sca-contrib/distribution/ejava/src/main/assembly/src.xml deleted file mode 100644 index ce301181e0..0000000000 --- a/java/sca-contrib/distribution/ejava/src/main/assembly/src.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - - src - true - tuscany-sca-2.0-SNAPSHOT-src - - dir - tar.gz - zip - - - - ../core/src/main/components/src-common.xml - src/main/components/src-modules.xml - - diff --git a/java/sca-contrib/distribution/ejava/src/main/components/bin-samples.xml b/java/sca-contrib/distribution/ejava/src/main/components/bin-samples.xml deleted file mode 100644 index 02e58456c6..0000000000 --- a/java/sca-contrib/distribution/ejava/src/main/components/bin-samples.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - ../../samples - samples - - calculator-rmi-reference/**/* - calculator-rmi-service/**/* - - - - - **/.* - **/.*/** - **/*.log - - - pom.xml - */target/mvn-eclipse-cache.properties - */target/classes - */target/classes/**/* - */target/dependency-maven-plugin-markers - */target/dependency-maven-plugin-markers/**/* - */target/.felix - */target/.felix/**/* - */target/maven-archiver - */target/maven-archiver/**/* - */target/test-classes - */target/test-classes/**/* - */target/surefire-reports - */target/surefire-reports/**/* - - - - diff --git a/java/sca-contrib/distribution/ejava/src/main/components/src-modules.xml b/java/sca-contrib/distribution/ejava/src/main/components/src-modules.xml deleted file mode 100644 index 4da310abab..0000000000 --- a/java/sca-contrib/distribution/ejava/src/main/components/src-modules.xml +++ /dev/null @@ -1,90 +0,0 @@ - - - - - - - ../../modules - modules - - assembly/**/* - assembly-xml/**/* - assembly-xsd/**/* - binding-rmi/**/* - binding-rmi-runtime/**/* - binding-sca/**/* - binding-sca-xml/**/* - contribution/**/* - contribution-java/**/* - contribution-namespace/**/* - contribution-xml/**/* - core/**/* - core-databinding/**/* - core-spi/**/* - databinding/**/* - databinding-jaxb/**/* - definitions/**/* - definitions-xml/**/* - distribution-core/**/* - endpoint/**/* - extensibility/**/* - extensibility-equinox/**/* - host-http/**/* - host-rmi/**/* - implementation-java/**/* - implementation-java-runtime/**/* - implementation-java-xml/**/* - implementation-node/**/* - implementation-node-runtime/**/* - interface/**/* - interface-java/**/* - interface-java-jaxws/**/* - interface-java-xml/**/* - interface-wsdl/**/* - interface-wsdl-xml/**/* - monitor/**/* - node-api/**/* - node-impl/**/* - node-launcher/**/* - node-launcher-equinox/**/* - policy/**/* - policy-security/**/* - policy-xml/**/* - sca-api/**/* - workspace/**/* - workspace-impl/**/* - workspace-xml/**/* - xsd/**/* - xsd-xml/**/* - - - - **/.* - **/.*/** - **/*.log - - - pom.xml - **/target - **/target/**/* - - - - diff --git a/java/sca-contrib/distribution/ejava/src/main/release/CHANGES b/java/sca-contrib/distribution/ejava/src/main/release/CHANGES deleted file mode 100644 index 3de7358ec6..0000000000 --- a/java/sca-contrib/distribution/ejava/src/main/release/CHANGES +++ /dev/null @@ -1,431 +0,0 @@ -Changes With Apache Tuscany SCA 1.2 (incubating) April 2008 -=========================================================== - -- Fix the following JIRA issues (http://issues.apache.org/jira/browse/TUSCANY): - * TUSCANY-2027 - * TUSCANY-1999 - * TUSCANY-2037 - * TUSCANY-2034 - * TUSCANY-2038 - * TUSCANY-2043 - * TUSCANY-2046 - * TUSCANY-2047 - * TUSCANY-2028 - * TUSCANY-1873 - * TUSCANY-2049 - * TUSCANY-2035 - * TUSCANY-1206 - * TUSCANY-2036 - * TUSCANY-1771 - * TUSCANY-2013 - * TUSCANY-1926 - * TUSCANY-1917 - * TUSCANY-1949 - * TUSCANY-1941 - * TUSCANY-2045 - * TUSCANY-2057 - * TUSCANY-2055 - * TUSCANY-2056 - * TUSCANY-2072 - * TUSCANY-2047 - * TUSCANY-2073 - * TUSCANY-1977 - * TUSCANY-2075 - * TUSCANY-1894 - * TUSCANY-2079 - * TUSCANY-2078 - * TUSCANY-2080 - * TUSCANY-2068 - * TUSCANY-1950 - * TUSCANY-2077 - * TUSCANY-2056 - * TUSCANY-2088 - * TUSCANY-2086 - * TUSCANY-2094 - * TUSCANY-2106 - - Features and/or Enhancements - - * Core - - Interceptor Enhancements - - Phase-based interceptor ordering to allow contribution of new interceptors and also define the order in witch they should be invoked - - Pass-by-reference SPI to allow interceptors to indicate if they support pass-by-reference - - PolicyProvider SPIs to allow extensions to plugin policy interceptors - - Support for JAXWS annotations and mapping of faults to Java exceptions according to JAXWS specification - - Improvement of contribution service to allow it to be used outside of the runtime environment - - Support for Contribution Import/Export resource - - Enhanced Distributed Domain story using Workspace - - Implementation of a SCA domain allowing a system administrator to manage contributions, composites and sca nodes that run these composites - - Set of core services providing management capabilities - - Administration web interface - - This is a work in progress and you can see it in action in samples/calculator-distributed. Other samples that use distributed operation are yet to move over to the workspace. - - Enhanced support for SCA Policy spec - - Ability to apply external policy definitions to a SCA composition - - Ability to spread policy definitions to multiple definitions.xml files available across the sca domain - - Bug fixes - - Improvements of http binding to support servlet components - - Enable Tuscany to run inside an OSGi runtime - - * Web 2.0 Extensions - - Enhancements to implementation.widget (support for properties) - - New atom binding based on Apache Abdera - - Refactoring of rss-rome binding - * Other Extensions - - Binding JMS - - greatly simplified the use of the JMS binding, support locating JMS resources from JNDI, and better compliance with the SCA JMS binding spec - - see the doc page for more details: http://incubator.apache.org/tuscany/sca-java-bindingjms.html - - Enhancements to Binding RMI - - Support shared RMI registry and use 999x as the ports in test case to avoid 1099 conflict - - Enhancements to Groovy extension - - Support for 'native' groovy classes - - Enhancements to OSGi bundle contributions - - Support Bundle URLs to be added as contributions - - * Tools - - Eclipse plugin providing a Tuscany runtime Library and Tuscany launcher in Eclipse environment - - An updatesite is also available to facilitate the plugin installation using the Eclipse update manager - - * Samples/Tutorial/Demos - - calculator-distributed migrated to use new Tuscany Distributed Workspace - - sample-calculator-ws-secure-webapp - - sample-helloworld-jms-webapp - - new jms samples - - improve bigbank demo to include support for policies - - tutorial store changes - - use of import/export - - development of contribution without requiring dependencies on the Tuscany runtime - - usage of new sca domain infrastructure - - * Testing - - Web Container Testing Framework integrated with (Tomcat, Jetty, Geronimo and Websphere) - - -Changes With Apache Tuscany SCA 1.1 (incubating) January 2008 -=============================================================== - -- Fix the following JIRA issues (http://issues.apache.org/jira/browse/TUSCANY): - * TUSCANY-1939 - * TUSCANY-1914 - * TUSCANY-1854 - * TUSCANY-1931 - * TUSCANY-1547 - * TUSCANY-1909 - * TUSCANY-1919 - * TUSCANY-1930 - * TUSCANY-1806 - * TUSCANY-1804 - * TUSCANY-1916 - * TUSCANY-1913 - * TUSCANY-1834 - * TUSCANY-1857 - * TUSCANY-1687 - * TUSCANY-1801 - * TUSCANY-1742 - * TUSCANY-1762 - * TUSCANY-1945 - * TUSCANY-1595 - * TUSCANY-1594 - * TUSCANY-1849 - * TUSCANY-1836 - * TUSCANY-1934 - * TUSCANY-1902 - * TUSCANY-1608 - * TUSCANY-1943 - * TUSCANY-1896 - * TUSCANY-1626 - * TUSCANY-1797 - * TUSCANY-1601 - * TUSCANY-1415 - -- Better JMS support - * binding.jms supporting point to point text based messaging only - * New SOAP/JMS sample (helloworld-ws-reference/service-jms) - -- Improvements in PolicyFramework Support - * Support for policy specifications on operation elements in a composite definition - * Separate sample (calculator-implementation-policies) to demonstrate use of Implementation Policies - (uses logging and JAAS Authentication) - -- Modeling of client side java script components - * See implementation.widget - -- Evolving support for doman API suggested by assembly spec including a standalone node and nodes running - connected together in a domain. This is still experimental. - -- Class loading and OSGI improvements - * Enable Tuscany to be run in a multi-classloader environment including inside OSGi. By default, - Tuscany continues to run using a single CLASSPATH-based classloader. - * Contributions no longer need to be in the CLASSPATH. All import/export dependencies across contributions should be - explicitly specified (as described in the spec). - -- JAXB based POJO transformations - -Changes With Apache Tuscany SCA 1.0.1 (incubating) November 2007 -================================================================ - -The Tuscany SCA Java 1.0.1 is mainly a bug-fix release. It also comes with some improvements as listed below. - -- Fix the following JIRA issues (http://issues.apache.org/jira/browse/TUSCANY): - * TUSCANY-1848 - * TUSCANY-1857 - * TUSCANY-1859 - * TUSCANY-1801 - * TUSCANY-1823 - * TUSCANY-1839 - * TUSCANY-1814 - * TUSCANY-1818 - * TUSCANY-1834 - * TUSCANY-1637 - * TUSCANY-1826 - * TUSCANY-1823 - * TUSCANY-1819 - * TUSCANY-1821 - * TUSCANY-1822 - * TUSCANY-1806 - * TUSCANY-1808 - * TUSCANY-1756 - * TUSCANY-1757 - -- Fix build issues with Maven 2.0.7 and JDK 6 - -- Reduce memory consumption for WSDLs that import large XSDs - -- Add more logging statements for better servicibility - -- Add an extension point to allow extensions to plug-in extension schemas. - -- Add a demo application to showcase XML integration story - -- Improve in databinding framework - * Add support for JSON Databindings and other refactoring - * Set databinding for introspected data type and enhance the checking of wrapper style - * Improve the tree-based XMLStreamReader and convert Bean & DOM to use this approach - * Add a tree-iterator based XMLStreamReader base impl - * Add default element info to java interface - * Rename Interface.setDefaultDataBinding to resetDataBinding - -- Limit the method injection to setters and allow the setter annotation to override field annotation - -- Evolving support in Intent and Policy handling - * Add support for policies in implementation - * Fix the algorithm for macthing policySets defined on bindings for the wire - * Add policy intent for implementation.java - * Extend java implementation type to recognize and apply policies, adding util support for this in Policy module - * Add policy module for logging - -- Evolving development in the SCA Domain/Node - -- Update NOTICE files with missing dependencies - - -Changes With Apache Tuscany SCA 1.0 (incubating) September 2007 -=============================================================== - -- Tuscany Java SCA now implements V1.0 of the core SCA - specifications - SCA Assembly Model V1.0 - SCA Java Common Annotations and APIs V1.0 - SCA Java Component Implementation V1.0 - SCA Web Services Binding V1.0 - Including callbacks, conversations and callable references - - -- Support for ws-security configurable in the web services binding - thro Tuscany SCA policy intents and policysets using the policy framework - introduced in the last release. - - Note : This release supports specifications of policies around axis2 - config params - see helloworld-ws-service-secure sample. The policy - intents that have been tested are authentication, integrity and - confidentiality. - There is no sample or test that exercises confidentiality since there - are some unresolved licensing issue around bouncycastle libraries. - However, users who are not encumbered by the bouncycastle license - restrictions can try the 'confidentiality' intent. See FAQ - - http://incubator.apache.org/tuscany/tuscany-sca-java-faq.html - - This release does not include support for WS-Policy - attachments in Tuscany Policysets for ws-security. - - -- An XQuery component implementation type - implementation-xquery - - -- A Databinding for converting data to and from nodes for XQuery - processing - databinding-saxon - - -- OSGI support has been extended to allow Tuscany contributions - packaged as OSGI bundles hence taking advantage of OSGI's bundle - loading an dependency management capabilities - - -- A BPEL component implementation type experimental implementation -based on SCA BPEL Client and Implementation V1.0. At the moment only -supports BPEL process as services. - implementation-bpel - - -- The distributed runtime implementation has been separated out - into - *) domain - *) node - It is now wrapped by a SCADomain interface as is the standalone - runtime. - - Note: This release does not include support for WebApp host deployment - for a distributed SCA Domain - - - -- The web service binding will now generate WSDL automatically - based on the service interface if no WSDL is provided - - -- A new "store" sample and associated document show how a - simple store front application can be constructed - samples/store - -- The following features of this release are still experimental: - - BPEL implementation type, integrating with Apache ODE - - OSGI implementation type, integrating with Apache Felix - - XQuery implementation type - - - -Changes With Apache Tuscany SCA 0.99 (incubating) August 2007 -============================================================= - -The following are the significant additions to release 0.99 -over and above all of what was offered in release 0.91. - -- A version of the default sca binding that works between - components runing in separate Java virtual machines - binding-sca-axis - -- A simple node implementation and a service discovery - function for running sca applications distributed - across more than one node - distributed - distributed-impl - -- integration with OSGi runtimes is now supported with - a new implementation-osgi component type - -- PUB/SUB interactions are now supported by using new - notification binding and implementation types, and - samples demonstrating the feature. - -- The Tuscany runtime now has a policy framework supporting - the SCA policy specification - -- the endpoint URIs used by SCA bindings has been rationalized - and now follows the SCA Assembly specification - -- binding-ajax has been renamed to binding-dwr - -Changes With Apache Tuscany SCA 0.91 (incubating) July 2007 -=========================================================== - -The following are the significant additions to release 0.91 -over and above all of what was offered in release 0.90. - - -- Enhancements to support multiple contributions to the SCA Domain - -- The inclusion of a alternative simplified extensions-helper -SPI layer to faciliate rapid development of extensions - -- More Implementation Extenstions - Spring - WebResource - -- More Binding Extensions - AJAX - EJB - RSS/ATOM Feeds - -- Demos that demonstrate the use of a mix of extensions - alert-aggregator-webapp - bigbank-account - bigbank-calculator - bigbank-stockquote - - -- Samples - Samples to demostrate use of Spring, Resource, AJAX extensions - -Changes With Apache Tuscany SCA 0.90 (incubating) June 2007 -=========================================================== - -- Implementations for all of the Java Annotations and API Specification V1.0 found at - (http://www.osoa.org/display/Main/Service+Component+Architecture+Specifications) - apart from the following. - @ComponentName - Conversation - RequestContext - -- New assembly model implementation taking into account SCA 1.0 artifacts - Data duplication between assembly model and runtime removed - -- Simple single process domain support - Contribution support to scope items being deployed into the runtime - -- Improved Package/Class naming consistency across modules - -- Extensions now loaded via Java service mechanism - Refactored extensions to use new SPIs (see below) - -- Maven and Ant based sample builds in the binary distribution - -- Implementation Extensions - Java - Script supporting (Ruby, Python, Groovy, JavaScript) - -- Binding Extensions - Axis2 - RMI - JSONRPC - --Databinding Extensions - Axiom - JAXB - SDO - -- Host environments - Embedded - Tomcat - Jetty - RMI - -- A clear set of SPIs intended to be stable over future releases - SCA assembly model - org.apache.tuscany.sca.assembly - org.apache.tuscany.sca.interfacedef - org.apache.tuscany.sca.interfacedef.java - org.apache.tuscany.sca.interfacedef.wsdl - org.apache.tuscany.sca.policy - - SCA contribution model - org.apache.tuscany.sca.contribution - - Runtime extensions - org.apache.tuscany.sca.core - org.apache.tuscany.sca.invocation - org.apache.tuscany.sca.provider - org.apache.tuscany.sca.runtime - org.apache.tuscany.sca.work - - Data binding support - org.apache.tuscany.sca.databinding - - Embedding Tuscany - org.apache.tuscany.sca.host.embedded - - Servlet container integration - org.apache.tuscany.sca.http - -- For this point release a partial set of JavaDoc is provided to - be filled out as we close on release 1.0 diff --git a/java/sca-contrib/distribution/ejava/src/main/release/README b/java/sca-contrib/distribution/ejava/src/main/release/README deleted file mode 100644 index 4d83dcfde9..0000000000 --- a/java/sca-contrib/distribution/ejava/src/main/release/README +++ /dev/null @@ -1,19 +0,0 @@ -Apache Tuscany SCA 1.2 (incubating) April 2008 README -===================================================== - -Welcome to the Tuscany SCA 1.2 release. - -See the RELEASE_NOTES file for information specific to this release. - -In the binary release see the INSTALL file for information on how to -install the release. - -In the source distribution see the BUILDING file for information on -building the source code. - - - - - - - diff --git a/java/sca-contrib/distribution/ejava/src/main/release/RELEASE_NOTES b/java/sca-contrib/distribution/ejava/src/main/release/RELEASE_NOTES deleted file mode 100644 index a04ef5c553..0000000000 --- a/java/sca-contrib/distribution/ejava/src/main/release/RELEASE_NOTES +++ /dev/null @@ -1,83 +0,0 @@ -Apache Tuscany SCA 1.2 (incubating) April 2008 Release Notes -============================================================ - -Apache Tuscany provides a runtime based on the Service Component -Architecture. SCA is a set of specifications aimed at simplifying SOA -Application Development which are being standardized at OASIS as part -of Open Composite Services Architecture (Open CSA) - http://www.oasis-opencsa.org/. - -Overview --------- - - The Apache Tuscany SCA 1.2 release includes implementations of the - main SCA specifications including: - - SCA Assembly Model V1.0 - SCA Policy Framework V1.0 - SCA Java Common Annotations and APIs V1.0 - SCA Java Component Implementation V1.0 - SCA Spring Component Implementation V1.0 - SCA BPEL Client and Implementation V1.0 - SCA Web Services Binding V1.0 - SCA EJB Session Bean Binding V1.0 - - It also includes implementations of many features not yet defined - by SCA specifications, including: - - - SCA bindings for Direct Web Remoting, RSS and ATOM Feeds, - HTTP resources, JSON-RPC, PUB/SUB Notifications, and RMI. - - SCA implementation types for OSGI, XQuery, BPEL, Widget and various - dynamic languages including Groovy, Javascript, Python and Ruby - - Databindings for Service Data Objects (SDO), JAXB, XmlBeans, - Axis2's AXIOM, JSON, SAXON, DOM, SAX and StAX - - The Tuscany SCA Runtime can be configured as a single node SCA domain or - as an SCA domain distributed across multiple nodes. - In addition Tuscany SCA supports the following host-deployment options: - - - running standalone - - running with distributed nodes across multiple JVMs - - running with embedded Jetty or Tomcat - - running as part of a standard web application - - The Wepapp samples included in this release have been tried and tested on - - Tomcat 5.5.20 and Tomcat 6.0.14 - - Jetty 6.1.3 - - Geronimo 2.0.2 Tomcat6 jee5 - - WebSphere 6.1 fix pack 9 - -See the CHANGES file for a detailed list of the features in this release. - -Support -------- - -For more information on Apache Tuscany visit the website at: - - http://incubator.apache.org/tuscany/ - -Any issues with this release can be reported to Apache Tuscany -using the mailing lists or in the JIRA issue tracker. - - Mailing list archives: - - http://mail-archives.apache.org/mod_mbox/ws-tuscany-user/ - http://mail-archives.apache.org/mod_mbox/ws-tuscany-dev/ - - Jira: - - http://issues.apache.org/jira/browse/TUSCANY - -To join the project's mailing lists follow the instructions at: - - http://incubator.apache.org/tuscany/mailing-lists.html - -To find out more about OASIS Open CSA go to: - - http://www.oasis-opencsa.org. - -Apache Tuscany welcomes your help. Any contribution, including code, -testing, improving the documentation, or bug reporting is always -appreciated. - -Thank you for using Apache Tuscany! - -- The Tuscany Team. diff --git a/java/sca-contrib/distribution/ejava/src/main/release/bin/INSTALL b/java/sca-contrib/distribution/ejava/src/main/release/bin/INSTALL deleted file mode 100644 index 2da53a2b44..0000000000 --- a/java/sca-contrib/distribution/ejava/src/main/release/bin/INSTALL +++ /dev/null @@ -1,27 +0,0 @@ -Installing the Apache Tuscany SCA 1.2 (incubating) April 2008 Release binary distribution -========================================================================================= - -Unzip Tuscany binary distribution archive and you get the following: - -tuscany-sca-1.1-incubating - DISCLAIMER - the ASF incubation disclaimer - INSTALL - this help file - LICENSE - the Apache License and any dependecy licenses - NOTICE - attribution notices associated with the licenses - README - readme for the release - RELEASE_NOTES - description of this release - CHANGES - A note of the major changes in this release - - /demos - Demo applications showcasing the use of Apache Tuscany - - /lib - The tuscany-sca-all and tuscany-sca-manifest jars and all their dependencies - - /modules - all of the individual Tuscany jars - - /samples - all the Tuscany samples, see the README in that directory - - /tutorial - The store tutorial, see the README in that directory - - - - diff --git a/java/sca-contrib/distribution/ejava/src/main/release/bin/LICENSE b/java/sca-contrib/distribution/ejava/src/main/release/bin/LICENSE deleted file mode 100644 index 5e1f585d46..0000000000 --- a/java/sca-contrib/distribution/ejava/src/main/release/bin/LICENSE +++ /dev/null @@ -1,2366 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - -=============================================================================== - -APACHE TUSCANY SUBCOMPONENTS: - -The Apache Tuscany binary distribution includes a number of subcomponents -with separate copyright notices and license terms. Your use of the -code for the these subcomponents is subject to the terms and -conditions of the following licenses. - -=============================================================================== - -The following components come under Apache Software License 1.1 - - commons-discovery-0.2.jar - commons-primitives-1.0.jar - -The following components come under Apache Software License 2.0 - - abdera-core-0.3.0-incubating.jar - abdera-i18n-0.3.0-incubating.jar - abdera-parser-0.3.0-incubating.jar - activeio-2.0-r118.jar - activeio-core-3.0.0-incubator.jar - apache-activemq-4.1.1.jar - addressing-1.3.mar - annogen-0.1.0.jar - annotations-api-6.0.14.jar - aopalliance-1.0.jar - axiom-api-1.2.5.jar - axiom-dom-1.2.5.jar - axiom-impl-1.2.5.jar - axis2-adb-1.3.jar - axis2-codegen-1.3.jar - axis2-java2wsdl-1.3.jar - axis2-kernel-1.3.jar - axis2-mtompolicy-1.3.jar - bsf-all-3.0-beta2.jar - catalina-6.0.14.jar - cglib-nodep-2.1_3.jar - commons-collections-3.1.jar - commons-codec-1.3.jar - commons-fileupload-1.1.1.jar - commons-httpclient-3.0.1.jar - commons-io-1.2.jar - commons-jexl-1.1.jar - commons-lang-2.1.jar - commons-logging-1.1.jar - coyote-6.0.14.jar - derby-10.1.3.1.jar - geronimo-activation_1.1_spec-1.0-M1.jar - geronimo-common-1.2-beta.jar - geronimo-commonj_1.1_spec-1.0.jar - geronimo-connector-1.2-beta.jar - geronimo-core-1.2-beta.jar - geronimo-deployment-1.2-beta.jar - geronimo-ejb_3.0_spec-1.0.jar - geronimo-interceptor-1.2-beta.jar - geronimo-j2ee-1.2-beta.jar - geronimo-j2ee-connector_1.5_spec-1.1.jar - geronimo-j2ee-jacc_1.0_spec-1.1.jar - geronimo-j2ee-management_1.0_spec-1.1.jar - geronimo-javamail_1.4_spec-1.0-M1.jar - geronimo-jms_1.1_spec-1.1.jar - geronimo-jpa_3.0_spec-1.0.jar - geronimo-jta_1.0.1B_spec-1.0.jar - geronimo-kernel-1.2-beta.jar - geronimo-management-1.2-beta.jar - geronimo-naming-1.2-beta.jar - geronimo-security-1.2-beta.jar - geronimo-spec-j2ee-connector-1.5-rc4.jar - geronimo-spec-jta-1.0.1B-rc4.jar - geronimo-system-1.2-beta.jar - geronimo-transaction-1.2-beta.jar - geronimo-util-1.2-beta.jar - httpcore-4.0-alpha5.jar - httpcore-nio-4.0-alpha5.jar - httpcore-niossl-4.0-alpha5.jar - jettison-1.0-RC2.jar - jetty-6.1.7.jar - jetty-util-6.1.7.jar - json-rpc-1.0.jar - juli-6.0.14.jar - log4j-1.2.12.jar - logkit-1.0.1.jar - neethi-2.0.2.jar - ode-bpel-api-1.1.jar - ode-bpel-compiler-1.1.jar - ode-bpel-dao-1.1.jar - ode-bpel-epr-1.1.jar - ode-bpel-obj-1.1.jar - ode-bpel-runtime-1.1.jar - ode-bpel-schemas-1.1.jar - ode-bpel-store-1.1.jar - ode-dao-jpa-1.1.jar - ode-dao-jpa-ojpa-derby-1.1.zip - ode-jacob-1.1.jar - ode-jacob-ap-1.1.jar - ode-scheduler-simple-1.1.jar - ode-utils-1.1.jar - openjpa-all-0.9.7-incubating.jar - openjpa-persistence-0.9.7-incubating.jar - org.apache.felix.bundlerepository-1.0.2.jar - org.apache.felix.framework-1.0.3.jar - org.apache.felix.main-1.0.3.jar - org.apache.felix.shell-1.0.0.jar - org.apache.felix.shell.tui-1.0.0.jar - rampart-core-1.3.jar - rampart-policy-1.3.jar - rampart-trust-1.3.jar - regexp-1.3.jar - spring-beans-2.0.6.jar - spring-context-2.0.6.jar - spring-core-2.0.6.jar - tranql-connector-1.1.jar - tuscany-sdo-api-r2.1-1.0-incubating.jar - tuscany-sdo-impl-1.0-incubating.jar - tuscany-sdo-lib-1.0-incubating.jar - tuscany-sdo-tools-1.0-incubating.jar - woden-1.0-incubating-M7b.jar - wss4j-1.5.3.jar - wstx-asl-3.2.1.jar - xalan-2.7.0.jar - xbean-naming-2.7.jar - xercesImpl-2.8.1.jar - xml-apis-1.3.03.jar - xmlbeans-2.3.0.jar - xml-resolver-1.1.jar - xmlsec-1.4.0.jar - XmlSchema-1.3.2.jar - -=============================================================================== -axion-1.0-M3-dev.jar - -Copyright (c) 2002-2003 Axion Development Team. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above - copyright notice, this list of conditions and the following - disclaimer. - -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - -3. The names "Tigris", "Axion", nor the names of its contributors may - not be used to endorse or promote products derived from this - software without specific prior written permission. - -4. Products derived from this software may not be called "Axion", nor - may "Tigris" or "Axion" appear in their names without specific prior - written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A -PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -The "Axion Development Team" is defined to be: - - * Chuck Burdick - * James Burke - * Morgan Delagrange - * Geir Magnusson Jr. - * Martin Poeschl - * Steve Polyak - * Daniel Rall - * Ahimanikya Satapathy - * Doug Sale - * James Strachan - * Rodney Waldhoff - * Jason van Zyl - -License changes are to be determined by a simple majority vote of the -Axion Development Team. - -=============================================================================== -dom4j-1.6.1.jar - -Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved. - -Redistribution and use of this software and associated documentation -("Software"), with or without modification, are permitted provided -that the following conditions are met: - -1. Redistributions of source code must retain copyright - statements and notices. Redistributions must also contain a - copy of this document. - -2. Redistributions in binary form must reproduce the - above copyright notice, this list of conditions and the - following disclaimer in the documentation and/or other - materials provided with the distribution. - -3. The name "DOM4J" must not be used to endorse or promote - products derived from this Software without prior written - permission of MetaStuff, Ltd. For written permission, - please contact dom4j-info@metastuff.com. - -4. Products derived from this Software may not be called "DOM4J" - nor may "DOM4J" appear in their names without prior written - permission of MetaStuff, Ltd. DOM4J is a registered - trademark of MetaStuff, Ltd. - -5. Due credit should be given to the DOM4J Project - - http://www.dom4j.org - -THIS SOFTWARE IS PROVIDED BY METASTUFF, LTD. AND CONTRIBUTORS -``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT -NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND -FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL -METASTUFF, LTD. OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED -OF THE POSSIBILITY OF SUCH DAMAGE. - -=============================================================================== - -The EMF jars; - codegen-2.2.3.jar - codegen-ecore-2.2.3.jar - common-2.2.3.jar - ecore-2.2.3.jar - ecore-change-2.2.3.jar - ecore-xmi-2.2.3.jar - xsd-2.2.3.jar - -Eclipse Public License - v 1.0 - -THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE -PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF -THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. - -1. DEFINITIONS - -"Contribution" means: - -a) in the case of the initial Contributor, the initial code and -documentation distributed under this Agreement, and -b) in the case of each subsequent Contributor: - -i) changes to the Program, and - -ii) additions to the Program; - -where such changes and/or additions to the Program originate from and -are distributed by that particular Contributor. A Contribution -'originates' from a Contributor if it was added to the Program by such -Contributor itself or anyone acting on such Contributor's behalf. -Contributions do not include additions to the Program which: (i) are -separate modules of software distributed in conjunction with the -Program under their own license agreement, and (ii) are not derivative -works of the Program. - -"Contributor" means any person or entity that distributes the Program. - -"Licensed Patents " mean patent claims licensable by a Contributor -which are necessarily infringed by the use or sale of its Contribution -alone or when combined with the Program. - -"Program" means the Contributions distributed in accordance with this -Agreement. - -"Recipient" means anyone who receives the Program under this -Agreement, including all Contributors. - -2. GRANT OF RIGHTS - -a) Subject to the terms of this Agreement, each Contributor hereby -grants Recipient a non-exclusive, worldwide, royalty-free copyright -license to reproduce, prepare derivative works of, publicly display, -publicly perform, distribute and sublicense the Contribution of such -Contributor, if any, and such derivative works, in source code and -object code form. - -b) Subject to the terms of this Agreement, each Contributor hereby -grants Recipient a non-exclusive, worldwide, royalty-free patent -license under Licensed Patents to make, use, sell, offer to sell, -import and otherwise transfer the Contribution of such Contributor, if -any, in source code and object code form. This patent license shall -apply to the combination of the Contribution and the Program if, at -the time the Contribution is added by the Contributor, such addition -of the Contribution causes such combination to be covered by the -Licensed Patents. The patent license shall not apply to any other -combinations which include the Contribution. No hardware per se is -licensed hereunder. - -c) Recipient understands that although each Contributor grants the -licenses to its Contributions set forth herein, no assurances are -provided by any Contributor that the Program does not infringe the -patent or other intellectual property rights of any other entity. Each -Contributor disclaims any liability to Recipient for claims brought by -any other entity based on infringement of intellectual property rights -or otherwise. As a condition to exercising the rights and licenses -granted hereunder, each Recipient hereby assumes sole responsibility -to secure any other intellectual property rights needed, if any. For -example, if a third party patent license is required to allow -Recipient to distribute the Program, it is Recipient's responsibility -to acquire that license before distributing the Program. - -d) Each Contributor represents that to its knowledge it has sufficient -copyright rights in its Contribution, if any, to grant the copyright -license set forth in this Agreement. - -3. REQUIREMENTS - -A Contributor may choose to distribute the Program in object code form -under its own license agreement, provided that: - -a) it complies with the terms and conditions of this Agreement; and - -b) its license agreement: - -i) effectively disclaims on behalf of all Contributors all warranties -and conditions, express and implied, including warranties or -conditions of title and non-infringement, and implied warranties or -conditions of merchantability and fitness for a particular purpose; - -ii) effectively excludes on behalf of all Contributors all liability -for damages, including direct, indirect, special, incidental and -consequential damages, such as lost profits; - -iii) states that any provisions which differ from this Agreement are -offered by that Contributor alone and not by any other party; and - -iv) states that source code for the Program is available from such -Contributor, and informs licensees how to obtain it in a reasonable -manner on or through a medium customarily used for software exchange. - -When the Program is made available in source code form: - -a) it must be made available under this Agreement; and - -b) a copy of this Agreement must be included with each copy of the -Program. - -Contributors may not remove or alter any copyright notices contained -within the Program. - -Each Contributor must identify itself as the originator of its -Contribution, if any, in a manner that reasonably allows subsequent -Recipients to identify the originator of the Contribution. - -4. COMMERCIAL DISTRIBUTION - -Commercial distributors of software may accept certain -responsibilities with respect to end users, business partners and the -like. While this license is intended to facilitate the commercial use -of the Program, the Contributor who includes the Program in a -commercial product offering should do so in a manner which does not -create potential liability for other Contributors. Therefore, if a -Contributor includes the Program in a commercial product offering, -such Contributor ("Commercial Contributor") hereby agrees to defend -and indemnify every other Contributor ("Indemnified Contributor") -against any losses, damages and costs (collectively "Losses") arising -from claims, lawsuits and other legal actions brought by a third party -against the Indemnified Contributor to the extent caused by the acts -or omissions of such Commercial Contributor in connection with its -distribution of the Program in a commercial product offering. The -obligations in this section do not apply to any claims or Losses -relating to any actual or alleged intellectual property infringement. -In order to qualify, an Indemnified Contributor must: a) promptly -notify the Commercial Contributor in writing of such claim, and b) -allow the Commercial Contributor to control, and cooperate with the -Commercial Contributor in, the defense and any related settlement -negotiations. The Indemnified Contributor may participate in any such -claim at its own expense. - -For example, a Contributor might include the Program in a commercial -product offering, Product X. That Contributor is then a Commercial -Contributor. If that Commercial Contributor then makes performance -claims, or offers warranties related to Product X, those performance -claims and warranties are such Commercial Contributor's responsibility -alone. Under this section, the Commercial Contributor would have to -defend claims against the other Contributors related to those -performance claims and warranties, and if a court requires any other -Contributor to pay any damages as a result, the Commercial Contributor -must pay those damages. - -5. NO WARRANTY - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS -PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY -OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely -responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement , including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -6. DISCLAIMER OF LIABILITY - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -7. GENERAL - -If any provision of this Agreement is invalid or unenforceable under -applicable law, it shall not affect the validity or enforceability of -the remainder of the terms of this Agreement, and without further -action by the parties hereto, such provision shall be reformed to the -minimum extent necessary to make such provision valid and enforceable. - -If Recipient institutes patent litigation against any entity -(including a cross-claim or counterclaim in a lawsuit) alleging that -the Program itself (excluding combinations of the Program with other -software or hardware) infringes such Recipient's patent(s), then such -Recipient's rights granted under Section 2(b) shall terminate as of -the date such litigation is filed. - -All Recipient's rights under this Agreement shall terminate if it -fails to comply with any of the material terms or conditions of this -Agreement and does not cure such failure in a reasonable period of -time after becoming aware of such noncompliance. If all Recipient's -rights under this Agreement terminate, Recipient agrees to cease use -and distribution of the Program as soon as reasonably practicable. -However, Recipient's obligations under this Agreement and any licenses -granted by Recipient relating to the Program shall continue and -survive. - -Everyone is permitted to copy and distribute copies of this Agreement, -but in order to avoid inconsistency the Agreement is copyrighted and -may only be modified in the following manner. The Agreement Steward -reserves the right to publish new versions (including revisions) of -this Agreement from time to time. No one other than the Agreement -Steward has the right to modify this Agreement. The Eclipse Foundation -is the initial Agreement Steward. The Eclipse Foundation may assign -the responsibility to serve as the Agreement Steward to a suitable -separate entity. Each new version of the Agreement will be given a -distinguishing version number. The Program (including Contributions) -may always be distributed subject to the version of the Agreement -under which it was received. In addition, after a new version of the -Agreement is published, Contributor may elect to distribute the -Program (including its Contributions) under the new version. Except as -expressly stated in Sections 2(a) and 2(b) above, Recipient receives -no rights or licenses to the intellectual property of any Contributor -under this Agreement, whether expressly, by implication, estoppel or -otherwise. All rights in the Program not expressly granted under this -Agreement are reserved. - -This Agreement is governed by the laws of the State of New York and -the intellectual property laws of the United States of America. No -party to this Agreement will bring a legal action under this Agreement -more than one year after the cause of action arose. Each party waives -its rights to a jury trial in any resulting litigation. - -=============================================================================== -For Saxon including - saxon-8.7.jar - saxon-dom-8.7.jar - saxon-xpath-8.7.jar - - MOZILLA PUBLIC LICENSE -Version 1.0 - -1. Definitions. - - 1.1. ``Contributor'' means each entity that creates or contributes to the creation of Modifications. - - 1.2. ``Contributor Version'' means the combination of the Original Code, prior Modifications used by a Contributor, and the Modifications made by that particular Contributor. - - 1.3. ``Covered Code'' means the Original Code or Modifications or the combination of the Original Code and Modifications, in each case including portions thereof. - - 1.4. ``Electronic Distribution Mechanism'' means a mechanism generally accepted in the software development community for the electronic transfer of data. - - 1.5. ``Executable'' means Covered Code in any form other than Source Code. - - 1.6. ``Initial Developer'' means the individual or entity identified as the Initial Developer in the Source Code notice required by Exhibit A. - - 1.7. ``Larger Work'' means a work which combines Covered Code or portions thereof with code not governed by the terms of this License. - - 1.8. ``License'' means this document. - - 1.9. ``Modifications'' means any addition to or deletion from the substance or structure of either the Original Code or any previous Modifications. When Covered Code is released as a series of files, a Modification is: - - A. Any addition to or deletion from the contents of a file containing Original Code or previous Modifications. - - B. Any new file that contains any part of the Original Code or previous Modifications. - - 1.10. ``Original Code'' means Source Code of computer software code which is described in the Source Code notice required by Exhibit A as Original Code, and which, at the time of its release under this License is not already Covered Code governed by this License. - - 1.11. ``Source Code'' means the preferred form of the Covered Code for making modifications to it, including all modules it contains, plus any associated interface definition files, scripts used to control compilation and installation of an Executable, or a list of source code differential comparisons against either the Original Code or another well known, available Covered Code of the Contributor's choice. The Source Code can be in a compressed or archival form, provided the appropriate decompression or de-archiving software is widely available for no charge. - - 1.12. ``You'' means an individual or a legal entity exercising rights under, and complying with all of the terms of, this License or a future version of this License issued under Section 6.1. For legal entities, ``You'' includes any entity which controls, is controlled by, or is under common control with You. For purposes of this definition, ``control'' means (a) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (b) ownership of fifty percent (50%) or more of the outstanding shares or beneficial ownership of such entity. - -2. Source Code License. - - 2.1. The Initial Developer Grant. - The Initial Developer hereby grants You a world-wide, royalty-free, non-exclusive license, subject to third party intellectual property claims: - - (a) to use, reproduce, modify, display, perform, sublicense and distribute the Original Code (or portions thereof) with or without Modifications, or as part of a Larger Work; and - - (b) under patents now or hereafter owned or controlled by Initial Developer, to make, have made, use and sell (``Utilize'') the Original Code (or portions thereof), but solely to the extent that any such patent is reasonably necessary to enable You to Utilize the Original Code (or portions thereof) and not to any greater extent that may be necessary to Utilize further Modifications or combinations. - - 2.2. Contributor Grant. - Each Contributor hereby grants You a world-wide, royalty-free, non-exclusive license, subject to third party intellectual property claims: - - (a) to use, reproduce, modify, display, perform, sublicense and distribute the Modifications created by such Contributor (or portions thereof) either on an unmodified basis, with other Modifications, as Covered Code or as part of a Larger Work; and - - (b) under patents now or hereafter owned or controlled by Contributor, to Utilize the Contributor Version (or portions thereof), but solely to the extent that any such patent is reasonably necessary to enable You to Utilize the Contributor Version (or portions thereof), and not to any greater extent that may be necessary to Utilize further Modifications or combinations. - -3. Distribution Obligations. - - 3.1. Application of License. - The Modifications which You create or to which You contribute are governed by the terms of this License, including without limitation Section 2.2. The Source Code version of Covered Code may be distributed only under the terms of this License or a future version of this License released under Section 6.1, and You must include a copy of this License with every copy of the Source Code You distribute. You may not offer or impose any terms on any Source Code version that alters or restricts the applicable version of this License or the recipients' rights hereunder. However, You may include an additional document offering the additional rights described in Section 3.5. - - 3.2. Availability of Source Code. - Any Modification which You create or to which You contribute must be made available in Source Code form under the terms of this License either on the same media as an Executable version or via an accepted Electronic Distribution Mechanism to anyone to whom you made an Executable version available; and if made available via Electronic Distribution Mechanism, must remain available for at least twelve (12) months after the date it initially became available, or at least six (6) months after a subsequent version of that particular Modification has been made available to such recipients. You are responsible for ensuring that the Source Code version remains available even if the Electronic Distribution Mechanism is maintained by a third party. - - 3.3. Description of Modifications. - You must cause all Covered Code to which you contribute to contain a file documenting the changes You made to create that Covered Code and the date of any change. You must include a prominent statement that the Modification is derived, directly or indirectly, from Original Code provided by the Initial Developer and including the name of the Initial Developer in (a) the Source Code, and (b) in any notice in an Executable version or related documentation in which You describe the origin or ownership of the Covered Code. - - 3.4. Intellectual Property Matters - - (a) Third Party Claims. - If You have knowledge that a party claims an intellectual property right in particular functionality or code (or its utilization under this License), you must include a text file with the source code distribution titled ``LEGAL'' which describes the claim and the party making the claim in sufficient detail that a recipient will know whom to contact. If you obtain such knowledge after You make Your Modification available as described in Section 3.2, You shall promptly modify the LEGAL file in all copies You make available thereafter and shall take other steps (such as notifying appropriate mailing lists or newsgroups) reasonably calculated to inform those who received the Covered Code that new knowledge has been obtained. - - (b) Contributor APIs. - If Your Modification is an application programming interface and You own or control patents which are reasonably necessary to implement that API, you must also include this information in the LEGAL file. - - 3.5. Required Notices. - You must duplicate the notice in Exhibit A in each file of the Source Code, and this License in any documentation for the Source Code, where You describe recipients' rights relating to Covered Code. If You created one or more Modification(s), You may add your name as a Contributor to the notice described in Exhibit A. If it is not possible to put such notice in a particular Source Code file due to its structure, then you must include such notice in a location (such as a relevant directory file) where a user would be likely to look for such a notice. You may choose to offer, and to charge a fee for, warranty, support, indemnity or liability obligations to one or more recipients of Covered Code. However, You may do so only on Your own behalf, and not on behalf of the Initial Developer or any Contributor. You must make it absolutely clear than any such warranty, support, indemnity or liability obligation is offered by You alone, and You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of warranty, support, indemnity or liability terms You offer. - - 3.6. Distribution of Executable Versions. - You may distribute Covered Code in Executable form only if the requirements of Section 3.1-3.5 have been met for that Covered Code, and if You include a notice stating that the Source Code version of the Covered Code is available under the terms of this License, including a description of how and where You have fulfilled the obligations of Section 3.2. The notice must be conspicuously included in any notice in an Executable version, related documentation or collateral in which You describe recipients' rights relating to the Covered Code. You may distribute the Executable version of Covered Code under a license of Your choice, which may contain terms different from this License, provided that You are in compliance with the terms of this License and that the license for the Executable version does not attempt to limit or alter the recipient's rights in the Source Code version from the rights set forth in this License. If You distribute the Executable version under a different license You must make it absolutely clear that any terms which differ from this License are offered by You alone, not by the Initial Developer or any Contributor. You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of any such terms You offer. - - 3.7. Larger Works. - You may create a Larger Work by combining Covered Code with other code not governed by the terms of this License and distribute the Larger Work as a single product. In such a case, You must make sure the requirements of this License are fulfilled for the Covered Code. - -4. Inability to Comply Due to Statute or Regulation. - - If it is impossible for You to comply with any of the terms of this License with respect to some or all of the Covered Code due to statute or regulation then You must: (a) comply with the terms of this License to the maximum extent possible; and (b) describe the limitations and the code they affect. Such description must be included in the LEGAL file described in Section 3.4 and must be included with all distributions of the Source Code. Except to the extent prohibited by statute or regulation, such description must be sufficiently detailed for a recipient of ordinary skill to be able to understand it. - -5. Application of this License. - - This License applies to code to which the Initial Developer has attached the notice in Exhibit A, and to related Covered Code. - -6. Versions of the License. - - 6.1. New Versions. - Netscape Communications Corporation (``Netscape'') may publish revised and/or new versions of the License from time to time. Each version will be given a distinguishing version number. - - 6.2. Effect of New Versions. - Once Covered Code has been published under a particular version of the License, You may always continue to use it under the terms of that version. You may also choose to use such Covered Code under the terms of any subsequent version of the License published by Netscape. No one other than Netscape has the right to modify the terms applicable to Covered Code created under this License. - - 6.3. Derivative Works. - If you create or use a modified version of this License (which you may only do in order to apply it to code which is not already Covered Code governed by this License), you must (a) rename Your license so that the phrases ``Mozilla'', ``MOZILLAPL'', ``MOZPL'', ``Netscape'', ``NPL'' or any confusingly similar phrase do not appear anywhere in your license and (b) otherwise make it clear that your version of the license contains terms which differ from the Mozilla Public License and Netscape Public License. (Filling in the name of the Initial Developer, Original Code or Contributor in the notice described in Exhibit A shall not of themselves be deemed to be modifications of this License.) - -7. DISCLAIMER OF WARRANTY. - - COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN ``AS IS'' BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. - -8. TERMINATION. - - This License and the rights granted hereunder will terminate automatically if You fail to comply with terms herein and fail to cure such breach within 30 days of becoming aware of the breach. All sublicenses to the Covered Code which are properly granted shall survive any termination of this License. Provisions which, by their nature, must remain in effect beyond the termination of this License shall survive. - -9. LIMITATION OF LIABILITY. - - UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL THE INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO YOU OR ANY OTHER PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THAT EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. - -10. U.S. GOVERNMENT END USERS. - - The Covered Code is a ``commercial item,'' as that term is defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of ``commercial computer software'' and ``commercial computer software documentation,'' as such terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all U.S. Government End Users acquire Covered Code with only those rights set forth herein. - -11. MISCELLANEOUS. - - This License represents the complete agreement concerning subject matter hereof. If any provision of this License is held to be unenforceable, such provision shall be reformed only to the extent necessary to make it enforceable. This License shall be governed by California law provisions (except to the extent applicable law, if any, provides otherwise), excluding its conflict-of-law provisions. With respect to disputes in which at least one party is a citizen of, or an entity chartered or registered to do business in, the United States of America: (a) unless otherwise agreed in writing, all disputes relating to this License (excepting any dispute relating to intellectual property rights) shall be subject to final and binding arbitration, with the losing party paying all costs of arbitration; (b) any arbitration relating to this Agreement shall be held in Santa Clara County, California, under the auspices of JAMS/EndDispute; and (c) any litigation relating to this Agreement shall be subject to the jurisdiction of the Federal Courts of the Northern District of California, with venue lying in Santa Clara County, California, with the losing party responsible for costs, including without limitation, court costs and reasonable attorneys fees and expenses. The application of the United Nations Convention on Contracts for the International Sale of Goods is expressly excluded. Any law or regulation which provides that the language of a contract shall be construed against the drafter shall not apply to this License. - -12. RESPONSIBILITY FOR CLAIMS. - - Except in cases where another Contributor has failed to comply with Section 3.4, You are responsible for damages arising, directly or indirectly, out of Your utilization of rights under this License, based on the number of copies of Covered Code you made available, the revenues you received from utilizing such rights, and other relevant factors. You agree to work with affected parties to distribute responsibility on an equitable basis. - -EXHIBIT A. - - ``The contents of this file are subject to the Mozilla Public License Version 1.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/ - - Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License. - - The Original Code is ______________________________________. - - The Initial Developer of the Original Code is ________________________. Portions created by ______________________ are Copyright (C) ______ _______________________. All Rights Reserved. - - Contributor(s): ______________________________________.'' - -=============================================================================== - -For the Rhino JavaScript engine js-1.6R7.jar: - - MOZILLA PUBLIC LICENSE - Version 1.1 - - --------------- - -1. Definitions. - - 1.0.1. "Commercial Use" means distribution or otherwise making the - Covered Code available to a third party. - - 1.1. "Contributor" means each entity that creates or contributes to - the creation of Modifications. - - 1.2. "Contributor Version" means the combination of the Original - Code, prior Modifications used by a Contributor, and the Modifications - made by that particular Contributor. - - 1.3. "Covered Code" means the Original Code or Modifications or the - combination of the Original Code and Modifications, in each case - including portions thereof. - - 1.4. "Electronic Distribution Mechanism" means a mechanism generally - accepted in the software development community for the electronic - transfer of data. - - 1.5. "Executable" means Covered Code in any form other than Source - Code. - - 1.6. "Initial Developer" means the individual or entity identified - as the Initial Developer in the Source Code notice required by Exhibit - A. - - 1.7. "Larger Work" means a work which combines Covered Code or - portions thereof with code not governed by the terms of this License. - - 1.8. "License" means this document. - - 1.8.1. "Licensable" means having the right to grant, to the maximum - extent possible, whether at the time of the initial grant or - subsequently acquired, any and all of the rights conveyed herein. - - 1.9. "Modifications" means any addition to or deletion from the - substance or structure of either the Original Code or any previous - Modifications. When Covered Code is released as a series of files, a - Modification is: - A. Any addition to or deletion from the contents of a file - containing Original Code or previous Modifications. - - B. Any new file that contains any part of the Original Code or - previous Modifications. - - 1.10. "Original Code" means Source Code of computer software code - which is described in the Source Code notice required by Exhibit A as - Original Code, and which, at the time of its release under this - License is not already Covered Code governed by this License. - - 1.10.1. "Patent Claims" means any patent claim(s), now owned or - hereafter acquired, including without limitation, method, process, - and apparatus claims, in any patent Licensable by grantor. - - 1.11. "Source Code" means the preferred form of the Covered Code for - making modifications to it, including all modules it contains, plus - any associated interface definition files, scripts used to control - compilation and installation of an Executable, or source code - differential comparisons against either the Original Code or another - well known, available Covered Code of the Contributor's choice. The - Source Code can be in a compressed or archival form, provided the - appropriate decompression or de-archiving software is widely available - for no charge. - - 1.12. "You" (or "Your") means an individual or a legal entity - exercising rights under, and complying with all of the terms of, this - License or a future version of this License issued under Section 6.1. - For legal entities, "You" includes any entity which controls, is - controlled by, or is under common control with You. For purposes of - this definition, "control" means (a) the power, direct or indirect, - to cause the direction or management of such entity, whether by - contract or otherwise, or (b) ownership of more than fifty percent - (50%) of the outstanding shares or beneficial ownership of such - entity. - -2. Source Code License. - - 2.1. The Initial Developer Grant. - The Initial Developer hereby grants You a world-wide, royalty-free, - non-exclusive license, subject to third party intellectual property - claims: - (a) under intellectual property rights (other than patent or - trademark) Licensable by Initial Developer to use, reproduce, - modify, display, perform, sublicense and distribute the Original - Code (or portions thereof) with or without Modifications, and/or - as part of a Larger Work; and - - (b) under Patents Claims infringed by the making, using or - selling of Original Code, to make, have made, use, practice, - sell, and offer for sale, and/or otherwise dispose of the - Original Code (or portions thereof). - - (c) the licenses granted in this Section 2.1(a) and (b) are - effective on the date Initial Developer first distributes - Original Code under the terms of this License. - - (d) Notwithstanding Section 2.1(b) above, no patent license is - granted: 1) for code that You delete from the Original Code; 2) - separate from the Original Code; or 3) for infringements caused - by: i) the modification of the Original Code or ii) the - combination of the Original Code with other software or devices. - - 2.2. Contributor Grant. - Subject to third party intellectual property claims, each Contributor - hereby grants You a world-wide, royalty-free, non-exclusive license - - (a) under intellectual property rights (other than patent or - trademark) Licensable by Contributor, to use, reproduce, modify, - display, perform, sublicense and distribute the Modifications - created by such Contributor (or portions thereof) either on an - unmodified basis, with other Modifications, as Covered Code - and/or as part of a Larger Work; and - - (b) under Patent Claims infringed by the making, using, or - selling of Modifications made by that Contributor either alone - and/or in combination with its Contributor Version (or portions - of such combination), to make, use, sell, offer for sale, have - made, and/or otherwise dispose of: 1) Modifications made by that - Contributor (or portions thereof); and 2) the combination of - Modifications made by that Contributor with its Contributor - Version (or portions of such combination). - - (c) the licenses granted in Sections 2.2(a) and 2.2(b) are - effective on the date Contributor first makes Commercial Use of - the Covered Code. - - (d) Notwithstanding Section 2.2(b) above, no patent license is - granted: 1) for any code that Contributor has deleted from the - Contributor Version; 2) separate from the Contributor Version; - 3) for infringements caused by: i) third party modifications of - Contributor Version or ii) the combination of Modifications made - by that Contributor with other software (except as part of the - Contributor Version) or other devices; or 4) under Patent Claims - infringed by Covered Code in the absence of Modifications made by - that Contributor. - -3. Distribution Obligations. - - 3.1. Application of License. - The Modifications which You create or to which You contribute are - governed by the terms of this License, including without limitation - Section 2.2. The Source Code version of Covered Code may be - distributed only under the terms of this License or a future version - of this License released under Section 6.1, and You must include a - copy of this License with every copy of the Source Code You - distribute. You may not offer or impose any terms on any Source Code - version that alters or restricts the applicable version of this - License or the recipients' rights hereunder. However, You may include - an additional document offering the additional rights described in - Section 3.5. - - 3.2. Availability of Source Code. - Any Modification which You create or to which You contribute must be - made available in Source Code form under the terms of this License - either on the same media as an Executable version or via an accepted - Electronic Distribution Mechanism to anyone to whom you made an - Executable version available; and if made available via Electronic - Distribution Mechanism, must remain available for at least twelve (12) - months after the date it initially became available, or at least six - (6) months after a subsequent version of that particular Modification - has been made available to such recipients. You are responsible for - ensuring that the Source Code version remains available even if the - Electronic Distribution Mechanism is maintained by a third party. - - 3.3. Description of Modifications. - You must cause all Covered Code to which You contribute to contain a - file documenting the changes You made to create that Covered Code and - the date of any change. You must include a prominent statement that - the Modification is derived, directly or indirectly, from Original - Code provided by the Initial Developer and including the name of the - Initial Developer in (a) the Source Code, and (b) in any notice in an - Executable version or related documentation in which You describe the - origin or ownership of the Covered Code. - - 3.4. Intellectual Property Matters - (a) Third Party Claims. - If Contributor has knowledge that a license under a third party's - intellectual property rights is required to exercise the rights - granted by such Contributor under Sections 2.1 or 2.2, - Contributor must include a text file with the Source Code - distribution titled "LEGAL" which describes the claim and the - party making the claim in sufficient detail that a recipient will - know whom to contact. If Contributor obtains such knowledge after - the Modification is made available as described in Section 3.2, - Contributor shall promptly modify the LEGAL file in all copies - Contributor makes available thereafter and shall take other steps - (such as notifying appropriate mailing lists or newsgroups) - reasonably calculated to inform those who received the Covered - Code that new knowledge has been obtained. - - (b) Contributor APIs. - If Contributor's Modifications include an application programming - interface and Contributor has knowledge of patent licenses which - are reasonably necessary to implement that API, Contributor must - also include this information in the LEGAL file. - - (c) Representations. - Contributor represents that, except as disclosed pursuant to - Section 3.4(a) above, Contributor believes that Contributor's - Modifications are Contributor's original creation(s) and/or - Contributor has sufficient rights to grant the rights conveyed by - this License. - - 3.5. Required Notices. - You must duplicate the notice in Exhibit A in each file of the Source - Code. If it is not possible to put such notice in a particular Source - Code file due to its structure, then You must include such notice in a - location (such as a relevant directory) where a user would be likely - to look for such a notice. If You created one or more Modification(s) - You may add your name as a Contributor to the notice described in - Exhibit A. You must also duplicate this License in any documentation - for the Source Code where You describe recipients' rights or ownership - rights relating to Covered Code. You may choose to offer, and to - charge a fee for, warranty, support, indemnity or liability - obligations to one or more recipients of Covered Code. However, You - may do so only on Your own behalf, and not on behalf of the Initial - Developer or any Contributor. You must make it absolutely clear than - any such warranty, support, indemnity or liability obligation is - offered by You alone, and You hereby agree to indemnify the Initial - Developer and every Contributor for any liability incurred by the - Initial Developer or such Contributor as a result of warranty, - support, indemnity or liability terms You offer. - - 3.6. Distribution of Executable Versions. - You may distribute Covered Code in Executable form only if the - requirements of Section 3.1-3.5 have been met for that Covered Code, - and if You include a notice stating that the Source Code version of - the Covered Code is available under the terms of this License, - including a description of how and where You have fulfilled the - obligations of Section 3.2. The notice must be conspicuously included - in any notice in an Executable version, related documentation or - collateral in which You describe recipients' rights relating to the - Covered Code. You may distribute the Executable version of Covered - Code or ownership rights under a license of Your choice, which may - contain terms different from this License, provided that You are in - compliance with the terms of this License and that the license for the - Executable version does not attempt to limit or alter the recipient's - rights in the Source Code version from the rights set forth in this - License. If You distribute the Executable version under a different - license You must make it absolutely clear that any terms which differ - from this License are offered by You alone, not by the Initial - Developer or any Contributor. You hereby agree to indemnify the - Initial Developer and every Contributor for any liability incurred by - the Initial Developer or such Contributor as a result of any such - terms You offer. - - 3.7. Larger Works. - You may create a Larger Work by combining Covered Code with other code - not governed by the terms of this License and distribute the Larger - Work as a single product. In such a case, You must make sure the - requirements of this License are fulfilled for the Covered Code. - -4. Inability to Comply Due to Statute or Regulation. - - If it is impossible for You to comply with any of the terms of this - License with respect to some or all of the Covered Code due to - statute, judicial order, or regulation then You must: (a) comply with - the terms of this License to the maximum extent possible; and (b) - describe the limitations and the code they affect. Such description - must be included in the LEGAL file described in Section 3.4 and must - be included with all distributions of the Source Code. Except to the - extent prohibited by statute or regulation, such description must be - sufficiently detailed for a recipient of ordinary skill to be able to - understand it. - -5. Application of this License. - - This License applies to code to which the Initial Developer has - attached the notice in Exhibit A and to related Covered Code. - -6. Versions of the License. - - 6.1. New Versions. - Netscape Communications Corporation ("Netscape") may publish revised - and/or new versions of the License from time to time. Each version - will be given a distinguishing version number. - - 6.2. Effect of New Versions. - Once Covered Code has been published under a particular version of the - License, You may always continue to use it under the terms of that - version. You may also choose to use such Covered Code under the terms - of any subsequent version of the License published by Netscape. No one - other than Netscape has the right to modify the terms applicable to - Covered Code created under this License. - - 6.3. Derivative Works. - If You create or use a modified version of this License (which you may - only do in order to apply it to code which is not already Covered Code - governed by this License), You must (a) rename Your license so that - the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape", - "MPL", "NPL" or any confusingly similar phrase do not appear in your - license (except to note that your license differs from this License) - and (b) otherwise make it clear that Your version of the license - contains terms which differ from the Mozilla Public License and - Netscape Public License. (Filling in the name of the Initial - Developer, Original Code or Contributor in the notice described in - Exhibit A shall not of themselves be deemed to be modifications of - this License.) - -7. DISCLAIMER OF WARRANTY. - - COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, - WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, - WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF - DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. - THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE - IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, - YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE - COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER - OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF - ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. - -8. TERMINATION. - - 8.1. This License and the rights granted hereunder will terminate - automatically if You fail to comply with terms herein and fail to cure - such breach within 30 days of becoming aware of the breach. All - sublicenses to the Covered Code which are properly granted shall - survive any termination of this License. Provisions which, by their - nature, must remain in effect beyond the termination of this License - shall survive. - - 8.2. If You initiate litigation by asserting a patent infringement - claim (excluding declatory judgment actions) against Initial Developer - or a Contributor (the Initial Developer or Contributor against whom - You file such action is referred to as "Participant") alleging that: - - (a) such Participant's Contributor Version directly or indirectly - infringes any patent, then any and all rights granted by such - Participant to You under Sections 2.1 and/or 2.2 of this License - shall, upon 60 days notice from Participant terminate prospectively, - unless if within 60 days after receipt of notice You either: (i) - agree in writing to pay Participant a mutually agreeable reasonable - royalty for Your past and future use of Modifications made by such - Participant, or (ii) withdraw Your litigation claim with respect to - the Contributor Version against such Participant. If within 60 days - of notice, a reasonable royalty and payment arrangement are not - mutually agreed upon in writing by the parties or the litigation claim - is not withdrawn, the rights granted by Participant to You under - Sections 2.1 and/or 2.2 automatically terminate at the expiration of - the 60 day notice period specified above. - - (b) any software, hardware, or device, other than such Participant's - Contributor Version, directly or indirectly infringes any patent, then - any rights granted to You by such Participant under Sections 2.1(b) - and 2.2(b) are revoked effective as of the date You first made, used, - sold, distributed, or had made, Modifications made by that - Participant. - - 8.3. If You assert a patent infringement claim against Participant - alleging that such Participant's Contributor Version directly or - indirectly infringes any patent where such claim is resolved (such as - by license or settlement) prior to the initiation of patent - infringement litigation, then the reasonable value of the licenses - granted by such Participant under Sections 2.1 or 2.2 shall be taken - into account in determining the amount or value of any payment or - license. - - 8.4. In the event of termination under Sections 8.1 or 8.2 above, - all end user license agreements (excluding distributors and resellers) - which have been validly granted by You or any distributor hereunder - prior to termination shall survive termination. - -9. LIMITATION OF LIABILITY. - - UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT - (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL - DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE, - OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR - ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY - CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, - WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER - COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN - INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF - LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY - RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW - PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE - EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO - THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. - -10. U.S. GOVERNMENT END USERS. - - The Covered Code is a "commercial item," as that term is defined in - 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer - software" and "commercial computer software documentation," as such - terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 - C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), - all U.S. Government End Users acquire Covered Code with only those - rights set forth herein. - -11. MISCELLANEOUS. - - This License represents the complete agreement concerning subject - matter hereof. If any provision of this License is held to be - unenforceable, such provision shall be reformed only to the extent - necessary to make it enforceable. This License shall be governed by - California law provisions (except to the extent applicable law, if - any, provides otherwise), excluding its conflict-of-law provisions. - With respect to disputes in which at least one party is a citizen of, - or an entity chartered or registered to do business in the United - States of America, any litigation relating to this License shall be - subject to the jurisdiction of the Federal Courts of the Northern - District of California, with venue lying in Santa Clara County, - California, with the losing party responsible for costs, including - without limitation, court costs and reasonable attorneys' fees and - expenses. The application of the United Nations Convention on - Contracts for the International Sale of Goods is expressly excluded. - Any law or regulation which provides that the language of a contract - shall be construed against the drafter shall not apply to this - License. - -12. RESPONSIBILITY FOR CLAIMS. - - As between Initial Developer and the Contributors, each party is - responsible for claims and damages arising, directly or indirectly, - out of its utilization of rights under this License and You agree to - work with Initial Developer and Contributors to distribute such - responsibility on an equitable basis. Nothing herein is intended or - shall be deemed to constitute any admission of liability. - -13. MULTIPLE-LICENSED CODE. - - Initial Developer may designate portions of the Covered Code as - "Multiple-Licensed". "Multiple-Licensed" means that the Initial - Developer permits you to utilize portions of the Covered Code under - Your choice of the NPL or the alternative licenses, if any, specified - by the Initial Developer in the file described in Exhibit A. - -EXHIBIT A -Mozilla Public License. - - ``The contents of this file are subject to the Mozilla Public License - Version 1.1 (the "License"); you may not use this file except in - compliance with the License. You may obtain a copy of the License at - http://www.mozilla.org/MPL/ - - Software distributed under the License is distributed on an "AS IS" - basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the - License for the specific language governing rights and limitations - under the License. - - The Original Code is ______________________________________. - - The Initial Developer of the Original Code is ________________________. - Portions created by ______________________ are Copyright (C) ______ - _______________________. All Rights Reserved. - - Contributor(s): ______________________________________. - - Alternatively, the contents of this file may be used under the terms - of the _____ license (the "[___] License"), in which case the - provisions of [______] License are applicable instead of those - above. If you wish to allow use of your version of this file only - under the terms of the [____] License and not to allow others to use - your version of this file under the MPL, indicate your decision by - deleting the provisions above and replace them with the notice and - other provisions required by the [___] License. If you do not delete - the provisions above, a recipient may use your version of this file - under either the MPL or the [___] License." - - [NOTE: The text of this Exhibit A may differ slightly from the text of - the notices in the Source Code files of the Original Code. You should - use the text of this Exhibit A rather than the text found in the - Original Code Source Code for Your Modifications.] - - -=============================================================================== -Groovy (groovy-all-minimal-1.5.4.jar): - -/* - $Id: LICENSE.txt 156 2003-09-26 17:36:37Z jstrachan $ - - Copyright 2003 (C) James Strachan and Bob Mcwhirter. All Rights Reserved. - - Redistribution and use of this software and associated documentation - ("Software"), with or without modification, are permitted provided - that the following conditions are met: - - 1. Redistributions of source code must retain copyright - statements and notices. Redistributions must also contain a - copy of this document. - - 2. Redistributions in binary form must reproduce the - above copyright notice, this list of conditions and the - following disclaimer in the documentation and/or other - materials provided with the distribution. - - 3. The name "groovy" must not be used to endorse or promote - products derived from this Software without prior written - permission of The Codehaus. For written permission, - please contact info@codehaus.org. - - 4. Products derived from this Software may not be called "groovy" - nor may "groovy" appear in their names without prior written - permission of The Codehaus. "groovy" is a registered - trademark of The Codehaus. - - 5. Due credit should be given to The Codehaus - - http://groovy.codehaus.org/ - - THIS SOFTWARE IS PROVIDED BY THE CODEHAUS AND CONTRIBUTORS - ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT - NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL - THE CODEHAUS OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, - INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, - STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED - OF THE POSSIBILITY OF SUCH DAMAGE. - - */ - -=============================================================================== - -Jython (jython-2.2.jar): - -A. HISTORY OF THE SOFTWARE -======================= - -JPython was created in late 1997 by Jim Hugunin. Jim was also the -primary developer while he was at CNRI. In February 1999 Barry Warsaw -took over as primary developer and released JPython version 1.1. - -In October 2000 Barry helped move the software to SourceForge -where it was renamed to Jython. Jython 2.0 and on are licensed under -the Jython specific license below. - -The standard library is covered by the Python Software Foundation -license. See the LICENSE_CPython.txt file for details. - -The zxJDBC package was written by Brian Zimmer and originally licensed -under the GNU Public License. The package is now covered by the Jython -Software License. - -The command line interpreter is covered by the Apache Software -License. See the LICENSE_Apache.txt file for details. - -B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING JYTHON -================================ - -Copyright (c) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Jython Developers -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - - - Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - - - Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the distribution. - - - Neither the name of the Jython Developers nor the names of - its contributors may be used to endorse or promote products - derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR -CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY -OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - - - -JPython 1.1.x Software License. -========================= - -______________________________________________________________________ - -IMPORTANT: PLEASE READ THE FOLLOWING AGREEMENT CAREFULLY. - -BY CLICKING ON THE "ACCEPT" BUTTON WHERE INDICATED, OR BY INSTALLING, -COPYING OR OTHERWISE USING THE SOFTWARE, YOU ARE DEEMED TO HAVE AGREED TO -THE TERMS AND CONDITIONS OF THIS AGREEMENT. - -______________________________________________________________________ - -JPython version 1.1.x - - 1. This LICENSE AGREEMENT is between the Corporation for National Research - Initiatives, having an office at 1895 Preston White Drive, Reston, VA - 20191 ("CNRI"), and the Individual or Organization ("Licensee") - accessing and using JPython version 1.1.x in source or binary form and - its associated documentation as provided herein ("Software"). - - 2. Subject to the terms and conditions of this License Agreement, CNRI - hereby grants Licensee a non-exclusive, non-transferable, royalty-free, - world-wide license to reproduce, analyze, test, perform and/or display - publicly, prepare derivative works, distribute, and otherwise use the - Software alone or in any derivative version, provided, however, that - CNRI's License Agreement and CNRI's notice of copyright, i.e., - "Copyright ©1996-1999 Corporation for National Research Initiatives; - All Rights Reserved" are both retained in the Software, alone or in any - derivative version prepared by Licensee. - - Alternatively, in lieu of CNRI's License Agreement, Licensee may - substitute the following text (omitting the quotes), provided, however, - that such text is displayed prominently in the Software alone or in any - derivative version prepared by Licensee: "JPython (Version 1.1.x) is - made available subject to the terms and conditions in CNRI's License - Agreement. This Agreement may be located on the Internet using the - following unique, persistent identifier (known as a handle): - 1895.22/1006. The License may also be obtained from a proxy server on - the Web using the following URL: http://hdl.handle.net/1895.22/1006." - - 3. In the event Licensee prepares a derivative work that is based on or - incorporates the Software or any part thereof, and wants to make the - derivative work available to the public as provided herein, then - Licensee hereby agrees to indicate in any such work, in a prominently - visible way, the nature of the modifications made to CNRI's Software. - - 4. Licensee may not use CNRI trademarks or trade name, including JPython - or CNRI, in a trademark sense to endorse or promote products or - services of Licensee, or any third party. Licensee may use the mark - JPython in connection with Licensee's derivative versions that are - based on or incorporate the Software, but only in the form - "JPython-based ___________________," or equivalent. - - 5. CNRI is making the Software available to Licensee on an "AS IS" basis. - CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY - OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND DISCLAIMS ANY - REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY - PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT INFRINGE - ANY THIRD PARTY RIGHTS. - - 6. CNRI SHALL NOT BE LIABLE TO LICENSEE OR OTHER USERS OF THE SOFTWARE FOR - ANY INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF - USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY DERIVATIVE - THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. SOME STATES DO NOT - ALLOW THE LIMITATION OR EXCLUSION OF LIABILITY SO THE ABOVE DISCLAIMER - MAY NOT APPLY TO LICENSEE. - - 7. This License Agreement may be terminated by CNRI (i) immediately upon - written notice from CNRI of any material breach by the Licensee, if the - nature of the breach is such that it cannot be promptly remedied; or - (ii) sixty (60) days following notice from CNRI to Licensee of a - material remediable breach, if Licensee has not remedied such breach - within that sixty-day period. - - 8. This License Agreement shall be governed by and interpreted in all - respects by the law of the State of Virginia, excluding conflict of law - provisions. Nothing in this Agreement shall be deemed to create any - relationship of agency, partnership, or joint venture between CNRI and - Licensee. - - 9. By clicking on the "ACCEPT" button where indicated, or by installing, - copying or otherwise using the Software, Licensee agrees to be bound by - the terms and conditions of this License Agreement. - - -=============================================================================== - -The jars; -activation-1.1.jar, -jaxb-api-2.1.jar, -jaxb-impl-2.1.6.jar, -jaxb-xjc-2.1.4.jar, -jaxb2-reflection-2.1.4.jar, -jsr181-api-1.0-MR1.jar, -jsr250-api-1.0.jar, -jaxws-api-2.1-1.jar, -mail-1.4.jar, -saaj-api-1.3.jar, -servlet-api-2.5.jar, -stax-api-1.0-commons-cli-1.0.jar2.jar - -COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0 - - - 1. Definitions. - - 1.1. "Contributor" means each individual or entity that - creates or contributes to the creation of Modifications. - - 1.2. "Contributor Version" means the combination of the - Original Software, prior Modifications used by a - Contributor (if any), and the Modifications made by that - particular Contributor. - - 1.3. "Covered Software" means (a) the Original Software, or - (b) Modifications, or (c) the combination of files - containing Original Software with files containing - Modifications, in each case including portions thereof. - - 1.4. "Executable" means the Covered Software in any form - other than Source Code. - - 1.5. "Initial Developer" means the individual or entity - that first makes Original Software available under this - License. - - 1.6. "Larger Work" means a work which combines Covered - Software or portions thereof with code not governed by the - terms of this License. - - 1.7. "License" means this document. - - 1.8. "Licensable" means having the right to grant, to the - maximum extent possible, whether at the time of the initial - grant or subsequently acquired, any and all of the rights - conveyed herein. - - 1.9. "Modifications" means the Source Code and Executable - form of any of the following: - - A. Any file that results from an addition to, - deletion from or modification of the contents of a - file containing Original Software or previous - Modifications; - - B. Any new file that contains any part of the - Original Software or previous Modification; or - - C. Any new file that is contributed or otherwise made - available under the terms of this License. - - 1.10. "Original Software" means the Source Code and - Executable form of computer software code that is - originally released under this License. - - 1.11. "Patent Claims" means any patent claim(s), now owned - or hereafter acquired, including without limitation, - method, process, and apparatus claims, in any patent - Licensable by grantor. - - 1.12. "Source Code" means (a) the common form of computer - software code in which modifications are made and (b) - associated documentation included in or with such code. - - 1.13. "You" (or "Your") means an individual or a legal - entity exercising rights under, and complying with all of - the terms of, this License. For legal entities, "You" - includes any entity which controls, is controlled by, or is - under common control with You. For purposes of this - definition, "control" means (a) the power, direct or - indirect, to cause the direction or management of such - entity, whether by contract or otherwise, or (b) ownership - of more than fifty percent (50%) of the outstanding shares - or beneficial ownership of such entity. - - 2. License Grants. - - 2.1. The Initial Developer Grant. - - Conditioned upon Your compliance with Section 3.1 below and - subject to third party intellectual property claims, the - Initial Developer hereby grants You a world-wide, - royalty-free, non-exclusive license: - - (a) under intellectual property rights (other than - patent or trademark) Licensable by Initial Developer, - to use, reproduce, modify, display, perform, - sublicense and distribute the Original Software (or - portions thereof), with or without Modifications, - and/or as part of a Larger Work; and - - (b) under Patent Claims infringed by the making, - using or selling of Original Software, to make, have - made, use, practice, sell, and offer for sale, and/or - otherwise dispose of the Original Software (or - portions thereof). - - (c) The licenses granted in Sections 2.1(a) and (b) - are effective on the date Initial Developer first - distributes or otherwise makes the Original Software - available to a third party under the terms of this - License. - - (d) Notwithstanding Section 2.1(b) above, no patent - license is granted: (1) for code that You delete from - the Original Software, or (2) for infringements - caused by: (i) the modification of the Original - Software, or (ii) the combination of the Original - Software with other software or devices. - - 2.2. Contributor Grant. - - Conditioned upon Your compliance with Section 3.1 below and - subject to third party intellectual property claims, each - Contributor hereby grants You a world-wide, royalty-free, - non-exclusive license: - - (a) under intellectual property rights (other than - patent or trademark) Licensable by Contributor to - use, reproduce, modify, display, perform, sublicense - and distribute the Modifications created by such - Contributor (or portions thereof), either on an - unmodified basis, with other Modifications, as - Covered Software and/or as part of a Larger Work; and - - - (b) under Patent Claims infringed by the making, - using, or selling of Modifications made by that - Contributor either alone and/or in combination with - its Contributor Version (or portions of such - combination), to make, use, sell, offer for sale, - have made, and/or otherwise dispose of: (1) - Modifications made by that Contributor (or portions - thereof); and (2) the combination of Modifications - made by that Contributor with its Contributor Version - (or portions of such combination). - - (c) The licenses granted in Sections 2.2(a) and - 2.2(b) are effective on the date Contributor first - distributes or otherwise makes the Modifications - available to a third party. - - (d) Notwithstanding Section 2.2(b) above, no patent - license is granted: (1) for any code that Contributor - has deleted from the Contributor Version; (2) for - infringements caused by: (i) third party - modifications of Contributor Version, or (ii) the - combination of Modifications made by that Contributor - with other software (except as part of the - Contributor Version) or other devices; or (3) under - Patent Claims infringed by Covered Software in the - absence of Modifications made by that Contributor. - - 3. Distribution Obligations. - - 3.1. Availability of Source Code. - - Any Covered Software that You distribute or otherwise make - available in Executable form must also be made available in - Source Code form and that Source Code form must be - distributed only under the terms of this License. You must - include a copy of this License with every copy of the - Source Code form of the Covered Software You distribute or - otherwise make available. You must inform recipients of any - such Covered Software in Executable form as to how they can - obtain such Covered Software in Source Code form in a - reasonable manner on or through a medium customarily used - for software exchange. - - 3.2. Modifications. - - The Modifications that You create or to which You - contribute are governed by the terms of this License. You - represent that You believe Your Modifications are Your - original creation(s) and/or You have sufficient rights to - grant the rights conveyed by this License. - - 3.3. Required Notices. - - You must include a notice in each of Your Modifications - that identifies You as the Contributor of the Modification. - You may not remove or alter any copyright, patent or - trademark notices contained within the Covered Software, or - any notices of licensing or any descriptive text giving - attribution to any Contributor or the Initial Developer. - - 3.4. Application of Additional Terms. - - You may not offer or impose any terms on any Covered - Software in Source Code form that alters or restricts the - applicable version of this License or the recipients' - rights hereunder. You may choose to offer, and to charge a - fee for, warranty, support, indemnity or liability - obligations to one or more recipients of Covered Software. - However, you may do so only on Your own behalf, and not on - behalf of the Initial Developer or any Contributor. You - must make it absolutely clear that any such warranty, - support, indemnity or liability obligation is offered by - You alone, and You hereby agree to indemnify the Initial - Developer and every Contributor for any liability incurred - by the Initial Developer or such Contributor as a result of - warranty, support, indemnity or liability terms You offer. - - - 3.5. Distribution of Executable Versions. - - You may distribute the Executable form of the Covered - Software under the terms of this License or under the terms - of a license of Your choice, which may contain terms - different from this License, provided that You are in - compliance with the terms of this License and that the - license for the Executable form does not attempt to limit - or alter the recipient's rights in the Source Code form - from the rights set forth in this License. If You - distribute the Covered Software in Executable form under a - different license, You must make it absolutely clear that - any terms which differ from this License are offered by You - alone, not by the Initial Developer or Contributor. You - hereby agree to indemnify the Initial Developer and every - Contributor for any liability incurred by the Initial - Developer or such Contributor as a result of any such terms - You offer. - - 3.6. Larger Works. - - You may create a Larger Work by combining Covered Software - with other code not governed by the terms of this License - and distribute the Larger Work as a single product. In such - a case, You must make sure the requirements of this License - are fulfilled for the Covered Software. - - 4. Versions of the License. - - 4.1. New Versions. - - Sun Microsystems, Inc. is the initial license steward and - may publish revised and/or new versions of this License - from time to time. Each version will be given a - distinguishing version number. Except as provided in - Section 4.3, no one other than the license steward has the - right to modify this License. - - 4.2. Effect of New Versions. - - You may always continue to use, distribute or otherwise - make the Covered Software available under the terms of the - version of the License under which You originally received - the Covered Software. If the Initial Developer includes a - notice in the Original Software prohibiting it from being - distributed or otherwise made available under any - subsequent version of the License, You must distribute and - make the Covered Software available under the terms of the - version of the License under which You originally received - the Covered Software. Otherwise, You may also choose to - use, distribute or otherwise make the Covered Software - available under the terms of any subsequent version of the - License published by the license steward. - - 4.3. Modified Versions. - - When You are an Initial Developer and You want to create a - new license for Your Original Software, You may create and - use a modified version of this License if You: (a) rename - the license and remove any references to the name of the - license steward (except to note that the license differs - from this License); and (b) otherwise make it clear that - the license contains terms which differ from this License. - - - 5. DISCLAIMER OF WARRANTY. - - COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" - BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, - INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED - SOFTWARE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR - PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND - PERFORMANCE OF THE COVERED SOFTWARE IS WITH YOU. SHOULD ANY - COVERED SOFTWARE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE - INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF - ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF - WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF - ANY COVERED SOFTWARE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS - DISCLAIMER. - - 6. TERMINATION. - - 6.1. This License and the rights granted hereunder will - terminate automatically if You fail to comply with terms - herein and fail to cure such breach within 30 days of - becoming aware of the breach. Provisions which, by their - nature, must remain in effect beyond the termination of - this License shall survive. - - 6.2. If You assert a patent infringement claim (excluding - declaratory judgment actions) against Initial Developer or - a Contributor (the Initial Developer or Contributor against - whom You assert such claim is referred to as "Participant") - alleging that the Participant Software (meaning the - Contributor Version where the Participant is a Contributor - or the Original Software where the Participant is the - Initial Developer) directly or indirectly infringes any - patent, then any and all rights granted directly or - indirectly to You by such Participant, the Initial - Developer (if the Initial Developer is not the Participant) - and all Contributors under Sections 2.1 and/or 2.2 of this - License shall, upon 60 days notice from Participant - terminate prospectively and automatically at the expiration - of such 60 day notice period, unless if within such 60 day - period You withdraw Your claim with respect to the - Participant Software against such Participant either - unilaterally or pursuant to a written agreement with - Participant. - - 6.3. In the event of termination under Sections 6.1 or 6.2 - above, all end user licenses that have been validly granted - by You or any distributor hereunder prior to termination - (excluding licenses granted to You by any distributor) - shall survive termination. - - 7. LIMITATION OF LIABILITY. - - UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT - (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE - INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF - COVERED SOFTWARE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE - LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR - CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT - LIMITATION, DAMAGES FOR LOST PROFITS, LOSS OF GOODWILL, WORK - STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER - COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN - INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF - LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL - INJURY RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT - APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO - NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR - CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT - APPLY TO YOU. - - 8. U.S. GOVERNMENT END USERS. - - The Covered Software is a "commercial item," as that term is - defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial - computer software" (as that term is defined at 48 C.F.R. - 252.227-7014(a)(1)) and "commercial computer software - documentation" as such terms are used in 48 C.F.R. 12.212 (Sept. - 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 - through 227.7202-4 (June 1995), all U.S. Government End Users - acquire Covered Software with only those rights set forth herein. - This U.S. Government Rights clause is in lieu of, and supersedes, - any other FAR, DFAR, or other clause or provision that addresses - Government rights in computer software under this License. - - 9. MISCELLANEOUS. - - This License represents the complete agreement concerning subject - matter hereof. If any provision of this License is held to be - unenforceable, such provision shall be reformed only to the - extent necessary to make it enforceable. This License shall be - governed by the law of the jurisdiction specified in a notice - contained within the Original Software (except to the extent - applicable law, if any, provides otherwise), excluding such - jurisdiction's conflict-of-law provisions. Any litigation - relating to this License shall be subject to the jurisdiction of - the courts located in the jurisdiction and venue specified in a - notice contained within the Original Software, with the losing - party responsible for costs, including, without limitation, court - costs and reasonable attorneys' fees and expenses. The - application of the United Nations Convention on Contracts for the - International Sale of Goods is expressly excluded. Any law or - regulation which provides that the language of a contract shall - be construed against the drafter shall not apply to this License. - You agree that You alone are responsible for compliance with the - United States export administration regulations (and the export - control laws and regulation of any other countries) when You use, - distribute or otherwise make available any Covered Software. - - 10. RESPONSIBILITY FOR CLAIMS. - - As between Initial Developer and the Contributors, each party is - responsible for claims and damages arising, directly or - indirectly, out of its utilization of rights under this License - and You agree to work with Initial Developer and Contributors to - distribute such responsibility on an equitable basis. Nothing - herein is intended or shall be deemed to constitute any admission - of liability. - -=============================================================================== - -JRuby (jruby-complete-1.0.jar), wsdl4j (wsdl4j-1.6.2.jar): - -Common Public License - v 1.0 - -THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. - -1. DEFINITIONS - -"Contribution" means: - - a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and - b) in the case of each subsequent Contributor: - - i) changes to the Program, and - - ii) additions to the Program; - - where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. Contributions do not include additions to the Program which: (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program. - -"Contributor" means any person or entity that distributes the Program. - -"Licensed Patents " mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program. - -"Program" means the Contributions distributed in accordance with this Agreement. - -"Recipient" means anyone who receives the Program under this Agreement, including all Contributors. - -2. GRANT OF RIGHTS - - a) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code form. - - b) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder. - - c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the Program, it is Recipient's responsibility to acquire that license before distributing the Program. - - d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement. - -3. REQUIREMENTS - -A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that: - - a) it complies with the terms and conditions of this Agreement; and - - b) its license agreement: - - i) effectively disclaims on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose; - - ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits; - - iii) states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and - - iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange. - -When the Program is made available in source code form: - - a) it must be made available under this Agreement; and - - b) a copy of this Agreement must be included with each copy of the Program. - -Contributors may not remove or alter any copyright notices contained within the Program. - -Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows subsequent Recipients to identify the originator of the Contribution. - -4. COMMERCIAL DISTRIBUTION - -Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor ("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense. - -For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages. - -5. NO WARRANTY - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely responsible for determining the appropriateness of using and distributing the Program and assumes all risks associated with its exercise of rights under this Agreement, including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, programs or equipment, and unavailability or interruption of operations. - -6. DISCLAIMER OF LIABILITY - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -7. GENERAL - -If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable. - -If Recipient institutes patent litigation against a Contributor with respect to a patent applicable to software (including a cross-claim or counterclaim in a lawsuit), then any patent licenses granted by that Contributor to such Recipient under this Agreement shall terminate as of the date such litigation is filed. In addition, if Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed. - -All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive. - -Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the right to modify this Agreement. IBM is the initial Agreement Steward. IBM may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the new version. Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or otherwise. All rights in the Program not expressly granted under this Agreement are reserved. - -This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation. - -=============================================================================== - -backport-util-concurrent-2.2.jar: - -The software comprising backport-util-concurrent is based in large -part on the code from JSR166, and the package dl.util.concurrent. -The software has been released to the public domain, as explained at: -http://creativecommons.org/licenses/publicdomain, excepting portions -of the class -edu.emory.mathcs.backport.java.util.concurrent.CopyOnWriteArrayList, -which were adapted from class java.util.ArrayList, written by Sun -Microsystems, Inc, which are used with kind permission, and subject -to the following: - -Copyright 2002-2004 Sun Microsystems, Inc. All rights reserved. Use is -subject to the following license terms. - - "Sun hereby grants you a non-exclusive, worldwide, non-transferrable - license to use and distribute the Java Software technologies as part - of a larger work in source and binary forms, with or without - modification, provided that the following conditions are met: - - -Neither the name of or trademarks of Sun may be used to endorse or - promote products derived from the Java Software technology without - specific prior written permission. - - -Redistributions of source or binary code must be accompanied by the - following notice and disclaimers: - - Portions copyright Sun Microsystems, Inc. Used with kind permission. - - This software is provided AS IS, without a warranty of any kind. ALL - EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND - WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF - MERCHANTABILITY, FITNESS FOR A PARTICULAR PUPOSE OR - NON-INFRINGEMENT, ARE HEREBY EXCLUDED. SUN - MICROSYSTEMS, INC. AND ITS LICENSORS SHALL NOT BE LIABLE - FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF - USING, MODIFYING OR DISTRIBUTING THE SOFTWARE OR ITS - DERIVATIVES. IN NO EVENT WILL SUN MICROSYSTEMS, INC. OR - ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR - DATA, OR FOR DIRECT, INDIRECT,CONSQUENTIAL, INCIDENTAL - OR PUNITIVE DAMAGES, HOWEVER CAUSED AND REGARDLESS OF - THE THEORY OR LIABILITY, ARISING OUT OF THE USE OF OR - INABILITY TO USE SOFTWARE, EVEN IF SUN MICROSYSTEMS, INC. - HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - - You acknowledge that Software is not designed, licensed or intended for - use in the design, construction, operation or maintenance of any nuclear - facility." - -=============================================================================== -rome-0.9.jar - -Copyright 2004 Sun Microsystems, Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. - -=============================================================================== -jdom-1.0.jar : - -$Id: LICENSE.txt,v 1.11 2004/02/06 09:32:57 jhunter Exp $ - - Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin. - All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions - are met: - - 1. Redistributions of source code must retain the above copyright - notice, this list of conditions, and the following disclaimer. - - 2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions, and the disclaimer that follows - these conditions in the documentation and/or other materials - provided with the distribution. - - 3. The name "JDOM" must not be used to endorse or promote products - derived from this software without prior written permission. For - written permission, please contact . - - 4. Products derived from this software may not be called "JDOM", nor - may "JDOM" appear in their name, without prior written permission - from the JDOM Project Management . - - In addition, we request (but do not require) that you include in the - end-user documentation provided with the redistribution and/or in the - software itself an acknowledgement equivalent to the following: - "This product includes software developed by the - JDOM Project (http://www.jdom.org/)." - Alternatively, the acknowledgment may be graphical using the logos - available at http://www.jdom.org/images/logos. - - THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED - WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES - OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - DISCLAIMED. IN NO EVENT SHALL THE JDOM AUTHORS OR THE PROJECT - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF - USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT - OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - SUCH DAMAGE. - - This software consists of voluntary contributions made by many - individuals on behalf of the JDOM Project and was originally - created by Jason Hunter and - Brett McLaughlin . For more information - on the JDOM Project, please see . - -======================================================================== - -dwr-2.0.1.jar : - -/* -* Copyright 2005 Joe Walker -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ - -========================================================================== - -dojotoolkit V1.0.0: - -The "New" BSD License: -********************** - -Copyright (c) 2005, The Dojo Foundation -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - * Neither the name of the Dojo Foundation nor the names of its contributors - may be used to endorse or promote products derived from this software - without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -================================================================================ - -The module tuscany-implementation-script-1.0-incubating.jar temporarily includes -one file under the below BSD license with the following copyright: - - Copyright (c) 2006, Sun Microsystems, Inc. - All rights reserved. - -BSD license: - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are met: - - - Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - - - Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - - - Neither the name of the Sun Microsystems, Inc. nor the names of - contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND - CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED - WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE - COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY - DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF - USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE - OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH - DAMAGE. - -================================================================================ - -The serp-1.12.0.jar is distributed under the BSD license with the following copyright: - - Copyright (c) 2002, A. Abram White - All rights reserved. - -BSD license: - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are met: - - - Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - - - Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - - - Neither the name of the Sun Microsystems, Inc. nor the names of - contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND - CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED - WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE - COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY - DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF - USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE - OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH - DAMAGE. - -================================================================================ -The javacc-3.2.jar, and howl-1.0.1-1.jar are distributed under the BSD license: - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - - * Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED -TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR -CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -================================================================================ - -The tuscany-assembly-xsd jar includes XSD files under the following SCA Collaboration license: - -License for the Service Component Architecture JavaDoc, Interface -Definition files and XSD files. - -The Service Component Architecture JavaDoc, Interface Definition files, -and XSD files are being provided by the copyright holders under the -following license. By using and/or copying this work, you agree that -you have read, understood and will comply with the following terms and -conditions: - -Permission to copy, display, make derivative works of, and distribute -the Service Component Architecture JavaDoc, Interface Definition Files -and XSD files (the "Artifacts") in any medium without fee or royalty is -hereby granted, provided that you include the following on ALL copies -of the Artifacts, or portions thereof, that you make: - -1. A link or URL to the Artifacts at this location: -http://www.osoa.org/display/Main/Service+Component+Architecture+Specifications - -2. The full text of this copyright notice as shown in the Artifacts. - -THE ARTIFACTS ARE PROVIDED "AS IS," AND THE AUTHORS MAKE NO -REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, REGARDING THE -ARTIFACTS AND THE IMPLEMENTATION OF THEIR CONTENTS, INCLUDING, BUT NOT -LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR -PURPOSE, NON-INFRINGEMENT OR TITLE. - -THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, -INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY -USE OR DISTRIBUTION OF THE ARTIFACTS. - -The name and trademarks of the Authors may NOT be used in any manner, -including advertising or publicity pertaining to the Service Component -Architecture Specification or its contents without specific, written -prior permission. Title to copyright in the Service Component -Architecture Specification and the JavaDoc, Interface Definition Files -and XSD Files will at all times remain with the Authors. - -No other rights are granted by implication, estoppel or otherwise. - -Revision level 1.1, last updated on 2007/11/19 - -================================================================================ -License for the Service Data Objects JavaDoc and Interface Definition files. (tuscany-sdo-api-r2.1-1.0-incubating.jar) - -These files being ... -commonj/sdo/ChangeSummary$Setting.class -commonj/sdo/ChangeSummary.class -commonj/sdo/DataGraph.class -commonj/sdo/DataObject.class -commonj/sdo/helper/CopyHelper.class -commonj/sdo/helper/DataFactory.class -commonj/sdo/helper/DataHelper.class -commonj/sdo/helper/EqualityHelper.class -commonj/sdo/helper/HelperContext.class -commonj/sdo/helper/TypeHelper.class -commonj/sdo/helper/XMLDocument.class -commonj/sdo/helper/XMLHelper.class -commonj/sdo/helper/XSDHelper.class -commonj/sdo/impl/ExternalizableDelegator$Resolvable.class -commonj/sdo/impl/ExternalizableDelegator.class -commonj/sdo/Property.class -commonj/sdo/Sequence.class -commonj/sdo/Type.class -xml/datagraph.xsd -xml/sdoJava.xml -xml/sdoJava.xsd -xml/sdoModel.xml -xml/sdoModel.xsd -xml/sdoXML.xml -xml/sdoXML.xsd - - -License for the Service Data Objects JavaDoc and Interface Definition files. - -The Service Data Objects Specification is being provided by the copyright holders under the following -license. By using and/or copying this work, you agree that you have read, understood and will comply with -the following terms and conditions: - -Permission to copy, display and distribute the Service Data Objects Specification and/or portions thereof, without -modification, in any medium without fee or royalty is hereby granted, provided that you include the -following on ALL copies of the Service Data Objects Specification, or portions thereof, that you make: - -1. A link or URL to the Service Data Objects Specification at this location: -http://www.osoa.org/display/Main/Service+Data+Objects+Specifications - -2. The full text of this copyright notice as shown in the Service Data Objects Specification. - -BEA, IBM, Oracle, Primeton Technologies, Rogue Wave Software, SAP, Software AG, Sun Microsystems, Xcalia, -Zend Technologies (collectively, the “Authors”) agree to grant you a royalty-free license, under reasonable, -non-discriminatory terms and conditions to patents that they deem necessary to implement the Service Data -Objects Specification. - -THE Service Data Objects SPECIFICATION IS PROVIDED "AS IS," AND THE AUTHORS MAKE NO REPRESENTATIONS OR -WARRANTIES, EXPRESS OR IMPLIED, REGARDING THIS SPECIFICATION AND THE IMPLEMENTATION OF ITS CONTENTS, -INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, -NON-INFRINGEMENT OR TITLE. THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL -OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY USE OR DISTRIBUTION OF THE SERVICE DATA OBJECTS -SPECIFICATION. - -The name and trademarks of the Authors may NOT be used in any manner, including advertising or publicity -pertaining to the Service Data Objects Specification or its contents without specific, written prior -permission. Title to copyright in the Service Data Objects Specification will at all times remain with the -Authors. - -No other rights are granted by implication, estoppel or otherwise. -================================================================================ - diff --git a/java/sca-contrib/distribution/ejava/src/main/release/bin/NOTICE b/java/sca-contrib/distribution/ejava/src/main/release/bin/NOTICE deleted file mode 100644 index 5daa9a3dfe..0000000000 --- a/java/sca-contrib/distribution/ejava/src/main/release/bin/NOTICE +++ /dev/null @@ -1,95 +0,0 @@ -Apache Tuscany -Copyright (c) 2005 - 2009 The Apache Software Foundation - -This product includes software developed at -The Apache Software Foundation (http://www.apache.org/). - -This product includes/uses XmlSchema developed at -The Apache Software Foundation (http://ws.apache.org/commons/XmlSchema) - Portions Copyright 2006 International Business Machines Corp. - -This product includes/uses ode-bpel-api-1.1 developed at -The Apache Software Foundation (http://ode.apache.org) - - Copyright 1999-2006 Intalio - This product includes software developed by Intalio (http://www.intalio.com) - - Copyright 2006 Sybase - This product includes software developed by Sybase.(http://www.sybase.com) - -"This product includes software developed by the Spring Framework - Project (http://www.springframework.org)." - -This product includes/uses the Jetty Servlet Engine (http://jetty.mortbay.org), -developed by Mort Bay Consulting (http://www.mortbay.com) - -This product includes/uses the Groovy Script Engine (http://groovy.codehaus.org/), -Copyright 2003 (C) James Strachan and Bob Mcwhirter. All Rights Reserved. - -This product includes/uses the Axion : the Open Source Java Database (http://axion.tigris.org/) - Copyright (c) 2002-2003 Axion Development Team. All rights reserved. - -This product includes/uses DOM4J : the flexible XML framework for java (http://www.dom4j.org/) - Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved. - -This product includes/uses software, AOP alliance (http://aopalliance.sourceforge.net) -License: Public Domain - -This product includes/uses JSON-RPC-Java (http://oss.metaparadigm.com/jsonrpc/) - -This product includes/uses JSON-RPC JavaScript client (jsonrpc.js) - Copyright (c) 2003-2004 Jan-Klaas Kollhof - Copyright (c) 2005 Michael Clark, Metaparadigm Pte Ltd - -This product includes software from the GlassFish project (https://glassfish.dev.java.net/) - Copyright (c) 2006, Sun Microsystems, Inc. - -This product includes software from the Rome project (https://rome.dev.java.net/) - Copyright (c) 2006, Sun Microsystems, Inc. - -This product includes/uses the Eclipse Modeling Framework project (http://www.eclipse.org/emf/) - -This product includes/uses the Mozilla Rhino project (http://www.mozilla.org/rhino/) - -This product includes/uses the Sourceforge wsdl4j project (http://sourceforge.net/projects/wsdl4j/)i - -This product includes/uses the Codehaus JRuby project (http://jruby.codehaus.org/) - -This product includes/uses JDOM (http://www.jdom.org/) - Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin. All rights reserved. - -This product includes/uses DWR (http://getahead.org/dwr) - Copyright 2005 Joe Walker. All rights reserved. - -This product includes/uses dojotoolkit (http://dojotoolkit.org/) - Copyright (c) 2005, The Dojo Foundation. All rights reserved. - -This product includes/uses Howl (http://howl.objectweb.org/) - Copyright (c) 2004, Bull S.A. - -This product includes/uses axion (http://axion.tigris.org/) - Copyright (c) 2002-2003 Axion Development Team. - -This product includes/uses javacc (https://javacc.dev.java.net/) - Copyright (c) 2003 Sun Microsystems, Inc. All Rights Reserved. - -The Program includes all or portions of the following software: "The -Saxon XSLT and XQuery Processor from Saxonica Limited" distributed under -an MPL v1.0 license. Please refer to the homepage URL at -http://www.saxonica.com/. - -This product includes/uses Serp (http://serp.sourceforge.net/) under the BSD license: - Copyright (c) 2002, A. Abram White. All rights reserved. - -This product also includes software under the BSD license -with the following copyright: - Copyright (c) 2006, Sun Microsystems, Inc. All rights reserved. - -This product includes software under the Service Component Architecture JavaDoc, -Interface Definition files and XSD files license. - (c) Copyright SCA Collaboration 2006, 2007 - -This product includes software under the Service Data Objects JavaDoc and -Interface Definition file license - -(c) Copyright BEA Systems, Inc., International Business Machines Corporation, -Oracle Corporation, Primeton Technologies Ltd., Rogue Wave Software, SAP AG., -Software AG., Sun Microsystems, Sybase Inc., Xcalia, Zend Technologies, -2005, 2006. All rights reserved. - diff --git a/java/sca-contrib/distribution/ejava/src/main/release/src/BUILDING b/java/sca-contrib/distribution/ejava/src/main/release/src/BUILDING deleted file mode 100644 index 65d09c5eae..0000000000 --- a/java/sca-contrib/distribution/ejava/src/main/release/src/BUILDING +++ /dev/null @@ -1,55 +0,0 @@ -Building the Apache Tuscany SCA 1.2 (incubating) April 2008 Release source distribution -======================================================================================= - -Initial Setup -------------- - -1) Install J2SE 5.0 SDK, which can be downloaded from - http://java.sun.com/j2se/1.5.0/download.jsp. Use version of 1.5.0_06 JDK or higher. - -2) Make sure that your JAVA_HOME environment variable is set to the newly installed - JDK location, and that your PATH includes %JAVA_HOME%\bin (windows) or - $JAVA_HOME$/bin (unix). - -3) Install Maven 2.0.7 or higher, which can be downloaded from - http://maven.apache.org/download.html. Make sure that your PATH includes - the MVN_HOME/bin directory. - -4) Make sure that your MAVEN_OPTS environment variable has -Xmx128M (or more), - you can manually do this by executing the following in your prompt : - Windows users: - set MAVEN_OPTS=-Xmx128M - Unix users: - export MAVEN_OPTS=-Xmx128M - - -Building --------- - -1) Change to the top level directory of Apache Tuscany source distribution. -2) Run - - $> mvn - - This will compile Apache Tuscany and run all of the tests in the source - distribution. - - Depending on the load of remote Maven 2.0 repositories, you may have - to run "mvn" several times utill the required dependencies are - all located in your local maven repository. It usually takes some time for - maven to download required dependencies in the first build. Once all the - dependencies have been downloaded you may use the -o option to run maven - in offline mode, for example, 'mvn clean install -o'. - - -Building the distributions --------------------------- - -1) Change to the distribution folder -2) Run - - $> mvn - - This will build the binary and source distribution with .zip and .gz - formats in the distribution/target directory. - diff --git a/java/sca-contrib/distribution/ejava/src/main/release/src/LICENSE b/java/sca-contrib/distribution/ejava/src/main/release/src/LICENSE deleted file mode 100644 index 144d8ae692..0000000000 --- a/java/sca-contrib/distribution/ejava/src/main/release/src/LICENSE +++ /dev/null @@ -1,397 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - -=============================================================================================================== - -Apache Tuscany SCA for Java Subcomponents -=========================================: - -The Tuscany SCA for Java release includes a number of subcomponents with -separate copyright notices and license terms. Your use of the source -code for the these subcomponents is subject to the terms and -conditions of the following licenses. - -=============================================================================================================== - -The module itest/databindings/common includes the test schema; datagraph.xsd, sdoJava.xsd, and sdoModel.xsd -under the following license: - -License for the Service Data Objects JavaDoc, Interface Definition files -and XSD files. - -The Service Data Objects JavaDoc, Interface Definition files and XSD files -are being provided by the copyright holders under the following license. -By using and/or copying this work, you agree that you have read, -understood and will comply with the following terms and conditions: - -Permission to copy, display, make derivative works of and distribute -the Service Data Objects JavaDoc, Interface Definition files and XSD files -(the "Artifacts") in any medium without fee or royalty is hereby granted, -provided that you include the following on ALL copies of the Artifacts, -or portions thereof, that you make: - -1. A link or URL to the Artifacts at this location: -http://www.osoa.org/display/Main/Service+Data+Objects+Specifications - -2. The full text of this copyright notice as shown in the Artifacts. - - - -THE ARTIFACTS ARE PROVIDED "AS IS" AND THE AUTHORS MAKE NO -REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, REGARDING THE -ARTIFACTS AND THE IMPLEMENTATION OF THEIR CONTENTS, -INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT OR TITLE. - -THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, -INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY -USE OR DISTRIBUTION OF THE ARTIFACTS. - -The name and trademarks of the Authors may NOT be used in any manner, -including advertising or publicity pertaining to the Service Data -Objects Specification or its contents without specific, written prior -permission. Title to copyright in the Service Data Objects -Specification will at all times remain with the Authors. - -No other rights are granted by implication, estoppel or otherwise. - -Revision level 1.11, last updated on 2007/12/21 - -================================================================================================================= - -The module implementation-script temporarily includes one file under the following BSD license: - - Copyright (c) 2006, Sun Microsystems, Inc. - All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are met: - - - Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - - - Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - - - Neither the name of the Sun Microsystems, Inc. nor the names of - contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND - CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED - WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE - COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY - DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF - USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE - OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH - DAMAGE. - -================================================================================================================= - -The module assembly-xsd includes XSD files under the following SCA Collaboration license: - -License for the Service Component Architecture JavaDoc, Interface -Definition files and XSD files. - -The Service Component Architecture JavaDoc, Interface Definition files, -and XSD files are being provided by the copyright holders under the -following license. By using and/or copying this work, you agree that -you have read, understood and will comply with the following terms and -conditions: - -Permission to copy, display, make derivative works of, and distribute -the Service Component Architecture JavaDoc, Interface Definition Files -and XSD files (the "Artifacts") in any medium without fee or royalty is -hereby granted, provided that you include the following on ALL copies -of the Artifacts, or portions thereof, that you make: - -1. A link or URL to the Artifacts at this location: -http://www.osoa.org/display/Main/Service+Component+Architecture+Specifications - -2. The full text of this copyright notice as shown in the Artifacts. - -THE ARTIFACTS ARE PROVIDED "AS IS," AND THE AUTHORS MAKE NO -REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, REGARDING THE -ARTIFACTS AND THE IMPLEMENTATION OF THEIR CONTENTS, INCLUDING, BUT NOT -LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR -PURPOSE, NON-INFRINGEMENT OR TITLE. - -THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, -INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY -USE OR DISTRIBUTION OF THE ARTIFACTS. - -The name and trademarks of the Authors may NOT be used in any manner, -including advertising or publicity pertaining to the Service Component -Architecture Specification or its contents without specific, written -prior permission. Title to copyright in the Service Component -Architecture Specification and the JavaDoc, Interface Definition Files -and XSD Files will at all times remain with the Authors. - -No other rights are granted by implication, estoppel or otherwise. - -Revision level 1.1, last updated on 2007/11/19 - -================================================================================================================= -The modules - -binding-ws-xml -databinding -databinding-axiom -databinding-jaxb -databinding-json -databinding-sdo -databinding-sdo-axiom -databinding-xmlbeans -interface-wsdl-xml - -Include the ipo.xsd and address.xsd information from the XML Schema Primer -(http://www.w3.org/TR/2004/PER-xmlschema-0-20040318/) combined into the -file ipo.xsd and extended with UK postcode structures. - -The ipo.xsd file is include under the following license: - -W3C(c) SOFTWARE NOTICE AND LICENSE -http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 - -This work (and included software, documentation such as READMEs, or other -related items) is being provided by the copyright holders under the following -license. By obtaining, using and/or copying this work, you (the licensee) agree -that you have read, understood, and will comply with the following terms and conditions. - -Permission to copy, modify, and distribute this software and its documentation, -with or without modification, for any purpose and without fee or royalty is -hereby granted, provided that you include the following on ALL copies of the -software and documentation or portions thereof, including modifications: - - 1. The full text of this NOTICE in a location viewable to users of the - redistributed or derivative work. - 2. Any pre-existing intellectual property disclaimers, notices, or terms - and conditions. If none exist, the W3C Software Short Notice should be - included (hypertext is preferred, text is permitted) within the body of - any redistributed or derivative code. - 3. Notice of any changes or modifications to the files, including the date - changes were made. (We recommend you provide URIs to the location from which - the code is derived.) - -THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE -NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, -WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE -USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY PATENTS, -COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. - -COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR -CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENTATION. - -The name and trademarks of copyright holders may NOT be used in advertising or -publicity pertaining to the software without specific, written prior permission. -Title to copyright in this software and any associated documentation will at all -times remain with copyright holders. diff --git a/java/sca-contrib/distribution/ejava/src/main/release/src/NOTICE b/java/sca-contrib/distribution/ejava/src/main/release/src/NOTICE deleted file mode 100644 index 31540fd607..0000000000 --- a/java/sca-contrib/distribution/ejava/src/main/release/src/NOTICE +++ /dev/null @@ -1,39 +0,0 @@ -Apache Tuscany -Copyright (c) 2005 - 2009 The Apache Software Foundation - -This product includes software developed at -The Apache Software Foundation (http://www.apache.org/). - -This product includes/uses JSON-RPC JavaScript client (jsonrpc.js) - Copyright (c) 2003-2004 Jan-Klaas Kollhof - Copyright (c) 2005 Michael Clark, Metaparadigm Pte Ltd - -This product also includes software under the BSD license -(see the LICENSE file contained in this distribution), with -the following copyright: - Copyright (c) 2006, Sun Microsystems, Inc. All rights reserved. - -This product includes software under the Service Component Architecture JavaDoc, -Interface Definition files and XSD files license. - (c) Copyright SCA Collaboration 2006, 2007 - -This product includes software under the Service Data Objects JavaDoc and -Interface Definition file license - -(c) Copyright BEA Systems, Inc., International Business Machines Corporation, -Oracle Corporation, Primeton Technologies Ltd., Rogue Wave Software, SAP AG., -Software AG., Sun Microsystems, Sybase Inc., Xcalia, Zend Technologies, -2005, 2006. All rights reserved. - -This product includes software under the W3C(c) Software License -with the following copyright: - -Copyright (c) 2008 World Wide Web Consortium, (Massachusetts Institute of Technology, -European Research Consortium for Informatics and Mathematics, Keio University). -All Rights Reserved. This work is distributed under the W3C(c) Software License [1] in -the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied -warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - -[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 - - diff --git a/java/sca-contrib/distribution/etc/generate-all-maven-files.sh b/java/sca-contrib/distribution/etc/generate-all-maven-files.sh deleted file mode 100755 index 4d1327f518..0000000000 --- a/java/sca-contrib/distribution/etc/generate-all-maven-files.sh +++ /dev/null @@ -1,44 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. - -# This script can be used to generate Maven build POM and assembly files -# for all the distributions - -echo "Generate Maven files: core" -cd core; ../etc/generate-filtered-dependencies.sh > src/main/components/bin-filtered-dependencies.xml; ../etc/generate-maven-files.sh - -echo "Generate Maven files: ejava" -cd ../ejava; ../etc/generate-maven-files.sh - -echo "Generate Maven files: manager" -cd ../manager; ../etc/generate-maven-files.sh - -echo "Generate Maven files: process" -cd ../process; ../etc/generate-maven-files.sh - -echo "Generate Maven files: web20" -cd ../web20; ../etc/generate-maven-files.sh - -echo "Generate Maven files: webservice" -cd ../webservice; ../etc/generate-maven-files.sh - -echo "Generate Maven files: all" -cd ../all; ../etc/generate-maven-files.sh - -echo "Generate Maven files: repository" -cd ../repository; ../etc/generate-maven-files.sh - diff --git a/java/sca-contrib/distribution/etc/generate-filtered-dependencies.sh b/java/sca-contrib/distribution/etc/generate-filtered-dependencies.sh deleted file mode 100755 index 7a04369b50..0000000000 --- a/java/sca-contrib/distribution/etc/generate-filtered-dependencies.sh +++ /dev/null @@ -1,69 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. - -# This generates a Maven assembly component that can be included in a Maven -# assembly to include the source of the modules in a source distribution. - -echo "" -echo "" -echo " " -echo "" -echo " " -echo " " -echo " modules" -echo " false" -echo " " -echo " org.apache.tuscany.sca:*" -echo " " -echo " " - -mvn -o dependency:list | awk '/.INFO. (.*.tuscany.sca):(tuscany-)(.*):(.*):(.*):(.*)/ { print gensub("(.INFO. )(.*)(:)(.*)(:)(.*)(:)(.*)(:)(.*)", "\\2:\\4", "g") }' | sort | awk '{ printf " %s\n", $1 }' - -echo " " -echo " " -echo "" -echo " " -echo " " -echo " lib" -echo " false" -echo " " - -mvn -o dependency:list | awk '/.INFO. (.*):(.*):(.*):(.*):(.*)/ && !/(.*)(.tuscany.sca):(.*)/ { print gensub("(.INFO. )(.*)(:)(.*)(:)(.*)(:)(.*)(:)(.*)", "\\2:\\4", "g") }' | sort | awk '{ printf " %s\n", $1 }' - -echo " org.apache.tuscany.sca:*" -echo " " -echo " " -echo " " -echo "" - diff --git a/java/sca-contrib/distribution/etc/generate-maven-files.sh b/java/sca-contrib/distribution/etc/generate-maven-files.sh deleted file mode 100755 index adb190eabd..0000000000 --- a/java/sca-contrib/distribution/etc/generate-maven-files.sh +++ /dev/null @@ -1,25 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. - -# This script can be used to generate Maven build POM and assembly files -# for a distribution - -../etc/generate-src-modules.sh > src/main/components/src-modules.xml -../etc/generate-pom.sh > pom.xml.tmp -cp pom.xml.tmp pom.xml -rm pom.xml.tmp - diff --git a/java/sca-contrib/distribution/etc/generate-pom.sh b/java/sca-contrib/distribution/etc/generate-pom.sh deleted file mode 100755 index b8446a51d3..0000000000 --- a/java/sca-contrib/distribution/etc/generate-pom.sh +++ /dev/null @@ -1,26 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. - -# This script can be used to generate a Maven build profile that includes all -# the modules included directly or transitively in a distribution - -cat pom.xml | awk 'BEGIN { i=0 } // { i=1; print } /.*/ { if (i==0) print } ' - -mvn -o dependency:list | awk '/.INFO. (.*.tuscany.sca):(tuscany-)(.*):(.*):(.*):(.*)/ { print gensub("(.INFO. )(.*)(:)(tuscany-)(.*)(:)(.*)(:)(.*)(:)(.*)", "\\5", "g") }' | grep -v "distribution-" | grep -v "maven-" | grep -v "wsdl2java" | grep -v "java2wsdl" | sort | awk '{ printf " ../../modules/%s\n", $1 }' - -cat pom.xml | awk 'BEGIN { i=0 } /<\/modules>/ { i=1 } /.*/ { if (i==1) print } ' - diff --git a/java/sca-contrib/distribution/etc/generate-src-modules.sh b/java/sca-contrib/distribution/etc/generate-src-modules.sh deleted file mode 100755 index 9a1272258c..0000000000 --- a/java/sca-contrib/distribution/etc/generate-src-modules.sh +++ /dev/null @@ -1,65 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. - -# This generates a Maven assembly component that can be included in a Maven -# assembly to include the source of the modules in a source distribution. - -echo "" -echo "" -echo " " -echo "" -echo " " -echo " " -echo " ../../modules" -echo " modules" -echo " " - -mvn -o dependency:list | awk '/.INFO. (.*.tuscany.sca):(tuscany-)(.*):(.*):(.*):(.*)/ { print gensub("(.INFO. )(.*)(:)(tuscany-)(.*)(:)(.*)(:)(.*)(:)(.*)", "\\5", "g") }' | sort | awk '{ printf " %s/**/*\n", $1 }' - -echo " " -echo " " -echo " " -echo " **/.*" -echo " **/.*/**" -echo " **/*.log" -echo "" -echo " " -echo " pom.xml" -echo " **/target" -echo " **/target/**/*" -echo " " -echo " " -echo " " -echo "" - diff --git a/java/sca-contrib/distribution/manager/pom.xml b/java/sca-contrib/distribution/manager/pom.xml deleted file mode 100644 index bb4aec34e3..0000000000 --- a/java/sca-contrib/distribution/manager/pom.xml +++ /dev/null @@ -1,178 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - tuscany-distribution - 2.0-SNAPSHOT - ../pom.xml - - - tuscany-distribution-manager - Apache Tuscany SCA Domain Manager Distribution - pom - - - - - - org.apache.tuscany.sca - tuscany-feature-manager - pom - 2.0-SNAPSHOT - - - - - - - - - distribution - - - - org.apache.tuscany.sca - tuscany-maven-bundle-plugin - - - distribution-modules - generate-resources - - generate-modules - - - target/modules - - ../core/target/modules - - - - - - - - org.apache.maven.plugins - maven-assembly-plugin - - - distribution-package - package - - single - - - - src/main/assembly/bin.xml - src/main/assembly/src.xml - - gnu - apache-tuscany-sca-manager-2.0-SNAPSHOT - - - - - - - - - - - modules - - ../../../modules/assembly - ../../../modules/assembly-xml - ../../../modules/assembly-xsd - ../../../modules/binding-atom - ../../../modules/binding-atom-abdera - ../../../modules/binding-corba - ../../../modules/binding-corba-runtime - ../../../modules/binding-ejb - ../../../modules/binding-http - ../../../modules/binding-http-runtime - ../../../modules/binding-jsonrpc - ../../../modules/binding-rmi - ../../../modules/binding-rss - ../../../modules/binding-sca - ../../../modules/binding-sca-xml - ../../../modules/binding-ws - ../../../modules/binding-ws-wsdlgen - ../../../modules/binding-ws-xml - ../../../modules/contribution - ../../../modules/contribution-java - ../../../modules/contribution-namespace - ../../../modules/contribution-resource - ../../../modules/contribution-xml - ../../../modules/core - ../../../modules/core-databinding - ../../../modules/core-spi - ../../../modules/data-api - ../../../modules/databinding - ../../../modules/databinding-jaxb - ../../../modules/definitions - ../../../modules/definitions-xml - ../../../modules/domain-manager - ../../../modules/endpoint - ../../../modules/extensibility - ../../../modules/extensibility-equinox - ../../../modules/host-corba - ../../../modules/host-corba-jse - ../../../modules/host-http - ../../../modules/host-jetty - ../../../modules/implementation-bpel - ../../../modules/implementation-ejb - ../../../modules/implementation-java - ../../../modules/implementation-java-runtime - ../../../modules/implementation-java-xml - ../../../modules/implementation-node - ../../../modules/implementation-node-runtime - ../../../modules/implementation-resource - ../../../modules/implementation-widget - ../../../modules/implementation-widget-runtime - ../../../modules/interface - ../../../modules/interface-java - ../../../modules/interface-java-jaxws - ../../../modules/interface-java-xml - ../../../modules/interface-wsdl - ../../../modules/interface-wsdl-xml - ../../../modules/monitor - ../../../modules/node-api - ../../../modules/node-impl - ../../../modules/node-launcher - ../../../modules/node-launcher-equinox - ../../../modules/node-launcher-webapp - ../../../modules/node-manager - ../../../modules/policy - ../../../modules/policy-security - ../../../modules/policy-security-jsr250 - ../../../modules/policy-security-ws - ../../../modules/policy-xml - ../../../modules/sca-api - ../../../modules/workspace - ../../../modules/workspace-impl - ../../../modules/workspace-xml - ../../../modules/xsd - ../../../modules/xsd-xml - - - - - diff --git a/java/sca-contrib/distribution/manager/src/main/assembly/bin.xml b/java/sca-contrib/distribution/manager/src/main/assembly/bin.xml deleted file mode 100644 index fdcc421f2f..0000000000 --- a/java/sca-contrib/distribution/manager/src/main/assembly/bin.xml +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - true - tuscany-sca-2.0-SNAPSHOT - - - zip - - - - ../core/src/main/components/bin-common.xml - ../core/src/main/components/bin-modules.xml - src/main/components/bin-samples.xml - - diff --git a/java/sca-contrib/distribution/manager/src/main/assembly/src.xml b/java/sca-contrib/distribution/manager/src/main/assembly/src.xml deleted file mode 100644 index af3cb8e6fc..0000000000 --- a/java/sca-contrib/distribution/manager/src/main/assembly/src.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - - src - true - tuscany-sca-2.0-SNAPSHOT-src - - - zip - - - - ../core/src/main/components/src-common.xml - src/main/components/src-modules.xml - - diff --git a/java/sca-contrib/distribution/manager/src/main/components/bin-samples.xml b/java/sca-contrib/distribution/manager/src/main/components/bin-samples.xml deleted file mode 100644 index d4b13c42e0..0000000000 --- a/java/sca-contrib/distribution/manager/src/main/components/bin-samples.xml +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - ../../../samples - samples - - domain-management/**/* - - - - **/.* - **/.*/** - **/*.log - - - pom.xml - **/target - **/target/**/* - - - - diff --git a/java/sca-contrib/distribution/manager/src/main/components/src-modules.xml b/java/sca-contrib/distribution/manager/src/main/components/src-modules.xml deleted file mode 100644 index 3437db9cc5..0000000000 --- a/java/sca-contrib/distribution/manager/src/main/components/src-modules.xml +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - - ../../../modules - modules - - assembly/**/* - assembly-xml/**/* - assembly-xsd/**/* - binding-atom/**/* - binding-atom-abdera/**/* - binding-corba/**/* - binding-corba-runtime/**/* - binding-ejb/**/* - binding-http/**/* - binding-http-runtime/**/* - binding-jsonrpc/**/* - binding-rmi/**/* - binding-rss/**/* - binding-sca/**/* - binding-sca-xml/**/* - binding-ws/**/* - binding-ws-wsdlgen/**/* - binding-ws-xml/**/* - contribution/**/* - contribution-impl/**/* - contribution-java/**/* - contribution-namespace/**/* - contribution-resource/**/* - contribution-xml/**/* - core/**/* - core-databinding/**/* - core-spi/**/* - data-api/**/* - databinding/**/* - databinding-jaxb/**/* - definitions/**/* - definitions-xml/**/* - distribution-core/**/* - domain-manager/**/* - endpoint/**/* - extensibility/**/* - extensibility-equinox/**/* - host-corba/**/* - host-corba-jse/**/* - host-http/**/* - host-jetty/**/* - implementation-bpel/**/* - implementation-ejb/**/* - implementation-java/**/* - implementation-java-runtime/**/* - implementation-java-xml/**/* - implementation-node/**/* - implementation-node-runtime/**/* - implementation-resource/**/* - implementation-widget/**/* - implementation-widget-runtime/**/* - interface/**/* - interface-java/**/* - interface-java-jaxws/**/* - interface-java-xml/**/* - interface-wsdl/**/* - interface-wsdl-xml/**/* - monitor/**/* - node-api/**/* - node-impl/**/* - node-launcher/**/* - node-launcher-equinox/**/* - node-launcher-webapp/**/* - node-manager/**/* - policy/**/* - policy-security/**/* - policy-security-jsr250/**/* - policy-security-ws/**/* - policy-xml/**/* - sca-api/**/* - workspace/**/* - workspace-impl/**/* - workspace-xml/**/* - xsd/**/* - xsd-xml/**/* - - - - **/.* - **/.*/** - **/*.log - - - pom.xml - **/target - **/target/**/* - - - - diff --git a/java/sca-contrib/distribution/manager/src/main/release/CHANGES b/java/sca-contrib/distribution/manager/src/main/release/CHANGES deleted file mode 100644 index 3de7358ec6..0000000000 --- a/java/sca-contrib/distribution/manager/src/main/release/CHANGES +++ /dev/null @@ -1,431 +0,0 @@ -Changes With Apache Tuscany SCA 1.2 (incubating) April 2008 -=========================================================== - -- Fix the following JIRA issues (http://issues.apache.org/jira/browse/TUSCANY): - * TUSCANY-2027 - * TUSCANY-1999 - * TUSCANY-2037 - * TUSCANY-2034 - * TUSCANY-2038 - * TUSCANY-2043 - * TUSCANY-2046 - * TUSCANY-2047 - * TUSCANY-2028 - * TUSCANY-1873 - * TUSCANY-2049 - * TUSCANY-2035 - * TUSCANY-1206 - * TUSCANY-2036 - * TUSCANY-1771 - * TUSCANY-2013 - * TUSCANY-1926 - * TUSCANY-1917 - * TUSCANY-1949 - * TUSCANY-1941 - * TUSCANY-2045 - * TUSCANY-2057 - * TUSCANY-2055 - * TUSCANY-2056 - * TUSCANY-2072 - * TUSCANY-2047 - * TUSCANY-2073 - * TUSCANY-1977 - * TUSCANY-2075 - * TUSCANY-1894 - * TUSCANY-2079 - * TUSCANY-2078 - * TUSCANY-2080 - * TUSCANY-2068 - * TUSCANY-1950 - * TUSCANY-2077 - * TUSCANY-2056 - * TUSCANY-2088 - * TUSCANY-2086 - * TUSCANY-2094 - * TUSCANY-2106 - - Features and/or Enhancements - - * Core - - Interceptor Enhancements - - Phase-based interceptor ordering to allow contribution of new interceptors and also define the order in witch they should be invoked - - Pass-by-reference SPI to allow interceptors to indicate if they support pass-by-reference - - PolicyProvider SPIs to allow extensions to plugin policy interceptors - - Support for JAXWS annotations and mapping of faults to Java exceptions according to JAXWS specification - - Improvement of contribution service to allow it to be used outside of the runtime environment - - Support for Contribution Import/Export resource - - Enhanced Distributed Domain story using Workspace - - Implementation of a SCA domain allowing a system administrator to manage contributions, composites and sca nodes that run these composites - - Set of core services providing management capabilities - - Administration web interface - - This is a work in progress and you can see it in action in samples/calculator-distributed. Other samples that use distributed operation are yet to move over to the workspace. - - Enhanced support for SCA Policy spec - - Ability to apply external policy definitions to a SCA composition - - Ability to spread policy definitions to multiple definitions.xml files available across the sca domain - - Bug fixes - - Improvements of http binding to support servlet components - - Enable Tuscany to run inside an OSGi runtime - - * Web 2.0 Extensions - - Enhancements to implementation.widget (support for properties) - - New atom binding based on Apache Abdera - - Refactoring of rss-rome binding - * Other Extensions - - Binding JMS - - greatly simplified the use of the JMS binding, support locating JMS resources from JNDI, and better compliance with the SCA JMS binding spec - - see the doc page for more details: http://incubator.apache.org/tuscany/sca-java-bindingjms.html - - Enhancements to Binding RMI - - Support shared RMI registry and use 999x as the ports in test case to avoid 1099 conflict - - Enhancements to Groovy extension - - Support for 'native' groovy classes - - Enhancements to OSGi bundle contributions - - Support Bundle URLs to be added as contributions - - * Tools - - Eclipse plugin providing a Tuscany runtime Library and Tuscany launcher in Eclipse environment - - An updatesite is also available to facilitate the plugin installation using the Eclipse update manager - - * Samples/Tutorial/Demos - - calculator-distributed migrated to use new Tuscany Distributed Workspace - - sample-calculator-ws-secure-webapp - - sample-helloworld-jms-webapp - - new jms samples - - improve bigbank demo to include support for policies - - tutorial store changes - - use of import/export - - development of contribution without requiring dependencies on the Tuscany runtime - - usage of new sca domain infrastructure - - * Testing - - Web Container Testing Framework integrated with (Tomcat, Jetty, Geronimo and Websphere) - - -Changes With Apache Tuscany SCA 1.1 (incubating) January 2008 -=============================================================== - -- Fix the following JIRA issues (http://issues.apache.org/jira/browse/TUSCANY): - * TUSCANY-1939 - * TUSCANY-1914 - * TUSCANY-1854 - * TUSCANY-1931 - * TUSCANY-1547 - * TUSCANY-1909 - * TUSCANY-1919 - * TUSCANY-1930 - * TUSCANY-1806 - * TUSCANY-1804 - * TUSCANY-1916 - * TUSCANY-1913 - * TUSCANY-1834 - * TUSCANY-1857 - * TUSCANY-1687 - * TUSCANY-1801 - * TUSCANY-1742 - * TUSCANY-1762 - * TUSCANY-1945 - * TUSCANY-1595 - * TUSCANY-1594 - * TUSCANY-1849 - * TUSCANY-1836 - * TUSCANY-1934 - * TUSCANY-1902 - * TUSCANY-1608 - * TUSCANY-1943 - * TUSCANY-1896 - * TUSCANY-1626 - * TUSCANY-1797 - * TUSCANY-1601 - * TUSCANY-1415 - -- Better JMS support - * binding.jms supporting point to point text based messaging only - * New SOAP/JMS sample (helloworld-ws-reference/service-jms) - -- Improvements in PolicyFramework Support - * Support for policy specifications on operation elements in a composite definition - * Separate sample (calculator-implementation-policies) to demonstrate use of Implementation Policies - (uses logging and JAAS Authentication) - -- Modeling of client side java script components - * See implementation.widget - -- Evolving support for doman API suggested by assembly spec including a standalone node and nodes running - connected together in a domain. This is still experimental. - -- Class loading and OSGI improvements - * Enable Tuscany to be run in a multi-classloader environment including inside OSGi. By default, - Tuscany continues to run using a single CLASSPATH-based classloader. - * Contributions no longer need to be in the CLASSPATH. All import/export dependencies across contributions should be - explicitly specified (as described in the spec). - -- JAXB based POJO transformations - -Changes With Apache Tuscany SCA 1.0.1 (incubating) November 2007 -================================================================ - -The Tuscany SCA Java 1.0.1 is mainly a bug-fix release. It also comes with some improvements as listed below. - -- Fix the following JIRA issues (http://issues.apache.org/jira/browse/TUSCANY): - * TUSCANY-1848 - * TUSCANY-1857 - * TUSCANY-1859 - * TUSCANY-1801 - * TUSCANY-1823 - * TUSCANY-1839 - * TUSCANY-1814 - * TUSCANY-1818 - * TUSCANY-1834 - * TUSCANY-1637 - * TUSCANY-1826 - * TUSCANY-1823 - * TUSCANY-1819 - * TUSCANY-1821 - * TUSCANY-1822 - * TUSCANY-1806 - * TUSCANY-1808 - * TUSCANY-1756 - * TUSCANY-1757 - -- Fix build issues with Maven 2.0.7 and JDK 6 - -- Reduce memory consumption for WSDLs that import large XSDs - -- Add more logging statements for better servicibility - -- Add an extension point to allow extensions to plug-in extension schemas. - -- Add a demo application to showcase XML integration story - -- Improve in databinding framework - * Add support for JSON Databindings and other refactoring - * Set databinding for introspected data type and enhance the checking of wrapper style - * Improve the tree-based XMLStreamReader and convert Bean & DOM to use this approach - * Add a tree-iterator based XMLStreamReader base impl - * Add default element info to java interface - * Rename Interface.setDefaultDataBinding to resetDataBinding - -- Limit the method injection to setters and allow the setter annotation to override field annotation - -- Evolving support in Intent and Policy handling - * Add support for policies in implementation - * Fix the algorithm for macthing policySets defined on bindings for the wire - * Add policy intent for implementation.java - * Extend java implementation type to recognize and apply policies, adding util support for this in Policy module - * Add policy module for logging - -- Evolving development in the SCA Domain/Node - -- Update NOTICE files with missing dependencies - - -Changes With Apache Tuscany SCA 1.0 (incubating) September 2007 -=============================================================== - -- Tuscany Java SCA now implements V1.0 of the core SCA - specifications - SCA Assembly Model V1.0 - SCA Java Common Annotations and APIs V1.0 - SCA Java Component Implementation V1.0 - SCA Web Services Binding V1.0 - Including callbacks, conversations and callable references - - -- Support for ws-security configurable in the web services binding - thro Tuscany SCA policy intents and policysets using the policy framework - introduced in the last release. - - Note : This release supports specifications of policies around axis2 - config params - see helloworld-ws-service-secure sample. The policy - intents that have been tested are authentication, integrity and - confidentiality. - There is no sample or test that exercises confidentiality since there - are some unresolved licensing issue around bouncycastle libraries. - However, users who are not encumbered by the bouncycastle license - restrictions can try the 'confidentiality' intent. See FAQ - - http://incubator.apache.org/tuscany/tuscany-sca-java-faq.html - - This release does not include support for WS-Policy - attachments in Tuscany Policysets for ws-security. - - -- An XQuery component implementation type - implementation-xquery - - -- A Databinding for converting data to and from nodes for XQuery - processing - databinding-saxon - - -- OSGI support has been extended to allow Tuscany contributions - packaged as OSGI bundles hence taking advantage of OSGI's bundle - loading an dependency management capabilities - - -- A BPEL component implementation type experimental implementation -based on SCA BPEL Client and Implementation V1.0. At the moment only -supports BPEL process as services. - implementation-bpel - - -- The distributed runtime implementation has been separated out - into - *) domain - *) node - It is now wrapped by a SCADomain interface as is the standalone - runtime. - - Note: This release does not include support for WebApp host deployment - for a distributed SCA Domain - - - -- The web service binding will now generate WSDL automatically - based on the service interface if no WSDL is provided - - -- A new "store" sample and associated document show how a - simple store front application can be constructed - samples/store - -- The following features of this release are still experimental: - - BPEL implementation type, integrating with Apache ODE - - OSGI implementation type, integrating with Apache Felix - - XQuery implementation type - - - -Changes With Apache Tuscany SCA 0.99 (incubating) August 2007 -============================================================= - -The following are the significant additions to release 0.99 -over and above all of what was offered in release 0.91. - -- A version of the default sca binding that works between - components runing in separate Java virtual machines - binding-sca-axis - -- A simple node implementation and a service discovery - function for running sca applications distributed - across more than one node - distributed - distributed-impl - -- integration with OSGi runtimes is now supported with - a new implementation-osgi component type - -- PUB/SUB interactions are now supported by using new - notification binding and implementation types, and - samples demonstrating the feature. - -- The Tuscany runtime now has a policy framework supporting - the SCA policy specification - -- the endpoint URIs used by SCA bindings has been rationalized - and now follows the SCA Assembly specification - -- binding-ajax has been renamed to binding-dwr - -Changes With Apache Tuscany SCA 0.91 (incubating) July 2007 -=========================================================== - -The following are the significant additions to release 0.91 -over and above all of what was offered in release 0.90. - - -- Enhancements to support multiple contributions to the SCA Domain - -- The inclusion of a alternative simplified extensions-helper -SPI layer to faciliate rapid development of extensions - -- More Implementation Extenstions - Spring - WebResource - -- More Binding Extensions - AJAX - EJB - RSS/ATOM Feeds - -- Demos that demonstrate the use of a mix of extensions - alert-aggregator-webapp - bigbank-account - bigbank-calculator - bigbank-stockquote - - -- Samples - Samples to demostrate use of Spring, Resource, AJAX extensions - -Changes With Apache Tuscany SCA 0.90 (incubating) June 2007 -=========================================================== - -- Implementations for all of the Java Annotations and API Specification V1.0 found at - (http://www.osoa.org/display/Main/Service+Component+Architecture+Specifications) - apart from the following. - @ComponentName - Conversation - RequestContext - -- New assembly model implementation taking into account SCA 1.0 artifacts - Data duplication between assembly model and runtime removed - -- Simple single process domain support - Contribution support to scope items being deployed into the runtime - -- Improved Package/Class naming consistency across modules - -- Extensions now loaded via Java service mechanism - Refactored extensions to use new SPIs (see below) - -- Maven and Ant based sample builds in the binary distribution - -- Implementation Extensions - Java - Script supporting (Ruby, Python, Groovy, JavaScript) - -- Binding Extensions - Axis2 - RMI - JSONRPC - --Databinding Extensions - Axiom - JAXB - SDO - -- Host environments - Embedded - Tomcat - Jetty - RMI - -- A clear set of SPIs intended to be stable over future releases - SCA assembly model - org.apache.tuscany.sca.assembly - org.apache.tuscany.sca.interfacedef - org.apache.tuscany.sca.interfacedef.java - org.apache.tuscany.sca.interfacedef.wsdl - org.apache.tuscany.sca.policy - - SCA contribution model - org.apache.tuscany.sca.contribution - - Runtime extensions - org.apache.tuscany.sca.core - org.apache.tuscany.sca.invocation - org.apache.tuscany.sca.provider - org.apache.tuscany.sca.runtime - org.apache.tuscany.sca.work - - Data binding support - org.apache.tuscany.sca.databinding - - Embedding Tuscany - org.apache.tuscany.sca.host.embedded - - Servlet container integration - org.apache.tuscany.sca.http - -- For this point release a partial set of JavaDoc is provided to - be filled out as we close on release 1.0 diff --git a/java/sca-contrib/distribution/manager/src/main/release/README b/java/sca-contrib/distribution/manager/src/main/release/README deleted file mode 100644 index 4d83dcfde9..0000000000 --- a/java/sca-contrib/distribution/manager/src/main/release/README +++ /dev/null @@ -1,19 +0,0 @@ -Apache Tuscany SCA 1.2 (incubating) April 2008 README -===================================================== - -Welcome to the Tuscany SCA 1.2 release. - -See the RELEASE_NOTES file for information specific to this release. - -In the binary release see the INSTALL file for information on how to -install the release. - -In the source distribution see the BUILDING file for information on -building the source code. - - - - - - - diff --git a/java/sca-contrib/distribution/manager/src/main/release/RELEASE_NOTES b/java/sca-contrib/distribution/manager/src/main/release/RELEASE_NOTES deleted file mode 100644 index a04ef5c553..0000000000 --- a/java/sca-contrib/distribution/manager/src/main/release/RELEASE_NOTES +++ /dev/null @@ -1,83 +0,0 @@ -Apache Tuscany SCA 1.2 (incubating) April 2008 Release Notes -============================================================ - -Apache Tuscany provides a runtime based on the Service Component -Architecture. SCA is a set of specifications aimed at simplifying SOA -Application Development which are being standardized at OASIS as part -of Open Composite Services Architecture (Open CSA) - http://www.oasis-opencsa.org/. - -Overview --------- - - The Apache Tuscany SCA 1.2 release includes implementations of the - main SCA specifications including: - - SCA Assembly Model V1.0 - SCA Policy Framework V1.0 - SCA Java Common Annotations and APIs V1.0 - SCA Java Component Implementation V1.0 - SCA Spring Component Implementation V1.0 - SCA BPEL Client and Implementation V1.0 - SCA Web Services Binding V1.0 - SCA EJB Session Bean Binding V1.0 - - It also includes implementations of many features not yet defined - by SCA specifications, including: - - - SCA bindings for Direct Web Remoting, RSS and ATOM Feeds, - HTTP resources, JSON-RPC, PUB/SUB Notifications, and RMI. - - SCA implementation types for OSGI, XQuery, BPEL, Widget and various - dynamic languages including Groovy, Javascript, Python and Ruby - - Databindings for Service Data Objects (SDO), JAXB, XmlBeans, - Axis2's AXIOM, JSON, SAXON, DOM, SAX and StAX - - The Tuscany SCA Runtime can be configured as a single node SCA domain or - as an SCA domain distributed across multiple nodes. - In addition Tuscany SCA supports the following host-deployment options: - - - running standalone - - running with distributed nodes across multiple JVMs - - running with embedded Jetty or Tomcat - - running as part of a standard web application - - The Wepapp samples included in this release have been tried and tested on - - Tomcat 5.5.20 and Tomcat 6.0.14 - - Jetty 6.1.3 - - Geronimo 2.0.2 Tomcat6 jee5 - - WebSphere 6.1 fix pack 9 - -See the CHANGES file for a detailed list of the features in this release. - -Support -------- - -For more information on Apache Tuscany visit the website at: - - http://incubator.apache.org/tuscany/ - -Any issues with this release can be reported to Apache Tuscany -using the mailing lists or in the JIRA issue tracker. - - Mailing list archives: - - http://mail-archives.apache.org/mod_mbox/ws-tuscany-user/ - http://mail-archives.apache.org/mod_mbox/ws-tuscany-dev/ - - Jira: - - http://issues.apache.org/jira/browse/TUSCANY - -To join the project's mailing lists follow the instructions at: - - http://incubator.apache.org/tuscany/mailing-lists.html - -To find out more about OASIS Open CSA go to: - - http://www.oasis-opencsa.org. - -Apache Tuscany welcomes your help. Any contribution, including code, -testing, improving the documentation, or bug reporting is always -appreciated. - -Thank you for using Apache Tuscany! - -- The Tuscany Team. diff --git a/java/sca-contrib/distribution/manager/src/main/release/bin/INSTALL b/java/sca-contrib/distribution/manager/src/main/release/bin/INSTALL deleted file mode 100644 index 2da53a2b44..0000000000 --- a/java/sca-contrib/distribution/manager/src/main/release/bin/INSTALL +++ /dev/null @@ -1,27 +0,0 @@ -Installing the Apache Tuscany SCA 1.2 (incubating) April 2008 Release binary distribution -========================================================================================= - -Unzip Tuscany binary distribution archive and you get the following: - -tuscany-sca-1.1-incubating - DISCLAIMER - the ASF incubation disclaimer - INSTALL - this help file - LICENSE - the Apache License and any dependecy licenses - NOTICE - attribution notices associated with the licenses - README - readme for the release - RELEASE_NOTES - description of this release - CHANGES - A note of the major changes in this release - - /demos - Demo applications showcasing the use of Apache Tuscany - - /lib - The tuscany-sca-all and tuscany-sca-manifest jars and all their dependencies - - /modules - all of the individual Tuscany jars - - /samples - all the Tuscany samples, see the README in that directory - - /tutorial - The store tutorial, see the README in that directory - - - - diff --git a/java/sca-contrib/distribution/manager/src/main/release/bin/LICENSE b/java/sca-contrib/distribution/manager/src/main/release/bin/LICENSE deleted file mode 100644 index 5e1f585d46..0000000000 --- a/java/sca-contrib/distribution/manager/src/main/release/bin/LICENSE +++ /dev/null @@ -1,2366 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - -=============================================================================== - -APACHE TUSCANY SUBCOMPONENTS: - -The Apache Tuscany binary distribution includes a number of subcomponents -with separate copyright notices and license terms. Your use of the -code for the these subcomponents is subject to the terms and -conditions of the following licenses. - -=============================================================================== - -The following components come under Apache Software License 1.1 - - commons-discovery-0.2.jar - commons-primitives-1.0.jar - -The following components come under Apache Software License 2.0 - - abdera-core-0.3.0-incubating.jar - abdera-i18n-0.3.0-incubating.jar - abdera-parser-0.3.0-incubating.jar - activeio-2.0-r118.jar - activeio-core-3.0.0-incubator.jar - apache-activemq-4.1.1.jar - addressing-1.3.mar - annogen-0.1.0.jar - annotations-api-6.0.14.jar - aopalliance-1.0.jar - axiom-api-1.2.5.jar - axiom-dom-1.2.5.jar - axiom-impl-1.2.5.jar - axis2-adb-1.3.jar - axis2-codegen-1.3.jar - axis2-java2wsdl-1.3.jar - axis2-kernel-1.3.jar - axis2-mtompolicy-1.3.jar - bsf-all-3.0-beta2.jar - catalina-6.0.14.jar - cglib-nodep-2.1_3.jar - commons-collections-3.1.jar - commons-codec-1.3.jar - commons-fileupload-1.1.1.jar - commons-httpclient-3.0.1.jar - commons-io-1.2.jar - commons-jexl-1.1.jar - commons-lang-2.1.jar - commons-logging-1.1.jar - coyote-6.0.14.jar - derby-10.1.3.1.jar - geronimo-activation_1.1_spec-1.0-M1.jar - geronimo-common-1.2-beta.jar - geronimo-commonj_1.1_spec-1.0.jar - geronimo-connector-1.2-beta.jar - geronimo-core-1.2-beta.jar - geronimo-deployment-1.2-beta.jar - geronimo-ejb_3.0_spec-1.0.jar - geronimo-interceptor-1.2-beta.jar - geronimo-j2ee-1.2-beta.jar - geronimo-j2ee-connector_1.5_spec-1.1.jar - geronimo-j2ee-jacc_1.0_spec-1.1.jar - geronimo-j2ee-management_1.0_spec-1.1.jar - geronimo-javamail_1.4_spec-1.0-M1.jar - geronimo-jms_1.1_spec-1.1.jar - geronimo-jpa_3.0_spec-1.0.jar - geronimo-jta_1.0.1B_spec-1.0.jar - geronimo-kernel-1.2-beta.jar - geronimo-management-1.2-beta.jar - geronimo-naming-1.2-beta.jar - geronimo-security-1.2-beta.jar - geronimo-spec-j2ee-connector-1.5-rc4.jar - geronimo-spec-jta-1.0.1B-rc4.jar - geronimo-system-1.2-beta.jar - geronimo-transaction-1.2-beta.jar - geronimo-util-1.2-beta.jar - httpcore-4.0-alpha5.jar - httpcore-nio-4.0-alpha5.jar - httpcore-niossl-4.0-alpha5.jar - jettison-1.0-RC2.jar - jetty-6.1.7.jar - jetty-util-6.1.7.jar - json-rpc-1.0.jar - juli-6.0.14.jar - log4j-1.2.12.jar - logkit-1.0.1.jar - neethi-2.0.2.jar - ode-bpel-api-1.1.jar - ode-bpel-compiler-1.1.jar - ode-bpel-dao-1.1.jar - ode-bpel-epr-1.1.jar - ode-bpel-obj-1.1.jar - ode-bpel-runtime-1.1.jar - ode-bpel-schemas-1.1.jar - ode-bpel-store-1.1.jar - ode-dao-jpa-1.1.jar - ode-dao-jpa-ojpa-derby-1.1.zip - ode-jacob-1.1.jar - ode-jacob-ap-1.1.jar - ode-scheduler-simple-1.1.jar - ode-utils-1.1.jar - openjpa-all-0.9.7-incubating.jar - openjpa-persistence-0.9.7-incubating.jar - org.apache.felix.bundlerepository-1.0.2.jar - org.apache.felix.framework-1.0.3.jar - org.apache.felix.main-1.0.3.jar - org.apache.felix.shell-1.0.0.jar - org.apache.felix.shell.tui-1.0.0.jar - rampart-core-1.3.jar - rampart-policy-1.3.jar - rampart-trust-1.3.jar - regexp-1.3.jar - spring-beans-2.0.6.jar - spring-context-2.0.6.jar - spring-core-2.0.6.jar - tranql-connector-1.1.jar - tuscany-sdo-api-r2.1-1.0-incubating.jar - tuscany-sdo-impl-1.0-incubating.jar - tuscany-sdo-lib-1.0-incubating.jar - tuscany-sdo-tools-1.0-incubating.jar - woden-1.0-incubating-M7b.jar - wss4j-1.5.3.jar - wstx-asl-3.2.1.jar - xalan-2.7.0.jar - xbean-naming-2.7.jar - xercesImpl-2.8.1.jar - xml-apis-1.3.03.jar - xmlbeans-2.3.0.jar - xml-resolver-1.1.jar - xmlsec-1.4.0.jar - XmlSchema-1.3.2.jar - -=============================================================================== -axion-1.0-M3-dev.jar - -Copyright (c) 2002-2003 Axion Development Team. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above - copyright notice, this list of conditions and the following - disclaimer. - -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - -3. The names "Tigris", "Axion", nor the names of its contributors may - not be used to endorse or promote products derived from this - software without specific prior written permission. - -4. Products derived from this software may not be called "Axion", nor - may "Tigris" or "Axion" appear in their names without specific prior - written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A -PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -The "Axion Development Team" is defined to be: - - * Chuck Burdick - * James Burke - * Morgan Delagrange - * Geir Magnusson Jr. - * Martin Poeschl - * Steve Polyak - * Daniel Rall - * Ahimanikya Satapathy - * Doug Sale - * James Strachan - * Rodney Waldhoff - * Jason van Zyl - -License changes are to be determined by a simple majority vote of the -Axion Development Team. - -=============================================================================== -dom4j-1.6.1.jar - -Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved. - -Redistribution and use of this software and associated documentation -("Software"), with or without modification, are permitted provided -that the following conditions are met: - -1. Redistributions of source code must retain copyright - statements and notices. Redistributions must also contain a - copy of this document. - -2. Redistributions in binary form must reproduce the - above copyright notice, this list of conditions and the - following disclaimer in the documentation and/or other - materials provided with the distribution. - -3. The name "DOM4J" must not be used to endorse or promote - products derived from this Software without prior written - permission of MetaStuff, Ltd. For written permission, - please contact dom4j-info@metastuff.com. - -4. Products derived from this Software may not be called "DOM4J" - nor may "DOM4J" appear in their names without prior written - permission of MetaStuff, Ltd. DOM4J is a registered - trademark of MetaStuff, Ltd. - -5. Due credit should be given to the DOM4J Project - - http://www.dom4j.org - -THIS SOFTWARE IS PROVIDED BY METASTUFF, LTD. AND CONTRIBUTORS -``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT -NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND -FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL -METASTUFF, LTD. OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED -OF THE POSSIBILITY OF SUCH DAMAGE. - -=============================================================================== - -The EMF jars; - codegen-2.2.3.jar - codegen-ecore-2.2.3.jar - common-2.2.3.jar - ecore-2.2.3.jar - ecore-change-2.2.3.jar - ecore-xmi-2.2.3.jar - xsd-2.2.3.jar - -Eclipse Public License - v 1.0 - -THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE -PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF -THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. - -1. DEFINITIONS - -"Contribution" means: - -a) in the case of the initial Contributor, the initial code and -documentation distributed under this Agreement, and -b) in the case of each subsequent Contributor: - -i) changes to the Program, and - -ii) additions to the Program; - -where such changes and/or additions to the Program originate from and -are distributed by that particular Contributor. A Contribution -'originates' from a Contributor if it was added to the Program by such -Contributor itself or anyone acting on such Contributor's behalf. -Contributions do not include additions to the Program which: (i) are -separate modules of software distributed in conjunction with the -Program under their own license agreement, and (ii) are not derivative -works of the Program. - -"Contributor" means any person or entity that distributes the Program. - -"Licensed Patents " mean patent claims licensable by a Contributor -which are necessarily infringed by the use or sale of its Contribution -alone or when combined with the Program. - -"Program" means the Contributions distributed in accordance with this -Agreement. - -"Recipient" means anyone who receives the Program under this -Agreement, including all Contributors. - -2. GRANT OF RIGHTS - -a) Subject to the terms of this Agreement, each Contributor hereby -grants Recipient a non-exclusive, worldwide, royalty-free copyright -license to reproduce, prepare derivative works of, publicly display, -publicly perform, distribute and sublicense the Contribution of such -Contributor, if any, and such derivative works, in source code and -object code form. - -b) Subject to the terms of this Agreement, each Contributor hereby -grants Recipient a non-exclusive, worldwide, royalty-free patent -license under Licensed Patents to make, use, sell, offer to sell, -import and otherwise transfer the Contribution of such Contributor, if -any, in source code and object code form. This patent license shall -apply to the combination of the Contribution and the Program if, at -the time the Contribution is added by the Contributor, such addition -of the Contribution causes such combination to be covered by the -Licensed Patents. The patent license shall not apply to any other -combinations which include the Contribution. No hardware per se is -licensed hereunder. - -c) Recipient understands that although each Contributor grants the -licenses to its Contributions set forth herein, no assurances are -provided by any Contributor that the Program does not infringe the -patent or other intellectual property rights of any other entity. Each -Contributor disclaims any liability to Recipient for claims brought by -any other entity based on infringement of intellectual property rights -or otherwise. As a condition to exercising the rights and licenses -granted hereunder, each Recipient hereby assumes sole responsibility -to secure any other intellectual property rights needed, if any. For -example, if a third party patent license is required to allow -Recipient to distribute the Program, it is Recipient's responsibility -to acquire that license before distributing the Program. - -d) Each Contributor represents that to its knowledge it has sufficient -copyright rights in its Contribution, if any, to grant the copyright -license set forth in this Agreement. - -3. REQUIREMENTS - -A Contributor may choose to distribute the Program in object code form -under its own license agreement, provided that: - -a) it complies with the terms and conditions of this Agreement; and - -b) its license agreement: - -i) effectively disclaims on behalf of all Contributors all warranties -and conditions, express and implied, including warranties or -conditions of title and non-infringement, and implied warranties or -conditions of merchantability and fitness for a particular purpose; - -ii) effectively excludes on behalf of all Contributors all liability -for damages, including direct, indirect, special, incidental and -consequential damages, such as lost profits; - -iii) states that any provisions which differ from this Agreement are -offered by that Contributor alone and not by any other party; and - -iv) states that source code for the Program is available from such -Contributor, and informs licensees how to obtain it in a reasonable -manner on or through a medium customarily used for software exchange. - -When the Program is made available in source code form: - -a) it must be made available under this Agreement; and - -b) a copy of this Agreement must be included with each copy of the -Program. - -Contributors may not remove or alter any copyright notices contained -within the Program. - -Each Contributor must identify itself as the originator of its -Contribution, if any, in a manner that reasonably allows subsequent -Recipients to identify the originator of the Contribution. - -4. COMMERCIAL DISTRIBUTION - -Commercial distributors of software may accept certain -responsibilities with respect to end users, business partners and the -like. While this license is intended to facilitate the commercial use -of the Program, the Contributor who includes the Program in a -commercial product offering should do so in a manner which does not -create potential liability for other Contributors. Therefore, if a -Contributor includes the Program in a commercial product offering, -such Contributor ("Commercial Contributor") hereby agrees to defend -and indemnify every other Contributor ("Indemnified Contributor") -against any losses, damages and costs (collectively "Losses") arising -from claims, lawsuits and other legal actions brought by a third party -against the Indemnified Contributor to the extent caused by the acts -or omissions of such Commercial Contributor in connection with its -distribution of the Program in a commercial product offering. The -obligations in this section do not apply to any claims or Losses -relating to any actual or alleged intellectual property infringement. -In order to qualify, an Indemnified Contributor must: a) promptly -notify the Commercial Contributor in writing of such claim, and b) -allow the Commercial Contributor to control, and cooperate with the -Commercial Contributor in, the defense and any related settlement -negotiations. The Indemnified Contributor may participate in any such -claim at its own expense. - -For example, a Contributor might include the Program in a commercial -product offering, Product X. That Contributor is then a Commercial -Contributor. If that Commercial Contributor then makes performance -claims, or offers warranties related to Product X, those performance -claims and warranties are such Commercial Contributor's responsibility -alone. Under this section, the Commercial Contributor would have to -defend claims against the other Contributors related to those -performance claims and warranties, and if a court requires any other -Contributor to pay any damages as a result, the Commercial Contributor -must pay those damages. - -5. NO WARRANTY - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS -PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY -OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely -responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement , including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -6. DISCLAIMER OF LIABILITY - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -7. GENERAL - -If any provision of this Agreement is invalid or unenforceable under -applicable law, it shall not affect the validity or enforceability of -the remainder of the terms of this Agreement, and without further -action by the parties hereto, such provision shall be reformed to the -minimum extent necessary to make such provision valid and enforceable. - -If Recipient institutes patent litigation against any entity -(including a cross-claim or counterclaim in a lawsuit) alleging that -the Program itself (excluding combinations of the Program with other -software or hardware) infringes such Recipient's patent(s), then such -Recipient's rights granted under Section 2(b) shall terminate as of -the date such litigation is filed. - -All Recipient's rights under this Agreement shall terminate if it -fails to comply with any of the material terms or conditions of this -Agreement and does not cure such failure in a reasonable period of -time after becoming aware of such noncompliance. If all Recipient's -rights under this Agreement terminate, Recipient agrees to cease use -and distribution of the Program as soon as reasonably practicable. -However, Recipient's obligations under this Agreement and any licenses -granted by Recipient relating to the Program shall continue and -survive. - -Everyone is permitted to copy and distribute copies of this Agreement, -but in order to avoid inconsistency the Agreement is copyrighted and -may only be modified in the following manner. The Agreement Steward -reserves the right to publish new versions (including revisions) of -this Agreement from time to time. No one other than the Agreement -Steward has the right to modify this Agreement. The Eclipse Foundation -is the initial Agreement Steward. The Eclipse Foundation may assign -the responsibility to serve as the Agreement Steward to a suitable -separate entity. Each new version of the Agreement will be given a -distinguishing version number. The Program (including Contributions) -may always be distributed subject to the version of the Agreement -under which it was received. In addition, after a new version of the -Agreement is published, Contributor may elect to distribute the -Program (including its Contributions) under the new version. Except as -expressly stated in Sections 2(a) and 2(b) above, Recipient receives -no rights or licenses to the intellectual property of any Contributor -under this Agreement, whether expressly, by implication, estoppel or -otherwise. All rights in the Program not expressly granted under this -Agreement are reserved. - -This Agreement is governed by the laws of the State of New York and -the intellectual property laws of the United States of America. No -party to this Agreement will bring a legal action under this Agreement -more than one year after the cause of action arose. Each party waives -its rights to a jury trial in any resulting litigation. - -=============================================================================== -For Saxon including - saxon-8.7.jar - saxon-dom-8.7.jar - saxon-xpath-8.7.jar - - MOZILLA PUBLIC LICENSE -Version 1.0 - -1. Definitions. - - 1.1. ``Contributor'' means each entity that creates or contributes to the creation of Modifications. - - 1.2. ``Contributor Version'' means the combination of the Original Code, prior Modifications used by a Contributor, and the Modifications made by that particular Contributor. - - 1.3. ``Covered Code'' means the Original Code or Modifications or the combination of the Original Code and Modifications, in each case including portions thereof. - - 1.4. ``Electronic Distribution Mechanism'' means a mechanism generally accepted in the software development community for the electronic transfer of data. - - 1.5. ``Executable'' means Covered Code in any form other than Source Code. - - 1.6. ``Initial Developer'' means the individual or entity identified as the Initial Developer in the Source Code notice required by Exhibit A. - - 1.7. ``Larger Work'' means a work which combines Covered Code or portions thereof with code not governed by the terms of this License. - - 1.8. ``License'' means this document. - - 1.9. ``Modifications'' means any addition to or deletion from the substance or structure of either the Original Code or any previous Modifications. When Covered Code is released as a series of files, a Modification is: - - A. Any addition to or deletion from the contents of a file containing Original Code or previous Modifications. - - B. Any new file that contains any part of the Original Code or previous Modifications. - - 1.10. ``Original Code'' means Source Code of computer software code which is described in the Source Code notice required by Exhibit A as Original Code, and which, at the time of its release under this License is not already Covered Code governed by this License. - - 1.11. ``Source Code'' means the preferred form of the Covered Code for making modifications to it, including all modules it contains, plus any associated interface definition files, scripts used to control compilation and installation of an Executable, or a list of source code differential comparisons against either the Original Code or another well known, available Covered Code of the Contributor's choice. The Source Code can be in a compressed or archival form, provided the appropriate decompression or de-archiving software is widely available for no charge. - - 1.12. ``You'' means an individual or a legal entity exercising rights under, and complying with all of the terms of, this License or a future version of this License issued under Section 6.1. For legal entities, ``You'' includes any entity which controls, is controlled by, or is under common control with You. For purposes of this definition, ``control'' means (a) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (b) ownership of fifty percent (50%) or more of the outstanding shares or beneficial ownership of such entity. - -2. Source Code License. - - 2.1. The Initial Developer Grant. - The Initial Developer hereby grants You a world-wide, royalty-free, non-exclusive license, subject to third party intellectual property claims: - - (a) to use, reproduce, modify, display, perform, sublicense and distribute the Original Code (or portions thereof) with or without Modifications, or as part of a Larger Work; and - - (b) under patents now or hereafter owned or controlled by Initial Developer, to make, have made, use and sell (``Utilize'') the Original Code (or portions thereof), but solely to the extent that any such patent is reasonably necessary to enable You to Utilize the Original Code (or portions thereof) and not to any greater extent that may be necessary to Utilize further Modifications or combinations. - - 2.2. Contributor Grant. - Each Contributor hereby grants You a world-wide, royalty-free, non-exclusive license, subject to third party intellectual property claims: - - (a) to use, reproduce, modify, display, perform, sublicense and distribute the Modifications created by such Contributor (or portions thereof) either on an unmodified basis, with other Modifications, as Covered Code or as part of a Larger Work; and - - (b) under patents now or hereafter owned or controlled by Contributor, to Utilize the Contributor Version (or portions thereof), but solely to the extent that any such patent is reasonably necessary to enable You to Utilize the Contributor Version (or portions thereof), and not to any greater extent that may be necessary to Utilize further Modifications or combinations. - -3. Distribution Obligations. - - 3.1. Application of License. - The Modifications which You create or to which You contribute are governed by the terms of this License, including without limitation Section 2.2. The Source Code version of Covered Code may be distributed only under the terms of this License or a future version of this License released under Section 6.1, and You must include a copy of this License with every copy of the Source Code You distribute. You may not offer or impose any terms on any Source Code version that alters or restricts the applicable version of this License or the recipients' rights hereunder. However, You may include an additional document offering the additional rights described in Section 3.5. - - 3.2. Availability of Source Code. - Any Modification which You create or to which You contribute must be made available in Source Code form under the terms of this License either on the same media as an Executable version or via an accepted Electronic Distribution Mechanism to anyone to whom you made an Executable version available; and if made available via Electronic Distribution Mechanism, must remain available for at least twelve (12) months after the date it initially became available, or at least six (6) months after a subsequent version of that particular Modification has been made available to such recipients. You are responsible for ensuring that the Source Code version remains available even if the Electronic Distribution Mechanism is maintained by a third party. - - 3.3. Description of Modifications. - You must cause all Covered Code to which you contribute to contain a file documenting the changes You made to create that Covered Code and the date of any change. You must include a prominent statement that the Modification is derived, directly or indirectly, from Original Code provided by the Initial Developer and including the name of the Initial Developer in (a) the Source Code, and (b) in any notice in an Executable version or related documentation in which You describe the origin or ownership of the Covered Code. - - 3.4. Intellectual Property Matters - - (a) Third Party Claims. - If You have knowledge that a party claims an intellectual property right in particular functionality or code (or its utilization under this License), you must include a text file with the source code distribution titled ``LEGAL'' which describes the claim and the party making the claim in sufficient detail that a recipient will know whom to contact. If you obtain such knowledge after You make Your Modification available as described in Section 3.2, You shall promptly modify the LEGAL file in all copies You make available thereafter and shall take other steps (such as notifying appropriate mailing lists or newsgroups) reasonably calculated to inform those who received the Covered Code that new knowledge has been obtained. - - (b) Contributor APIs. - If Your Modification is an application programming interface and You own or control patents which are reasonably necessary to implement that API, you must also include this information in the LEGAL file. - - 3.5. Required Notices. - You must duplicate the notice in Exhibit A in each file of the Source Code, and this License in any documentation for the Source Code, where You describe recipients' rights relating to Covered Code. If You created one or more Modification(s), You may add your name as a Contributor to the notice described in Exhibit A. If it is not possible to put such notice in a particular Source Code file due to its structure, then you must include such notice in a location (such as a relevant directory file) where a user would be likely to look for such a notice. You may choose to offer, and to charge a fee for, warranty, support, indemnity or liability obligations to one or more recipients of Covered Code. However, You may do so only on Your own behalf, and not on behalf of the Initial Developer or any Contributor. You must make it absolutely clear than any such warranty, support, indemnity or liability obligation is offered by You alone, and You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of warranty, support, indemnity or liability terms You offer. - - 3.6. Distribution of Executable Versions. - You may distribute Covered Code in Executable form only if the requirements of Section 3.1-3.5 have been met for that Covered Code, and if You include a notice stating that the Source Code version of the Covered Code is available under the terms of this License, including a description of how and where You have fulfilled the obligations of Section 3.2. The notice must be conspicuously included in any notice in an Executable version, related documentation or collateral in which You describe recipients' rights relating to the Covered Code. You may distribute the Executable version of Covered Code under a license of Your choice, which may contain terms different from this License, provided that You are in compliance with the terms of this License and that the license for the Executable version does not attempt to limit or alter the recipient's rights in the Source Code version from the rights set forth in this License. If You distribute the Executable version under a different license You must make it absolutely clear that any terms which differ from this License are offered by You alone, not by the Initial Developer or any Contributor. You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of any such terms You offer. - - 3.7. Larger Works. - You may create a Larger Work by combining Covered Code with other code not governed by the terms of this License and distribute the Larger Work as a single product. In such a case, You must make sure the requirements of this License are fulfilled for the Covered Code. - -4. Inability to Comply Due to Statute or Regulation. - - If it is impossible for You to comply with any of the terms of this License with respect to some or all of the Covered Code due to statute or regulation then You must: (a) comply with the terms of this License to the maximum extent possible; and (b) describe the limitations and the code they affect. Such description must be included in the LEGAL file described in Section 3.4 and must be included with all distributions of the Source Code. Except to the extent prohibited by statute or regulation, such description must be sufficiently detailed for a recipient of ordinary skill to be able to understand it. - -5. Application of this License. - - This License applies to code to which the Initial Developer has attached the notice in Exhibit A, and to related Covered Code. - -6. Versions of the License. - - 6.1. New Versions. - Netscape Communications Corporation (``Netscape'') may publish revised and/or new versions of the License from time to time. Each version will be given a distinguishing version number. - - 6.2. Effect of New Versions. - Once Covered Code has been published under a particular version of the License, You may always continue to use it under the terms of that version. You may also choose to use such Covered Code under the terms of any subsequent version of the License published by Netscape. No one other than Netscape has the right to modify the terms applicable to Covered Code created under this License. - - 6.3. Derivative Works. - If you create or use a modified version of this License (which you may only do in order to apply it to code which is not already Covered Code governed by this License), you must (a) rename Your license so that the phrases ``Mozilla'', ``MOZILLAPL'', ``MOZPL'', ``Netscape'', ``NPL'' or any confusingly similar phrase do not appear anywhere in your license and (b) otherwise make it clear that your version of the license contains terms which differ from the Mozilla Public License and Netscape Public License. (Filling in the name of the Initial Developer, Original Code or Contributor in the notice described in Exhibit A shall not of themselves be deemed to be modifications of this License.) - -7. DISCLAIMER OF WARRANTY. - - COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN ``AS IS'' BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. - -8. TERMINATION. - - This License and the rights granted hereunder will terminate automatically if You fail to comply with terms herein and fail to cure such breach within 30 days of becoming aware of the breach. All sublicenses to the Covered Code which are properly granted shall survive any termination of this License. Provisions which, by their nature, must remain in effect beyond the termination of this License shall survive. - -9. LIMITATION OF LIABILITY. - - UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL THE INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO YOU OR ANY OTHER PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THAT EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. - -10. U.S. GOVERNMENT END USERS. - - The Covered Code is a ``commercial item,'' as that term is defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of ``commercial computer software'' and ``commercial computer software documentation,'' as such terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all U.S. Government End Users acquire Covered Code with only those rights set forth herein. - -11. MISCELLANEOUS. - - This License represents the complete agreement concerning subject matter hereof. If any provision of this License is held to be unenforceable, such provision shall be reformed only to the extent necessary to make it enforceable. This License shall be governed by California law provisions (except to the extent applicable law, if any, provides otherwise), excluding its conflict-of-law provisions. With respect to disputes in which at least one party is a citizen of, or an entity chartered or registered to do business in, the United States of America: (a) unless otherwise agreed in writing, all disputes relating to this License (excepting any dispute relating to intellectual property rights) shall be subject to final and binding arbitration, with the losing party paying all costs of arbitration; (b) any arbitration relating to this Agreement shall be held in Santa Clara County, California, under the auspices of JAMS/EndDispute; and (c) any litigation relating to this Agreement shall be subject to the jurisdiction of the Federal Courts of the Northern District of California, with venue lying in Santa Clara County, California, with the losing party responsible for costs, including without limitation, court costs and reasonable attorneys fees and expenses. The application of the United Nations Convention on Contracts for the International Sale of Goods is expressly excluded. Any law or regulation which provides that the language of a contract shall be construed against the drafter shall not apply to this License. - -12. RESPONSIBILITY FOR CLAIMS. - - Except in cases where another Contributor has failed to comply with Section 3.4, You are responsible for damages arising, directly or indirectly, out of Your utilization of rights under this License, based on the number of copies of Covered Code you made available, the revenues you received from utilizing such rights, and other relevant factors. You agree to work with affected parties to distribute responsibility on an equitable basis. - -EXHIBIT A. - - ``The contents of this file are subject to the Mozilla Public License Version 1.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/ - - Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License. - - The Original Code is ______________________________________. - - The Initial Developer of the Original Code is ________________________. Portions created by ______________________ are Copyright (C) ______ _______________________. All Rights Reserved. - - Contributor(s): ______________________________________.'' - -=============================================================================== - -For the Rhino JavaScript engine js-1.6R7.jar: - - MOZILLA PUBLIC LICENSE - Version 1.1 - - --------------- - -1. Definitions. - - 1.0.1. "Commercial Use" means distribution or otherwise making the - Covered Code available to a third party. - - 1.1. "Contributor" means each entity that creates or contributes to - the creation of Modifications. - - 1.2. "Contributor Version" means the combination of the Original - Code, prior Modifications used by a Contributor, and the Modifications - made by that particular Contributor. - - 1.3. "Covered Code" means the Original Code or Modifications or the - combination of the Original Code and Modifications, in each case - including portions thereof. - - 1.4. "Electronic Distribution Mechanism" means a mechanism generally - accepted in the software development community for the electronic - transfer of data. - - 1.5. "Executable" means Covered Code in any form other than Source - Code. - - 1.6. "Initial Developer" means the individual or entity identified - as the Initial Developer in the Source Code notice required by Exhibit - A. - - 1.7. "Larger Work" means a work which combines Covered Code or - portions thereof with code not governed by the terms of this License. - - 1.8. "License" means this document. - - 1.8.1. "Licensable" means having the right to grant, to the maximum - extent possible, whether at the time of the initial grant or - subsequently acquired, any and all of the rights conveyed herein. - - 1.9. "Modifications" means any addition to or deletion from the - substance or structure of either the Original Code or any previous - Modifications. When Covered Code is released as a series of files, a - Modification is: - A. Any addition to or deletion from the contents of a file - containing Original Code or previous Modifications. - - B. Any new file that contains any part of the Original Code or - previous Modifications. - - 1.10. "Original Code" means Source Code of computer software code - which is described in the Source Code notice required by Exhibit A as - Original Code, and which, at the time of its release under this - License is not already Covered Code governed by this License. - - 1.10.1. "Patent Claims" means any patent claim(s), now owned or - hereafter acquired, including without limitation, method, process, - and apparatus claims, in any patent Licensable by grantor. - - 1.11. "Source Code" means the preferred form of the Covered Code for - making modifications to it, including all modules it contains, plus - any associated interface definition files, scripts used to control - compilation and installation of an Executable, or source code - differential comparisons against either the Original Code or another - well known, available Covered Code of the Contributor's choice. The - Source Code can be in a compressed or archival form, provided the - appropriate decompression or de-archiving software is widely available - for no charge. - - 1.12. "You" (or "Your") means an individual or a legal entity - exercising rights under, and complying with all of the terms of, this - License or a future version of this License issued under Section 6.1. - For legal entities, "You" includes any entity which controls, is - controlled by, or is under common control with You. For purposes of - this definition, "control" means (a) the power, direct or indirect, - to cause the direction or management of such entity, whether by - contract or otherwise, or (b) ownership of more than fifty percent - (50%) of the outstanding shares or beneficial ownership of such - entity. - -2. Source Code License. - - 2.1. The Initial Developer Grant. - The Initial Developer hereby grants You a world-wide, royalty-free, - non-exclusive license, subject to third party intellectual property - claims: - (a) under intellectual property rights (other than patent or - trademark) Licensable by Initial Developer to use, reproduce, - modify, display, perform, sublicense and distribute the Original - Code (or portions thereof) with or without Modifications, and/or - as part of a Larger Work; and - - (b) under Patents Claims infringed by the making, using or - selling of Original Code, to make, have made, use, practice, - sell, and offer for sale, and/or otherwise dispose of the - Original Code (or portions thereof). - - (c) the licenses granted in this Section 2.1(a) and (b) are - effective on the date Initial Developer first distributes - Original Code under the terms of this License. - - (d) Notwithstanding Section 2.1(b) above, no patent license is - granted: 1) for code that You delete from the Original Code; 2) - separate from the Original Code; or 3) for infringements caused - by: i) the modification of the Original Code or ii) the - combination of the Original Code with other software or devices. - - 2.2. Contributor Grant. - Subject to third party intellectual property claims, each Contributor - hereby grants You a world-wide, royalty-free, non-exclusive license - - (a) under intellectual property rights (other than patent or - trademark) Licensable by Contributor, to use, reproduce, modify, - display, perform, sublicense and distribute the Modifications - created by such Contributor (or portions thereof) either on an - unmodified basis, with other Modifications, as Covered Code - and/or as part of a Larger Work; and - - (b) under Patent Claims infringed by the making, using, or - selling of Modifications made by that Contributor either alone - and/or in combination with its Contributor Version (or portions - of such combination), to make, use, sell, offer for sale, have - made, and/or otherwise dispose of: 1) Modifications made by that - Contributor (or portions thereof); and 2) the combination of - Modifications made by that Contributor with its Contributor - Version (or portions of such combination). - - (c) the licenses granted in Sections 2.2(a) and 2.2(b) are - effective on the date Contributor first makes Commercial Use of - the Covered Code. - - (d) Notwithstanding Section 2.2(b) above, no patent license is - granted: 1) for any code that Contributor has deleted from the - Contributor Version; 2) separate from the Contributor Version; - 3) for infringements caused by: i) third party modifications of - Contributor Version or ii) the combination of Modifications made - by that Contributor with other software (except as part of the - Contributor Version) or other devices; or 4) under Patent Claims - infringed by Covered Code in the absence of Modifications made by - that Contributor. - -3. Distribution Obligations. - - 3.1. Application of License. - The Modifications which You create or to which You contribute are - governed by the terms of this License, including without limitation - Section 2.2. The Source Code version of Covered Code may be - distributed only under the terms of this License or a future version - of this License released under Section 6.1, and You must include a - copy of this License with every copy of the Source Code You - distribute. You may not offer or impose any terms on any Source Code - version that alters or restricts the applicable version of this - License or the recipients' rights hereunder. However, You may include - an additional document offering the additional rights described in - Section 3.5. - - 3.2. Availability of Source Code. - Any Modification which You create or to which You contribute must be - made available in Source Code form under the terms of this License - either on the same media as an Executable version or via an accepted - Electronic Distribution Mechanism to anyone to whom you made an - Executable version available; and if made available via Electronic - Distribution Mechanism, must remain available for at least twelve (12) - months after the date it initially became available, or at least six - (6) months after a subsequent version of that particular Modification - has been made available to such recipients. You are responsible for - ensuring that the Source Code version remains available even if the - Electronic Distribution Mechanism is maintained by a third party. - - 3.3. Description of Modifications. - You must cause all Covered Code to which You contribute to contain a - file documenting the changes You made to create that Covered Code and - the date of any change. You must include a prominent statement that - the Modification is derived, directly or indirectly, from Original - Code provided by the Initial Developer and including the name of the - Initial Developer in (a) the Source Code, and (b) in any notice in an - Executable version or related documentation in which You describe the - origin or ownership of the Covered Code. - - 3.4. Intellectual Property Matters - (a) Third Party Claims. - If Contributor has knowledge that a license under a third party's - intellectual property rights is required to exercise the rights - granted by such Contributor under Sections 2.1 or 2.2, - Contributor must include a text file with the Source Code - distribution titled "LEGAL" which describes the claim and the - party making the claim in sufficient detail that a recipient will - know whom to contact. If Contributor obtains such knowledge after - the Modification is made available as described in Section 3.2, - Contributor shall promptly modify the LEGAL file in all copies - Contributor makes available thereafter and shall take other steps - (such as notifying appropriate mailing lists or newsgroups) - reasonably calculated to inform those who received the Covered - Code that new knowledge has been obtained. - - (b) Contributor APIs. - If Contributor's Modifications include an application programming - interface and Contributor has knowledge of patent licenses which - are reasonably necessary to implement that API, Contributor must - also include this information in the LEGAL file. - - (c) Representations. - Contributor represents that, except as disclosed pursuant to - Section 3.4(a) above, Contributor believes that Contributor's - Modifications are Contributor's original creation(s) and/or - Contributor has sufficient rights to grant the rights conveyed by - this License. - - 3.5. Required Notices. - You must duplicate the notice in Exhibit A in each file of the Source - Code. If it is not possible to put such notice in a particular Source - Code file due to its structure, then You must include such notice in a - location (such as a relevant directory) where a user would be likely - to look for such a notice. If You created one or more Modification(s) - You may add your name as a Contributor to the notice described in - Exhibit A. You must also duplicate this License in any documentation - for the Source Code where You describe recipients' rights or ownership - rights relating to Covered Code. You may choose to offer, and to - charge a fee for, warranty, support, indemnity or liability - obligations to one or more recipients of Covered Code. However, You - may do so only on Your own behalf, and not on behalf of the Initial - Developer or any Contributor. You must make it absolutely clear than - any such warranty, support, indemnity or liability obligation is - offered by You alone, and You hereby agree to indemnify the Initial - Developer and every Contributor for any liability incurred by the - Initial Developer or such Contributor as a result of warranty, - support, indemnity or liability terms You offer. - - 3.6. Distribution of Executable Versions. - You may distribute Covered Code in Executable form only if the - requirements of Section 3.1-3.5 have been met for that Covered Code, - and if You include a notice stating that the Source Code version of - the Covered Code is available under the terms of this License, - including a description of how and where You have fulfilled the - obligations of Section 3.2. The notice must be conspicuously included - in any notice in an Executable version, related documentation or - collateral in which You describe recipients' rights relating to the - Covered Code. You may distribute the Executable version of Covered - Code or ownership rights under a license of Your choice, which may - contain terms different from this License, provided that You are in - compliance with the terms of this License and that the license for the - Executable version does not attempt to limit or alter the recipient's - rights in the Source Code version from the rights set forth in this - License. If You distribute the Executable version under a different - license You must make it absolutely clear that any terms which differ - from this License are offered by You alone, not by the Initial - Developer or any Contributor. You hereby agree to indemnify the - Initial Developer and every Contributor for any liability incurred by - the Initial Developer or such Contributor as a result of any such - terms You offer. - - 3.7. Larger Works. - You may create a Larger Work by combining Covered Code with other code - not governed by the terms of this License and distribute the Larger - Work as a single product. In such a case, You must make sure the - requirements of this License are fulfilled for the Covered Code. - -4. Inability to Comply Due to Statute or Regulation. - - If it is impossible for You to comply with any of the terms of this - License with respect to some or all of the Covered Code due to - statute, judicial order, or regulation then You must: (a) comply with - the terms of this License to the maximum extent possible; and (b) - describe the limitations and the code they affect. Such description - must be included in the LEGAL file described in Section 3.4 and must - be included with all distributions of the Source Code. Except to the - extent prohibited by statute or regulation, such description must be - sufficiently detailed for a recipient of ordinary skill to be able to - understand it. - -5. Application of this License. - - This License applies to code to which the Initial Developer has - attached the notice in Exhibit A and to related Covered Code. - -6. Versions of the License. - - 6.1. New Versions. - Netscape Communications Corporation ("Netscape") may publish revised - and/or new versions of the License from time to time. Each version - will be given a distinguishing version number. - - 6.2. Effect of New Versions. - Once Covered Code has been published under a particular version of the - License, You may always continue to use it under the terms of that - version. You may also choose to use such Covered Code under the terms - of any subsequent version of the License published by Netscape. No one - other than Netscape has the right to modify the terms applicable to - Covered Code created under this License. - - 6.3. Derivative Works. - If You create or use a modified version of this License (which you may - only do in order to apply it to code which is not already Covered Code - governed by this License), You must (a) rename Your license so that - the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape", - "MPL", "NPL" or any confusingly similar phrase do not appear in your - license (except to note that your license differs from this License) - and (b) otherwise make it clear that Your version of the license - contains terms which differ from the Mozilla Public License and - Netscape Public License. (Filling in the name of the Initial - Developer, Original Code or Contributor in the notice described in - Exhibit A shall not of themselves be deemed to be modifications of - this License.) - -7. DISCLAIMER OF WARRANTY. - - COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, - WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, - WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF - DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. - THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE - IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, - YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE - COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER - OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF - ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. - -8. TERMINATION. - - 8.1. This License and the rights granted hereunder will terminate - automatically if You fail to comply with terms herein and fail to cure - such breach within 30 days of becoming aware of the breach. All - sublicenses to the Covered Code which are properly granted shall - survive any termination of this License. Provisions which, by their - nature, must remain in effect beyond the termination of this License - shall survive. - - 8.2. If You initiate litigation by asserting a patent infringement - claim (excluding declatory judgment actions) against Initial Developer - or a Contributor (the Initial Developer or Contributor against whom - You file such action is referred to as "Participant") alleging that: - - (a) such Participant's Contributor Version directly or indirectly - infringes any patent, then any and all rights granted by such - Participant to You under Sections 2.1 and/or 2.2 of this License - shall, upon 60 days notice from Participant terminate prospectively, - unless if within 60 days after receipt of notice You either: (i) - agree in writing to pay Participant a mutually agreeable reasonable - royalty for Your past and future use of Modifications made by such - Participant, or (ii) withdraw Your litigation claim with respect to - the Contributor Version against such Participant. If within 60 days - of notice, a reasonable royalty and payment arrangement are not - mutually agreed upon in writing by the parties or the litigation claim - is not withdrawn, the rights granted by Participant to You under - Sections 2.1 and/or 2.2 automatically terminate at the expiration of - the 60 day notice period specified above. - - (b) any software, hardware, or device, other than such Participant's - Contributor Version, directly or indirectly infringes any patent, then - any rights granted to You by such Participant under Sections 2.1(b) - and 2.2(b) are revoked effective as of the date You first made, used, - sold, distributed, or had made, Modifications made by that - Participant. - - 8.3. If You assert a patent infringement claim against Participant - alleging that such Participant's Contributor Version directly or - indirectly infringes any patent where such claim is resolved (such as - by license or settlement) prior to the initiation of patent - infringement litigation, then the reasonable value of the licenses - granted by such Participant under Sections 2.1 or 2.2 shall be taken - into account in determining the amount or value of any payment or - license. - - 8.4. In the event of termination under Sections 8.1 or 8.2 above, - all end user license agreements (excluding distributors and resellers) - which have been validly granted by You or any distributor hereunder - prior to termination shall survive termination. - -9. LIMITATION OF LIABILITY. - - UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT - (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL - DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE, - OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR - ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY - CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, - WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER - COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN - INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF - LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY - RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW - PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE - EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO - THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. - -10. U.S. GOVERNMENT END USERS. - - The Covered Code is a "commercial item," as that term is defined in - 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer - software" and "commercial computer software documentation," as such - terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 - C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), - all U.S. Government End Users acquire Covered Code with only those - rights set forth herein. - -11. MISCELLANEOUS. - - This License represents the complete agreement concerning subject - matter hereof. If any provision of this License is held to be - unenforceable, such provision shall be reformed only to the extent - necessary to make it enforceable. This License shall be governed by - California law provisions (except to the extent applicable law, if - any, provides otherwise), excluding its conflict-of-law provisions. - With respect to disputes in which at least one party is a citizen of, - or an entity chartered or registered to do business in the United - States of America, any litigation relating to this License shall be - subject to the jurisdiction of the Federal Courts of the Northern - District of California, with venue lying in Santa Clara County, - California, with the losing party responsible for costs, including - without limitation, court costs and reasonable attorneys' fees and - expenses. The application of the United Nations Convention on - Contracts for the International Sale of Goods is expressly excluded. - Any law or regulation which provides that the language of a contract - shall be construed against the drafter shall not apply to this - License. - -12. RESPONSIBILITY FOR CLAIMS. - - As between Initial Developer and the Contributors, each party is - responsible for claims and damages arising, directly or indirectly, - out of its utilization of rights under this License and You agree to - work with Initial Developer and Contributors to distribute such - responsibility on an equitable basis. Nothing herein is intended or - shall be deemed to constitute any admission of liability. - -13. MULTIPLE-LICENSED CODE. - - Initial Developer may designate portions of the Covered Code as - "Multiple-Licensed". "Multiple-Licensed" means that the Initial - Developer permits you to utilize portions of the Covered Code under - Your choice of the NPL or the alternative licenses, if any, specified - by the Initial Developer in the file described in Exhibit A. - -EXHIBIT A -Mozilla Public License. - - ``The contents of this file are subject to the Mozilla Public License - Version 1.1 (the "License"); you may not use this file except in - compliance with the License. You may obtain a copy of the License at - http://www.mozilla.org/MPL/ - - Software distributed under the License is distributed on an "AS IS" - basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the - License for the specific language governing rights and limitations - under the License. - - The Original Code is ______________________________________. - - The Initial Developer of the Original Code is ________________________. - Portions created by ______________________ are Copyright (C) ______ - _______________________. All Rights Reserved. - - Contributor(s): ______________________________________. - - Alternatively, the contents of this file may be used under the terms - of the _____ license (the "[___] License"), in which case the - provisions of [______] License are applicable instead of those - above. If you wish to allow use of your version of this file only - under the terms of the [____] License and not to allow others to use - your version of this file under the MPL, indicate your decision by - deleting the provisions above and replace them with the notice and - other provisions required by the [___] License. If you do not delete - the provisions above, a recipient may use your version of this file - under either the MPL or the [___] License." - - [NOTE: The text of this Exhibit A may differ slightly from the text of - the notices in the Source Code files of the Original Code. You should - use the text of this Exhibit A rather than the text found in the - Original Code Source Code for Your Modifications.] - - -=============================================================================== -Groovy (groovy-all-minimal-1.5.4.jar): - -/* - $Id: LICENSE.txt 156 2003-09-26 17:36:37Z jstrachan $ - - Copyright 2003 (C) James Strachan and Bob Mcwhirter. All Rights Reserved. - - Redistribution and use of this software and associated documentation - ("Software"), with or without modification, are permitted provided - that the following conditions are met: - - 1. Redistributions of source code must retain copyright - statements and notices. Redistributions must also contain a - copy of this document. - - 2. Redistributions in binary form must reproduce the - above copyright notice, this list of conditions and the - following disclaimer in the documentation and/or other - materials provided with the distribution. - - 3. The name "groovy" must not be used to endorse or promote - products derived from this Software without prior written - permission of The Codehaus. For written permission, - please contact info@codehaus.org. - - 4. Products derived from this Software may not be called "groovy" - nor may "groovy" appear in their names without prior written - permission of The Codehaus. "groovy" is a registered - trademark of The Codehaus. - - 5. Due credit should be given to The Codehaus - - http://groovy.codehaus.org/ - - THIS SOFTWARE IS PROVIDED BY THE CODEHAUS AND CONTRIBUTORS - ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT - NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL - THE CODEHAUS OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, - INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, - STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED - OF THE POSSIBILITY OF SUCH DAMAGE. - - */ - -=============================================================================== - -Jython (jython-2.2.jar): - -A. HISTORY OF THE SOFTWARE -======================= - -JPython was created in late 1997 by Jim Hugunin. Jim was also the -primary developer while he was at CNRI. In February 1999 Barry Warsaw -took over as primary developer and released JPython version 1.1. - -In October 2000 Barry helped move the software to SourceForge -where it was renamed to Jython. Jython 2.0 and on are licensed under -the Jython specific license below. - -The standard library is covered by the Python Software Foundation -license. See the LICENSE_CPython.txt file for details. - -The zxJDBC package was written by Brian Zimmer and originally licensed -under the GNU Public License. The package is now covered by the Jython -Software License. - -The command line interpreter is covered by the Apache Software -License. See the LICENSE_Apache.txt file for details. - -B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING JYTHON -================================ - -Copyright (c) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Jython Developers -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - - - Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - - - Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the distribution. - - - Neither the name of the Jython Developers nor the names of - its contributors may be used to endorse or promote products - derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR -CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY -OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - - - -JPython 1.1.x Software License. -========================= - -______________________________________________________________________ - -IMPORTANT: PLEASE READ THE FOLLOWING AGREEMENT CAREFULLY. - -BY CLICKING ON THE "ACCEPT" BUTTON WHERE INDICATED, OR BY INSTALLING, -COPYING OR OTHERWISE USING THE SOFTWARE, YOU ARE DEEMED TO HAVE AGREED TO -THE TERMS AND CONDITIONS OF THIS AGREEMENT. - -______________________________________________________________________ - -JPython version 1.1.x - - 1. This LICENSE AGREEMENT is between the Corporation for National Research - Initiatives, having an office at 1895 Preston White Drive, Reston, VA - 20191 ("CNRI"), and the Individual or Organization ("Licensee") - accessing and using JPython version 1.1.x in source or binary form and - its associated documentation as provided herein ("Software"). - - 2. Subject to the terms and conditions of this License Agreement, CNRI - hereby grants Licensee a non-exclusive, non-transferable, royalty-free, - world-wide license to reproduce, analyze, test, perform and/or display - publicly, prepare derivative works, distribute, and otherwise use the - Software alone or in any derivative version, provided, however, that - CNRI's License Agreement and CNRI's notice of copyright, i.e., - "Copyright ©1996-1999 Corporation for National Research Initiatives; - All Rights Reserved" are both retained in the Software, alone or in any - derivative version prepared by Licensee. - - Alternatively, in lieu of CNRI's License Agreement, Licensee may - substitute the following text (omitting the quotes), provided, however, - that such text is displayed prominently in the Software alone or in any - derivative version prepared by Licensee: "JPython (Version 1.1.x) is - made available subject to the terms and conditions in CNRI's License - Agreement. This Agreement may be located on the Internet using the - following unique, persistent identifier (known as a handle): - 1895.22/1006. The License may also be obtained from a proxy server on - the Web using the following URL: http://hdl.handle.net/1895.22/1006." - - 3. In the event Licensee prepares a derivative work that is based on or - incorporates the Software or any part thereof, and wants to make the - derivative work available to the public as provided herein, then - Licensee hereby agrees to indicate in any such work, in a prominently - visible way, the nature of the modifications made to CNRI's Software. - - 4. Licensee may not use CNRI trademarks or trade name, including JPython - or CNRI, in a trademark sense to endorse or promote products or - services of Licensee, or any third party. Licensee may use the mark - JPython in connection with Licensee's derivative versions that are - based on or incorporate the Software, but only in the form - "JPython-based ___________________," or equivalent. - - 5. CNRI is making the Software available to Licensee on an "AS IS" basis. - CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY - OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND DISCLAIMS ANY - REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY - PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT INFRINGE - ANY THIRD PARTY RIGHTS. - - 6. CNRI SHALL NOT BE LIABLE TO LICENSEE OR OTHER USERS OF THE SOFTWARE FOR - ANY INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF - USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY DERIVATIVE - THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. SOME STATES DO NOT - ALLOW THE LIMITATION OR EXCLUSION OF LIABILITY SO THE ABOVE DISCLAIMER - MAY NOT APPLY TO LICENSEE. - - 7. This License Agreement may be terminated by CNRI (i) immediately upon - written notice from CNRI of any material breach by the Licensee, if the - nature of the breach is such that it cannot be promptly remedied; or - (ii) sixty (60) days following notice from CNRI to Licensee of a - material remediable breach, if Licensee has not remedied such breach - within that sixty-day period. - - 8. This License Agreement shall be governed by and interpreted in all - respects by the law of the State of Virginia, excluding conflict of law - provisions. Nothing in this Agreement shall be deemed to create any - relationship of agency, partnership, or joint venture between CNRI and - Licensee. - - 9. By clicking on the "ACCEPT" button where indicated, or by installing, - copying or otherwise using the Software, Licensee agrees to be bound by - the terms and conditions of this License Agreement. - - -=============================================================================== - -The jars; -activation-1.1.jar, -jaxb-api-2.1.jar, -jaxb-impl-2.1.6.jar, -jaxb-xjc-2.1.4.jar, -jaxb2-reflection-2.1.4.jar, -jsr181-api-1.0-MR1.jar, -jsr250-api-1.0.jar, -jaxws-api-2.1-1.jar, -mail-1.4.jar, -saaj-api-1.3.jar, -servlet-api-2.5.jar, -stax-api-1.0-commons-cli-1.0.jar2.jar - -COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0 - - - 1. Definitions. - - 1.1. "Contributor" means each individual or entity that - creates or contributes to the creation of Modifications. - - 1.2. "Contributor Version" means the combination of the - Original Software, prior Modifications used by a - Contributor (if any), and the Modifications made by that - particular Contributor. - - 1.3. "Covered Software" means (a) the Original Software, or - (b) Modifications, or (c) the combination of files - containing Original Software with files containing - Modifications, in each case including portions thereof. - - 1.4. "Executable" means the Covered Software in any form - other than Source Code. - - 1.5. "Initial Developer" means the individual or entity - that first makes Original Software available under this - License. - - 1.6. "Larger Work" means a work which combines Covered - Software or portions thereof with code not governed by the - terms of this License. - - 1.7. "License" means this document. - - 1.8. "Licensable" means having the right to grant, to the - maximum extent possible, whether at the time of the initial - grant or subsequently acquired, any and all of the rights - conveyed herein. - - 1.9. "Modifications" means the Source Code and Executable - form of any of the following: - - A. Any file that results from an addition to, - deletion from or modification of the contents of a - file containing Original Software or previous - Modifications; - - B. Any new file that contains any part of the - Original Software or previous Modification; or - - C. Any new file that is contributed or otherwise made - available under the terms of this License. - - 1.10. "Original Software" means the Source Code and - Executable form of computer software code that is - originally released under this License. - - 1.11. "Patent Claims" means any patent claim(s), now owned - or hereafter acquired, including without limitation, - method, process, and apparatus claims, in any patent - Licensable by grantor. - - 1.12. "Source Code" means (a) the common form of computer - software code in which modifications are made and (b) - associated documentation included in or with such code. - - 1.13. "You" (or "Your") means an individual or a legal - entity exercising rights under, and complying with all of - the terms of, this License. For legal entities, "You" - includes any entity which controls, is controlled by, or is - under common control with You. For purposes of this - definition, "control" means (a) the power, direct or - indirect, to cause the direction or management of such - entity, whether by contract or otherwise, or (b) ownership - of more than fifty percent (50%) of the outstanding shares - or beneficial ownership of such entity. - - 2. License Grants. - - 2.1. The Initial Developer Grant. - - Conditioned upon Your compliance with Section 3.1 below and - subject to third party intellectual property claims, the - Initial Developer hereby grants You a world-wide, - royalty-free, non-exclusive license: - - (a) under intellectual property rights (other than - patent or trademark) Licensable by Initial Developer, - to use, reproduce, modify, display, perform, - sublicense and distribute the Original Software (or - portions thereof), with or without Modifications, - and/or as part of a Larger Work; and - - (b) under Patent Claims infringed by the making, - using or selling of Original Software, to make, have - made, use, practice, sell, and offer for sale, and/or - otherwise dispose of the Original Software (or - portions thereof). - - (c) The licenses granted in Sections 2.1(a) and (b) - are effective on the date Initial Developer first - distributes or otherwise makes the Original Software - available to a third party under the terms of this - License. - - (d) Notwithstanding Section 2.1(b) above, no patent - license is granted: (1) for code that You delete from - the Original Software, or (2) for infringements - caused by: (i) the modification of the Original - Software, or (ii) the combination of the Original - Software with other software or devices. - - 2.2. Contributor Grant. - - Conditioned upon Your compliance with Section 3.1 below and - subject to third party intellectual property claims, each - Contributor hereby grants You a world-wide, royalty-free, - non-exclusive license: - - (a) under intellectual property rights (other than - patent or trademark) Licensable by Contributor to - use, reproduce, modify, display, perform, sublicense - and distribute the Modifications created by such - Contributor (or portions thereof), either on an - unmodified basis, with other Modifications, as - Covered Software and/or as part of a Larger Work; and - - - (b) under Patent Claims infringed by the making, - using, or selling of Modifications made by that - Contributor either alone and/or in combination with - its Contributor Version (or portions of such - combination), to make, use, sell, offer for sale, - have made, and/or otherwise dispose of: (1) - Modifications made by that Contributor (or portions - thereof); and (2) the combination of Modifications - made by that Contributor with its Contributor Version - (or portions of such combination). - - (c) The licenses granted in Sections 2.2(a) and - 2.2(b) are effective on the date Contributor first - distributes or otherwise makes the Modifications - available to a third party. - - (d) Notwithstanding Section 2.2(b) above, no patent - license is granted: (1) for any code that Contributor - has deleted from the Contributor Version; (2) for - infringements caused by: (i) third party - modifications of Contributor Version, or (ii) the - combination of Modifications made by that Contributor - with other software (except as part of the - Contributor Version) or other devices; or (3) under - Patent Claims infringed by Covered Software in the - absence of Modifications made by that Contributor. - - 3. Distribution Obligations. - - 3.1. Availability of Source Code. - - Any Covered Software that You distribute or otherwise make - available in Executable form must also be made available in - Source Code form and that Source Code form must be - distributed only under the terms of this License. You must - include a copy of this License with every copy of the - Source Code form of the Covered Software You distribute or - otherwise make available. You must inform recipients of any - such Covered Software in Executable form as to how they can - obtain such Covered Software in Source Code form in a - reasonable manner on or through a medium customarily used - for software exchange. - - 3.2. Modifications. - - The Modifications that You create or to which You - contribute are governed by the terms of this License. You - represent that You believe Your Modifications are Your - original creation(s) and/or You have sufficient rights to - grant the rights conveyed by this License. - - 3.3. Required Notices. - - You must include a notice in each of Your Modifications - that identifies You as the Contributor of the Modification. - You may not remove or alter any copyright, patent or - trademark notices contained within the Covered Software, or - any notices of licensing or any descriptive text giving - attribution to any Contributor or the Initial Developer. - - 3.4. Application of Additional Terms. - - You may not offer or impose any terms on any Covered - Software in Source Code form that alters or restricts the - applicable version of this License or the recipients' - rights hereunder. You may choose to offer, and to charge a - fee for, warranty, support, indemnity or liability - obligations to one or more recipients of Covered Software. - However, you may do so only on Your own behalf, and not on - behalf of the Initial Developer or any Contributor. You - must make it absolutely clear that any such warranty, - support, indemnity or liability obligation is offered by - You alone, and You hereby agree to indemnify the Initial - Developer and every Contributor for any liability incurred - by the Initial Developer or such Contributor as a result of - warranty, support, indemnity or liability terms You offer. - - - 3.5. Distribution of Executable Versions. - - You may distribute the Executable form of the Covered - Software under the terms of this License or under the terms - of a license of Your choice, which may contain terms - different from this License, provided that You are in - compliance with the terms of this License and that the - license for the Executable form does not attempt to limit - or alter the recipient's rights in the Source Code form - from the rights set forth in this License. If You - distribute the Covered Software in Executable form under a - different license, You must make it absolutely clear that - any terms which differ from this License are offered by You - alone, not by the Initial Developer or Contributor. You - hereby agree to indemnify the Initial Developer and every - Contributor for any liability incurred by the Initial - Developer or such Contributor as a result of any such terms - You offer. - - 3.6. Larger Works. - - You may create a Larger Work by combining Covered Software - with other code not governed by the terms of this License - and distribute the Larger Work as a single product. In such - a case, You must make sure the requirements of this License - are fulfilled for the Covered Software. - - 4. Versions of the License. - - 4.1. New Versions. - - Sun Microsystems, Inc. is the initial license steward and - may publish revised and/or new versions of this License - from time to time. Each version will be given a - distinguishing version number. Except as provided in - Section 4.3, no one other than the license steward has the - right to modify this License. - - 4.2. Effect of New Versions. - - You may always continue to use, distribute or otherwise - make the Covered Software available under the terms of the - version of the License under which You originally received - the Covered Software. If the Initial Developer includes a - notice in the Original Software prohibiting it from being - distributed or otherwise made available under any - subsequent version of the License, You must distribute and - make the Covered Software available under the terms of the - version of the License under which You originally received - the Covered Software. Otherwise, You may also choose to - use, distribute or otherwise make the Covered Software - available under the terms of any subsequent version of the - License published by the license steward. - - 4.3. Modified Versions. - - When You are an Initial Developer and You want to create a - new license for Your Original Software, You may create and - use a modified version of this License if You: (a) rename - the license and remove any references to the name of the - license steward (except to note that the license differs - from this License); and (b) otherwise make it clear that - the license contains terms which differ from this License. - - - 5. DISCLAIMER OF WARRANTY. - - COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" - BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, - INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED - SOFTWARE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR - PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND - PERFORMANCE OF THE COVERED SOFTWARE IS WITH YOU. SHOULD ANY - COVERED SOFTWARE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE - INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF - ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF - WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF - ANY COVERED SOFTWARE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS - DISCLAIMER. - - 6. TERMINATION. - - 6.1. This License and the rights granted hereunder will - terminate automatically if You fail to comply with terms - herein and fail to cure such breach within 30 days of - becoming aware of the breach. Provisions which, by their - nature, must remain in effect beyond the termination of - this License shall survive. - - 6.2. If You assert a patent infringement claim (excluding - declaratory judgment actions) against Initial Developer or - a Contributor (the Initial Developer or Contributor against - whom You assert such claim is referred to as "Participant") - alleging that the Participant Software (meaning the - Contributor Version where the Participant is a Contributor - or the Original Software where the Participant is the - Initial Developer) directly or indirectly infringes any - patent, then any and all rights granted directly or - indirectly to You by such Participant, the Initial - Developer (if the Initial Developer is not the Participant) - and all Contributors under Sections 2.1 and/or 2.2 of this - License shall, upon 60 days notice from Participant - terminate prospectively and automatically at the expiration - of such 60 day notice period, unless if within such 60 day - period You withdraw Your claim with respect to the - Participant Software against such Participant either - unilaterally or pursuant to a written agreement with - Participant. - - 6.3. In the event of termination under Sections 6.1 or 6.2 - above, all end user licenses that have been validly granted - by You or any distributor hereunder prior to termination - (excluding licenses granted to You by any distributor) - shall survive termination. - - 7. LIMITATION OF LIABILITY. - - UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT - (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE - INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF - COVERED SOFTWARE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE - LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR - CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT - LIMITATION, DAMAGES FOR LOST PROFITS, LOSS OF GOODWILL, WORK - STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER - COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN - INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF - LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL - INJURY RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT - APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO - NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR - CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT - APPLY TO YOU. - - 8. U.S. GOVERNMENT END USERS. - - The Covered Software is a "commercial item," as that term is - defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial - computer software" (as that term is defined at 48 C.F.R. - 252.227-7014(a)(1)) and "commercial computer software - documentation" as such terms are used in 48 C.F.R. 12.212 (Sept. - 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 - through 227.7202-4 (June 1995), all U.S. Government End Users - acquire Covered Software with only those rights set forth herein. - This U.S. Government Rights clause is in lieu of, and supersedes, - any other FAR, DFAR, or other clause or provision that addresses - Government rights in computer software under this License. - - 9. MISCELLANEOUS. - - This License represents the complete agreement concerning subject - matter hereof. If any provision of this License is held to be - unenforceable, such provision shall be reformed only to the - extent necessary to make it enforceable. This License shall be - governed by the law of the jurisdiction specified in a notice - contained within the Original Software (except to the extent - applicable law, if any, provides otherwise), excluding such - jurisdiction's conflict-of-law provisions. Any litigation - relating to this License shall be subject to the jurisdiction of - the courts located in the jurisdiction and venue specified in a - notice contained within the Original Software, with the losing - party responsible for costs, including, without limitation, court - costs and reasonable attorneys' fees and expenses. The - application of the United Nations Convention on Contracts for the - International Sale of Goods is expressly excluded. Any law or - regulation which provides that the language of a contract shall - be construed against the drafter shall not apply to this License. - You agree that You alone are responsible for compliance with the - United States export administration regulations (and the export - control laws and regulation of any other countries) when You use, - distribute or otherwise make available any Covered Software. - - 10. RESPONSIBILITY FOR CLAIMS. - - As between Initial Developer and the Contributors, each party is - responsible for claims and damages arising, directly or - indirectly, out of its utilization of rights under this License - and You agree to work with Initial Developer and Contributors to - distribute such responsibility on an equitable basis. Nothing - herein is intended or shall be deemed to constitute any admission - of liability. - -=============================================================================== - -JRuby (jruby-complete-1.0.jar), wsdl4j (wsdl4j-1.6.2.jar): - -Common Public License - v 1.0 - -THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. - -1. DEFINITIONS - -"Contribution" means: - - a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and - b) in the case of each subsequent Contributor: - - i) changes to the Program, and - - ii) additions to the Program; - - where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. Contributions do not include additions to the Program which: (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program. - -"Contributor" means any person or entity that distributes the Program. - -"Licensed Patents " mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program. - -"Program" means the Contributions distributed in accordance with this Agreement. - -"Recipient" means anyone who receives the Program under this Agreement, including all Contributors. - -2. GRANT OF RIGHTS - - a) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code form. - - b) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder. - - c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the Program, it is Recipient's responsibility to acquire that license before distributing the Program. - - d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement. - -3. REQUIREMENTS - -A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that: - - a) it complies with the terms and conditions of this Agreement; and - - b) its license agreement: - - i) effectively disclaims on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose; - - ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits; - - iii) states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and - - iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange. - -When the Program is made available in source code form: - - a) it must be made available under this Agreement; and - - b) a copy of this Agreement must be included with each copy of the Program. - -Contributors may not remove or alter any copyright notices contained within the Program. - -Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows subsequent Recipients to identify the originator of the Contribution. - -4. COMMERCIAL DISTRIBUTION - -Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor ("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense. - -For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages. - -5. NO WARRANTY - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely responsible for determining the appropriateness of using and distributing the Program and assumes all risks associated with its exercise of rights under this Agreement, including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, programs or equipment, and unavailability or interruption of operations. - -6. DISCLAIMER OF LIABILITY - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -7. GENERAL - -If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable. - -If Recipient institutes patent litigation against a Contributor with respect to a patent applicable to software (including a cross-claim or counterclaim in a lawsuit), then any patent licenses granted by that Contributor to such Recipient under this Agreement shall terminate as of the date such litigation is filed. In addition, if Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed. - -All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive. - -Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the right to modify this Agreement. IBM is the initial Agreement Steward. IBM may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the new version. Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or otherwise. All rights in the Program not expressly granted under this Agreement are reserved. - -This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation. - -=============================================================================== - -backport-util-concurrent-2.2.jar: - -The software comprising backport-util-concurrent is based in large -part on the code from JSR166, and the package dl.util.concurrent. -The software has been released to the public domain, as explained at: -http://creativecommons.org/licenses/publicdomain, excepting portions -of the class -edu.emory.mathcs.backport.java.util.concurrent.CopyOnWriteArrayList, -which were adapted from class java.util.ArrayList, written by Sun -Microsystems, Inc, which are used with kind permission, and subject -to the following: - -Copyright 2002-2004 Sun Microsystems, Inc. All rights reserved. Use is -subject to the following license terms. - - "Sun hereby grants you a non-exclusive, worldwide, non-transferrable - license to use and distribute the Java Software technologies as part - of a larger work in source and binary forms, with or without - modification, provided that the following conditions are met: - - -Neither the name of or trademarks of Sun may be used to endorse or - promote products derived from the Java Software technology without - specific prior written permission. - - -Redistributions of source or binary code must be accompanied by the - following notice and disclaimers: - - Portions copyright Sun Microsystems, Inc. Used with kind permission. - - This software is provided AS IS, without a warranty of any kind. ALL - EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND - WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF - MERCHANTABILITY, FITNESS FOR A PARTICULAR PUPOSE OR - NON-INFRINGEMENT, ARE HEREBY EXCLUDED. SUN - MICROSYSTEMS, INC. AND ITS LICENSORS SHALL NOT BE LIABLE - FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF - USING, MODIFYING OR DISTRIBUTING THE SOFTWARE OR ITS - DERIVATIVES. IN NO EVENT WILL SUN MICROSYSTEMS, INC. OR - ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR - DATA, OR FOR DIRECT, INDIRECT,CONSQUENTIAL, INCIDENTAL - OR PUNITIVE DAMAGES, HOWEVER CAUSED AND REGARDLESS OF - THE THEORY OR LIABILITY, ARISING OUT OF THE USE OF OR - INABILITY TO USE SOFTWARE, EVEN IF SUN MICROSYSTEMS, INC. - HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - - You acknowledge that Software is not designed, licensed or intended for - use in the design, construction, operation or maintenance of any nuclear - facility." - -=============================================================================== -rome-0.9.jar - -Copyright 2004 Sun Microsystems, Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. - -=============================================================================== -jdom-1.0.jar : - -$Id: LICENSE.txt,v 1.11 2004/02/06 09:32:57 jhunter Exp $ - - Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin. - All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions - are met: - - 1. Redistributions of source code must retain the above copyright - notice, this list of conditions, and the following disclaimer. - - 2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions, and the disclaimer that follows - these conditions in the documentation and/or other materials - provided with the distribution. - - 3. The name "JDOM" must not be used to endorse or promote products - derived from this software without prior written permission. For - written permission, please contact . - - 4. Products derived from this software may not be called "JDOM", nor - may "JDOM" appear in their name, without prior written permission - from the JDOM Project Management . - - In addition, we request (but do not require) that you include in the - end-user documentation provided with the redistribution and/or in the - software itself an acknowledgement equivalent to the following: - "This product includes software developed by the - JDOM Project (http://www.jdom.org/)." - Alternatively, the acknowledgment may be graphical using the logos - available at http://www.jdom.org/images/logos. - - THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED - WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES - OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - DISCLAIMED. IN NO EVENT SHALL THE JDOM AUTHORS OR THE PROJECT - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF - USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT - OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - SUCH DAMAGE. - - This software consists of voluntary contributions made by many - individuals on behalf of the JDOM Project and was originally - created by Jason Hunter and - Brett McLaughlin . For more information - on the JDOM Project, please see . - -======================================================================== - -dwr-2.0.1.jar : - -/* -* Copyright 2005 Joe Walker -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ - -========================================================================== - -dojotoolkit V1.0.0: - -The "New" BSD License: -********************** - -Copyright (c) 2005, The Dojo Foundation -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - * Neither the name of the Dojo Foundation nor the names of its contributors - may be used to endorse or promote products derived from this software - without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -================================================================================ - -The module tuscany-implementation-script-1.0-incubating.jar temporarily includes -one file under the below BSD license with the following copyright: - - Copyright (c) 2006, Sun Microsystems, Inc. - All rights reserved. - -BSD license: - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are met: - - - Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - - - Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - - - Neither the name of the Sun Microsystems, Inc. nor the names of - contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND - CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED - WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE - COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY - DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF - USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE - OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH - DAMAGE. - -================================================================================ - -The serp-1.12.0.jar is distributed under the BSD license with the following copyright: - - Copyright (c) 2002, A. Abram White - All rights reserved. - -BSD license: - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are met: - - - Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - - - Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - - - Neither the name of the Sun Microsystems, Inc. nor the names of - contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND - CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED - WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE - COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY - DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF - USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE - OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH - DAMAGE. - -================================================================================ -The javacc-3.2.jar, and howl-1.0.1-1.jar are distributed under the BSD license: - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - - * Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED -TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR -CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -================================================================================ - -The tuscany-assembly-xsd jar includes XSD files under the following SCA Collaboration license: - -License for the Service Component Architecture JavaDoc, Interface -Definition files and XSD files. - -The Service Component Architecture JavaDoc, Interface Definition files, -and XSD files are being provided by the copyright holders under the -following license. By using and/or copying this work, you agree that -you have read, understood and will comply with the following terms and -conditions: - -Permission to copy, display, make derivative works of, and distribute -the Service Component Architecture JavaDoc, Interface Definition Files -and XSD files (the "Artifacts") in any medium without fee or royalty is -hereby granted, provided that you include the following on ALL copies -of the Artifacts, or portions thereof, that you make: - -1. A link or URL to the Artifacts at this location: -http://www.osoa.org/display/Main/Service+Component+Architecture+Specifications - -2. The full text of this copyright notice as shown in the Artifacts. - -THE ARTIFACTS ARE PROVIDED "AS IS," AND THE AUTHORS MAKE NO -REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, REGARDING THE -ARTIFACTS AND THE IMPLEMENTATION OF THEIR CONTENTS, INCLUDING, BUT NOT -LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR -PURPOSE, NON-INFRINGEMENT OR TITLE. - -THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, -INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY -USE OR DISTRIBUTION OF THE ARTIFACTS. - -The name and trademarks of the Authors may NOT be used in any manner, -including advertising or publicity pertaining to the Service Component -Architecture Specification or its contents without specific, written -prior permission. Title to copyright in the Service Component -Architecture Specification and the JavaDoc, Interface Definition Files -and XSD Files will at all times remain with the Authors. - -No other rights are granted by implication, estoppel or otherwise. - -Revision level 1.1, last updated on 2007/11/19 - -================================================================================ -License for the Service Data Objects JavaDoc and Interface Definition files. (tuscany-sdo-api-r2.1-1.0-incubating.jar) - -These files being ... -commonj/sdo/ChangeSummary$Setting.class -commonj/sdo/ChangeSummary.class -commonj/sdo/DataGraph.class -commonj/sdo/DataObject.class -commonj/sdo/helper/CopyHelper.class -commonj/sdo/helper/DataFactory.class -commonj/sdo/helper/DataHelper.class -commonj/sdo/helper/EqualityHelper.class -commonj/sdo/helper/HelperContext.class -commonj/sdo/helper/TypeHelper.class -commonj/sdo/helper/XMLDocument.class -commonj/sdo/helper/XMLHelper.class -commonj/sdo/helper/XSDHelper.class -commonj/sdo/impl/ExternalizableDelegator$Resolvable.class -commonj/sdo/impl/ExternalizableDelegator.class -commonj/sdo/Property.class -commonj/sdo/Sequence.class -commonj/sdo/Type.class -xml/datagraph.xsd -xml/sdoJava.xml -xml/sdoJava.xsd -xml/sdoModel.xml -xml/sdoModel.xsd -xml/sdoXML.xml -xml/sdoXML.xsd - - -License for the Service Data Objects JavaDoc and Interface Definition files. - -The Service Data Objects Specification is being provided by the copyright holders under the following -license. By using and/or copying this work, you agree that you have read, understood and will comply with -the following terms and conditions: - -Permission to copy, display and distribute the Service Data Objects Specification and/or portions thereof, without -modification, in any medium without fee or royalty is hereby granted, provided that you include the -following on ALL copies of the Service Data Objects Specification, or portions thereof, that you make: - -1. A link or URL to the Service Data Objects Specification at this location: -http://www.osoa.org/display/Main/Service+Data+Objects+Specifications - -2. The full text of this copyright notice as shown in the Service Data Objects Specification. - -BEA, IBM, Oracle, Primeton Technologies, Rogue Wave Software, SAP, Software AG, Sun Microsystems, Xcalia, -Zend Technologies (collectively, the “Authors”) agree to grant you a royalty-free license, under reasonable, -non-discriminatory terms and conditions to patents that they deem necessary to implement the Service Data -Objects Specification. - -THE Service Data Objects SPECIFICATION IS PROVIDED "AS IS," AND THE AUTHORS MAKE NO REPRESENTATIONS OR -WARRANTIES, EXPRESS OR IMPLIED, REGARDING THIS SPECIFICATION AND THE IMPLEMENTATION OF ITS CONTENTS, -INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, -NON-INFRINGEMENT OR TITLE. THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL -OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY USE OR DISTRIBUTION OF THE SERVICE DATA OBJECTS -SPECIFICATION. - -The name and trademarks of the Authors may NOT be used in any manner, including advertising or publicity -pertaining to the Service Data Objects Specification or its contents without specific, written prior -permission. Title to copyright in the Service Data Objects Specification will at all times remain with the -Authors. - -No other rights are granted by implication, estoppel or otherwise. -================================================================================ - diff --git a/java/sca-contrib/distribution/manager/src/main/release/bin/NOTICE b/java/sca-contrib/distribution/manager/src/main/release/bin/NOTICE deleted file mode 100644 index 5daa9a3dfe..0000000000 --- a/java/sca-contrib/distribution/manager/src/main/release/bin/NOTICE +++ /dev/null @@ -1,95 +0,0 @@ -Apache Tuscany -Copyright (c) 2005 - 2009 The Apache Software Foundation - -This product includes software developed at -The Apache Software Foundation (http://www.apache.org/). - -This product includes/uses XmlSchema developed at -The Apache Software Foundation (http://ws.apache.org/commons/XmlSchema) - Portions Copyright 2006 International Business Machines Corp. - -This product includes/uses ode-bpel-api-1.1 developed at -The Apache Software Foundation (http://ode.apache.org) - - Copyright 1999-2006 Intalio - This product includes software developed by Intalio (http://www.intalio.com) - - Copyright 2006 Sybase - This product includes software developed by Sybase.(http://www.sybase.com) - -"This product includes software developed by the Spring Framework - Project (http://www.springframework.org)." - -This product includes/uses the Jetty Servlet Engine (http://jetty.mortbay.org), -developed by Mort Bay Consulting (http://www.mortbay.com) - -This product includes/uses the Groovy Script Engine (http://groovy.codehaus.org/), -Copyright 2003 (C) James Strachan and Bob Mcwhirter. All Rights Reserved. - -This product includes/uses the Axion : the Open Source Java Database (http://axion.tigris.org/) - Copyright (c) 2002-2003 Axion Development Team. All rights reserved. - -This product includes/uses DOM4J : the flexible XML framework for java (http://www.dom4j.org/) - Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved. - -This product includes/uses software, AOP alliance (http://aopalliance.sourceforge.net) -License: Public Domain - -This product includes/uses JSON-RPC-Java (http://oss.metaparadigm.com/jsonrpc/) - -This product includes/uses JSON-RPC JavaScript client (jsonrpc.js) - Copyright (c) 2003-2004 Jan-Klaas Kollhof - Copyright (c) 2005 Michael Clark, Metaparadigm Pte Ltd - -This product includes software from the GlassFish project (https://glassfish.dev.java.net/) - Copyright (c) 2006, Sun Microsystems, Inc. - -This product includes software from the Rome project (https://rome.dev.java.net/) - Copyright (c) 2006, Sun Microsystems, Inc. - -This product includes/uses the Eclipse Modeling Framework project (http://www.eclipse.org/emf/) - -This product includes/uses the Mozilla Rhino project (http://www.mozilla.org/rhino/) - -This product includes/uses the Sourceforge wsdl4j project (http://sourceforge.net/projects/wsdl4j/)i - -This product includes/uses the Codehaus JRuby project (http://jruby.codehaus.org/) - -This product includes/uses JDOM (http://www.jdom.org/) - Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin. All rights reserved. - -This product includes/uses DWR (http://getahead.org/dwr) - Copyright 2005 Joe Walker. All rights reserved. - -This product includes/uses dojotoolkit (http://dojotoolkit.org/) - Copyright (c) 2005, The Dojo Foundation. All rights reserved. - -This product includes/uses Howl (http://howl.objectweb.org/) - Copyright (c) 2004, Bull S.A. - -This product includes/uses axion (http://axion.tigris.org/) - Copyright (c) 2002-2003 Axion Development Team. - -This product includes/uses javacc (https://javacc.dev.java.net/) - Copyright (c) 2003 Sun Microsystems, Inc. All Rights Reserved. - -The Program includes all or portions of the following software: "The -Saxon XSLT and XQuery Processor from Saxonica Limited" distributed under -an MPL v1.0 license. Please refer to the homepage URL at -http://www.saxonica.com/. - -This product includes/uses Serp (http://serp.sourceforge.net/) under the BSD license: - Copyright (c) 2002, A. Abram White. All rights reserved. - -This product also includes software under the BSD license -with the following copyright: - Copyright (c) 2006, Sun Microsystems, Inc. All rights reserved. - -This product includes software under the Service Component Architecture JavaDoc, -Interface Definition files and XSD files license. - (c) Copyright SCA Collaboration 2006, 2007 - -This product includes software under the Service Data Objects JavaDoc and -Interface Definition file license - -(c) Copyright BEA Systems, Inc., International Business Machines Corporation, -Oracle Corporation, Primeton Technologies Ltd., Rogue Wave Software, SAP AG., -Software AG., Sun Microsystems, Sybase Inc., Xcalia, Zend Technologies, -2005, 2006. All rights reserved. - diff --git a/java/sca-contrib/distribution/manager/src/main/release/src/BUILDING b/java/sca-contrib/distribution/manager/src/main/release/src/BUILDING deleted file mode 100644 index 65d09c5eae..0000000000 --- a/java/sca-contrib/distribution/manager/src/main/release/src/BUILDING +++ /dev/null @@ -1,55 +0,0 @@ -Building the Apache Tuscany SCA 1.2 (incubating) April 2008 Release source distribution -======================================================================================= - -Initial Setup -------------- - -1) Install J2SE 5.0 SDK, which can be downloaded from - http://java.sun.com/j2se/1.5.0/download.jsp. Use version of 1.5.0_06 JDK or higher. - -2) Make sure that your JAVA_HOME environment variable is set to the newly installed - JDK location, and that your PATH includes %JAVA_HOME%\bin (windows) or - $JAVA_HOME$/bin (unix). - -3) Install Maven 2.0.7 or higher, which can be downloaded from - http://maven.apache.org/download.html. Make sure that your PATH includes - the MVN_HOME/bin directory. - -4) Make sure that your MAVEN_OPTS environment variable has -Xmx128M (or more), - you can manually do this by executing the following in your prompt : - Windows users: - set MAVEN_OPTS=-Xmx128M - Unix users: - export MAVEN_OPTS=-Xmx128M - - -Building --------- - -1) Change to the top level directory of Apache Tuscany source distribution. -2) Run - - $> mvn - - This will compile Apache Tuscany and run all of the tests in the source - distribution. - - Depending on the load of remote Maven 2.0 repositories, you may have - to run "mvn" several times utill the required dependencies are - all located in your local maven repository. It usually takes some time for - maven to download required dependencies in the first build. Once all the - dependencies have been downloaded you may use the -o option to run maven - in offline mode, for example, 'mvn clean install -o'. - - -Building the distributions --------------------------- - -1) Change to the distribution folder -2) Run - - $> mvn - - This will build the binary and source distribution with .zip and .gz - formats in the distribution/target directory. - diff --git a/java/sca-contrib/distribution/manager/src/main/release/src/LICENSE b/java/sca-contrib/distribution/manager/src/main/release/src/LICENSE deleted file mode 100644 index 144d8ae692..0000000000 --- a/java/sca-contrib/distribution/manager/src/main/release/src/LICENSE +++ /dev/null @@ -1,397 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - -=============================================================================================================== - -Apache Tuscany SCA for Java Subcomponents -=========================================: - -The Tuscany SCA for Java release includes a number of subcomponents with -separate copyright notices and license terms. Your use of the source -code for the these subcomponents is subject to the terms and -conditions of the following licenses. - -=============================================================================================================== - -The module itest/databindings/common includes the test schema; datagraph.xsd, sdoJava.xsd, and sdoModel.xsd -under the following license: - -License for the Service Data Objects JavaDoc, Interface Definition files -and XSD files. - -The Service Data Objects JavaDoc, Interface Definition files and XSD files -are being provided by the copyright holders under the following license. -By using and/or copying this work, you agree that you have read, -understood and will comply with the following terms and conditions: - -Permission to copy, display, make derivative works of and distribute -the Service Data Objects JavaDoc, Interface Definition files and XSD files -(the "Artifacts") in any medium without fee or royalty is hereby granted, -provided that you include the following on ALL copies of the Artifacts, -or portions thereof, that you make: - -1. A link or URL to the Artifacts at this location: -http://www.osoa.org/display/Main/Service+Data+Objects+Specifications - -2. The full text of this copyright notice as shown in the Artifacts. - - - -THE ARTIFACTS ARE PROVIDED "AS IS" AND THE AUTHORS MAKE NO -REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, REGARDING THE -ARTIFACTS AND THE IMPLEMENTATION OF THEIR CONTENTS, -INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT OR TITLE. - -THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, -INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY -USE OR DISTRIBUTION OF THE ARTIFACTS. - -The name and trademarks of the Authors may NOT be used in any manner, -including advertising or publicity pertaining to the Service Data -Objects Specification or its contents without specific, written prior -permission. Title to copyright in the Service Data Objects -Specification will at all times remain with the Authors. - -No other rights are granted by implication, estoppel or otherwise. - -Revision level 1.11, last updated on 2007/12/21 - -================================================================================================================= - -The module implementation-script temporarily includes one file under the following BSD license: - - Copyright (c) 2006, Sun Microsystems, Inc. - All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are met: - - - Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - - - Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - - - Neither the name of the Sun Microsystems, Inc. nor the names of - contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND - CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED - WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE - COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY - DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF - USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE - OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH - DAMAGE. - -================================================================================================================= - -The module assembly-xsd includes XSD files under the following SCA Collaboration license: - -License for the Service Component Architecture JavaDoc, Interface -Definition files and XSD files. - -The Service Component Architecture JavaDoc, Interface Definition files, -and XSD files are being provided by the copyright holders under the -following license. By using and/or copying this work, you agree that -you have read, understood and will comply with the following terms and -conditions: - -Permission to copy, display, make derivative works of, and distribute -the Service Component Architecture JavaDoc, Interface Definition Files -and XSD files (the "Artifacts") in any medium without fee or royalty is -hereby granted, provided that you include the following on ALL copies -of the Artifacts, or portions thereof, that you make: - -1. A link or URL to the Artifacts at this location: -http://www.osoa.org/display/Main/Service+Component+Architecture+Specifications - -2. The full text of this copyright notice as shown in the Artifacts. - -THE ARTIFACTS ARE PROVIDED "AS IS," AND THE AUTHORS MAKE NO -REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, REGARDING THE -ARTIFACTS AND THE IMPLEMENTATION OF THEIR CONTENTS, INCLUDING, BUT NOT -LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR -PURPOSE, NON-INFRINGEMENT OR TITLE. - -THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, -INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY -USE OR DISTRIBUTION OF THE ARTIFACTS. - -The name and trademarks of the Authors may NOT be used in any manner, -including advertising or publicity pertaining to the Service Component -Architecture Specification or its contents without specific, written -prior permission. Title to copyright in the Service Component -Architecture Specification and the JavaDoc, Interface Definition Files -and XSD Files will at all times remain with the Authors. - -No other rights are granted by implication, estoppel or otherwise. - -Revision level 1.1, last updated on 2007/11/19 - -================================================================================================================= -The modules - -binding-ws-xml -databinding -databinding-axiom -databinding-jaxb -databinding-json -databinding-sdo -databinding-sdo-axiom -databinding-xmlbeans -interface-wsdl-xml - -Include the ipo.xsd and address.xsd information from the XML Schema Primer -(http://www.w3.org/TR/2004/PER-xmlschema-0-20040318/) combined into the -file ipo.xsd and extended with UK postcode structures. - -The ipo.xsd file is include under the following license: - -W3C(c) SOFTWARE NOTICE AND LICENSE -http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 - -This work (and included software, documentation such as READMEs, or other -related items) is being provided by the copyright holders under the following -license. By obtaining, using and/or copying this work, you (the licensee) agree -that you have read, understood, and will comply with the following terms and conditions. - -Permission to copy, modify, and distribute this software and its documentation, -with or without modification, for any purpose and without fee or royalty is -hereby granted, provided that you include the following on ALL copies of the -software and documentation or portions thereof, including modifications: - - 1. The full text of this NOTICE in a location viewable to users of the - redistributed or derivative work. - 2. Any pre-existing intellectual property disclaimers, notices, or terms - and conditions. If none exist, the W3C Software Short Notice should be - included (hypertext is preferred, text is permitted) within the body of - any redistributed or derivative code. - 3. Notice of any changes or modifications to the files, including the date - changes were made. (We recommend you provide URIs to the location from which - the code is derived.) - -THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE -NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, -WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE -USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY PATENTS, -COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. - -COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR -CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENTATION. - -The name and trademarks of copyright holders may NOT be used in advertising or -publicity pertaining to the software without specific, written prior permission. -Title to copyright in this software and any associated documentation will at all -times remain with copyright holders. diff --git a/java/sca-contrib/distribution/manager/src/main/release/src/NOTICE b/java/sca-contrib/distribution/manager/src/main/release/src/NOTICE deleted file mode 100644 index 31540fd607..0000000000 --- a/java/sca-contrib/distribution/manager/src/main/release/src/NOTICE +++ /dev/null @@ -1,39 +0,0 @@ -Apache Tuscany -Copyright (c) 2005 - 2009 The Apache Software Foundation - -This product includes software developed at -The Apache Software Foundation (http://www.apache.org/). - -This product includes/uses JSON-RPC JavaScript client (jsonrpc.js) - Copyright (c) 2003-2004 Jan-Klaas Kollhof - Copyright (c) 2005 Michael Clark, Metaparadigm Pte Ltd - -This product also includes software under the BSD license -(see the LICENSE file contained in this distribution), with -the following copyright: - Copyright (c) 2006, Sun Microsystems, Inc. All rights reserved. - -This product includes software under the Service Component Architecture JavaDoc, -Interface Definition files and XSD files license. - (c) Copyright SCA Collaboration 2006, 2007 - -This product includes software under the Service Data Objects JavaDoc and -Interface Definition file license - -(c) Copyright BEA Systems, Inc., International Business Machines Corporation, -Oracle Corporation, Primeton Technologies Ltd., Rogue Wave Software, SAP AG., -Software AG., Sun Microsystems, Sybase Inc., Xcalia, Zend Technologies, -2005, 2006. All rights reserved. - -This product includes software under the W3C(c) Software License -with the following copyright: - -Copyright (c) 2008 World Wide Web Consortium, (Massachusetts Institute of Technology, -European Research Consortium for Informatics and Mathematics, Keio University). -All Rights Reserved. This work is distributed under the W3C(c) Software License [1] in -the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied -warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - -[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 - - diff --git a/java/sca-contrib/distribution/process/pom.xml b/java/sca-contrib/distribution/process/pom.xml deleted file mode 100644 index f32271bf09..0000000000 --- a/java/sca-contrib/distribution/process/pom.xml +++ /dev/null @@ -1,162 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - tuscany-distribution - 2.0-SNAPSHOT - ../pom.xml - - - tuscany-distribution-process - Apache Tuscany SCA Business Process Distribution - pom - - - - - - org.apache.tuscany.sca - tuscany-feature-process - pom - 2.0-SNAPSHOT - - - - - - - - - distribution - - - - org.apache.tuscany.sca - tuscany-maven-bundle-plugin - - - distribution-modules - generate-resources - - generate-modules - - - target/modules - - ../core/target/modules - - - - - - - - org.apache.maven.plugins - maven-assembly-plugin - - - distribution-package - package - - single - - - - src/main/assembly/bin.xml - src/main/assembly/src.xml - - gnu - apache-tuscany-sca-process-2.0-SNAPSHOT - - - - - - - - - - - modules - - ../../../modules/assembly - ../../../modules/assembly-xml - ../../../modules/assembly-xsd - ../../../modules/binding-corba - ../../../modules/binding-corba-runtime - ../../../modules/binding-sca - ../../../modules/binding-sca-xml - ../../../modules/contribution - ../../../modules/contribution-java - ../../../modules/contribution-namespace - ../../../modules/contribution-xml - ../../../modules/core - ../../../modules/core-databinding - ../../../modules/core-spi - ../../../modules/data-api - ../../../modules/databinding - ../../../modules/databinding-jaxb - ../../../modules/databinding-saxon - ../../../modules/databinding-sdo - ../../../modules/definitions - ../../../modules/definitions-xml - ../../../modules/endpoint - ../../../modules/extensibility - ../../../modules/extensibility-equinox - ../../../modules/host-corba - ../../../modules/host-corba-jse - ../../../modules/host-http - ../../../modules/implementation-bpel - ../../../modules/implementation-bpel-ode - ../../../modules/implementation-java - ../../../modules/implementation-java-runtime - ../../../modules/implementation-java-xml - ../../../modules/implementation-node - ../../../modules/implementation-node-runtime - ../../../modules/implementation-xquery - ../../../modules/interface - ../../../modules/interface-java - ../../../modules/interface-java-jaxws - ../../../modules/interface-java-xml - ../../../modules/interface-wsdl - ../../../modules/interface-wsdl-xml - ../../../modules/monitor - ../../../modules/node-api - ../../../modules/node-impl - ../../../modules/node-launcher - ../../../modules/node-launcher-equinox - ../../../modules/node-launcher-webapp - ../../../modules/policy - ../../../modules/policy-security - ../../../modules/policy-security-jsr250 - ../../../modules/policy-xml - ../../../modules/sca-api - ../../../modules/workspace - ../../../modules/workspace-impl - ../../../modules/workspace-xml - ../../../modules/xsd - ../../../modules/xsd-xml - - - - - diff --git a/java/sca-contrib/distribution/process/src/main/assembly/bin.xml b/java/sca-contrib/distribution/process/src/main/assembly/bin.xml deleted file mode 100644 index fdcc421f2f..0000000000 --- a/java/sca-contrib/distribution/process/src/main/assembly/bin.xml +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - true - tuscany-sca-2.0-SNAPSHOT - - - zip - - - - ../core/src/main/components/bin-common.xml - ../core/src/main/components/bin-modules.xml - src/main/components/bin-samples.xml - - diff --git a/java/sca-contrib/distribution/process/src/main/assembly/src.xml b/java/sca-contrib/distribution/process/src/main/assembly/src.xml deleted file mode 100644 index af3cb8e6fc..0000000000 --- a/java/sca-contrib/distribution/process/src/main/assembly/src.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - - src - true - tuscany-sca-2.0-SNAPSHOT-src - - - zip - - - - ../core/src/main/components/src-common.xml - src/main/components/src-modules.xml - - diff --git a/java/sca-contrib/distribution/process/src/main/components/bin-samples.xml b/java/sca-contrib/distribution/process/src/main/components/bin-samples.xml deleted file mode 100644 index 8e8bc2e507..0000000000 --- a/java/sca-contrib/distribution/process/src/main/components/bin-samples.xml +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - ../../../samples - samples - - helloworld-bpel/**/* - helloworld-bpel-ws/**/* - quote-xquery/**/* - - - - **/.* - **/.*/** - **/*.log - - - pom.xml - **/target - **/target/**/* - - - - diff --git a/java/sca-contrib/distribution/process/src/main/components/src-modules.xml b/java/sca-contrib/distribution/process/src/main/components/src-modules.xml deleted file mode 100644 index 68b2c39644..0000000000 --- a/java/sca-contrib/distribution/process/src/main/components/src-modules.xml +++ /dev/null @@ -1,100 +0,0 @@ - - - - - - - ../../../modules - modules - - assembly/**/* - assembly-xml/**/* - assembly-xsd/**/* - binding-corba/**/* - binding-corba-runtime/**/* - binding-sca/**/* - binding-sca-xml/**/* - contribution/**/* - contribution-impl/**/* - contribution-java/**/* - contribution-namespace/**/* - contribution-xml/**/* - core/**/* - core-databinding/**/* - core-spi/**/* - data-api/**/* - databinding/**/* - databinding-jaxb/**/* - databinding-saxon/**/* - databinding-sdo/**/* - definitions/**/* - definitions-xml/**/* - distribution-core/**/* - endpoint/**/* - extensibility/**/* - extensibility-equinox/**/* - host-corba/**/* - host-corba-jse/**/* - host-http/**/* - implementation-bpel/**/* - implementation-bpel-ode/**/* - implementation-java/**/* - implementation-java-runtime/**/* - implementation-java-xml/**/* - implementation-node/**/* - implementation-node-runtime/**/* - implementation-xquery/**/* - interface/**/* - interface-java/**/* - interface-java-jaxws/**/* - interface-java-xml/**/* - interface-wsdl/**/* - interface-wsdl-xml/**/* - monitor/**/* - node-api/**/* - node-impl/**/* - node-launcher/**/* - node-launcher-equinox/**/* - node-launcher-webapp/**/* - policy/**/* - policy-security/**/* - policy-security-jsr250/**/* - policy-xml/**/* - sca-api/**/* - workspace/**/* - workspace-impl/**/* - workspace-xml/**/* - xsd/**/* - xsd-xml/**/* - - - - **/.* - **/.*/** - **/*.log - - - pom.xml - **/target - **/target/**/* - - - - diff --git a/java/sca-contrib/distribution/process/src/main/release/CHANGES b/java/sca-contrib/distribution/process/src/main/release/CHANGES deleted file mode 100644 index 3de7358ec6..0000000000 --- a/java/sca-contrib/distribution/process/src/main/release/CHANGES +++ /dev/null @@ -1,431 +0,0 @@ -Changes With Apache Tuscany SCA 1.2 (incubating) April 2008 -=========================================================== - -- Fix the following JIRA issues (http://issues.apache.org/jira/browse/TUSCANY): - * TUSCANY-2027 - * TUSCANY-1999 - * TUSCANY-2037 - * TUSCANY-2034 - * TUSCANY-2038 - * TUSCANY-2043 - * TUSCANY-2046 - * TUSCANY-2047 - * TUSCANY-2028 - * TUSCANY-1873 - * TUSCANY-2049 - * TUSCANY-2035 - * TUSCANY-1206 - * TUSCANY-2036 - * TUSCANY-1771 - * TUSCANY-2013 - * TUSCANY-1926 - * TUSCANY-1917 - * TUSCANY-1949 - * TUSCANY-1941 - * TUSCANY-2045 - * TUSCANY-2057 - * TUSCANY-2055 - * TUSCANY-2056 - * TUSCANY-2072 - * TUSCANY-2047 - * TUSCANY-2073 - * TUSCANY-1977 - * TUSCANY-2075 - * TUSCANY-1894 - * TUSCANY-2079 - * TUSCANY-2078 - * TUSCANY-2080 - * TUSCANY-2068 - * TUSCANY-1950 - * TUSCANY-2077 - * TUSCANY-2056 - * TUSCANY-2088 - * TUSCANY-2086 - * TUSCANY-2094 - * TUSCANY-2106 - - Features and/or Enhancements - - * Core - - Interceptor Enhancements - - Phase-based interceptor ordering to allow contribution of new interceptors and also define the order in witch they should be invoked - - Pass-by-reference SPI to allow interceptors to indicate if they support pass-by-reference - - PolicyProvider SPIs to allow extensions to plugin policy interceptors - - Support for JAXWS annotations and mapping of faults to Java exceptions according to JAXWS specification - - Improvement of contribution service to allow it to be used outside of the runtime environment - - Support for Contribution Import/Export resource - - Enhanced Distributed Domain story using Workspace - - Implementation of a SCA domain allowing a system administrator to manage contributions, composites and sca nodes that run these composites - - Set of core services providing management capabilities - - Administration web interface - - This is a work in progress and you can see it in action in samples/calculator-distributed. Other samples that use distributed operation are yet to move over to the workspace. - - Enhanced support for SCA Policy spec - - Ability to apply external policy definitions to a SCA composition - - Ability to spread policy definitions to multiple definitions.xml files available across the sca domain - - Bug fixes - - Improvements of http binding to support servlet components - - Enable Tuscany to run inside an OSGi runtime - - * Web 2.0 Extensions - - Enhancements to implementation.widget (support for properties) - - New atom binding based on Apache Abdera - - Refactoring of rss-rome binding - * Other Extensions - - Binding JMS - - greatly simplified the use of the JMS binding, support locating JMS resources from JNDI, and better compliance with the SCA JMS binding spec - - see the doc page for more details: http://incubator.apache.org/tuscany/sca-java-bindingjms.html - - Enhancements to Binding RMI - - Support shared RMI registry and use 999x as the ports in test case to avoid 1099 conflict - - Enhancements to Groovy extension - - Support for 'native' groovy classes - - Enhancements to OSGi bundle contributions - - Support Bundle URLs to be added as contributions - - * Tools - - Eclipse plugin providing a Tuscany runtime Library and Tuscany launcher in Eclipse environment - - An updatesite is also available to facilitate the plugin installation using the Eclipse update manager - - * Samples/Tutorial/Demos - - calculator-distributed migrated to use new Tuscany Distributed Workspace - - sample-calculator-ws-secure-webapp - - sample-helloworld-jms-webapp - - new jms samples - - improve bigbank demo to include support for policies - - tutorial store changes - - use of import/export - - development of contribution without requiring dependencies on the Tuscany runtime - - usage of new sca domain infrastructure - - * Testing - - Web Container Testing Framework integrated with (Tomcat, Jetty, Geronimo and Websphere) - - -Changes With Apache Tuscany SCA 1.1 (incubating) January 2008 -=============================================================== - -- Fix the following JIRA issues (http://issues.apache.org/jira/browse/TUSCANY): - * TUSCANY-1939 - * TUSCANY-1914 - * TUSCANY-1854 - * TUSCANY-1931 - * TUSCANY-1547 - * TUSCANY-1909 - * TUSCANY-1919 - * TUSCANY-1930 - * TUSCANY-1806 - * TUSCANY-1804 - * TUSCANY-1916 - * TUSCANY-1913 - * TUSCANY-1834 - * TUSCANY-1857 - * TUSCANY-1687 - * TUSCANY-1801 - * TUSCANY-1742 - * TUSCANY-1762 - * TUSCANY-1945 - * TUSCANY-1595 - * TUSCANY-1594 - * TUSCANY-1849 - * TUSCANY-1836 - * TUSCANY-1934 - * TUSCANY-1902 - * TUSCANY-1608 - * TUSCANY-1943 - * TUSCANY-1896 - * TUSCANY-1626 - * TUSCANY-1797 - * TUSCANY-1601 - * TUSCANY-1415 - -- Better JMS support - * binding.jms supporting point to point text based messaging only - * New SOAP/JMS sample (helloworld-ws-reference/service-jms) - -- Improvements in PolicyFramework Support - * Support for policy specifications on operation elements in a composite definition - * Separate sample (calculator-implementation-policies) to demonstrate use of Implementation Policies - (uses logging and JAAS Authentication) - -- Modeling of client side java script components - * See implementation.widget - -- Evolving support for doman API suggested by assembly spec including a standalone node and nodes running - connected together in a domain. This is still experimental. - -- Class loading and OSGI improvements - * Enable Tuscany to be run in a multi-classloader environment including inside OSGi. By default, - Tuscany continues to run using a single CLASSPATH-based classloader. - * Contributions no longer need to be in the CLASSPATH. All import/export dependencies across contributions should be - explicitly specified (as described in the spec). - -- JAXB based POJO transformations - -Changes With Apache Tuscany SCA 1.0.1 (incubating) November 2007 -================================================================ - -The Tuscany SCA Java 1.0.1 is mainly a bug-fix release. It also comes with some improvements as listed below. - -- Fix the following JIRA issues (http://issues.apache.org/jira/browse/TUSCANY): - * TUSCANY-1848 - * TUSCANY-1857 - * TUSCANY-1859 - * TUSCANY-1801 - * TUSCANY-1823 - * TUSCANY-1839 - * TUSCANY-1814 - * TUSCANY-1818 - * TUSCANY-1834 - * TUSCANY-1637 - * TUSCANY-1826 - * TUSCANY-1823 - * TUSCANY-1819 - * TUSCANY-1821 - * TUSCANY-1822 - * TUSCANY-1806 - * TUSCANY-1808 - * TUSCANY-1756 - * TUSCANY-1757 - -- Fix build issues with Maven 2.0.7 and JDK 6 - -- Reduce memory consumption for WSDLs that import large XSDs - -- Add more logging statements for better servicibility - -- Add an extension point to allow extensions to plug-in extension schemas. - -- Add a demo application to showcase XML integration story - -- Improve in databinding framework - * Add support for JSON Databindings and other refactoring - * Set databinding for introspected data type and enhance the checking of wrapper style - * Improve the tree-based XMLStreamReader and convert Bean & DOM to use this approach - * Add a tree-iterator based XMLStreamReader base impl - * Add default element info to java interface - * Rename Interface.setDefaultDataBinding to resetDataBinding - -- Limit the method injection to setters and allow the setter annotation to override field annotation - -- Evolving support in Intent and Policy handling - * Add support for policies in implementation - * Fix the algorithm for macthing policySets defined on bindings for the wire - * Add policy intent for implementation.java - * Extend java implementation type to recognize and apply policies, adding util support for this in Policy module - * Add policy module for logging - -- Evolving development in the SCA Domain/Node - -- Update NOTICE files with missing dependencies - - -Changes With Apache Tuscany SCA 1.0 (incubating) September 2007 -=============================================================== - -- Tuscany Java SCA now implements V1.0 of the core SCA - specifications - SCA Assembly Model V1.0 - SCA Java Common Annotations and APIs V1.0 - SCA Java Component Implementation V1.0 - SCA Web Services Binding V1.0 - Including callbacks, conversations and callable references - - -- Support for ws-security configurable in the web services binding - thro Tuscany SCA policy intents and policysets using the policy framework - introduced in the last release. - - Note : This release supports specifications of policies around axis2 - config params - see helloworld-ws-service-secure sample. The policy - intents that have been tested are authentication, integrity and - confidentiality. - There is no sample or test that exercises confidentiality since there - are some unresolved licensing issue around bouncycastle libraries. - However, users who are not encumbered by the bouncycastle license - restrictions can try the 'confidentiality' intent. See FAQ - - http://incubator.apache.org/tuscany/tuscany-sca-java-faq.html - - This release does not include support for WS-Policy - attachments in Tuscany Policysets for ws-security. - - -- An XQuery component implementation type - implementation-xquery - - -- A Databinding for converting data to and from nodes for XQuery - processing - databinding-saxon - - -- OSGI support has been extended to allow Tuscany contributions - packaged as OSGI bundles hence taking advantage of OSGI's bundle - loading an dependency management capabilities - - -- A BPEL component implementation type experimental implementation -based on SCA BPEL Client and Implementation V1.0. At the moment only -supports BPEL process as services. - implementation-bpel - - -- The distributed runtime implementation has been separated out - into - *) domain - *) node - It is now wrapped by a SCADomain interface as is the standalone - runtime. - - Note: This release does not include support for WebApp host deployment - for a distributed SCA Domain - - - -- The web service binding will now generate WSDL automatically - based on the service interface if no WSDL is provided - - -- A new "store" sample and associated document show how a - simple store front application can be constructed - samples/store - -- The following features of this release are still experimental: - - BPEL implementation type, integrating with Apache ODE - - OSGI implementation type, integrating with Apache Felix - - XQuery implementation type - - - -Changes With Apache Tuscany SCA 0.99 (incubating) August 2007 -============================================================= - -The following are the significant additions to release 0.99 -over and above all of what was offered in release 0.91. - -- A version of the default sca binding that works between - components runing in separate Java virtual machines - binding-sca-axis - -- A simple node implementation and a service discovery - function for running sca applications distributed - across more than one node - distributed - distributed-impl - -- integration with OSGi runtimes is now supported with - a new implementation-osgi component type - -- PUB/SUB interactions are now supported by using new - notification binding and implementation types, and - samples demonstrating the feature. - -- The Tuscany runtime now has a policy framework supporting - the SCA policy specification - -- the endpoint URIs used by SCA bindings has been rationalized - and now follows the SCA Assembly specification - -- binding-ajax has been renamed to binding-dwr - -Changes With Apache Tuscany SCA 0.91 (incubating) July 2007 -=========================================================== - -The following are the significant additions to release 0.91 -over and above all of what was offered in release 0.90. - - -- Enhancements to support multiple contributions to the SCA Domain - -- The inclusion of a alternative simplified extensions-helper -SPI layer to faciliate rapid development of extensions - -- More Implementation Extenstions - Spring - WebResource - -- More Binding Extensions - AJAX - EJB - RSS/ATOM Feeds - -- Demos that demonstrate the use of a mix of extensions - alert-aggregator-webapp - bigbank-account - bigbank-calculator - bigbank-stockquote - - -- Samples - Samples to demostrate use of Spring, Resource, AJAX extensions - -Changes With Apache Tuscany SCA 0.90 (incubating) June 2007 -=========================================================== - -- Implementations for all of the Java Annotations and API Specification V1.0 found at - (http://www.osoa.org/display/Main/Service+Component+Architecture+Specifications) - apart from the following. - @ComponentName - Conversation - RequestContext - -- New assembly model implementation taking into account SCA 1.0 artifacts - Data duplication between assembly model and runtime removed - -- Simple single process domain support - Contribution support to scope items being deployed into the runtime - -- Improved Package/Class naming consistency across modules - -- Extensions now loaded via Java service mechanism - Refactored extensions to use new SPIs (see below) - -- Maven and Ant based sample builds in the binary distribution - -- Implementation Extensions - Java - Script supporting (Ruby, Python, Groovy, JavaScript) - -- Binding Extensions - Axis2 - RMI - JSONRPC - --Databinding Extensions - Axiom - JAXB - SDO - -- Host environments - Embedded - Tomcat - Jetty - RMI - -- A clear set of SPIs intended to be stable over future releases - SCA assembly model - org.apache.tuscany.sca.assembly - org.apache.tuscany.sca.interfacedef - org.apache.tuscany.sca.interfacedef.java - org.apache.tuscany.sca.interfacedef.wsdl - org.apache.tuscany.sca.policy - - SCA contribution model - org.apache.tuscany.sca.contribution - - Runtime extensions - org.apache.tuscany.sca.core - org.apache.tuscany.sca.invocation - org.apache.tuscany.sca.provider - org.apache.tuscany.sca.runtime - org.apache.tuscany.sca.work - - Data binding support - org.apache.tuscany.sca.databinding - - Embedding Tuscany - org.apache.tuscany.sca.host.embedded - - Servlet container integration - org.apache.tuscany.sca.http - -- For this point release a partial set of JavaDoc is provided to - be filled out as we close on release 1.0 diff --git a/java/sca-contrib/distribution/process/src/main/release/README b/java/sca-contrib/distribution/process/src/main/release/README deleted file mode 100644 index 4d83dcfde9..0000000000 --- a/java/sca-contrib/distribution/process/src/main/release/README +++ /dev/null @@ -1,19 +0,0 @@ -Apache Tuscany SCA 1.2 (incubating) April 2008 README -===================================================== - -Welcome to the Tuscany SCA 1.2 release. - -See the RELEASE_NOTES file for information specific to this release. - -In the binary release see the INSTALL file for information on how to -install the release. - -In the source distribution see the BUILDING file for information on -building the source code. - - - - - - - diff --git a/java/sca-contrib/distribution/process/src/main/release/RELEASE_NOTES b/java/sca-contrib/distribution/process/src/main/release/RELEASE_NOTES deleted file mode 100644 index a04ef5c553..0000000000 --- a/java/sca-contrib/distribution/process/src/main/release/RELEASE_NOTES +++ /dev/null @@ -1,83 +0,0 @@ -Apache Tuscany SCA 1.2 (incubating) April 2008 Release Notes -============================================================ - -Apache Tuscany provides a runtime based on the Service Component -Architecture. SCA is a set of specifications aimed at simplifying SOA -Application Development which are being standardized at OASIS as part -of Open Composite Services Architecture (Open CSA) - http://www.oasis-opencsa.org/. - -Overview --------- - - The Apache Tuscany SCA 1.2 release includes implementations of the - main SCA specifications including: - - SCA Assembly Model V1.0 - SCA Policy Framework V1.0 - SCA Java Common Annotations and APIs V1.0 - SCA Java Component Implementation V1.0 - SCA Spring Component Implementation V1.0 - SCA BPEL Client and Implementation V1.0 - SCA Web Services Binding V1.0 - SCA EJB Session Bean Binding V1.0 - - It also includes implementations of many features not yet defined - by SCA specifications, including: - - - SCA bindings for Direct Web Remoting, RSS and ATOM Feeds, - HTTP resources, JSON-RPC, PUB/SUB Notifications, and RMI. - - SCA implementation types for OSGI, XQuery, BPEL, Widget and various - dynamic languages including Groovy, Javascript, Python and Ruby - - Databindings for Service Data Objects (SDO), JAXB, XmlBeans, - Axis2's AXIOM, JSON, SAXON, DOM, SAX and StAX - - The Tuscany SCA Runtime can be configured as a single node SCA domain or - as an SCA domain distributed across multiple nodes. - In addition Tuscany SCA supports the following host-deployment options: - - - running standalone - - running with distributed nodes across multiple JVMs - - running with embedded Jetty or Tomcat - - running as part of a standard web application - - The Wepapp samples included in this release have been tried and tested on - - Tomcat 5.5.20 and Tomcat 6.0.14 - - Jetty 6.1.3 - - Geronimo 2.0.2 Tomcat6 jee5 - - WebSphere 6.1 fix pack 9 - -See the CHANGES file for a detailed list of the features in this release. - -Support -------- - -For more information on Apache Tuscany visit the website at: - - http://incubator.apache.org/tuscany/ - -Any issues with this release can be reported to Apache Tuscany -using the mailing lists or in the JIRA issue tracker. - - Mailing list archives: - - http://mail-archives.apache.org/mod_mbox/ws-tuscany-user/ - http://mail-archives.apache.org/mod_mbox/ws-tuscany-dev/ - - Jira: - - http://issues.apache.org/jira/browse/TUSCANY - -To join the project's mailing lists follow the instructions at: - - http://incubator.apache.org/tuscany/mailing-lists.html - -To find out more about OASIS Open CSA go to: - - http://www.oasis-opencsa.org. - -Apache Tuscany welcomes your help. Any contribution, including code, -testing, improving the documentation, or bug reporting is always -appreciated. - -Thank you for using Apache Tuscany! - -- The Tuscany Team. diff --git a/java/sca-contrib/distribution/process/src/main/release/bin/INSTALL b/java/sca-contrib/distribution/process/src/main/release/bin/INSTALL deleted file mode 100644 index 2da53a2b44..0000000000 --- a/java/sca-contrib/distribution/process/src/main/release/bin/INSTALL +++ /dev/null @@ -1,27 +0,0 @@ -Installing the Apache Tuscany SCA 1.2 (incubating) April 2008 Release binary distribution -========================================================================================= - -Unzip Tuscany binary distribution archive and you get the following: - -tuscany-sca-1.1-incubating - DISCLAIMER - the ASF incubation disclaimer - INSTALL - this help file - LICENSE - the Apache License and any dependecy licenses - NOTICE - attribution notices associated with the licenses - README - readme for the release - RELEASE_NOTES - description of this release - CHANGES - A note of the major changes in this release - - /demos - Demo applications showcasing the use of Apache Tuscany - - /lib - The tuscany-sca-all and tuscany-sca-manifest jars and all their dependencies - - /modules - all of the individual Tuscany jars - - /samples - all the Tuscany samples, see the README in that directory - - /tutorial - The store tutorial, see the README in that directory - - - - diff --git a/java/sca-contrib/distribution/process/src/main/release/bin/LICENSE b/java/sca-contrib/distribution/process/src/main/release/bin/LICENSE deleted file mode 100644 index 5e1f585d46..0000000000 --- a/java/sca-contrib/distribution/process/src/main/release/bin/LICENSE +++ /dev/null @@ -1,2366 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - -=============================================================================== - -APACHE TUSCANY SUBCOMPONENTS: - -The Apache Tuscany binary distribution includes a number of subcomponents -with separate copyright notices and license terms. Your use of the -code for the these subcomponents is subject to the terms and -conditions of the following licenses. - -=============================================================================== - -The following components come under Apache Software License 1.1 - - commons-discovery-0.2.jar - commons-primitives-1.0.jar - -The following components come under Apache Software License 2.0 - - abdera-core-0.3.0-incubating.jar - abdera-i18n-0.3.0-incubating.jar - abdera-parser-0.3.0-incubating.jar - activeio-2.0-r118.jar - activeio-core-3.0.0-incubator.jar - apache-activemq-4.1.1.jar - addressing-1.3.mar - annogen-0.1.0.jar - annotations-api-6.0.14.jar - aopalliance-1.0.jar - axiom-api-1.2.5.jar - axiom-dom-1.2.5.jar - axiom-impl-1.2.5.jar - axis2-adb-1.3.jar - axis2-codegen-1.3.jar - axis2-java2wsdl-1.3.jar - axis2-kernel-1.3.jar - axis2-mtompolicy-1.3.jar - bsf-all-3.0-beta2.jar - catalina-6.0.14.jar - cglib-nodep-2.1_3.jar - commons-collections-3.1.jar - commons-codec-1.3.jar - commons-fileupload-1.1.1.jar - commons-httpclient-3.0.1.jar - commons-io-1.2.jar - commons-jexl-1.1.jar - commons-lang-2.1.jar - commons-logging-1.1.jar - coyote-6.0.14.jar - derby-10.1.3.1.jar - geronimo-activation_1.1_spec-1.0-M1.jar - geronimo-common-1.2-beta.jar - geronimo-commonj_1.1_spec-1.0.jar - geronimo-connector-1.2-beta.jar - geronimo-core-1.2-beta.jar - geronimo-deployment-1.2-beta.jar - geronimo-ejb_3.0_spec-1.0.jar - geronimo-interceptor-1.2-beta.jar - geronimo-j2ee-1.2-beta.jar - geronimo-j2ee-connector_1.5_spec-1.1.jar - geronimo-j2ee-jacc_1.0_spec-1.1.jar - geronimo-j2ee-management_1.0_spec-1.1.jar - geronimo-javamail_1.4_spec-1.0-M1.jar - geronimo-jms_1.1_spec-1.1.jar - geronimo-jpa_3.0_spec-1.0.jar - geronimo-jta_1.0.1B_spec-1.0.jar - geronimo-kernel-1.2-beta.jar - geronimo-management-1.2-beta.jar - geronimo-naming-1.2-beta.jar - geronimo-security-1.2-beta.jar - geronimo-spec-j2ee-connector-1.5-rc4.jar - geronimo-spec-jta-1.0.1B-rc4.jar - geronimo-system-1.2-beta.jar - geronimo-transaction-1.2-beta.jar - geronimo-util-1.2-beta.jar - httpcore-4.0-alpha5.jar - httpcore-nio-4.0-alpha5.jar - httpcore-niossl-4.0-alpha5.jar - jettison-1.0-RC2.jar - jetty-6.1.7.jar - jetty-util-6.1.7.jar - json-rpc-1.0.jar - juli-6.0.14.jar - log4j-1.2.12.jar - logkit-1.0.1.jar - neethi-2.0.2.jar - ode-bpel-api-1.1.jar - ode-bpel-compiler-1.1.jar - ode-bpel-dao-1.1.jar - ode-bpel-epr-1.1.jar - ode-bpel-obj-1.1.jar - ode-bpel-runtime-1.1.jar - ode-bpel-schemas-1.1.jar - ode-bpel-store-1.1.jar - ode-dao-jpa-1.1.jar - ode-dao-jpa-ojpa-derby-1.1.zip - ode-jacob-1.1.jar - ode-jacob-ap-1.1.jar - ode-scheduler-simple-1.1.jar - ode-utils-1.1.jar - openjpa-all-0.9.7-incubating.jar - openjpa-persistence-0.9.7-incubating.jar - org.apache.felix.bundlerepository-1.0.2.jar - org.apache.felix.framework-1.0.3.jar - org.apache.felix.main-1.0.3.jar - org.apache.felix.shell-1.0.0.jar - org.apache.felix.shell.tui-1.0.0.jar - rampart-core-1.3.jar - rampart-policy-1.3.jar - rampart-trust-1.3.jar - regexp-1.3.jar - spring-beans-2.0.6.jar - spring-context-2.0.6.jar - spring-core-2.0.6.jar - tranql-connector-1.1.jar - tuscany-sdo-api-r2.1-1.0-incubating.jar - tuscany-sdo-impl-1.0-incubating.jar - tuscany-sdo-lib-1.0-incubating.jar - tuscany-sdo-tools-1.0-incubating.jar - woden-1.0-incubating-M7b.jar - wss4j-1.5.3.jar - wstx-asl-3.2.1.jar - xalan-2.7.0.jar - xbean-naming-2.7.jar - xercesImpl-2.8.1.jar - xml-apis-1.3.03.jar - xmlbeans-2.3.0.jar - xml-resolver-1.1.jar - xmlsec-1.4.0.jar - XmlSchema-1.3.2.jar - -=============================================================================== -axion-1.0-M3-dev.jar - -Copyright (c) 2002-2003 Axion Development Team. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above - copyright notice, this list of conditions and the following - disclaimer. - -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - -3. The names "Tigris", "Axion", nor the names of its contributors may - not be used to endorse or promote products derived from this - software without specific prior written permission. - -4. Products derived from this software may not be called "Axion", nor - may "Tigris" or "Axion" appear in their names without specific prior - written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A -PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -The "Axion Development Team" is defined to be: - - * Chuck Burdick - * James Burke - * Morgan Delagrange - * Geir Magnusson Jr. - * Martin Poeschl - * Steve Polyak - * Daniel Rall - * Ahimanikya Satapathy - * Doug Sale - * James Strachan - * Rodney Waldhoff - * Jason van Zyl - -License changes are to be determined by a simple majority vote of the -Axion Development Team. - -=============================================================================== -dom4j-1.6.1.jar - -Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved. - -Redistribution and use of this software and associated documentation -("Software"), with or without modification, are permitted provided -that the following conditions are met: - -1. Redistributions of source code must retain copyright - statements and notices. Redistributions must also contain a - copy of this document. - -2. Redistributions in binary form must reproduce the - above copyright notice, this list of conditions and the - following disclaimer in the documentation and/or other - materials provided with the distribution. - -3. The name "DOM4J" must not be used to endorse or promote - products derived from this Software without prior written - permission of MetaStuff, Ltd. For written permission, - please contact dom4j-info@metastuff.com. - -4. Products derived from this Software may not be called "DOM4J" - nor may "DOM4J" appear in their names without prior written - permission of MetaStuff, Ltd. DOM4J is a registered - trademark of MetaStuff, Ltd. - -5. Due credit should be given to the DOM4J Project - - http://www.dom4j.org - -THIS SOFTWARE IS PROVIDED BY METASTUFF, LTD. AND CONTRIBUTORS -``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT -NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND -FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL -METASTUFF, LTD. OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED -OF THE POSSIBILITY OF SUCH DAMAGE. - -=============================================================================== - -The EMF jars; - codegen-2.2.3.jar - codegen-ecore-2.2.3.jar - common-2.2.3.jar - ecore-2.2.3.jar - ecore-change-2.2.3.jar - ecore-xmi-2.2.3.jar - xsd-2.2.3.jar - -Eclipse Public License - v 1.0 - -THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE -PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF -THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. - -1. DEFINITIONS - -"Contribution" means: - -a) in the case of the initial Contributor, the initial code and -documentation distributed under this Agreement, and -b) in the case of each subsequent Contributor: - -i) changes to the Program, and - -ii) additions to the Program; - -where such changes and/or additions to the Program originate from and -are distributed by that particular Contributor. A Contribution -'originates' from a Contributor if it was added to the Program by such -Contributor itself or anyone acting on such Contributor's behalf. -Contributions do not include additions to the Program which: (i) are -separate modules of software distributed in conjunction with the -Program under their own license agreement, and (ii) are not derivative -works of the Program. - -"Contributor" means any person or entity that distributes the Program. - -"Licensed Patents " mean patent claims licensable by a Contributor -which are necessarily infringed by the use or sale of its Contribution -alone or when combined with the Program. - -"Program" means the Contributions distributed in accordance with this -Agreement. - -"Recipient" means anyone who receives the Program under this -Agreement, including all Contributors. - -2. GRANT OF RIGHTS - -a) Subject to the terms of this Agreement, each Contributor hereby -grants Recipient a non-exclusive, worldwide, royalty-free copyright -license to reproduce, prepare derivative works of, publicly display, -publicly perform, distribute and sublicense the Contribution of such -Contributor, if any, and such derivative works, in source code and -object code form. - -b) Subject to the terms of this Agreement, each Contributor hereby -grants Recipient a non-exclusive, worldwide, royalty-free patent -license under Licensed Patents to make, use, sell, offer to sell, -import and otherwise transfer the Contribution of such Contributor, if -any, in source code and object code form. This patent license shall -apply to the combination of the Contribution and the Program if, at -the time the Contribution is added by the Contributor, such addition -of the Contribution causes such combination to be covered by the -Licensed Patents. The patent license shall not apply to any other -combinations which include the Contribution. No hardware per se is -licensed hereunder. - -c) Recipient understands that although each Contributor grants the -licenses to its Contributions set forth herein, no assurances are -provided by any Contributor that the Program does not infringe the -patent or other intellectual property rights of any other entity. Each -Contributor disclaims any liability to Recipient for claims brought by -any other entity based on infringement of intellectual property rights -or otherwise. As a condition to exercising the rights and licenses -granted hereunder, each Recipient hereby assumes sole responsibility -to secure any other intellectual property rights needed, if any. For -example, if a third party patent license is required to allow -Recipient to distribute the Program, it is Recipient's responsibility -to acquire that license before distributing the Program. - -d) Each Contributor represents that to its knowledge it has sufficient -copyright rights in its Contribution, if any, to grant the copyright -license set forth in this Agreement. - -3. REQUIREMENTS - -A Contributor may choose to distribute the Program in object code form -under its own license agreement, provided that: - -a) it complies with the terms and conditions of this Agreement; and - -b) its license agreement: - -i) effectively disclaims on behalf of all Contributors all warranties -and conditions, express and implied, including warranties or -conditions of title and non-infringement, and implied warranties or -conditions of merchantability and fitness for a particular purpose; - -ii) effectively excludes on behalf of all Contributors all liability -for damages, including direct, indirect, special, incidental and -consequential damages, such as lost profits; - -iii) states that any provisions which differ from this Agreement are -offered by that Contributor alone and not by any other party; and - -iv) states that source code for the Program is available from such -Contributor, and informs licensees how to obtain it in a reasonable -manner on or through a medium customarily used for software exchange. - -When the Program is made available in source code form: - -a) it must be made available under this Agreement; and - -b) a copy of this Agreement must be included with each copy of the -Program. - -Contributors may not remove or alter any copyright notices contained -within the Program. - -Each Contributor must identify itself as the originator of its -Contribution, if any, in a manner that reasonably allows subsequent -Recipients to identify the originator of the Contribution. - -4. COMMERCIAL DISTRIBUTION - -Commercial distributors of software may accept certain -responsibilities with respect to end users, business partners and the -like. While this license is intended to facilitate the commercial use -of the Program, the Contributor who includes the Program in a -commercial product offering should do so in a manner which does not -create potential liability for other Contributors. Therefore, if a -Contributor includes the Program in a commercial product offering, -such Contributor ("Commercial Contributor") hereby agrees to defend -and indemnify every other Contributor ("Indemnified Contributor") -against any losses, damages and costs (collectively "Losses") arising -from claims, lawsuits and other legal actions brought by a third party -against the Indemnified Contributor to the extent caused by the acts -or omissions of such Commercial Contributor in connection with its -distribution of the Program in a commercial product offering. The -obligations in this section do not apply to any claims or Losses -relating to any actual or alleged intellectual property infringement. -In order to qualify, an Indemnified Contributor must: a) promptly -notify the Commercial Contributor in writing of such claim, and b) -allow the Commercial Contributor to control, and cooperate with the -Commercial Contributor in, the defense and any related settlement -negotiations. The Indemnified Contributor may participate in any such -claim at its own expense. - -For example, a Contributor might include the Program in a commercial -product offering, Product X. That Contributor is then a Commercial -Contributor. If that Commercial Contributor then makes performance -claims, or offers warranties related to Product X, those performance -claims and warranties are such Commercial Contributor's responsibility -alone. Under this section, the Commercial Contributor would have to -defend claims against the other Contributors related to those -performance claims and warranties, and if a court requires any other -Contributor to pay any damages as a result, the Commercial Contributor -must pay those damages. - -5. NO WARRANTY - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS -PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY -OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely -responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement , including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -6. DISCLAIMER OF LIABILITY - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -7. GENERAL - -If any provision of this Agreement is invalid or unenforceable under -applicable law, it shall not affect the validity or enforceability of -the remainder of the terms of this Agreement, and without further -action by the parties hereto, such provision shall be reformed to the -minimum extent necessary to make such provision valid and enforceable. - -If Recipient institutes patent litigation against any entity -(including a cross-claim or counterclaim in a lawsuit) alleging that -the Program itself (excluding combinations of the Program with other -software or hardware) infringes such Recipient's patent(s), then such -Recipient's rights granted under Section 2(b) shall terminate as of -the date such litigation is filed. - -All Recipient's rights under this Agreement shall terminate if it -fails to comply with any of the material terms or conditions of this -Agreement and does not cure such failure in a reasonable period of -time after becoming aware of such noncompliance. If all Recipient's -rights under this Agreement terminate, Recipient agrees to cease use -and distribution of the Program as soon as reasonably practicable. -However, Recipient's obligations under this Agreement and any licenses -granted by Recipient relating to the Program shall continue and -survive. - -Everyone is permitted to copy and distribute copies of this Agreement, -but in order to avoid inconsistency the Agreement is copyrighted and -may only be modified in the following manner. The Agreement Steward -reserves the right to publish new versions (including revisions) of -this Agreement from time to time. No one other than the Agreement -Steward has the right to modify this Agreement. The Eclipse Foundation -is the initial Agreement Steward. The Eclipse Foundation may assign -the responsibility to serve as the Agreement Steward to a suitable -separate entity. Each new version of the Agreement will be given a -distinguishing version number. The Program (including Contributions) -may always be distributed subject to the version of the Agreement -under which it was received. In addition, after a new version of the -Agreement is published, Contributor may elect to distribute the -Program (including its Contributions) under the new version. Except as -expressly stated in Sections 2(a) and 2(b) above, Recipient receives -no rights or licenses to the intellectual property of any Contributor -under this Agreement, whether expressly, by implication, estoppel or -otherwise. All rights in the Program not expressly granted under this -Agreement are reserved. - -This Agreement is governed by the laws of the State of New York and -the intellectual property laws of the United States of America. No -party to this Agreement will bring a legal action under this Agreement -more than one year after the cause of action arose. Each party waives -its rights to a jury trial in any resulting litigation. - -=============================================================================== -For Saxon including - saxon-8.7.jar - saxon-dom-8.7.jar - saxon-xpath-8.7.jar - - MOZILLA PUBLIC LICENSE -Version 1.0 - -1. Definitions. - - 1.1. ``Contributor'' means each entity that creates or contributes to the creation of Modifications. - - 1.2. ``Contributor Version'' means the combination of the Original Code, prior Modifications used by a Contributor, and the Modifications made by that particular Contributor. - - 1.3. ``Covered Code'' means the Original Code or Modifications or the combination of the Original Code and Modifications, in each case including portions thereof. - - 1.4. ``Electronic Distribution Mechanism'' means a mechanism generally accepted in the software development community for the electronic transfer of data. - - 1.5. ``Executable'' means Covered Code in any form other than Source Code. - - 1.6. ``Initial Developer'' means the individual or entity identified as the Initial Developer in the Source Code notice required by Exhibit A. - - 1.7. ``Larger Work'' means a work which combines Covered Code or portions thereof with code not governed by the terms of this License. - - 1.8. ``License'' means this document. - - 1.9. ``Modifications'' means any addition to or deletion from the substance or structure of either the Original Code or any previous Modifications. When Covered Code is released as a series of files, a Modification is: - - A. Any addition to or deletion from the contents of a file containing Original Code or previous Modifications. - - B. Any new file that contains any part of the Original Code or previous Modifications. - - 1.10. ``Original Code'' means Source Code of computer software code which is described in the Source Code notice required by Exhibit A as Original Code, and which, at the time of its release under this License is not already Covered Code governed by this License. - - 1.11. ``Source Code'' means the preferred form of the Covered Code for making modifications to it, including all modules it contains, plus any associated interface definition files, scripts used to control compilation and installation of an Executable, or a list of source code differential comparisons against either the Original Code or another well known, available Covered Code of the Contributor's choice. The Source Code can be in a compressed or archival form, provided the appropriate decompression or de-archiving software is widely available for no charge. - - 1.12. ``You'' means an individual or a legal entity exercising rights under, and complying with all of the terms of, this License or a future version of this License issued under Section 6.1. For legal entities, ``You'' includes any entity which controls, is controlled by, or is under common control with You. For purposes of this definition, ``control'' means (a) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (b) ownership of fifty percent (50%) or more of the outstanding shares or beneficial ownership of such entity. - -2. Source Code License. - - 2.1. The Initial Developer Grant. - The Initial Developer hereby grants You a world-wide, royalty-free, non-exclusive license, subject to third party intellectual property claims: - - (a) to use, reproduce, modify, display, perform, sublicense and distribute the Original Code (or portions thereof) with or without Modifications, or as part of a Larger Work; and - - (b) under patents now or hereafter owned or controlled by Initial Developer, to make, have made, use and sell (``Utilize'') the Original Code (or portions thereof), but solely to the extent that any such patent is reasonably necessary to enable You to Utilize the Original Code (or portions thereof) and not to any greater extent that may be necessary to Utilize further Modifications or combinations. - - 2.2. Contributor Grant. - Each Contributor hereby grants You a world-wide, royalty-free, non-exclusive license, subject to third party intellectual property claims: - - (a) to use, reproduce, modify, display, perform, sublicense and distribute the Modifications created by such Contributor (or portions thereof) either on an unmodified basis, with other Modifications, as Covered Code or as part of a Larger Work; and - - (b) under patents now or hereafter owned or controlled by Contributor, to Utilize the Contributor Version (or portions thereof), but solely to the extent that any such patent is reasonably necessary to enable You to Utilize the Contributor Version (or portions thereof), and not to any greater extent that may be necessary to Utilize further Modifications or combinations. - -3. Distribution Obligations. - - 3.1. Application of License. - The Modifications which You create or to which You contribute are governed by the terms of this License, including without limitation Section 2.2. The Source Code version of Covered Code may be distributed only under the terms of this License or a future version of this License released under Section 6.1, and You must include a copy of this License with every copy of the Source Code You distribute. You may not offer or impose any terms on any Source Code version that alters or restricts the applicable version of this License or the recipients' rights hereunder. However, You may include an additional document offering the additional rights described in Section 3.5. - - 3.2. Availability of Source Code. - Any Modification which You create or to which You contribute must be made available in Source Code form under the terms of this License either on the same media as an Executable version or via an accepted Electronic Distribution Mechanism to anyone to whom you made an Executable version available; and if made available via Electronic Distribution Mechanism, must remain available for at least twelve (12) months after the date it initially became available, or at least six (6) months after a subsequent version of that particular Modification has been made available to such recipients. You are responsible for ensuring that the Source Code version remains available even if the Electronic Distribution Mechanism is maintained by a third party. - - 3.3. Description of Modifications. - You must cause all Covered Code to which you contribute to contain a file documenting the changes You made to create that Covered Code and the date of any change. You must include a prominent statement that the Modification is derived, directly or indirectly, from Original Code provided by the Initial Developer and including the name of the Initial Developer in (a) the Source Code, and (b) in any notice in an Executable version or related documentation in which You describe the origin or ownership of the Covered Code. - - 3.4. Intellectual Property Matters - - (a) Third Party Claims. - If You have knowledge that a party claims an intellectual property right in particular functionality or code (or its utilization under this License), you must include a text file with the source code distribution titled ``LEGAL'' which describes the claim and the party making the claim in sufficient detail that a recipient will know whom to contact. If you obtain such knowledge after You make Your Modification available as described in Section 3.2, You shall promptly modify the LEGAL file in all copies You make available thereafter and shall take other steps (such as notifying appropriate mailing lists or newsgroups) reasonably calculated to inform those who received the Covered Code that new knowledge has been obtained. - - (b) Contributor APIs. - If Your Modification is an application programming interface and You own or control patents which are reasonably necessary to implement that API, you must also include this information in the LEGAL file. - - 3.5. Required Notices. - You must duplicate the notice in Exhibit A in each file of the Source Code, and this License in any documentation for the Source Code, where You describe recipients' rights relating to Covered Code. If You created one or more Modification(s), You may add your name as a Contributor to the notice described in Exhibit A. If it is not possible to put such notice in a particular Source Code file due to its structure, then you must include such notice in a location (such as a relevant directory file) where a user would be likely to look for such a notice. You may choose to offer, and to charge a fee for, warranty, support, indemnity or liability obligations to one or more recipients of Covered Code. However, You may do so only on Your own behalf, and not on behalf of the Initial Developer or any Contributor. You must make it absolutely clear than any such warranty, support, indemnity or liability obligation is offered by You alone, and You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of warranty, support, indemnity or liability terms You offer. - - 3.6. Distribution of Executable Versions. - You may distribute Covered Code in Executable form only if the requirements of Section 3.1-3.5 have been met for that Covered Code, and if You include a notice stating that the Source Code version of the Covered Code is available under the terms of this License, including a description of how and where You have fulfilled the obligations of Section 3.2. The notice must be conspicuously included in any notice in an Executable version, related documentation or collateral in which You describe recipients' rights relating to the Covered Code. You may distribute the Executable version of Covered Code under a license of Your choice, which may contain terms different from this License, provided that You are in compliance with the terms of this License and that the license for the Executable version does not attempt to limit or alter the recipient's rights in the Source Code version from the rights set forth in this License. If You distribute the Executable version under a different license You must make it absolutely clear that any terms which differ from this License are offered by You alone, not by the Initial Developer or any Contributor. You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of any such terms You offer. - - 3.7. Larger Works. - You may create a Larger Work by combining Covered Code with other code not governed by the terms of this License and distribute the Larger Work as a single product. In such a case, You must make sure the requirements of this License are fulfilled for the Covered Code. - -4. Inability to Comply Due to Statute or Regulation. - - If it is impossible for You to comply with any of the terms of this License with respect to some or all of the Covered Code due to statute or regulation then You must: (a) comply with the terms of this License to the maximum extent possible; and (b) describe the limitations and the code they affect. Such description must be included in the LEGAL file described in Section 3.4 and must be included with all distributions of the Source Code. Except to the extent prohibited by statute or regulation, such description must be sufficiently detailed for a recipient of ordinary skill to be able to understand it. - -5. Application of this License. - - This License applies to code to which the Initial Developer has attached the notice in Exhibit A, and to related Covered Code. - -6. Versions of the License. - - 6.1. New Versions. - Netscape Communications Corporation (``Netscape'') may publish revised and/or new versions of the License from time to time. Each version will be given a distinguishing version number. - - 6.2. Effect of New Versions. - Once Covered Code has been published under a particular version of the License, You may always continue to use it under the terms of that version. You may also choose to use such Covered Code under the terms of any subsequent version of the License published by Netscape. No one other than Netscape has the right to modify the terms applicable to Covered Code created under this License. - - 6.3. Derivative Works. - If you create or use a modified version of this License (which you may only do in order to apply it to code which is not already Covered Code governed by this License), you must (a) rename Your license so that the phrases ``Mozilla'', ``MOZILLAPL'', ``MOZPL'', ``Netscape'', ``NPL'' or any confusingly similar phrase do not appear anywhere in your license and (b) otherwise make it clear that your version of the license contains terms which differ from the Mozilla Public License and Netscape Public License. (Filling in the name of the Initial Developer, Original Code or Contributor in the notice described in Exhibit A shall not of themselves be deemed to be modifications of this License.) - -7. DISCLAIMER OF WARRANTY. - - COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN ``AS IS'' BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. - -8. TERMINATION. - - This License and the rights granted hereunder will terminate automatically if You fail to comply with terms herein and fail to cure such breach within 30 days of becoming aware of the breach. All sublicenses to the Covered Code which are properly granted shall survive any termination of this License. Provisions which, by their nature, must remain in effect beyond the termination of this License shall survive. - -9. LIMITATION OF LIABILITY. - - UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL THE INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO YOU OR ANY OTHER PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THAT EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. - -10. U.S. GOVERNMENT END USERS. - - The Covered Code is a ``commercial item,'' as that term is defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of ``commercial computer software'' and ``commercial computer software documentation,'' as such terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all U.S. Government End Users acquire Covered Code with only those rights set forth herein. - -11. MISCELLANEOUS. - - This License represents the complete agreement concerning subject matter hereof. If any provision of this License is held to be unenforceable, such provision shall be reformed only to the extent necessary to make it enforceable. This License shall be governed by California law provisions (except to the extent applicable law, if any, provides otherwise), excluding its conflict-of-law provisions. With respect to disputes in which at least one party is a citizen of, or an entity chartered or registered to do business in, the United States of America: (a) unless otherwise agreed in writing, all disputes relating to this License (excepting any dispute relating to intellectual property rights) shall be subject to final and binding arbitration, with the losing party paying all costs of arbitration; (b) any arbitration relating to this Agreement shall be held in Santa Clara County, California, under the auspices of JAMS/EndDispute; and (c) any litigation relating to this Agreement shall be subject to the jurisdiction of the Federal Courts of the Northern District of California, with venue lying in Santa Clara County, California, with the losing party responsible for costs, including without limitation, court costs and reasonable attorneys fees and expenses. The application of the United Nations Convention on Contracts for the International Sale of Goods is expressly excluded. Any law or regulation which provides that the language of a contract shall be construed against the drafter shall not apply to this License. - -12. RESPONSIBILITY FOR CLAIMS. - - Except in cases where another Contributor has failed to comply with Section 3.4, You are responsible for damages arising, directly or indirectly, out of Your utilization of rights under this License, based on the number of copies of Covered Code you made available, the revenues you received from utilizing such rights, and other relevant factors. You agree to work with affected parties to distribute responsibility on an equitable basis. - -EXHIBIT A. - - ``The contents of this file are subject to the Mozilla Public License Version 1.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/ - - Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License. - - The Original Code is ______________________________________. - - The Initial Developer of the Original Code is ________________________. Portions created by ______________________ are Copyright (C) ______ _______________________. All Rights Reserved. - - Contributor(s): ______________________________________.'' - -=============================================================================== - -For the Rhino JavaScript engine js-1.6R7.jar: - - MOZILLA PUBLIC LICENSE - Version 1.1 - - --------------- - -1. Definitions. - - 1.0.1. "Commercial Use" means distribution or otherwise making the - Covered Code available to a third party. - - 1.1. "Contributor" means each entity that creates or contributes to - the creation of Modifications. - - 1.2. "Contributor Version" means the combination of the Original - Code, prior Modifications used by a Contributor, and the Modifications - made by that particular Contributor. - - 1.3. "Covered Code" means the Original Code or Modifications or the - combination of the Original Code and Modifications, in each case - including portions thereof. - - 1.4. "Electronic Distribution Mechanism" means a mechanism generally - accepted in the software development community for the electronic - transfer of data. - - 1.5. "Executable" means Covered Code in any form other than Source - Code. - - 1.6. "Initial Developer" means the individual or entity identified - as the Initial Developer in the Source Code notice required by Exhibit - A. - - 1.7. "Larger Work" means a work which combines Covered Code or - portions thereof with code not governed by the terms of this License. - - 1.8. "License" means this document. - - 1.8.1. "Licensable" means having the right to grant, to the maximum - extent possible, whether at the time of the initial grant or - subsequently acquired, any and all of the rights conveyed herein. - - 1.9. "Modifications" means any addition to or deletion from the - substance or structure of either the Original Code or any previous - Modifications. When Covered Code is released as a series of files, a - Modification is: - A. Any addition to or deletion from the contents of a file - containing Original Code or previous Modifications. - - B. Any new file that contains any part of the Original Code or - previous Modifications. - - 1.10. "Original Code" means Source Code of computer software code - which is described in the Source Code notice required by Exhibit A as - Original Code, and which, at the time of its release under this - License is not already Covered Code governed by this License. - - 1.10.1. "Patent Claims" means any patent claim(s), now owned or - hereafter acquired, including without limitation, method, process, - and apparatus claims, in any patent Licensable by grantor. - - 1.11. "Source Code" means the preferred form of the Covered Code for - making modifications to it, including all modules it contains, plus - any associated interface definition files, scripts used to control - compilation and installation of an Executable, or source code - differential comparisons against either the Original Code or another - well known, available Covered Code of the Contributor's choice. The - Source Code can be in a compressed or archival form, provided the - appropriate decompression or de-archiving software is widely available - for no charge. - - 1.12. "You" (or "Your") means an individual or a legal entity - exercising rights under, and complying with all of the terms of, this - License or a future version of this License issued under Section 6.1. - For legal entities, "You" includes any entity which controls, is - controlled by, or is under common control with You. For purposes of - this definition, "control" means (a) the power, direct or indirect, - to cause the direction or management of such entity, whether by - contract or otherwise, or (b) ownership of more than fifty percent - (50%) of the outstanding shares or beneficial ownership of such - entity. - -2. Source Code License. - - 2.1. The Initial Developer Grant. - The Initial Developer hereby grants You a world-wide, royalty-free, - non-exclusive license, subject to third party intellectual property - claims: - (a) under intellectual property rights (other than patent or - trademark) Licensable by Initial Developer to use, reproduce, - modify, display, perform, sublicense and distribute the Original - Code (or portions thereof) with or without Modifications, and/or - as part of a Larger Work; and - - (b) under Patents Claims infringed by the making, using or - selling of Original Code, to make, have made, use, practice, - sell, and offer for sale, and/or otherwise dispose of the - Original Code (or portions thereof). - - (c) the licenses granted in this Section 2.1(a) and (b) are - effective on the date Initial Developer first distributes - Original Code under the terms of this License. - - (d) Notwithstanding Section 2.1(b) above, no patent license is - granted: 1) for code that You delete from the Original Code; 2) - separate from the Original Code; or 3) for infringements caused - by: i) the modification of the Original Code or ii) the - combination of the Original Code with other software or devices. - - 2.2. Contributor Grant. - Subject to third party intellectual property claims, each Contributor - hereby grants You a world-wide, royalty-free, non-exclusive license - - (a) under intellectual property rights (other than patent or - trademark) Licensable by Contributor, to use, reproduce, modify, - display, perform, sublicense and distribute the Modifications - created by such Contributor (or portions thereof) either on an - unmodified basis, with other Modifications, as Covered Code - and/or as part of a Larger Work; and - - (b) under Patent Claims infringed by the making, using, or - selling of Modifications made by that Contributor either alone - and/or in combination with its Contributor Version (or portions - of such combination), to make, use, sell, offer for sale, have - made, and/or otherwise dispose of: 1) Modifications made by that - Contributor (or portions thereof); and 2) the combination of - Modifications made by that Contributor with its Contributor - Version (or portions of such combination). - - (c) the licenses granted in Sections 2.2(a) and 2.2(b) are - effective on the date Contributor first makes Commercial Use of - the Covered Code. - - (d) Notwithstanding Section 2.2(b) above, no patent license is - granted: 1) for any code that Contributor has deleted from the - Contributor Version; 2) separate from the Contributor Version; - 3) for infringements caused by: i) third party modifications of - Contributor Version or ii) the combination of Modifications made - by that Contributor with other software (except as part of the - Contributor Version) or other devices; or 4) under Patent Claims - infringed by Covered Code in the absence of Modifications made by - that Contributor. - -3. Distribution Obligations. - - 3.1. Application of License. - The Modifications which You create or to which You contribute are - governed by the terms of this License, including without limitation - Section 2.2. The Source Code version of Covered Code may be - distributed only under the terms of this License or a future version - of this License released under Section 6.1, and You must include a - copy of this License with every copy of the Source Code You - distribute. You may not offer or impose any terms on any Source Code - version that alters or restricts the applicable version of this - License or the recipients' rights hereunder. However, You may include - an additional document offering the additional rights described in - Section 3.5. - - 3.2. Availability of Source Code. - Any Modification which You create or to which You contribute must be - made available in Source Code form under the terms of this License - either on the same media as an Executable version or via an accepted - Electronic Distribution Mechanism to anyone to whom you made an - Executable version available; and if made available via Electronic - Distribution Mechanism, must remain available for at least twelve (12) - months after the date it initially became available, or at least six - (6) months after a subsequent version of that particular Modification - has been made available to such recipients. You are responsible for - ensuring that the Source Code version remains available even if the - Electronic Distribution Mechanism is maintained by a third party. - - 3.3. Description of Modifications. - You must cause all Covered Code to which You contribute to contain a - file documenting the changes You made to create that Covered Code and - the date of any change. You must include a prominent statement that - the Modification is derived, directly or indirectly, from Original - Code provided by the Initial Developer and including the name of the - Initial Developer in (a) the Source Code, and (b) in any notice in an - Executable version or related documentation in which You describe the - origin or ownership of the Covered Code. - - 3.4. Intellectual Property Matters - (a) Third Party Claims. - If Contributor has knowledge that a license under a third party's - intellectual property rights is required to exercise the rights - granted by such Contributor under Sections 2.1 or 2.2, - Contributor must include a text file with the Source Code - distribution titled "LEGAL" which describes the claim and the - party making the claim in sufficient detail that a recipient will - know whom to contact. If Contributor obtains such knowledge after - the Modification is made available as described in Section 3.2, - Contributor shall promptly modify the LEGAL file in all copies - Contributor makes available thereafter and shall take other steps - (such as notifying appropriate mailing lists or newsgroups) - reasonably calculated to inform those who received the Covered - Code that new knowledge has been obtained. - - (b) Contributor APIs. - If Contributor's Modifications include an application programming - interface and Contributor has knowledge of patent licenses which - are reasonably necessary to implement that API, Contributor must - also include this information in the LEGAL file. - - (c) Representations. - Contributor represents that, except as disclosed pursuant to - Section 3.4(a) above, Contributor believes that Contributor's - Modifications are Contributor's original creation(s) and/or - Contributor has sufficient rights to grant the rights conveyed by - this License. - - 3.5. Required Notices. - You must duplicate the notice in Exhibit A in each file of the Source - Code. If it is not possible to put such notice in a particular Source - Code file due to its structure, then You must include such notice in a - location (such as a relevant directory) where a user would be likely - to look for such a notice. If You created one or more Modification(s) - You may add your name as a Contributor to the notice described in - Exhibit A. You must also duplicate this License in any documentation - for the Source Code where You describe recipients' rights or ownership - rights relating to Covered Code. You may choose to offer, and to - charge a fee for, warranty, support, indemnity or liability - obligations to one or more recipients of Covered Code. However, You - may do so only on Your own behalf, and not on behalf of the Initial - Developer or any Contributor. You must make it absolutely clear than - any such warranty, support, indemnity or liability obligation is - offered by You alone, and You hereby agree to indemnify the Initial - Developer and every Contributor for any liability incurred by the - Initial Developer or such Contributor as a result of warranty, - support, indemnity or liability terms You offer. - - 3.6. Distribution of Executable Versions. - You may distribute Covered Code in Executable form only if the - requirements of Section 3.1-3.5 have been met for that Covered Code, - and if You include a notice stating that the Source Code version of - the Covered Code is available under the terms of this License, - including a description of how and where You have fulfilled the - obligations of Section 3.2. The notice must be conspicuously included - in any notice in an Executable version, related documentation or - collateral in which You describe recipients' rights relating to the - Covered Code. You may distribute the Executable version of Covered - Code or ownership rights under a license of Your choice, which may - contain terms different from this License, provided that You are in - compliance with the terms of this License and that the license for the - Executable version does not attempt to limit or alter the recipient's - rights in the Source Code version from the rights set forth in this - License. If You distribute the Executable version under a different - license You must make it absolutely clear that any terms which differ - from this License are offered by You alone, not by the Initial - Developer or any Contributor. You hereby agree to indemnify the - Initial Developer and every Contributor for any liability incurred by - the Initial Developer or such Contributor as a result of any such - terms You offer. - - 3.7. Larger Works. - You may create a Larger Work by combining Covered Code with other code - not governed by the terms of this License and distribute the Larger - Work as a single product. In such a case, You must make sure the - requirements of this License are fulfilled for the Covered Code. - -4. Inability to Comply Due to Statute or Regulation. - - If it is impossible for You to comply with any of the terms of this - License with respect to some or all of the Covered Code due to - statute, judicial order, or regulation then You must: (a) comply with - the terms of this License to the maximum extent possible; and (b) - describe the limitations and the code they affect. Such description - must be included in the LEGAL file described in Section 3.4 and must - be included with all distributions of the Source Code. Except to the - extent prohibited by statute or regulation, such description must be - sufficiently detailed for a recipient of ordinary skill to be able to - understand it. - -5. Application of this License. - - This License applies to code to which the Initial Developer has - attached the notice in Exhibit A and to related Covered Code. - -6. Versions of the License. - - 6.1. New Versions. - Netscape Communications Corporation ("Netscape") may publish revised - and/or new versions of the License from time to time. Each version - will be given a distinguishing version number. - - 6.2. Effect of New Versions. - Once Covered Code has been published under a particular version of the - License, You may always continue to use it under the terms of that - version. You may also choose to use such Covered Code under the terms - of any subsequent version of the License published by Netscape. No one - other than Netscape has the right to modify the terms applicable to - Covered Code created under this License. - - 6.3. Derivative Works. - If You create or use a modified version of this License (which you may - only do in order to apply it to code which is not already Covered Code - governed by this License), You must (a) rename Your license so that - the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape", - "MPL", "NPL" or any confusingly similar phrase do not appear in your - license (except to note that your license differs from this License) - and (b) otherwise make it clear that Your version of the license - contains terms which differ from the Mozilla Public License and - Netscape Public License. (Filling in the name of the Initial - Developer, Original Code or Contributor in the notice described in - Exhibit A shall not of themselves be deemed to be modifications of - this License.) - -7. DISCLAIMER OF WARRANTY. - - COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, - WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, - WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF - DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. - THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE - IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, - YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE - COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER - OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF - ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. - -8. TERMINATION. - - 8.1. This License and the rights granted hereunder will terminate - automatically if You fail to comply with terms herein and fail to cure - such breach within 30 days of becoming aware of the breach. All - sublicenses to the Covered Code which are properly granted shall - survive any termination of this License. Provisions which, by their - nature, must remain in effect beyond the termination of this License - shall survive. - - 8.2. If You initiate litigation by asserting a patent infringement - claim (excluding declatory judgment actions) against Initial Developer - or a Contributor (the Initial Developer or Contributor against whom - You file such action is referred to as "Participant") alleging that: - - (a) such Participant's Contributor Version directly or indirectly - infringes any patent, then any and all rights granted by such - Participant to You under Sections 2.1 and/or 2.2 of this License - shall, upon 60 days notice from Participant terminate prospectively, - unless if within 60 days after receipt of notice You either: (i) - agree in writing to pay Participant a mutually agreeable reasonable - royalty for Your past and future use of Modifications made by such - Participant, or (ii) withdraw Your litigation claim with respect to - the Contributor Version against such Participant. If within 60 days - of notice, a reasonable royalty and payment arrangement are not - mutually agreed upon in writing by the parties or the litigation claim - is not withdrawn, the rights granted by Participant to You under - Sections 2.1 and/or 2.2 automatically terminate at the expiration of - the 60 day notice period specified above. - - (b) any software, hardware, or device, other than such Participant's - Contributor Version, directly or indirectly infringes any patent, then - any rights granted to You by such Participant under Sections 2.1(b) - and 2.2(b) are revoked effective as of the date You first made, used, - sold, distributed, or had made, Modifications made by that - Participant. - - 8.3. If You assert a patent infringement claim against Participant - alleging that such Participant's Contributor Version directly or - indirectly infringes any patent where such claim is resolved (such as - by license or settlement) prior to the initiation of patent - infringement litigation, then the reasonable value of the licenses - granted by such Participant under Sections 2.1 or 2.2 shall be taken - into account in determining the amount or value of any payment or - license. - - 8.4. In the event of termination under Sections 8.1 or 8.2 above, - all end user license agreements (excluding distributors and resellers) - which have been validly granted by You or any distributor hereunder - prior to termination shall survive termination. - -9. LIMITATION OF LIABILITY. - - UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT - (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL - DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE, - OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR - ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY - CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, - WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER - COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN - INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF - LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY - RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW - PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE - EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO - THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. - -10. U.S. GOVERNMENT END USERS. - - The Covered Code is a "commercial item," as that term is defined in - 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer - software" and "commercial computer software documentation," as such - terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 - C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), - all U.S. Government End Users acquire Covered Code with only those - rights set forth herein. - -11. MISCELLANEOUS. - - This License represents the complete agreement concerning subject - matter hereof. If any provision of this License is held to be - unenforceable, such provision shall be reformed only to the extent - necessary to make it enforceable. This License shall be governed by - California law provisions (except to the extent applicable law, if - any, provides otherwise), excluding its conflict-of-law provisions. - With respect to disputes in which at least one party is a citizen of, - or an entity chartered or registered to do business in the United - States of America, any litigation relating to this License shall be - subject to the jurisdiction of the Federal Courts of the Northern - District of California, with venue lying in Santa Clara County, - California, with the losing party responsible for costs, including - without limitation, court costs and reasonable attorneys' fees and - expenses. The application of the United Nations Convention on - Contracts for the International Sale of Goods is expressly excluded. - Any law or regulation which provides that the language of a contract - shall be construed against the drafter shall not apply to this - License. - -12. RESPONSIBILITY FOR CLAIMS. - - As between Initial Developer and the Contributors, each party is - responsible for claims and damages arising, directly or indirectly, - out of its utilization of rights under this License and You agree to - work with Initial Developer and Contributors to distribute such - responsibility on an equitable basis. Nothing herein is intended or - shall be deemed to constitute any admission of liability. - -13. MULTIPLE-LICENSED CODE. - - Initial Developer may designate portions of the Covered Code as - "Multiple-Licensed". "Multiple-Licensed" means that the Initial - Developer permits you to utilize portions of the Covered Code under - Your choice of the NPL or the alternative licenses, if any, specified - by the Initial Developer in the file described in Exhibit A. - -EXHIBIT A -Mozilla Public License. - - ``The contents of this file are subject to the Mozilla Public License - Version 1.1 (the "License"); you may not use this file except in - compliance with the License. You may obtain a copy of the License at - http://www.mozilla.org/MPL/ - - Software distributed under the License is distributed on an "AS IS" - basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the - License for the specific language governing rights and limitations - under the License. - - The Original Code is ______________________________________. - - The Initial Developer of the Original Code is ________________________. - Portions created by ______________________ are Copyright (C) ______ - _______________________. All Rights Reserved. - - Contributor(s): ______________________________________. - - Alternatively, the contents of this file may be used under the terms - of the _____ license (the "[___] License"), in which case the - provisions of [______] License are applicable instead of those - above. If you wish to allow use of your version of this file only - under the terms of the [____] License and not to allow others to use - your version of this file under the MPL, indicate your decision by - deleting the provisions above and replace them with the notice and - other provisions required by the [___] License. If you do not delete - the provisions above, a recipient may use your version of this file - under either the MPL or the [___] License." - - [NOTE: The text of this Exhibit A may differ slightly from the text of - the notices in the Source Code files of the Original Code. You should - use the text of this Exhibit A rather than the text found in the - Original Code Source Code for Your Modifications.] - - -=============================================================================== -Groovy (groovy-all-minimal-1.5.4.jar): - -/* - $Id: LICENSE.txt 156 2003-09-26 17:36:37Z jstrachan $ - - Copyright 2003 (C) James Strachan and Bob Mcwhirter. All Rights Reserved. - - Redistribution and use of this software and associated documentation - ("Software"), with or without modification, are permitted provided - that the following conditions are met: - - 1. Redistributions of source code must retain copyright - statements and notices. Redistributions must also contain a - copy of this document. - - 2. Redistributions in binary form must reproduce the - above copyright notice, this list of conditions and the - following disclaimer in the documentation and/or other - materials provided with the distribution. - - 3. The name "groovy" must not be used to endorse or promote - products derived from this Software without prior written - permission of The Codehaus. For written permission, - please contact info@codehaus.org. - - 4. Products derived from this Software may not be called "groovy" - nor may "groovy" appear in their names without prior written - permission of The Codehaus. "groovy" is a registered - trademark of The Codehaus. - - 5. Due credit should be given to The Codehaus - - http://groovy.codehaus.org/ - - THIS SOFTWARE IS PROVIDED BY THE CODEHAUS AND CONTRIBUTORS - ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT - NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL - THE CODEHAUS OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, - INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, - STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED - OF THE POSSIBILITY OF SUCH DAMAGE. - - */ - -=============================================================================== - -Jython (jython-2.2.jar): - -A. HISTORY OF THE SOFTWARE -======================= - -JPython was created in late 1997 by Jim Hugunin. Jim was also the -primary developer while he was at CNRI. In February 1999 Barry Warsaw -took over as primary developer and released JPython version 1.1. - -In October 2000 Barry helped move the software to SourceForge -where it was renamed to Jython. Jython 2.0 and on are licensed under -the Jython specific license below. - -The standard library is covered by the Python Software Foundation -license. See the LICENSE_CPython.txt file for details. - -The zxJDBC package was written by Brian Zimmer and originally licensed -under the GNU Public License. The package is now covered by the Jython -Software License. - -The command line interpreter is covered by the Apache Software -License. See the LICENSE_Apache.txt file for details. - -B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING JYTHON -================================ - -Copyright (c) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Jython Developers -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - - - Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - - - Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the distribution. - - - Neither the name of the Jython Developers nor the names of - its contributors may be used to endorse or promote products - derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR -CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY -OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - - - -JPython 1.1.x Software License. -========================= - -______________________________________________________________________ - -IMPORTANT: PLEASE READ THE FOLLOWING AGREEMENT CAREFULLY. - -BY CLICKING ON THE "ACCEPT" BUTTON WHERE INDICATED, OR BY INSTALLING, -COPYING OR OTHERWISE USING THE SOFTWARE, YOU ARE DEEMED TO HAVE AGREED TO -THE TERMS AND CONDITIONS OF THIS AGREEMENT. - -______________________________________________________________________ - -JPython version 1.1.x - - 1. This LICENSE AGREEMENT is between the Corporation for National Research - Initiatives, having an office at 1895 Preston White Drive, Reston, VA - 20191 ("CNRI"), and the Individual or Organization ("Licensee") - accessing and using JPython version 1.1.x in source or binary form and - its associated documentation as provided herein ("Software"). - - 2. Subject to the terms and conditions of this License Agreement, CNRI - hereby grants Licensee a non-exclusive, non-transferable, royalty-free, - world-wide license to reproduce, analyze, test, perform and/or display - publicly, prepare derivative works, distribute, and otherwise use the - Software alone or in any derivative version, provided, however, that - CNRI's License Agreement and CNRI's notice of copyright, i.e., - "Copyright ©1996-1999 Corporation for National Research Initiatives; - All Rights Reserved" are both retained in the Software, alone or in any - derivative version prepared by Licensee. - - Alternatively, in lieu of CNRI's License Agreement, Licensee may - substitute the following text (omitting the quotes), provided, however, - that such text is displayed prominently in the Software alone or in any - derivative version prepared by Licensee: "JPython (Version 1.1.x) is - made available subject to the terms and conditions in CNRI's License - Agreement. This Agreement may be located on the Internet using the - following unique, persistent identifier (known as a handle): - 1895.22/1006. The License may also be obtained from a proxy server on - the Web using the following URL: http://hdl.handle.net/1895.22/1006." - - 3. In the event Licensee prepares a derivative work that is based on or - incorporates the Software or any part thereof, and wants to make the - derivative work available to the public as provided herein, then - Licensee hereby agrees to indicate in any such work, in a prominently - visible way, the nature of the modifications made to CNRI's Software. - - 4. Licensee may not use CNRI trademarks or trade name, including JPython - or CNRI, in a trademark sense to endorse or promote products or - services of Licensee, or any third party. Licensee may use the mark - JPython in connection with Licensee's derivative versions that are - based on or incorporate the Software, but only in the form - "JPython-based ___________________," or equivalent. - - 5. CNRI is making the Software available to Licensee on an "AS IS" basis. - CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY - OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND DISCLAIMS ANY - REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY - PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT INFRINGE - ANY THIRD PARTY RIGHTS. - - 6. CNRI SHALL NOT BE LIABLE TO LICENSEE OR OTHER USERS OF THE SOFTWARE FOR - ANY INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF - USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY DERIVATIVE - THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. SOME STATES DO NOT - ALLOW THE LIMITATION OR EXCLUSION OF LIABILITY SO THE ABOVE DISCLAIMER - MAY NOT APPLY TO LICENSEE. - - 7. This License Agreement may be terminated by CNRI (i) immediately upon - written notice from CNRI of any material breach by the Licensee, if the - nature of the breach is such that it cannot be promptly remedied; or - (ii) sixty (60) days following notice from CNRI to Licensee of a - material remediable breach, if Licensee has not remedied such breach - within that sixty-day period. - - 8. This License Agreement shall be governed by and interpreted in all - respects by the law of the State of Virginia, excluding conflict of law - provisions. Nothing in this Agreement shall be deemed to create any - relationship of agency, partnership, or joint venture between CNRI and - Licensee. - - 9. By clicking on the "ACCEPT" button where indicated, or by installing, - copying or otherwise using the Software, Licensee agrees to be bound by - the terms and conditions of this License Agreement. - - -=============================================================================== - -The jars; -activation-1.1.jar, -jaxb-api-2.1.jar, -jaxb-impl-2.1.6.jar, -jaxb-xjc-2.1.4.jar, -jaxb2-reflection-2.1.4.jar, -jsr181-api-1.0-MR1.jar, -jsr250-api-1.0.jar, -jaxws-api-2.1-1.jar, -mail-1.4.jar, -saaj-api-1.3.jar, -servlet-api-2.5.jar, -stax-api-1.0-commons-cli-1.0.jar2.jar - -COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0 - - - 1. Definitions. - - 1.1. "Contributor" means each individual or entity that - creates or contributes to the creation of Modifications. - - 1.2. "Contributor Version" means the combination of the - Original Software, prior Modifications used by a - Contributor (if any), and the Modifications made by that - particular Contributor. - - 1.3. "Covered Software" means (a) the Original Software, or - (b) Modifications, or (c) the combination of files - containing Original Software with files containing - Modifications, in each case including portions thereof. - - 1.4. "Executable" means the Covered Software in any form - other than Source Code. - - 1.5. "Initial Developer" means the individual or entity - that first makes Original Software available under this - License. - - 1.6. "Larger Work" means a work which combines Covered - Software or portions thereof with code not governed by the - terms of this License. - - 1.7. "License" means this document. - - 1.8. "Licensable" means having the right to grant, to the - maximum extent possible, whether at the time of the initial - grant or subsequently acquired, any and all of the rights - conveyed herein. - - 1.9. "Modifications" means the Source Code and Executable - form of any of the following: - - A. Any file that results from an addition to, - deletion from or modification of the contents of a - file containing Original Software or previous - Modifications; - - B. Any new file that contains any part of the - Original Software or previous Modification; or - - C. Any new file that is contributed or otherwise made - available under the terms of this License. - - 1.10. "Original Software" means the Source Code and - Executable form of computer software code that is - originally released under this License. - - 1.11. "Patent Claims" means any patent claim(s), now owned - or hereafter acquired, including without limitation, - method, process, and apparatus claims, in any patent - Licensable by grantor. - - 1.12. "Source Code" means (a) the common form of computer - software code in which modifications are made and (b) - associated documentation included in or with such code. - - 1.13. "You" (or "Your") means an individual or a legal - entity exercising rights under, and complying with all of - the terms of, this License. For legal entities, "You" - includes any entity which controls, is controlled by, or is - under common control with You. For purposes of this - definition, "control" means (a) the power, direct or - indirect, to cause the direction or management of such - entity, whether by contract or otherwise, or (b) ownership - of more than fifty percent (50%) of the outstanding shares - or beneficial ownership of such entity. - - 2. License Grants. - - 2.1. The Initial Developer Grant. - - Conditioned upon Your compliance with Section 3.1 below and - subject to third party intellectual property claims, the - Initial Developer hereby grants You a world-wide, - royalty-free, non-exclusive license: - - (a) under intellectual property rights (other than - patent or trademark) Licensable by Initial Developer, - to use, reproduce, modify, display, perform, - sublicense and distribute the Original Software (or - portions thereof), with or without Modifications, - and/or as part of a Larger Work; and - - (b) under Patent Claims infringed by the making, - using or selling of Original Software, to make, have - made, use, practice, sell, and offer for sale, and/or - otherwise dispose of the Original Software (or - portions thereof). - - (c) The licenses granted in Sections 2.1(a) and (b) - are effective on the date Initial Developer first - distributes or otherwise makes the Original Software - available to a third party under the terms of this - License. - - (d) Notwithstanding Section 2.1(b) above, no patent - license is granted: (1) for code that You delete from - the Original Software, or (2) for infringements - caused by: (i) the modification of the Original - Software, or (ii) the combination of the Original - Software with other software or devices. - - 2.2. Contributor Grant. - - Conditioned upon Your compliance with Section 3.1 below and - subject to third party intellectual property claims, each - Contributor hereby grants You a world-wide, royalty-free, - non-exclusive license: - - (a) under intellectual property rights (other than - patent or trademark) Licensable by Contributor to - use, reproduce, modify, display, perform, sublicense - and distribute the Modifications created by such - Contributor (or portions thereof), either on an - unmodified basis, with other Modifications, as - Covered Software and/or as part of a Larger Work; and - - - (b) under Patent Claims infringed by the making, - using, or selling of Modifications made by that - Contributor either alone and/or in combination with - its Contributor Version (or portions of such - combination), to make, use, sell, offer for sale, - have made, and/or otherwise dispose of: (1) - Modifications made by that Contributor (or portions - thereof); and (2) the combination of Modifications - made by that Contributor with its Contributor Version - (or portions of such combination). - - (c) The licenses granted in Sections 2.2(a) and - 2.2(b) are effective on the date Contributor first - distributes or otherwise makes the Modifications - available to a third party. - - (d) Notwithstanding Section 2.2(b) above, no patent - license is granted: (1) for any code that Contributor - has deleted from the Contributor Version; (2) for - infringements caused by: (i) third party - modifications of Contributor Version, or (ii) the - combination of Modifications made by that Contributor - with other software (except as part of the - Contributor Version) or other devices; or (3) under - Patent Claims infringed by Covered Software in the - absence of Modifications made by that Contributor. - - 3. Distribution Obligations. - - 3.1. Availability of Source Code. - - Any Covered Software that You distribute or otherwise make - available in Executable form must also be made available in - Source Code form and that Source Code form must be - distributed only under the terms of this License. You must - include a copy of this License with every copy of the - Source Code form of the Covered Software You distribute or - otherwise make available. You must inform recipients of any - such Covered Software in Executable form as to how they can - obtain such Covered Software in Source Code form in a - reasonable manner on or through a medium customarily used - for software exchange. - - 3.2. Modifications. - - The Modifications that You create or to which You - contribute are governed by the terms of this License. You - represent that You believe Your Modifications are Your - original creation(s) and/or You have sufficient rights to - grant the rights conveyed by this License. - - 3.3. Required Notices. - - You must include a notice in each of Your Modifications - that identifies You as the Contributor of the Modification. - You may not remove or alter any copyright, patent or - trademark notices contained within the Covered Software, or - any notices of licensing or any descriptive text giving - attribution to any Contributor or the Initial Developer. - - 3.4. Application of Additional Terms. - - You may not offer or impose any terms on any Covered - Software in Source Code form that alters or restricts the - applicable version of this License or the recipients' - rights hereunder. You may choose to offer, and to charge a - fee for, warranty, support, indemnity or liability - obligations to one or more recipients of Covered Software. - However, you may do so only on Your own behalf, and not on - behalf of the Initial Developer or any Contributor. You - must make it absolutely clear that any such warranty, - support, indemnity or liability obligation is offered by - You alone, and You hereby agree to indemnify the Initial - Developer and every Contributor for any liability incurred - by the Initial Developer or such Contributor as a result of - warranty, support, indemnity or liability terms You offer. - - - 3.5. Distribution of Executable Versions. - - You may distribute the Executable form of the Covered - Software under the terms of this License or under the terms - of a license of Your choice, which may contain terms - different from this License, provided that You are in - compliance with the terms of this License and that the - license for the Executable form does not attempt to limit - or alter the recipient's rights in the Source Code form - from the rights set forth in this License. If You - distribute the Covered Software in Executable form under a - different license, You must make it absolutely clear that - any terms which differ from this License are offered by You - alone, not by the Initial Developer or Contributor. You - hereby agree to indemnify the Initial Developer and every - Contributor for any liability incurred by the Initial - Developer or such Contributor as a result of any such terms - You offer. - - 3.6. Larger Works. - - You may create a Larger Work by combining Covered Software - with other code not governed by the terms of this License - and distribute the Larger Work as a single product. In such - a case, You must make sure the requirements of this License - are fulfilled for the Covered Software. - - 4. Versions of the License. - - 4.1. New Versions. - - Sun Microsystems, Inc. is the initial license steward and - may publish revised and/or new versions of this License - from time to time. Each version will be given a - distinguishing version number. Except as provided in - Section 4.3, no one other than the license steward has the - right to modify this License. - - 4.2. Effect of New Versions. - - You may always continue to use, distribute or otherwise - make the Covered Software available under the terms of the - version of the License under which You originally received - the Covered Software. If the Initial Developer includes a - notice in the Original Software prohibiting it from being - distributed or otherwise made available under any - subsequent version of the License, You must distribute and - make the Covered Software available under the terms of the - version of the License under which You originally received - the Covered Software. Otherwise, You may also choose to - use, distribute or otherwise make the Covered Software - available under the terms of any subsequent version of the - License published by the license steward. - - 4.3. Modified Versions. - - When You are an Initial Developer and You want to create a - new license for Your Original Software, You may create and - use a modified version of this License if You: (a) rename - the license and remove any references to the name of the - license steward (except to note that the license differs - from this License); and (b) otherwise make it clear that - the license contains terms which differ from this License. - - - 5. DISCLAIMER OF WARRANTY. - - COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" - BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, - INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED - SOFTWARE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR - PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND - PERFORMANCE OF THE COVERED SOFTWARE IS WITH YOU. SHOULD ANY - COVERED SOFTWARE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE - INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF - ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF - WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF - ANY COVERED SOFTWARE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS - DISCLAIMER. - - 6. TERMINATION. - - 6.1. This License and the rights granted hereunder will - terminate automatically if You fail to comply with terms - herein and fail to cure such breach within 30 days of - becoming aware of the breach. Provisions which, by their - nature, must remain in effect beyond the termination of - this License shall survive. - - 6.2. If You assert a patent infringement claim (excluding - declaratory judgment actions) against Initial Developer or - a Contributor (the Initial Developer or Contributor against - whom You assert such claim is referred to as "Participant") - alleging that the Participant Software (meaning the - Contributor Version where the Participant is a Contributor - or the Original Software where the Participant is the - Initial Developer) directly or indirectly infringes any - patent, then any and all rights granted directly or - indirectly to You by such Participant, the Initial - Developer (if the Initial Developer is not the Participant) - and all Contributors under Sections 2.1 and/or 2.2 of this - License shall, upon 60 days notice from Participant - terminate prospectively and automatically at the expiration - of such 60 day notice period, unless if within such 60 day - period You withdraw Your claim with respect to the - Participant Software against such Participant either - unilaterally or pursuant to a written agreement with - Participant. - - 6.3. In the event of termination under Sections 6.1 or 6.2 - above, all end user licenses that have been validly granted - by You or any distributor hereunder prior to termination - (excluding licenses granted to You by any distributor) - shall survive termination. - - 7. LIMITATION OF LIABILITY. - - UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT - (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE - INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF - COVERED SOFTWARE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE - LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR - CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT - LIMITATION, DAMAGES FOR LOST PROFITS, LOSS OF GOODWILL, WORK - STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER - COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN - INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF - LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL - INJURY RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT - APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO - NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR - CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT - APPLY TO YOU. - - 8. U.S. GOVERNMENT END USERS. - - The Covered Software is a "commercial item," as that term is - defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial - computer software" (as that term is defined at 48 C.F.R. - 252.227-7014(a)(1)) and "commercial computer software - documentation" as such terms are used in 48 C.F.R. 12.212 (Sept. - 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 - through 227.7202-4 (June 1995), all U.S. Government End Users - acquire Covered Software with only those rights set forth herein. - This U.S. Government Rights clause is in lieu of, and supersedes, - any other FAR, DFAR, or other clause or provision that addresses - Government rights in computer software under this License. - - 9. MISCELLANEOUS. - - This License represents the complete agreement concerning subject - matter hereof. If any provision of this License is held to be - unenforceable, such provision shall be reformed only to the - extent necessary to make it enforceable. This License shall be - governed by the law of the jurisdiction specified in a notice - contained within the Original Software (except to the extent - applicable law, if any, provides otherwise), excluding such - jurisdiction's conflict-of-law provisions. Any litigation - relating to this License shall be subject to the jurisdiction of - the courts located in the jurisdiction and venue specified in a - notice contained within the Original Software, with the losing - party responsible for costs, including, without limitation, court - costs and reasonable attorneys' fees and expenses. The - application of the United Nations Convention on Contracts for the - International Sale of Goods is expressly excluded. Any law or - regulation which provides that the language of a contract shall - be construed against the drafter shall not apply to this License. - You agree that You alone are responsible for compliance with the - United States export administration regulations (and the export - control laws and regulation of any other countries) when You use, - distribute or otherwise make available any Covered Software. - - 10. RESPONSIBILITY FOR CLAIMS. - - As between Initial Developer and the Contributors, each party is - responsible for claims and damages arising, directly or - indirectly, out of its utilization of rights under this License - and You agree to work with Initial Developer and Contributors to - distribute such responsibility on an equitable basis. Nothing - herein is intended or shall be deemed to constitute any admission - of liability. - -=============================================================================== - -JRuby (jruby-complete-1.0.jar), wsdl4j (wsdl4j-1.6.2.jar): - -Common Public License - v 1.0 - -THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. - -1. DEFINITIONS - -"Contribution" means: - - a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and - b) in the case of each subsequent Contributor: - - i) changes to the Program, and - - ii) additions to the Program; - - where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. Contributions do not include additions to the Program which: (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program. - -"Contributor" means any person or entity that distributes the Program. - -"Licensed Patents " mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program. - -"Program" means the Contributions distributed in accordance with this Agreement. - -"Recipient" means anyone who receives the Program under this Agreement, including all Contributors. - -2. GRANT OF RIGHTS - - a) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code form. - - b) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder. - - c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the Program, it is Recipient's responsibility to acquire that license before distributing the Program. - - d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement. - -3. REQUIREMENTS - -A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that: - - a) it complies with the terms and conditions of this Agreement; and - - b) its license agreement: - - i) effectively disclaims on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose; - - ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits; - - iii) states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and - - iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange. - -When the Program is made available in source code form: - - a) it must be made available under this Agreement; and - - b) a copy of this Agreement must be included with each copy of the Program. - -Contributors may not remove or alter any copyright notices contained within the Program. - -Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows subsequent Recipients to identify the originator of the Contribution. - -4. COMMERCIAL DISTRIBUTION - -Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor ("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense. - -For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages. - -5. NO WARRANTY - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely responsible for determining the appropriateness of using and distributing the Program and assumes all risks associated with its exercise of rights under this Agreement, including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, programs or equipment, and unavailability or interruption of operations. - -6. DISCLAIMER OF LIABILITY - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -7. GENERAL - -If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable. - -If Recipient institutes patent litigation against a Contributor with respect to a patent applicable to software (including a cross-claim or counterclaim in a lawsuit), then any patent licenses granted by that Contributor to such Recipient under this Agreement shall terminate as of the date such litigation is filed. In addition, if Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed. - -All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive. - -Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the right to modify this Agreement. IBM is the initial Agreement Steward. IBM may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the new version. Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or otherwise. All rights in the Program not expressly granted under this Agreement are reserved. - -This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation. - -=============================================================================== - -backport-util-concurrent-2.2.jar: - -The software comprising backport-util-concurrent is based in large -part on the code from JSR166, and the package dl.util.concurrent. -The software has been released to the public domain, as explained at: -http://creativecommons.org/licenses/publicdomain, excepting portions -of the class -edu.emory.mathcs.backport.java.util.concurrent.CopyOnWriteArrayList, -which were adapted from class java.util.ArrayList, written by Sun -Microsystems, Inc, which are used with kind permission, and subject -to the following: - -Copyright 2002-2004 Sun Microsystems, Inc. All rights reserved. Use is -subject to the following license terms. - - "Sun hereby grants you a non-exclusive, worldwide, non-transferrable - license to use and distribute the Java Software technologies as part - of a larger work in source and binary forms, with or without - modification, provided that the following conditions are met: - - -Neither the name of or trademarks of Sun may be used to endorse or - promote products derived from the Java Software technology without - specific prior written permission. - - -Redistributions of source or binary code must be accompanied by the - following notice and disclaimers: - - Portions copyright Sun Microsystems, Inc. Used with kind permission. - - This software is provided AS IS, without a warranty of any kind. ALL - EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND - WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF - MERCHANTABILITY, FITNESS FOR A PARTICULAR PUPOSE OR - NON-INFRINGEMENT, ARE HEREBY EXCLUDED. SUN - MICROSYSTEMS, INC. AND ITS LICENSORS SHALL NOT BE LIABLE - FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF - USING, MODIFYING OR DISTRIBUTING THE SOFTWARE OR ITS - DERIVATIVES. IN NO EVENT WILL SUN MICROSYSTEMS, INC. OR - ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR - DATA, OR FOR DIRECT, INDIRECT,CONSQUENTIAL, INCIDENTAL - OR PUNITIVE DAMAGES, HOWEVER CAUSED AND REGARDLESS OF - THE THEORY OR LIABILITY, ARISING OUT OF THE USE OF OR - INABILITY TO USE SOFTWARE, EVEN IF SUN MICROSYSTEMS, INC. - HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - - You acknowledge that Software is not designed, licensed or intended for - use in the design, construction, operation or maintenance of any nuclear - facility." - -=============================================================================== -rome-0.9.jar - -Copyright 2004 Sun Microsystems, Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. - -=============================================================================== -jdom-1.0.jar : - -$Id: LICENSE.txt,v 1.11 2004/02/06 09:32:57 jhunter Exp $ - - Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin. - All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions - are met: - - 1. Redistributions of source code must retain the above copyright - notice, this list of conditions, and the following disclaimer. - - 2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions, and the disclaimer that follows - these conditions in the documentation and/or other materials - provided with the distribution. - - 3. The name "JDOM" must not be used to endorse or promote products - derived from this software without prior written permission. For - written permission, please contact . - - 4. Products derived from this software may not be called "JDOM", nor - may "JDOM" appear in their name, without prior written permission - from the JDOM Project Management . - - In addition, we request (but do not require) that you include in the - end-user documentation provided with the redistribution and/or in the - software itself an acknowledgement equivalent to the following: - "This product includes software developed by the - JDOM Project (http://www.jdom.org/)." - Alternatively, the acknowledgment may be graphical using the logos - available at http://www.jdom.org/images/logos. - - THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED - WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES - OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - DISCLAIMED. IN NO EVENT SHALL THE JDOM AUTHORS OR THE PROJECT - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF - USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT - OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - SUCH DAMAGE. - - This software consists of voluntary contributions made by many - individuals on behalf of the JDOM Project and was originally - created by Jason Hunter and - Brett McLaughlin . For more information - on the JDOM Project, please see . - -======================================================================== - -dwr-2.0.1.jar : - -/* -* Copyright 2005 Joe Walker -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ - -========================================================================== - -dojotoolkit V1.0.0: - -The "New" BSD License: -********************** - -Copyright (c) 2005, The Dojo Foundation -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - * Neither the name of the Dojo Foundation nor the names of its contributors - may be used to endorse or promote products derived from this software - without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -================================================================================ - -The module tuscany-implementation-script-1.0-incubating.jar temporarily includes -one file under the below BSD license with the following copyright: - - Copyright (c) 2006, Sun Microsystems, Inc. - All rights reserved. - -BSD license: - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are met: - - - Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - - - Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - - - Neither the name of the Sun Microsystems, Inc. nor the names of - contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND - CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED - WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE - COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY - DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF - USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE - OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH - DAMAGE. - -================================================================================ - -The serp-1.12.0.jar is distributed under the BSD license with the following copyright: - - Copyright (c) 2002, A. Abram White - All rights reserved. - -BSD license: - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are met: - - - Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - - - Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - - - Neither the name of the Sun Microsystems, Inc. nor the names of - contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND - CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED - WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE - COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY - DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF - USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE - OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH - DAMAGE. - -================================================================================ -The javacc-3.2.jar, and howl-1.0.1-1.jar are distributed under the BSD license: - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - - * Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED -TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR -CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -================================================================================ - -The tuscany-assembly-xsd jar includes XSD files under the following SCA Collaboration license: - -License for the Service Component Architecture JavaDoc, Interface -Definition files and XSD files. - -The Service Component Architecture JavaDoc, Interface Definition files, -and XSD files are being provided by the copyright holders under the -following license. By using and/or copying this work, you agree that -you have read, understood and will comply with the following terms and -conditions: - -Permission to copy, display, make derivative works of, and distribute -the Service Component Architecture JavaDoc, Interface Definition Files -and XSD files (the "Artifacts") in any medium without fee or royalty is -hereby granted, provided that you include the following on ALL copies -of the Artifacts, or portions thereof, that you make: - -1. A link or URL to the Artifacts at this location: -http://www.osoa.org/display/Main/Service+Component+Architecture+Specifications - -2. The full text of this copyright notice as shown in the Artifacts. - -THE ARTIFACTS ARE PROVIDED "AS IS," AND THE AUTHORS MAKE NO -REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, REGARDING THE -ARTIFACTS AND THE IMPLEMENTATION OF THEIR CONTENTS, INCLUDING, BUT NOT -LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR -PURPOSE, NON-INFRINGEMENT OR TITLE. - -THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, -INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY -USE OR DISTRIBUTION OF THE ARTIFACTS. - -The name and trademarks of the Authors may NOT be used in any manner, -including advertising or publicity pertaining to the Service Component -Architecture Specification or its contents without specific, written -prior permission. Title to copyright in the Service Component -Architecture Specification and the JavaDoc, Interface Definition Files -and XSD Files will at all times remain with the Authors. - -No other rights are granted by implication, estoppel or otherwise. - -Revision level 1.1, last updated on 2007/11/19 - -================================================================================ -License for the Service Data Objects JavaDoc and Interface Definition files. (tuscany-sdo-api-r2.1-1.0-incubating.jar) - -These files being ... -commonj/sdo/ChangeSummary$Setting.class -commonj/sdo/ChangeSummary.class -commonj/sdo/DataGraph.class -commonj/sdo/DataObject.class -commonj/sdo/helper/CopyHelper.class -commonj/sdo/helper/DataFactory.class -commonj/sdo/helper/DataHelper.class -commonj/sdo/helper/EqualityHelper.class -commonj/sdo/helper/HelperContext.class -commonj/sdo/helper/TypeHelper.class -commonj/sdo/helper/XMLDocument.class -commonj/sdo/helper/XMLHelper.class -commonj/sdo/helper/XSDHelper.class -commonj/sdo/impl/ExternalizableDelegator$Resolvable.class -commonj/sdo/impl/ExternalizableDelegator.class -commonj/sdo/Property.class -commonj/sdo/Sequence.class -commonj/sdo/Type.class -xml/datagraph.xsd -xml/sdoJava.xml -xml/sdoJava.xsd -xml/sdoModel.xml -xml/sdoModel.xsd -xml/sdoXML.xml -xml/sdoXML.xsd - - -License for the Service Data Objects JavaDoc and Interface Definition files. - -The Service Data Objects Specification is being provided by the copyright holders under the following -license. By using and/or copying this work, you agree that you have read, understood and will comply with -the following terms and conditions: - -Permission to copy, display and distribute the Service Data Objects Specification and/or portions thereof, without -modification, in any medium without fee or royalty is hereby granted, provided that you include the -following on ALL copies of the Service Data Objects Specification, or portions thereof, that you make: - -1. A link or URL to the Service Data Objects Specification at this location: -http://www.osoa.org/display/Main/Service+Data+Objects+Specifications - -2. The full text of this copyright notice as shown in the Service Data Objects Specification. - -BEA, IBM, Oracle, Primeton Technologies, Rogue Wave Software, SAP, Software AG, Sun Microsystems, Xcalia, -Zend Technologies (collectively, the “Authors”) agree to grant you a royalty-free license, under reasonable, -non-discriminatory terms and conditions to patents that they deem necessary to implement the Service Data -Objects Specification. - -THE Service Data Objects SPECIFICATION IS PROVIDED "AS IS," AND THE AUTHORS MAKE NO REPRESENTATIONS OR -WARRANTIES, EXPRESS OR IMPLIED, REGARDING THIS SPECIFICATION AND THE IMPLEMENTATION OF ITS CONTENTS, -INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, -NON-INFRINGEMENT OR TITLE. THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL -OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY USE OR DISTRIBUTION OF THE SERVICE DATA OBJECTS -SPECIFICATION. - -The name and trademarks of the Authors may NOT be used in any manner, including advertising or publicity -pertaining to the Service Data Objects Specification or its contents without specific, written prior -permission. Title to copyright in the Service Data Objects Specification will at all times remain with the -Authors. - -No other rights are granted by implication, estoppel or otherwise. -================================================================================ - diff --git a/java/sca-contrib/distribution/process/src/main/release/bin/NOTICE b/java/sca-contrib/distribution/process/src/main/release/bin/NOTICE deleted file mode 100644 index 5daa9a3dfe..0000000000 --- a/java/sca-contrib/distribution/process/src/main/release/bin/NOTICE +++ /dev/null @@ -1,95 +0,0 @@ -Apache Tuscany -Copyright (c) 2005 - 2009 The Apache Software Foundation - -This product includes software developed at -The Apache Software Foundation (http://www.apache.org/). - -This product includes/uses XmlSchema developed at -The Apache Software Foundation (http://ws.apache.org/commons/XmlSchema) - Portions Copyright 2006 International Business Machines Corp. - -This product includes/uses ode-bpel-api-1.1 developed at -The Apache Software Foundation (http://ode.apache.org) - - Copyright 1999-2006 Intalio - This product includes software developed by Intalio (http://www.intalio.com) - - Copyright 2006 Sybase - This product includes software developed by Sybase.(http://www.sybase.com) - -"This product includes software developed by the Spring Framework - Project (http://www.springframework.org)." - -This product includes/uses the Jetty Servlet Engine (http://jetty.mortbay.org), -developed by Mort Bay Consulting (http://www.mortbay.com) - -This product includes/uses the Groovy Script Engine (http://groovy.codehaus.org/), -Copyright 2003 (C) James Strachan and Bob Mcwhirter. All Rights Reserved. - -This product includes/uses the Axion : the Open Source Java Database (http://axion.tigris.org/) - Copyright (c) 2002-2003 Axion Development Team. All rights reserved. - -This product includes/uses DOM4J : the flexible XML framework for java (http://www.dom4j.org/) - Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved. - -This product includes/uses software, AOP alliance (http://aopalliance.sourceforge.net) -License: Public Domain - -This product includes/uses JSON-RPC-Java (http://oss.metaparadigm.com/jsonrpc/) - -This product includes/uses JSON-RPC JavaScript client (jsonrpc.js) - Copyright (c) 2003-2004 Jan-Klaas Kollhof - Copyright (c) 2005 Michael Clark, Metaparadigm Pte Ltd - -This product includes software from the GlassFish project (https://glassfish.dev.java.net/) - Copyright (c) 2006, Sun Microsystems, Inc. - -This product includes software from the Rome project (https://rome.dev.java.net/) - Copyright (c) 2006, Sun Microsystems, Inc. - -This product includes/uses the Eclipse Modeling Framework project (http://www.eclipse.org/emf/) - -This product includes/uses the Mozilla Rhino project (http://www.mozilla.org/rhino/) - -This product includes/uses the Sourceforge wsdl4j project (http://sourceforge.net/projects/wsdl4j/)i - -This product includes/uses the Codehaus JRuby project (http://jruby.codehaus.org/) - -This product includes/uses JDOM (http://www.jdom.org/) - Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin. All rights reserved. - -This product includes/uses DWR (http://getahead.org/dwr) - Copyright 2005 Joe Walker. All rights reserved. - -This product includes/uses dojotoolkit (http://dojotoolkit.org/) - Copyright (c) 2005, The Dojo Foundation. All rights reserved. - -This product includes/uses Howl (http://howl.objectweb.org/) - Copyright (c) 2004, Bull S.A. - -This product includes/uses axion (http://axion.tigris.org/) - Copyright (c) 2002-2003 Axion Development Team. - -This product includes/uses javacc (https://javacc.dev.java.net/) - Copyright (c) 2003 Sun Microsystems, Inc. All Rights Reserved. - -The Program includes all or portions of the following software: "The -Saxon XSLT and XQuery Processor from Saxonica Limited" distributed under -an MPL v1.0 license. Please refer to the homepage URL at -http://www.saxonica.com/. - -This product includes/uses Serp (http://serp.sourceforge.net/) under the BSD license: - Copyright (c) 2002, A. Abram White. All rights reserved. - -This product also includes software under the BSD license -with the following copyright: - Copyright (c) 2006, Sun Microsystems, Inc. All rights reserved. - -This product includes software under the Service Component Architecture JavaDoc, -Interface Definition files and XSD files license. - (c) Copyright SCA Collaboration 2006, 2007 - -This product includes software under the Service Data Objects JavaDoc and -Interface Definition file license - -(c) Copyright BEA Systems, Inc., International Business Machines Corporation, -Oracle Corporation, Primeton Technologies Ltd., Rogue Wave Software, SAP AG., -Software AG., Sun Microsystems, Sybase Inc., Xcalia, Zend Technologies, -2005, 2006. All rights reserved. - diff --git a/java/sca-contrib/distribution/process/src/main/release/src/BUILDING b/java/sca-contrib/distribution/process/src/main/release/src/BUILDING deleted file mode 100644 index 65d09c5eae..0000000000 --- a/java/sca-contrib/distribution/process/src/main/release/src/BUILDING +++ /dev/null @@ -1,55 +0,0 @@ -Building the Apache Tuscany SCA 1.2 (incubating) April 2008 Release source distribution -======================================================================================= - -Initial Setup -------------- - -1) Install J2SE 5.0 SDK, which can be downloaded from - http://java.sun.com/j2se/1.5.0/download.jsp. Use version of 1.5.0_06 JDK or higher. - -2) Make sure that your JAVA_HOME environment variable is set to the newly installed - JDK location, and that your PATH includes %JAVA_HOME%\bin (windows) or - $JAVA_HOME$/bin (unix). - -3) Install Maven 2.0.7 or higher, which can be downloaded from - http://maven.apache.org/download.html. Make sure that your PATH includes - the MVN_HOME/bin directory. - -4) Make sure that your MAVEN_OPTS environment variable has -Xmx128M (or more), - you can manually do this by executing the following in your prompt : - Windows users: - set MAVEN_OPTS=-Xmx128M - Unix users: - export MAVEN_OPTS=-Xmx128M - - -Building --------- - -1) Change to the top level directory of Apache Tuscany source distribution. -2) Run - - $> mvn - - This will compile Apache Tuscany and run all of the tests in the source - distribution. - - Depending on the load of remote Maven 2.0 repositories, you may have - to run "mvn" several times utill the required dependencies are - all located in your local maven repository. It usually takes some time for - maven to download required dependencies in the first build. Once all the - dependencies have been downloaded you may use the -o option to run maven - in offline mode, for example, 'mvn clean install -o'. - - -Building the distributions --------------------------- - -1) Change to the distribution folder -2) Run - - $> mvn - - This will build the binary and source distribution with .zip and .gz - formats in the distribution/target directory. - diff --git a/java/sca-contrib/distribution/process/src/main/release/src/LICENSE b/java/sca-contrib/distribution/process/src/main/release/src/LICENSE deleted file mode 100644 index 144d8ae692..0000000000 --- a/java/sca-contrib/distribution/process/src/main/release/src/LICENSE +++ /dev/null @@ -1,397 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - -=============================================================================================================== - -Apache Tuscany SCA for Java Subcomponents -=========================================: - -The Tuscany SCA for Java release includes a number of subcomponents with -separate copyright notices and license terms. Your use of the source -code for the these subcomponents is subject to the terms and -conditions of the following licenses. - -=============================================================================================================== - -The module itest/databindings/common includes the test schema; datagraph.xsd, sdoJava.xsd, and sdoModel.xsd -under the following license: - -License for the Service Data Objects JavaDoc, Interface Definition files -and XSD files. - -The Service Data Objects JavaDoc, Interface Definition files and XSD files -are being provided by the copyright holders under the following license. -By using and/or copying this work, you agree that you have read, -understood and will comply with the following terms and conditions: - -Permission to copy, display, make derivative works of and distribute -the Service Data Objects JavaDoc, Interface Definition files and XSD files -(the "Artifacts") in any medium without fee or royalty is hereby granted, -provided that you include the following on ALL copies of the Artifacts, -or portions thereof, that you make: - -1. A link or URL to the Artifacts at this location: -http://www.osoa.org/display/Main/Service+Data+Objects+Specifications - -2. The full text of this copyright notice as shown in the Artifacts. - - - -THE ARTIFACTS ARE PROVIDED "AS IS" AND THE AUTHORS MAKE NO -REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, REGARDING THE -ARTIFACTS AND THE IMPLEMENTATION OF THEIR CONTENTS, -INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT OR TITLE. - -THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, -INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY -USE OR DISTRIBUTION OF THE ARTIFACTS. - -The name and trademarks of the Authors may NOT be used in any manner, -including advertising or publicity pertaining to the Service Data -Objects Specification or its contents without specific, written prior -permission. Title to copyright in the Service Data Objects -Specification will at all times remain with the Authors. - -No other rights are granted by implication, estoppel or otherwise. - -Revision level 1.11, last updated on 2007/12/21 - -================================================================================================================= - -The module implementation-script temporarily includes one file under the following BSD license: - - Copyright (c) 2006, Sun Microsystems, Inc. - All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are met: - - - Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - - - Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - - - Neither the name of the Sun Microsystems, Inc. nor the names of - contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND - CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED - WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE - COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY - DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF - USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE - OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH - DAMAGE. - -================================================================================================================= - -The module assembly-xsd includes XSD files under the following SCA Collaboration license: - -License for the Service Component Architecture JavaDoc, Interface -Definition files and XSD files. - -The Service Component Architecture JavaDoc, Interface Definition files, -and XSD files are being provided by the copyright holders under the -following license. By using and/or copying this work, you agree that -you have read, understood and will comply with the following terms and -conditions: - -Permission to copy, display, make derivative works of, and distribute -the Service Component Architecture JavaDoc, Interface Definition Files -and XSD files (the "Artifacts") in any medium without fee or royalty is -hereby granted, provided that you include the following on ALL copies -of the Artifacts, or portions thereof, that you make: - -1. A link or URL to the Artifacts at this location: -http://www.osoa.org/display/Main/Service+Component+Architecture+Specifications - -2. The full text of this copyright notice as shown in the Artifacts. - -THE ARTIFACTS ARE PROVIDED "AS IS," AND THE AUTHORS MAKE NO -REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, REGARDING THE -ARTIFACTS AND THE IMPLEMENTATION OF THEIR CONTENTS, INCLUDING, BUT NOT -LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR -PURPOSE, NON-INFRINGEMENT OR TITLE. - -THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, -INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY -USE OR DISTRIBUTION OF THE ARTIFACTS. - -The name and trademarks of the Authors may NOT be used in any manner, -including advertising or publicity pertaining to the Service Component -Architecture Specification or its contents without specific, written -prior permission. Title to copyright in the Service Component -Architecture Specification and the JavaDoc, Interface Definition Files -and XSD Files will at all times remain with the Authors. - -No other rights are granted by implication, estoppel or otherwise. - -Revision level 1.1, last updated on 2007/11/19 - -================================================================================================================= -The modules - -binding-ws-xml -databinding -databinding-axiom -databinding-jaxb -databinding-json -databinding-sdo -databinding-sdo-axiom -databinding-xmlbeans -interface-wsdl-xml - -Include the ipo.xsd and address.xsd information from the XML Schema Primer -(http://www.w3.org/TR/2004/PER-xmlschema-0-20040318/) combined into the -file ipo.xsd and extended with UK postcode structures. - -The ipo.xsd file is include under the following license: - -W3C(c) SOFTWARE NOTICE AND LICENSE -http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 - -This work (and included software, documentation such as READMEs, or other -related items) is being provided by the copyright holders under the following -license. By obtaining, using and/or copying this work, you (the licensee) agree -that you have read, understood, and will comply with the following terms and conditions. - -Permission to copy, modify, and distribute this software and its documentation, -with or without modification, for any purpose and without fee or royalty is -hereby granted, provided that you include the following on ALL copies of the -software and documentation or portions thereof, including modifications: - - 1. The full text of this NOTICE in a location viewable to users of the - redistributed or derivative work. - 2. Any pre-existing intellectual property disclaimers, notices, or terms - and conditions. If none exist, the W3C Software Short Notice should be - included (hypertext is preferred, text is permitted) within the body of - any redistributed or derivative code. - 3. Notice of any changes or modifications to the files, including the date - changes were made. (We recommend you provide URIs to the location from which - the code is derived.) - -THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE -NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, -WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE -USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY PATENTS, -COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. - -COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR -CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENTATION. - -The name and trademarks of copyright holders may NOT be used in advertising or -publicity pertaining to the software without specific, written prior permission. -Title to copyright in this software and any associated documentation will at all -times remain with copyright holders. diff --git a/java/sca-contrib/distribution/process/src/main/release/src/NOTICE b/java/sca-contrib/distribution/process/src/main/release/src/NOTICE deleted file mode 100644 index 31540fd607..0000000000 --- a/java/sca-contrib/distribution/process/src/main/release/src/NOTICE +++ /dev/null @@ -1,39 +0,0 @@ -Apache Tuscany -Copyright (c) 2005 - 2009 The Apache Software Foundation - -This product includes software developed at -The Apache Software Foundation (http://www.apache.org/). - -This product includes/uses JSON-RPC JavaScript client (jsonrpc.js) - Copyright (c) 2003-2004 Jan-Klaas Kollhof - Copyright (c) 2005 Michael Clark, Metaparadigm Pte Ltd - -This product also includes software under the BSD license -(see the LICENSE file contained in this distribution), with -the following copyright: - Copyright (c) 2006, Sun Microsystems, Inc. All rights reserved. - -This product includes software under the Service Component Architecture JavaDoc, -Interface Definition files and XSD files license. - (c) Copyright SCA Collaboration 2006, 2007 - -This product includes software under the Service Data Objects JavaDoc and -Interface Definition file license - -(c) Copyright BEA Systems, Inc., International Business Machines Corporation, -Oracle Corporation, Primeton Technologies Ltd., Rogue Wave Software, SAP AG., -Software AG., Sun Microsystems, Sybase Inc., Xcalia, Zend Technologies, -2005, 2006. All rights reserved. - -This product includes software under the W3C(c) Software License -with the following copyright: - -Copyright (c) 2008 World Wide Web Consortium, (Massachusetts Institute of Technology, -European Research Consortium for Informatics and Mathematics, Keio University). -All Rights Reserved. This work is distributed under the W3C(c) Software License [1] in -the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied -warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - -[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 - - diff --git a/java/sca-contrib/distribution/repository/pom.xml b/java/sca-contrib/distribution/repository/pom.xml deleted file mode 100644 index 7da3dffadf..0000000000 --- a/java/sca-contrib/distribution/repository/pom.xml +++ /dev/null @@ -1,188 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - tuscany-distribution - 2.0-SNAPSHOT - ../pom.xml - - - tuscany-distribution-repository - Apache Tuscany SCA Maven Repository Distribution - pom - - - - - org.apache.tuscany.sca - tuscany-feature-repository - pom - 2.0-SNAPSHOT - - - - - - - - - distribution - - - - org.apache.maven.plugins - maven-assembly-plugin - - - distribution-package - package - - single - - - - src/main/assembly/repository.xml - - gnu - apache-tuscany-sca-repository-2.0-SNAPSHOT - - - - - - - - - - - modules - - ../../../modules/assembly - ../../../modules/assembly-xml - ../../../modules/assembly-xsd - ../../../modules/binding-atom - ../../../modules/binding-atom-abdera - ../../../modules/binding-corba - ../../../modules/binding-corba-runtime - ../../../modules/binding-ejb - ../../../modules/binding-ejb-runtime - ../../../modules/binding-gdata - ../../../modules/binding-gdata-gsoc - ../../../modules/binding-gdata-runtime - ../../../modules/binding-gdata-runtime-gsoc - ../../../modules/binding-http - ../../../modules/binding-http-runtime - ../../../modules/binding-jms - ../../../modules/binding-jms-runtime - ../../../modules/binding-jsonrpc - ../../../modules/binding-jsonrpc-runtime - ../../../modules/binding-rmi - ../../../modules/binding-rmi-runtime - ../../../modules/binding-rss - ../../../modules/binding-rss-rome - ../../../modules/binding-sca - ../../../modules/binding-sca-axis2 - ../../../modules/binding-sca-xml - ../../../modules/binding-ws - ../../../modules/binding-ws-axis2 - ../../../modules/binding-ws-axis2-policy - ../../../modules/binding-ws-wsdlgen - ../../../modules/binding-ws-xml - ../../../modules/contribution - ../../../modules/contribution-java - ../../../modules/contribution-namespace - ../../../modules/contribution-resource - ../../../modules/contribution-xml - ../../../modules/core - ../../../modules/core-databinding - ../../../modules/core-spi - ../../../modules/data-api - ../../../modules/databinding - ../../../modules/databinding-axiom - ../../../modules/databinding-fastinfoset - ../../../modules/databinding-jaxb - ../../../modules/databinding-jaxb-axiom - ../../../modules/databinding-json - ../../../modules/databinding-saxon - ../../../modules/databinding-sdo - ../../../modules/databinding-sdo-axiom - ../../../modules/databinding-xmlbeans - ../../../modules/definitions - ../../../modules/definitions-xml - ../../../modules/domain-manager - ../../../modules/endpoint - ../../../modules/extensibility - ../../../modules/extensibility-equinox - ../../../modules/host-corba - ../../../modules/host-corba-jee - ../../../modules/host-corba-jse - ../../../modules/host-http - ../../../modules/host-jetty - ../../../modules/host-rmi - ../../../modules/implementation-bpel - ../../../modules/implementation-bpel-ode - ../../../modules/implementation-ejb - ../../../modules/implementation-java - ../../../modules/implementation-java-runtime - ../../../modules/implementation-java-xml - ../../../modules/implementation-node - ../../../modules/implementation-node-runtime - ../../../modules/implementation-resource - ../../../modules/implementation-resource-runtime - ../../../modules/implementation-script - ../../../modules/implementation-script-runtime - ../../../modules/implementation-spring - ../../../modules/implementation-widget - ../../../modules/implementation-widget-runtime - ../../../modules/implementation-xquery - ../../../modules/interface - ../../../modules/interface-java - ../../../modules/interface-java-jaxws - ../../../modules/interface-java-xml - ../../../modules/interface-wsdl - ../../../modules/interface-wsdl-xml - ../../../modules/monitor - ../../../modules/node-api - ../../../modules/node-impl - ../../../modules/node-launcher - ../../../modules/node-launcher-equinox - ../../../modules/node-launcher-webapp - ../../../modules/node-manager - ../../../modules/policy - ../../../modules/policy-security - ../../../modules/policy-security-jsr250 - ../../../modules/policy-security-ws - ../../../modules/policy-transaction - ../../../modules/policy-xml - ../../../modules/policy-xml-ws - ../../../modules/sca-api - ../../../modules/tracing-aspectj - ../../../modules/workspace - ../../../modules/workspace-impl - ../../../modules/workspace-xml - ../../../modules/xsd - ../../../modules/xsd-xml - - - - - diff --git a/java/sca-contrib/distribution/repository/src/main/assembly/repository.xml b/java/sca-contrib/distribution/repository/src/main/assembly/repository.xml deleted file mode 100644 index 03d8732bd6..0000000000 --- a/java/sca-contrib/distribution/repository/src/main/assembly/repository.xml +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - true - tuscany-sca-2.0-SNAPSHOT - - - zip - - - - ../core/src/main/components/bin-common.xml - - - - - true - repository - - - diff --git a/java/sca-contrib/distribution/repository/src/main/components/src-modules.xml b/java/sca-contrib/distribution/repository/src/main/components/src-modules.xml deleted file mode 100644 index 0736faf913..0000000000 --- a/java/sca-contrib/distribution/repository/src/main/components/src-modules.xml +++ /dev/null @@ -1,173 +0,0 @@ - - - - - - - ../../../modules - modules - - assembly/**/* - assembly-xml/**/* - assembly-xsd/**/* - binding-atom/**/* - binding-atom-abdera/**/* - binding-corba/**/* - binding-corba-runtime/**/* - binding-ejb/**/* - binding-ejb-runtime/**/* - binding-gdata/**/* - binding-gdata-gsoc/**/* - binding-gdata-runtime/**/* - binding-gdata-runtime-gsoc/**/* - binding-http/**/* - binding-http-runtime/**/* - binding-jms/**/* - binding-jms-runtime/**/* - binding-jsonrpc/**/* - binding-jsonrpc-runtime/**/* - binding-rmi/**/* - binding-rmi-runtime/**/* - binding-rss/**/* - binding-rss-rome/**/* - binding-sca/**/* - binding-sca-axis2/**/* - binding-sca-xml/**/* - binding-ws/**/* - binding-ws-axis2/**/* - binding-ws-axis2-policy/**/* - binding-ws-wsdlgen/**/* - binding-ws-xml/**/* - contribution/**/* - contribution-impl/**/* - contribution-java/**/* - contribution-namespace/**/* - contribution-resource/**/* - contribution-xml/**/* - core/**/* - core-databinding/**/* - core-spi/**/* - data-api/**/* - databinding/**/* - databinding-axiom/**/* - databinding-fastinfoset/**/* - databinding-jaxb/**/* - databinding-jaxb-axiom/**/* - databinding-json/**/* - databinding-saxon/**/* - databinding-sdo/**/* - databinding-sdo-axiom/**/* - databinding-xmlbeans/**/* - definitions/**/* - definitions-xml/**/* - distribution-all/**/* - distribution-core/**/* - distribution-core/**/* - distribution-core:zip/**/* - distribution-ejava/**/* - distribution-ejava/**/* - distribution-ejava:zip/**/* - distribution-manager/**/* - distribution-manager/**/* - distribution-manager:zip/**/* - distribution-process/**/* - distribution-process/**/* - distribution-process:zip/**/* - distribution-web20/**/* - distribution-web20/**/* - distribution-web20:zip/**/* - distribution-webservice/**/* - distribution-webservice/**/* - distribution-webservice:zip/**/* - domain-manager/**/* - endpoint/**/* - extensibility/**/* - extensibility-equinox/**/* - host-corba/**/* - host-corba-jee/**/* - host-corba-jse/**/* - host-http/**/* - host-jetty/**/* - host-rmi/**/* - implementation-bpel/**/* - implementation-bpel-ode/**/* - implementation-ejb/**/* - implementation-java/**/* - implementation-java-runtime/**/* - implementation-java-xml/**/* - implementation-node/**/* - implementation-node-runtime/**/* - implementation-resource/**/* - implementation-resource-runtime/**/* - implementation-script/**/* - implementation-script-runtime/**/* - implementation-spring/**/* - implementation-widget/**/* - implementation-widget-runtime/**/* - implementation-xquery/**/* - interface/**/* - interface-java/**/* - interface-java-jaxws/**/* - interface-java-xml/**/* - interface-wsdl/**/* - interface-wsdl-xml/**/* - java2wsdl/**/* - maven-ant-generator/**/* - maven-bundle-plugin/**/* - maven-incremental-build/**/* - maven-java2wsdl/**/* - maven-wsdl2java/**/* - monitor/**/* - node-api/**/* - node-impl/**/* - node-launcher/**/* - node-launcher-equinox/**/* - node-launcher-webapp/**/* - node-manager/**/* - policy/**/* - policy-security/**/* - policy-security-jsr250/**/* - policy-security-ws/**/* - policy-transaction/**/* - policy-xml/**/* - policy-xml-ws/**/* - sca-api/**/* - tracing-aspectj/**/* - workspace/**/* - workspace-impl/**/* - workspace-xml/**/* - wsdl2java/**/* - xsd/**/* - xsd-xml/**/* - - - - **/.* - **/.*/** - **/*.log - - - pom.xml - **/target - **/target/**/* - - - - diff --git a/java/sca-contrib/distribution/repository/src/main/release/CHANGES b/java/sca-contrib/distribution/repository/src/main/release/CHANGES deleted file mode 100644 index 3de7358ec6..0000000000 --- a/java/sca-contrib/distribution/repository/src/main/release/CHANGES +++ /dev/null @@ -1,431 +0,0 @@ -Changes With Apache Tuscany SCA 1.2 (incubating) April 2008 -=========================================================== - -- Fix the following JIRA issues (http://issues.apache.org/jira/browse/TUSCANY): - * TUSCANY-2027 - * TUSCANY-1999 - * TUSCANY-2037 - * TUSCANY-2034 - * TUSCANY-2038 - * TUSCANY-2043 - * TUSCANY-2046 - * TUSCANY-2047 - * TUSCANY-2028 - * TUSCANY-1873 - * TUSCANY-2049 - * TUSCANY-2035 - * TUSCANY-1206 - * TUSCANY-2036 - * TUSCANY-1771 - * TUSCANY-2013 - * TUSCANY-1926 - * TUSCANY-1917 - * TUSCANY-1949 - * TUSCANY-1941 - * TUSCANY-2045 - * TUSCANY-2057 - * TUSCANY-2055 - * TUSCANY-2056 - * TUSCANY-2072 - * TUSCANY-2047 - * TUSCANY-2073 - * TUSCANY-1977 - * TUSCANY-2075 - * TUSCANY-1894 - * TUSCANY-2079 - * TUSCANY-2078 - * TUSCANY-2080 - * TUSCANY-2068 - * TUSCANY-1950 - * TUSCANY-2077 - * TUSCANY-2056 - * TUSCANY-2088 - * TUSCANY-2086 - * TUSCANY-2094 - * TUSCANY-2106 - - Features and/or Enhancements - - * Core - - Interceptor Enhancements - - Phase-based interceptor ordering to allow contribution of new interceptors and also define the order in witch they should be invoked - - Pass-by-reference SPI to allow interceptors to indicate if they support pass-by-reference - - PolicyProvider SPIs to allow extensions to plugin policy interceptors - - Support for JAXWS annotations and mapping of faults to Java exceptions according to JAXWS specification - - Improvement of contribution service to allow it to be used outside of the runtime environment - - Support for Contribution Import/Export resource - - Enhanced Distributed Domain story using Workspace - - Implementation of a SCA domain allowing a system administrator to manage contributions, composites and sca nodes that run these composites - - Set of core services providing management capabilities - - Administration web interface - - This is a work in progress and you can see it in action in samples/calculator-distributed. Other samples that use distributed operation are yet to move over to the workspace. - - Enhanced support for SCA Policy spec - - Ability to apply external policy definitions to a SCA composition - - Ability to spread policy definitions to multiple definitions.xml files available across the sca domain - - Bug fixes - - Improvements of http binding to support servlet components - - Enable Tuscany to run inside an OSGi runtime - - * Web 2.0 Extensions - - Enhancements to implementation.widget (support for properties) - - New atom binding based on Apache Abdera - - Refactoring of rss-rome binding - * Other Extensions - - Binding JMS - - greatly simplified the use of the JMS binding, support locating JMS resources from JNDI, and better compliance with the SCA JMS binding spec - - see the doc page for more details: http://incubator.apache.org/tuscany/sca-java-bindingjms.html - - Enhancements to Binding RMI - - Support shared RMI registry and use 999x as the ports in test case to avoid 1099 conflict - - Enhancements to Groovy extension - - Support for 'native' groovy classes - - Enhancements to OSGi bundle contributions - - Support Bundle URLs to be added as contributions - - * Tools - - Eclipse plugin providing a Tuscany runtime Library and Tuscany launcher in Eclipse environment - - An updatesite is also available to facilitate the plugin installation using the Eclipse update manager - - * Samples/Tutorial/Demos - - calculator-distributed migrated to use new Tuscany Distributed Workspace - - sample-calculator-ws-secure-webapp - - sample-helloworld-jms-webapp - - new jms samples - - improve bigbank demo to include support for policies - - tutorial store changes - - use of import/export - - development of contribution without requiring dependencies on the Tuscany runtime - - usage of new sca domain infrastructure - - * Testing - - Web Container Testing Framework integrated with (Tomcat, Jetty, Geronimo and Websphere) - - -Changes With Apache Tuscany SCA 1.1 (incubating) January 2008 -=============================================================== - -- Fix the following JIRA issues (http://issues.apache.org/jira/browse/TUSCANY): - * TUSCANY-1939 - * TUSCANY-1914 - * TUSCANY-1854 - * TUSCANY-1931 - * TUSCANY-1547 - * TUSCANY-1909 - * TUSCANY-1919 - * TUSCANY-1930 - * TUSCANY-1806 - * TUSCANY-1804 - * TUSCANY-1916 - * TUSCANY-1913 - * TUSCANY-1834 - * TUSCANY-1857 - * TUSCANY-1687 - * TUSCANY-1801 - * TUSCANY-1742 - * TUSCANY-1762 - * TUSCANY-1945 - * TUSCANY-1595 - * TUSCANY-1594 - * TUSCANY-1849 - * TUSCANY-1836 - * TUSCANY-1934 - * TUSCANY-1902 - * TUSCANY-1608 - * TUSCANY-1943 - * TUSCANY-1896 - * TUSCANY-1626 - * TUSCANY-1797 - * TUSCANY-1601 - * TUSCANY-1415 - -- Better JMS support - * binding.jms supporting point to point text based messaging only - * New SOAP/JMS sample (helloworld-ws-reference/service-jms) - -- Improvements in PolicyFramework Support - * Support for policy specifications on operation elements in a composite definition - * Separate sample (calculator-implementation-policies) to demonstrate use of Implementation Policies - (uses logging and JAAS Authentication) - -- Modeling of client side java script components - * See implementation.widget - -- Evolving support for doman API suggested by assembly spec including a standalone node and nodes running - connected together in a domain. This is still experimental. - -- Class loading and OSGI improvements - * Enable Tuscany to be run in a multi-classloader environment including inside OSGi. By default, - Tuscany continues to run using a single CLASSPATH-based classloader. - * Contributions no longer need to be in the CLASSPATH. All import/export dependencies across contributions should be - explicitly specified (as described in the spec). - -- JAXB based POJO transformations - -Changes With Apache Tuscany SCA 1.0.1 (incubating) November 2007 -================================================================ - -The Tuscany SCA Java 1.0.1 is mainly a bug-fix release. It also comes with some improvements as listed below. - -- Fix the following JIRA issues (http://issues.apache.org/jira/browse/TUSCANY): - * TUSCANY-1848 - * TUSCANY-1857 - * TUSCANY-1859 - * TUSCANY-1801 - * TUSCANY-1823 - * TUSCANY-1839 - * TUSCANY-1814 - * TUSCANY-1818 - * TUSCANY-1834 - * TUSCANY-1637 - * TUSCANY-1826 - * TUSCANY-1823 - * TUSCANY-1819 - * TUSCANY-1821 - * TUSCANY-1822 - * TUSCANY-1806 - * TUSCANY-1808 - * TUSCANY-1756 - * TUSCANY-1757 - -- Fix build issues with Maven 2.0.7 and JDK 6 - -- Reduce memory consumption for WSDLs that import large XSDs - -- Add more logging statements for better servicibility - -- Add an extension point to allow extensions to plug-in extension schemas. - -- Add a demo application to showcase XML integration story - -- Improve in databinding framework - * Add support for JSON Databindings and other refactoring - * Set databinding for introspected data type and enhance the checking of wrapper style - * Improve the tree-based XMLStreamReader and convert Bean & DOM to use this approach - * Add a tree-iterator based XMLStreamReader base impl - * Add default element info to java interface - * Rename Interface.setDefaultDataBinding to resetDataBinding - -- Limit the method injection to setters and allow the setter annotation to override field annotation - -- Evolving support in Intent and Policy handling - * Add support for policies in implementation - * Fix the algorithm for macthing policySets defined on bindings for the wire - * Add policy intent for implementation.java - * Extend java implementation type to recognize and apply policies, adding util support for this in Policy module - * Add policy module for logging - -- Evolving development in the SCA Domain/Node - -- Update NOTICE files with missing dependencies - - -Changes With Apache Tuscany SCA 1.0 (incubating) September 2007 -=============================================================== - -- Tuscany Java SCA now implements V1.0 of the core SCA - specifications - SCA Assembly Model V1.0 - SCA Java Common Annotations and APIs V1.0 - SCA Java Component Implementation V1.0 - SCA Web Services Binding V1.0 - Including callbacks, conversations and callable references - - -- Support for ws-security configurable in the web services binding - thro Tuscany SCA policy intents and policysets using the policy framework - introduced in the last release. - - Note : This release supports specifications of policies around axis2 - config params - see helloworld-ws-service-secure sample. The policy - intents that have been tested are authentication, integrity and - confidentiality. - There is no sample or test that exercises confidentiality since there - are some unresolved licensing issue around bouncycastle libraries. - However, users who are not encumbered by the bouncycastle license - restrictions can try the 'confidentiality' intent. See FAQ - - http://incubator.apache.org/tuscany/tuscany-sca-java-faq.html - - This release does not include support for WS-Policy - attachments in Tuscany Policysets for ws-security. - - -- An XQuery component implementation type - implementation-xquery - - -- A Databinding for converting data to and from nodes for XQuery - processing - databinding-saxon - - -- OSGI support has been extended to allow Tuscany contributions - packaged as OSGI bundles hence taking advantage of OSGI's bundle - loading an dependency management capabilities - - -- A BPEL component implementation type experimental implementation -based on SCA BPEL Client and Implementation V1.0. At the moment only -supports BPEL process as services. - implementation-bpel - - -- The distributed runtime implementation has been separated out - into - *) domain - *) node - It is now wrapped by a SCADomain interface as is the standalone - runtime. - - Note: This release does not include support for WebApp host deployment - for a distributed SCA Domain - - - -- The web service binding will now generate WSDL automatically - based on the service interface if no WSDL is provided - - -- A new "store" sample and associated document show how a - simple store front application can be constructed - samples/store - -- The following features of this release are still experimental: - - BPEL implementation type, integrating with Apache ODE - - OSGI implementation type, integrating with Apache Felix - - XQuery implementation type - - - -Changes With Apache Tuscany SCA 0.99 (incubating) August 2007 -============================================================= - -The following are the significant additions to release 0.99 -over and above all of what was offered in release 0.91. - -- A version of the default sca binding that works between - components runing in separate Java virtual machines - binding-sca-axis - -- A simple node implementation and a service discovery - function for running sca applications distributed - across more than one node - distributed - distributed-impl - -- integration with OSGi runtimes is now supported with - a new implementation-osgi component type - -- PUB/SUB interactions are now supported by using new - notification binding and implementation types, and - samples demonstrating the feature. - -- The Tuscany runtime now has a policy framework supporting - the SCA policy specification - -- the endpoint URIs used by SCA bindings has been rationalized - and now follows the SCA Assembly specification - -- binding-ajax has been renamed to binding-dwr - -Changes With Apache Tuscany SCA 0.91 (incubating) July 2007 -=========================================================== - -The following are the significant additions to release 0.91 -over and above all of what was offered in release 0.90. - - -- Enhancements to support multiple contributions to the SCA Domain - -- The inclusion of a alternative simplified extensions-helper -SPI layer to faciliate rapid development of extensions - -- More Implementation Extenstions - Spring - WebResource - -- More Binding Extensions - AJAX - EJB - RSS/ATOM Feeds - -- Demos that demonstrate the use of a mix of extensions - alert-aggregator-webapp - bigbank-account - bigbank-calculator - bigbank-stockquote - - -- Samples - Samples to demostrate use of Spring, Resource, AJAX extensions - -Changes With Apache Tuscany SCA 0.90 (incubating) June 2007 -=========================================================== - -- Implementations for all of the Java Annotations and API Specification V1.0 found at - (http://www.osoa.org/display/Main/Service+Component+Architecture+Specifications) - apart from the following. - @ComponentName - Conversation - RequestContext - -- New assembly model implementation taking into account SCA 1.0 artifacts - Data duplication between assembly model and runtime removed - -- Simple single process domain support - Contribution support to scope items being deployed into the runtime - -- Improved Package/Class naming consistency across modules - -- Extensions now loaded via Java service mechanism - Refactored extensions to use new SPIs (see below) - -- Maven and Ant based sample builds in the binary distribution - -- Implementation Extensions - Java - Script supporting (Ruby, Python, Groovy, JavaScript) - -- Binding Extensions - Axis2 - RMI - JSONRPC - --Databinding Extensions - Axiom - JAXB - SDO - -- Host environments - Embedded - Tomcat - Jetty - RMI - -- A clear set of SPIs intended to be stable over future releases - SCA assembly model - org.apache.tuscany.sca.assembly - org.apache.tuscany.sca.interfacedef - org.apache.tuscany.sca.interfacedef.java - org.apache.tuscany.sca.interfacedef.wsdl - org.apache.tuscany.sca.policy - - SCA contribution model - org.apache.tuscany.sca.contribution - - Runtime extensions - org.apache.tuscany.sca.core - org.apache.tuscany.sca.invocation - org.apache.tuscany.sca.provider - org.apache.tuscany.sca.runtime - org.apache.tuscany.sca.work - - Data binding support - org.apache.tuscany.sca.databinding - - Embedding Tuscany - org.apache.tuscany.sca.host.embedded - - Servlet container integration - org.apache.tuscany.sca.http - -- For this point release a partial set of JavaDoc is provided to - be filled out as we close on release 1.0 diff --git a/java/sca-contrib/distribution/repository/src/main/release/README b/java/sca-contrib/distribution/repository/src/main/release/README deleted file mode 100644 index 4d83dcfde9..0000000000 --- a/java/sca-contrib/distribution/repository/src/main/release/README +++ /dev/null @@ -1,19 +0,0 @@ -Apache Tuscany SCA 1.2 (incubating) April 2008 README -===================================================== - -Welcome to the Tuscany SCA 1.2 release. - -See the RELEASE_NOTES file for information specific to this release. - -In the binary release see the INSTALL file for information on how to -install the release. - -In the source distribution see the BUILDING file for information on -building the source code. - - - - - - - diff --git a/java/sca-contrib/distribution/repository/src/main/release/RELEASE_NOTES b/java/sca-contrib/distribution/repository/src/main/release/RELEASE_NOTES deleted file mode 100644 index a04ef5c553..0000000000 --- a/java/sca-contrib/distribution/repository/src/main/release/RELEASE_NOTES +++ /dev/null @@ -1,83 +0,0 @@ -Apache Tuscany SCA 1.2 (incubating) April 2008 Release Notes -============================================================ - -Apache Tuscany provides a runtime based on the Service Component -Architecture. SCA is a set of specifications aimed at simplifying SOA -Application Development which are being standardized at OASIS as part -of Open Composite Services Architecture (Open CSA) - http://www.oasis-opencsa.org/. - -Overview --------- - - The Apache Tuscany SCA 1.2 release includes implementations of the - main SCA specifications including: - - SCA Assembly Model V1.0 - SCA Policy Framework V1.0 - SCA Java Common Annotations and APIs V1.0 - SCA Java Component Implementation V1.0 - SCA Spring Component Implementation V1.0 - SCA BPEL Client and Implementation V1.0 - SCA Web Services Binding V1.0 - SCA EJB Session Bean Binding V1.0 - - It also includes implementations of many features not yet defined - by SCA specifications, including: - - - SCA bindings for Direct Web Remoting, RSS and ATOM Feeds, - HTTP resources, JSON-RPC, PUB/SUB Notifications, and RMI. - - SCA implementation types for OSGI, XQuery, BPEL, Widget and various - dynamic languages including Groovy, Javascript, Python and Ruby - - Databindings for Service Data Objects (SDO), JAXB, XmlBeans, - Axis2's AXIOM, JSON, SAXON, DOM, SAX and StAX - - The Tuscany SCA Runtime can be configured as a single node SCA domain or - as an SCA domain distributed across multiple nodes. - In addition Tuscany SCA supports the following host-deployment options: - - - running standalone - - running with distributed nodes across multiple JVMs - - running with embedded Jetty or Tomcat - - running as part of a standard web application - - The Wepapp samples included in this release have been tried and tested on - - Tomcat 5.5.20 and Tomcat 6.0.14 - - Jetty 6.1.3 - - Geronimo 2.0.2 Tomcat6 jee5 - - WebSphere 6.1 fix pack 9 - -See the CHANGES file for a detailed list of the features in this release. - -Support -------- - -For more information on Apache Tuscany visit the website at: - - http://incubator.apache.org/tuscany/ - -Any issues with this release can be reported to Apache Tuscany -using the mailing lists or in the JIRA issue tracker. - - Mailing list archives: - - http://mail-archives.apache.org/mod_mbox/ws-tuscany-user/ - http://mail-archives.apache.org/mod_mbox/ws-tuscany-dev/ - - Jira: - - http://issues.apache.org/jira/browse/TUSCANY - -To join the project's mailing lists follow the instructions at: - - http://incubator.apache.org/tuscany/mailing-lists.html - -To find out more about OASIS Open CSA go to: - - http://www.oasis-opencsa.org. - -Apache Tuscany welcomes your help. Any contribution, including code, -testing, improving the documentation, or bug reporting is always -appreciated. - -Thank you for using Apache Tuscany! - -- The Tuscany Team. diff --git a/java/sca-contrib/distribution/repository/src/main/release/bin/INSTALL b/java/sca-contrib/distribution/repository/src/main/release/bin/INSTALL deleted file mode 100644 index 2da53a2b44..0000000000 --- a/java/sca-contrib/distribution/repository/src/main/release/bin/INSTALL +++ /dev/null @@ -1,27 +0,0 @@ -Installing the Apache Tuscany SCA 1.2 (incubating) April 2008 Release binary distribution -========================================================================================= - -Unzip Tuscany binary distribution archive and you get the following: - -tuscany-sca-1.1-incubating - DISCLAIMER - the ASF incubation disclaimer - INSTALL - this help file - LICENSE - the Apache License and any dependecy licenses - NOTICE - attribution notices associated with the licenses - README - readme for the release - RELEASE_NOTES - description of this release - CHANGES - A note of the major changes in this release - - /demos - Demo applications showcasing the use of Apache Tuscany - - /lib - The tuscany-sca-all and tuscany-sca-manifest jars and all their dependencies - - /modules - all of the individual Tuscany jars - - /samples - all the Tuscany samples, see the README in that directory - - /tutorial - The store tutorial, see the README in that directory - - - - diff --git a/java/sca-contrib/distribution/repository/src/main/release/bin/LICENSE b/java/sca-contrib/distribution/repository/src/main/release/bin/LICENSE deleted file mode 100644 index 5e1f585d46..0000000000 --- a/java/sca-contrib/distribution/repository/src/main/release/bin/LICENSE +++ /dev/null @@ -1,2366 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - -=============================================================================== - -APACHE TUSCANY SUBCOMPONENTS: - -The Apache Tuscany binary distribution includes a number of subcomponents -with separate copyright notices and license terms. Your use of the -code for the these subcomponents is subject to the terms and -conditions of the following licenses. - -=============================================================================== - -The following components come under Apache Software License 1.1 - - commons-discovery-0.2.jar - commons-primitives-1.0.jar - -The following components come under Apache Software License 2.0 - - abdera-core-0.3.0-incubating.jar - abdera-i18n-0.3.0-incubating.jar - abdera-parser-0.3.0-incubating.jar - activeio-2.0-r118.jar - activeio-core-3.0.0-incubator.jar - apache-activemq-4.1.1.jar - addressing-1.3.mar - annogen-0.1.0.jar - annotations-api-6.0.14.jar - aopalliance-1.0.jar - axiom-api-1.2.5.jar - axiom-dom-1.2.5.jar - axiom-impl-1.2.5.jar - axis2-adb-1.3.jar - axis2-codegen-1.3.jar - axis2-java2wsdl-1.3.jar - axis2-kernel-1.3.jar - axis2-mtompolicy-1.3.jar - bsf-all-3.0-beta2.jar - catalina-6.0.14.jar - cglib-nodep-2.1_3.jar - commons-collections-3.1.jar - commons-codec-1.3.jar - commons-fileupload-1.1.1.jar - commons-httpclient-3.0.1.jar - commons-io-1.2.jar - commons-jexl-1.1.jar - commons-lang-2.1.jar - commons-logging-1.1.jar - coyote-6.0.14.jar - derby-10.1.3.1.jar - geronimo-activation_1.1_spec-1.0-M1.jar - geronimo-common-1.2-beta.jar - geronimo-commonj_1.1_spec-1.0.jar - geronimo-connector-1.2-beta.jar - geronimo-core-1.2-beta.jar - geronimo-deployment-1.2-beta.jar - geronimo-ejb_3.0_spec-1.0.jar - geronimo-interceptor-1.2-beta.jar - geronimo-j2ee-1.2-beta.jar - geronimo-j2ee-connector_1.5_spec-1.1.jar - geronimo-j2ee-jacc_1.0_spec-1.1.jar - geronimo-j2ee-management_1.0_spec-1.1.jar - geronimo-javamail_1.4_spec-1.0-M1.jar - geronimo-jms_1.1_spec-1.1.jar - geronimo-jpa_3.0_spec-1.0.jar - geronimo-jta_1.0.1B_spec-1.0.jar - geronimo-kernel-1.2-beta.jar - geronimo-management-1.2-beta.jar - geronimo-naming-1.2-beta.jar - geronimo-security-1.2-beta.jar - geronimo-spec-j2ee-connector-1.5-rc4.jar - geronimo-spec-jta-1.0.1B-rc4.jar - geronimo-system-1.2-beta.jar - geronimo-transaction-1.2-beta.jar - geronimo-util-1.2-beta.jar - httpcore-4.0-alpha5.jar - httpcore-nio-4.0-alpha5.jar - httpcore-niossl-4.0-alpha5.jar - jettison-1.0-RC2.jar - jetty-6.1.7.jar - jetty-util-6.1.7.jar - json-rpc-1.0.jar - juli-6.0.14.jar - log4j-1.2.12.jar - logkit-1.0.1.jar - neethi-2.0.2.jar - ode-bpel-api-1.1.jar - ode-bpel-compiler-1.1.jar - ode-bpel-dao-1.1.jar - ode-bpel-epr-1.1.jar - ode-bpel-obj-1.1.jar - ode-bpel-runtime-1.1.jar - ode-bpel-schemas-1.1.jar - ode-bpel-store-1.1.jar - ode-dao-jpa-1.1.jar - ode-dao-jpa-ojpa-derby-1.1.zip - ode-jacob-1.1.jar - ode-jacob-ap-1.1.jar - ode-scheduler-simple-1.1.jar - ode-utils-1.1.jar - openjpa-all-0.9.7-incubating.jar - openjpa-persistence-0.9.7-incubating.jar - org.apache.felix.bundlerepository-1.0.2.jar - org.apache.felix.framework-1.0.3.jar - org.apache.felix.main-1.0.3.jar - org.apache.felix.shell-1.0.0.jar - org.apache.felix.shell.tui-1.0.0.jar - rampart-core-1.3.jar - rampart-policy-1.3.jar - rampart-trust-1.3.jar - regexp-1.3.jar - spring-beans-2.0.6.jar - spring-context-2.0.6.jar - spring-core-2.0.6.jar - tranql-connector-1.1.jar - tuscany-sdo-api-r2.1-1.0-incubating.jar - tuscany-sdo-impl-1.0-incubating.jar - tuscany-sdo-lib-1.0-incubating.jar - tuscany-sdo-tools-1.0-incubating.jar - woden-1.0-incubating-M7b.jar - wss4j-1.5.3.jar - wstx-asl-3.2.1.jar - xalan-2.7.0.jar - xbean-naming-2.7.jar - xercesImpl-2.8.1.jar - xml-apis-1.3.03.jar - xmlbeans-2.3.0.jar - xml-resolver-1.1.jar - xmlsec-1.4.0.jar - XmlSchema-1.3.2.jar - -=============================================================================== -axion-1.0-M3-dev.jar - -Copyright (c) 2002-2003 Axion Development Team. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above - copyright notice, this list of conditions and the following - disclaimer. - -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - -3. The names "Tigris", "Axion", nor the names of its contributors may - not be used to endorse or promote products derived from this - software without specific prior written permission. - -4. Products derived from this software may not be called "Axion", nor - may "Tigris" or "Axion" appear in their names without specific prior - written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A -PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -The "Axion Development Team" is defined to be: - - * Chuck Burdick - * James Burke - * Morgan Delagrange - * Geir Magnusson Jr. - * Martin Poeschl - * Steve Polyak - * Daniel Rall - * Ahimanikya Satapathy - * Doug Sale - * James Strachan - * Rodney Waldhoff - * Jason van Zyl - -License changes are to be determined by a simple majority vote of the -Axion Development Team. - -=============================================================================== -dom4j-1.6.1.jar - -Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved. - -Redistribution and use of this software and associated documentation -("Software"), with or without modification, are permitted provided -that the following conditions are met: - -1. Redistributions of source code must retain copyright - statements and notices. Redistributions must also contain a - copy of this document. - -2. Redistributions in binary form must reproduce the - above copyright notice, this list of conditions and the - following disclaimer in the documentation and/or other - materials provided with the distribution. - -3. The name "DOM4J" must not be used to endorse or promote - products derived from this Software without prior written - permission of MetaStuff, Ltd. For written permission, - please contact dom4j-info@metastuff.com. - -4. Products derived from this Software may not be called "DOM4J" - nor may "DOM4J" appear in their names without prior written - permission of MetaStuff, Ltd. DOM4J is a registered - trademark of MetaStuff, Ltd. - -5. Due credit should be given to the DOM4J Project - - http://www.dom4j.org - -THIS SOFTWARE IS PROVIDED BY METASTUFF, LTD. AND CONTRIBUTORS -``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT -NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND -FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL -METASTUFF, LTD. OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED -OF THE POSSIBILITY OF SUCH DAMAGE. - -=============================================================================== - -The EMF jars; - codegen-2.2.3.jar - codegen-ecore-2.2.3.jar - common-2.2.3.jar - ecore-2.2.3.jar - ecore-change-2.2.3.jar - ecore-xmi-2.2.3.jar - xsd-2.2.3.jar - -Eclipse Public License - v 1.0 - -THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE -PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF -THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. - -1. DEFINITIONS - -"Contribution" means: - -a) in the case of the initial Contributor, the initial code and -documentation distributed under this Agreement, and -b) in the case of each subsequent Contributor: - -i) changes to the Program, and - -ii) additions to the Program; - -where such changes and/or additions to the Program originate from and -are distributed by that particular Contributor. A Contribution -'originates' from a Contributor if it was added to the Program by such -Contributor itself or anyone acting on such Contributor's behalf. -Contributions do not include additions to the Program which: (i) are -separate modules of software distributed in conjunction with the -Program under their own license agreement, and (ii) are not derivative -works of the Program. - -"Contributor" means any person or entity that distributes the Program. - -"Licensed Patents " mean patent claims licensable by a Contributor -which are necessarily infringed by the use or sale of its Contribution -alone or when combined with the Program. - -"Program" means the Contributions distributed in accordance with this -Agreement. - -"Recipient" means anyone who receives the Program under this -Agreement, including all Contributors. - -2. GRANT OF RIGHTS - -a) Subject to the terms of this Agreement, each Contributor hereby -grants Recipient a non-exclusive, worldwide, royalty-free copyright -license to reproduce, prepare derivative works of, publicly display, -publicly perform, distribute and sublicense the Contribution of such -Contributor, if any, and such derivative works, in source code and -object code form. - -b) Subject to the terms of this Agreement, each Contributor hereby -grants Recipient a non-exclusive, worldwide, royalty-free patent -license under Licensed Patents to make, use, sell, offer to sell, -import and otherwise transfer the Contribution of such Contributor, if -any, in source code and object code form. This patent license shall -apply to the combination of the Contribution and the Program if, at -the time the Contribution is added by the Contributor, such addition -of the Contribution causes such combination to be covered by the -Licensed Patents. The patent license shall not apply to any other -combinations which include the Contribution. No hardware per se is -licensed hereunder. - -c) Recipient understands that although each Contributor grants the -licenses to its Contributions set forth herein, no assurances are -provided by any Contributor that the Program does not infringe the -patent or other intellectual property rights of any other entity. Each -Contributor disclaims any liability to Recipient for claims brought by -any other entity based on infringement of intellectual property rights -or otherwise. As a condition to exercising the rights and licenses -granted hereunder, each Recipient hereby assumes sole responsibility -to secure any other intellectual property rights needed, if any. For -example, if a third party patent license is required to allow -Recipient to distribute the Program, it is Recipient's responsibility -to acquire that license before distributing the Program. - -d) Each Contributor represents that to its knowledge it has sufficient -copyright rights in its Contribution, if any, to grant the copyright -license set forth in this Agreement. - -3. REQUIREMENTS - -A Contributor may choose to distribute the Program in object code form -under its own license agreement, provided that: - -a) it complies with the terms and conditions of this Agreement; and - -b) its license agreement: - -i) effectively disclaims on behalf of all Contributors all warranties -and conditions, express and implied, including warranties or -conditions of title and non-infringement, and implied warranties or -conditions of merchantability and fitness for a particular purpose; - -ii) effectively excludes on behalf of all Contributors all liability -for damages, including direct, indirect, special, incidental and -consequential damages, such as lost profits; - -iii) states that any provisions which differ from this Agreement are -offered by that Contributor alone and not by any other party; and - -iv) states that source code for the Program is available from such -Contributor, and informs licensees how to obtain it in a reasonable -manner on or through a medium customarily used for software exchange. - -When the Program is made available in source code form: - -a) it must be made available under this Agreement; and - -b) a copy of this Agreement must be included with each copy of the -Program. - -Contributors may not remove or alter any copyright notices contained -within the Program. - -Each Contributor must identify itself as the originator of its -Contribution, if any, in a manner that reasonably allows subsequent -Recipients to identify the originator of the Contribution. - -4. COMMERCIAL DISTRIBUTION - -Commercial distributors of software may accept certain -responsibilities with respect to end users, business partners and the -like. While this license is intended to facilitate the commercial use -of the Program, the Contributor who includes the Program in a -commercial product offering should do so in a manner which does not -create potential liability for other Contributors. Therefore, if a -Contributor includes the Program in a commercial product offering, -such Contributor ("Commercial Contributor") hereby agrees to defend -and indemnify every other Contributor ("Indemnified Contributor") -against any losses, damages and costs (collectively "Losses") arising -from claims, lawsuits and other legal actions brought by a third party -against the Indemnified Contributor to the extent caused by the acts -or omissions of such Commercial Contributor in connection with its -distribution of the Program in a commercial product offering. The -obligations in this section do not apply to any claims or Losses -relating to any actual or alleged intellectual property infringement. -In order to qualify, an Indemnified Contributor must: a) promptly -notify the Commercial Contributor in writing of such claim, and b) -allow the Commercial Contributor to control, and cooperate with the -Commercial Contributor in, the defense and any related settlement -negotiations. The Indemnified Contributor may participate in any such -claim at its own expense. - -For example, a Contributor might include the Program in a commercial -product offering, Product X. That Contributor is then a Commercial -Contributor. If that Commercial Contributor then makes performance -claims, or offers warranties related to Product X, those performance -claims and warranties are such Commercial Contributor's responsibility -alone. Under this section, the Commercial Contributor would have to -defend claims against the other Contributors related to those -performance claims and warranties, and if a court requires any other -Contributor to pay any damages as a result, the Commercial Contributor -must pay those damages. - -5. NO WARRANTY - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS -PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY -OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely -responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement , including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -6. DISCLAIMER OF LIABILITY - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -7. GENERAL - -If any provision of this Agreement is invalid or unenforceable under -applicable law, it shall not affect the validity or enforceability of -the remainder of the terms of this Agreement, and without further -action by the parties hereto, such provision shall be reformed to the -minimum extent necessary to make such provision valid and enforceable. - -If Recipient institutes patent litigation against any entity -(including a cross-claim or counterclaim in a lawsuit) alleging that -the Program itself (excluding combinations of the Program with other -software or hardware) infringes such Recipient's patent(s), then such -Recipient's rights granted under Section 2(b) shall terminate as of -the date such litigation is filed. - -All Recipient's rights under this Agreement shall terminate if it -fails to comply with any of the material terms or conditions of this -Agreement and does not cure such failure in a reasonable period of -time after becoming aware of such noncompliance. If all Recipient's -rights under this Agreement terminate, Recipient agrees to cease use -and distribution of the Program as soon as reasonably practicable. -However, Recipient's obligations under this Agreement and any licenses -granted by Recipient relating to the Program shall continue and -survive. - -Everyone is permitted to copy and distribute copies of this Agreement, -but in order to avoid inconsistency the Agreement is copyrighted and -may only be modified in the following manner. The Agreement Steward -reserves the right to publish new versions (including revisions) of -this Agreement from time to time. No one other than the Agreement -Steward has the right to modify this Agreement. The Eclipse Foundation -is the initial Agreement Steward. The Eclipse Foundation may assign -the responsibility to serve as the Agreement Steward to a suitable -separate entity. Each new version of the Agreement will be given a -distinguishing version number. The Program (including Contributions) -may always be distributed subject to the version of the Agreement -under which it was received. In addition, after a new version of the -Agreement is published, Contributor may elect to distribute the -Program (including its Contributions) under the new version. Except as -expressly stated in Sections 2(a) and 2(b) above, Recipient receives -no rights or licenses to the intellectual property of any Contributor -under this Agreement, whether expressly, by implication, estoppel or -otherwise. All rights in the Program not expressly granted under this -Agreement are reserved. - -This Agreement is governed by the laws of the State of New York and -the intellectual property laws of the United States of America. No -party to this Agreement will bring a legal action under this Agreement -more than one year after the cause of action arose. Each party waives -its rights to a jury trial in any resulting litigation. - -=============================================================================== -For Saxon including - saxon-8.7.jar - saxon-dom-8.7.jar - saxon-xpath-8.7.jar - - MOZILLA PUBLIC LICENSE -Version 1.0 - -1. Definitions. - - 1.1. ``Contributor'' means each entity that creates or contributes to the creation of Modifications. - - 1.2. ``Contributor Version'' means the combination of the Original Code, prior Modifications used by a Contributor, and the Modifications made by that particular Contributor. - - 1.3. ``Covered Code'' means the Original Code or Modifications or the combination of the Original Code and Modifications, in each case including portions thereof. - - 1.4. ``Electronic Distribution Mechanism'' means a mechanism generally accepted in the software development community for the electronic transfer of data. - - 1.5. ``Executable'' means Covered Code in any form other than Source Code. - - 1.6. ``Initial Developer'' means the individual or entity identified as the Initial Developer in the Source Code notice required by Exhibit A. - - 1.7. ``Larger Work'' means a work which combines Covered Code or portions thereof with code not governed by the terms of this License. - - 1.8. ``License'' means this document. - - 1.9. ``Modifications'' means any addition to or deletion from the substance or structure of either the Original Code or any previous Modifications. When Covered Code is released as a series of files, a Modification is: - - A. Any addition to or deletion from the contents of a file containing Original Code or previous Modifications. - - B. Any new file that contains any part of the Original Code or previous Modifications. - - 1.10. ``Original Code'' means Source Code of computer software code which is described in the Source Code notice required by Exhibit A as Original Code, and which, at the time of its release under this License is not already Covered Code governed by this License. - - 1.11. ``Source Code'' means the preferred form of the Covered Code for making modifications to it, including all modules it contains, plus any associated interface definition files, scripts used to control compilation and installation of an Executable, or a list of source code differential comparisons against either the Original Code or another well known, available Covered Code of the Contributor's choice. The Source Code can be in a compressed or archival form, provided the appropriate decompression or de-archiving software is widely available for no charge. - - 1.12. ``You'' means an individual or a legal entity exercising rights under, and complying with all of the terms of, this License or a future version of this License issued under Section 6.1. For legal entities, ``You'' includes any entity which controls, is controlled by, or is under common control with You. For purposes of this definition, ``control'' means (a) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (b) ownership of fifty percent (50%) or more of the outstanding shares or beneficial ownership of such entity. - -2. Source Code License. - - 2.1. The Initial Developer Grant. - The Initial Developer hereby grants You a world-wide, royalty-free, non-exclusive license, subject to third party intellectual property claims: - - (a) to use, reproduce, modify, display, perform, sublicense and distribute the Original Code (or portions thereof) with or without Modifications, or as part of a Larger Work; and - - (b) under patents now or hereafter owned or controlled by Initial Developer, to make, have made, use and sell (``Utilize'') the Original Code (or portions thereof), but solely to the extent that any such patent is reasonably necessary to enable You to Utilize the Original Code (or portions thereof) and not to any greater extent that may be necessary to Utilize further Modifications or combinations. - - 2.2. Contributor Grant. - Each Contributor hereby grants You a world-wide, royalty-free, non-exclusive license, subject to third party intellectual property claims: - - (a) to use, reproduce, modify, display, perform, sublicense and distribute the Modifications created by such Contributor (or portions thereof) either on an unmodified basis, with other Modifications, as Covered Code or as part of a Larger Work; and - - (b) under patents now or hereafter owned or controlled by Contributor, to Utilize the Contributor Version (or portions thereof), but solely to the extent that any such patent is reasonably necessary to enable You to Utilize the Contributor Version (or portions thereof), and not to any greater extent that may be necessary to Utilize further Modifications or combinations. - -3. Distribution Obligations. - - 3.1. Application of License. - The Modifications which You create or to which You contribute are governed by the terms of this License, including without limitation Section 2.2. The Source Code version of Covered Code may be distributed only under the terms of this License or a future version of this License released under Section 6.1, and You must include a copy of this License with every copy of the Source Code You distribute. You may not offer or impose any terms on any Source Code version that alters or restricts the applicable version of this License or the recipients' rights hereunder. However, You may include an additional document offering the additional rights described in Section 3.5. - - 3.2. Availability of Source Code. - Any Modification which You create or to which You contribute must be made available in Source Code form under the terms of this License either on the same media as an Executable version or via an accepted Electronic Distribution Mechanism to anyone to whom you made an Executable version available; and if made available via Electronic Distribution Mechanism, must remain available for at least twelve (12) months after the date it initially became available, or at least six (6) months after a subsequent version of that particular Modification has been made available to such recipients. You are responsible for ensuring that the Source Code version remains available even if the Electronic Distribution Mechanism is maintained by a third party. - - 3.3. Description of Modifications. - You must cause all Covered Code to which you contribute to contain a file documenting the changes You made to create that Covered Code and the date of any change. You must include a prominent statement that the Modification is derived, directly or indirectly, from Original Code provided by the Initial Developer and including the name of the Initial Developer in (a) the Source Code, and (b) in any notice in an Executable version or related documentation in which You describe the origin or ownership of the Covered Code. - - 3.4. Intellectual Property Matters - - (a) Third Party Claims. - If You have knowledge that a party claims an intellectual property right in particular functionality or code (or its utilization under this License), you must include a text file with the source code distribution titled ``LEGAL'' which describes the claim and the party making the claim in sufficient detail that a recipient will know whom to contact. If you obtain such knowledge after You make Your Modification available as described in Section 3.2, You shall promptly modify the LEGAL file in all copies You make available thereafter and shall take other steps (such as notifying appropriate mailing lists or newsgroups) reasonably calculated to inform those who received the Covered Code that new knowledge has been obtained. - - (b) Contributor APIs. - If Your Modification is an application programming interface and You own or control patents which are reasonably necessary to implement that API, you must also include this information in the LEGAL file. - - 3.5. Required Notices. - You must duplicate the notice in Exhibit A in each file of the Source Code, and this License in any documentation for the Source Code, where You describe recipients' rights relating to Covered Code. If You created one or more Modification(s), You may add your name as a Contributor to the notice described in Exhibit A. If it is not possible to put such notice in a particular Source Code file due to its structure, then you must include such notice in a location (such as a relevant directory file) where a user would be likely to look for such a notice. You may choose to offer, and to charge a fee for, warranty, support, indemnity or liability obligations to one or more recipients of Covered Code. However, You may do so only on Your own behalf, and not on behalf of the Initial Developer or any Contributor. You must make it absolutely clear than any such warranty, support, indemnity or liability obligation is offered by You alone, and You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of warranty, support, indemnity or liability terms You offer. - - 3.6. Distribution of Executable Versions. - You may distribute Covered Code in Executable form only if the requirements of Section 3.1-3.5 have been met for that Covered Code, and if You include a notice stating that the Source Code version of the Covered Code is available under the terms of this License, including a description of how and where You have fulfilled the obligations of Section 3.2. The notice must be conspicuously included in any notice in an Executable version, related documentation or collateral in which You describe recipients' rights relating to the Covered Code. You may distribute the Executable version of Covered Code under a license of Your choice, which may contain terms different from this License, provided that You are in compliance with the terms of this License and that the license for the Executable version does not attempt to limit or alter the recipient's rights in the Source Code version from the rights set forth in this License. If You distribute the Executable version under a different license You must make it absolutely clear that any terms which differ from this License are offered by You alone, not by the Initial Developer or any Contributor. You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of any such terms You offer. - - 3.7. Larger Works. - You may create a Larger Work by combining Covered Code with other code not governed by the terms of this License and distribute the Larger Work as a single product. In such a case, You must make sure the requirements of this License are fulfilled for the Covered Code. - -4. Inability to Comply Due to Statute or Regulation. - - If it is impossible for You to comply with any of the terms of this License with respect to some or all of the Covered Code due to statute or regulation then You must: (a) comply with the terms of this License to the maximum extent possible; and (b) describe the limitations and the code they affect. Such description must be included in the LEGAL file described in Section 3.4 and must be included with all distributions of the Source Code. Except to the extent prohibited by statute or regulation, such description must be sufficiently detailed for a recipient of ordinary skill to be able to understand it. - -5. Application of this License. - - This License applies to code to which the Initial Developer has attached the notice in Exhibit A, and to related Covered Code. - -6. Versions of the License. - - 6.1. New Versions. - Netscape Communications Corporation (``Netscape'') may publish revised and/or new versions of the License from time to time. Each version will be given a distinguishing version number. - - 6.2. Effect of New Versions. - Once Covered Code has been published under a particular version of the License, You may always continue to use it under the terms of that version. You may also choose to use such Covered Code under the terms of any subsequent version of the License published by Netscape. No one other than Netscape has the right to modify the terms applicable to Covered Code created under this License. - - 6.3. Derivative Works. - If you create or use a modified version of this License (which you may only do in order to apply it to code which is not already Covered Code governed by this License), you must (a) rename Your license so that the phrases ``Mozilla'', ``MOZILLAPL'', ``MOZPL'', ``Netscape'', ``NPL'' or any confusingly similar phrase do not appear anywhere in your license and (b) otherwise make it clear that your version of the license contains terms which differ from the Mozilla Public License and Netscape Public License. (Filling in the name of the Initial Developer, Original Code or Contributor in the notice described in Exhibit A shall not of themselves be deemed to be modifications of this License.) - -7. DISCLAIMER OF WARRANTY. - - COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN ``AS IS'' BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. - -8. TERMINATION. - - This License and the rights granted hereunder will terminate automatically if You fail to comply with terms herein and fail to cure such breach within 30 days of becoming aware of the breach. All sublicenses to the Covered Code which are properly granted shall survive any termination of this License. Provisions which, by their nature, must remain in effect beyond the termination of this License shall survive. - -9. LIMITATION OF LIABILITY. - - UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL THE INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO YOU OR ANY OTHER PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THAT EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. - -10. U.S. GOVERNMENT END USERS. - - The Covered Code is a ``commercial item,'' as that term is defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of ``commercial computer software'' and ``commercial computer software documentation,'' as such terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all U.S. Government End Users acquire Covered Code with only those rights set forth herein. - -11. MISCELLANEOUS. - - This License represents the complete agreement concerning subject matter hereof. If any provision of this License is held to be unenforceable, such provision shall be reformed only to the extent necessary to make it enforceable. This License shall be governed by California law provisions (except to the extent applicable law, if any, provides otherwise), excluding its conflict-of-law provisions. With respect to disputes in which at least one party is a citizen of, or an entity chartered or registered to do business in, the United States of America: (a) unless otherwise agreed in writing, all disputes relating to this License (excepting any dispute relating to intellectual property rights) shall be subject to final and binding arbitration, with the losing party paying all costs of arbitration; (b) any arbitration relating to this Agreement shall be held in Santa Clara County, California, under the auspices of JAMS/EndDispute; and (c) any litigation relating to this Agreement shall be subject to the jurisdiction of the Federal Courts of the Northern District of California, with venue lying in Santa Clara County, California, with the losing party responsible for costs, including without limitation, court costs and reasonable attorneys fees and expenses. The application of the United Nations Convention on Contracts for the International Sale of Goods is expressly excluded. Any law or regulation which provides that the language of a contract shall be construed against the drafter shall not apply to this License. - -12. RESPONSIBILITY FOR CLAIMS. - - Except in cases where another Contributor has failed to comply with Section 3.4, You are responsible for damages arising, directly or indirectly, out of Your utilization of rights under this License, based on the number of copies of Covered Code you made available, the revenues you received from utilizing such rights, and other relevant factors. You agree to work with affected parties to distribute responsibility on an equitable basis. - -EXHIBIT A. - - ``The contents of this file are subject to the Mozilla Public License Version 1.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/ - - Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License. - - The Original Code is ______________________________________. - - The Initial Developer of the Original Code is ________________________. Portions created by ______________________ are Copyright (C) ______ _______________________. All Rights Reserved. - - Contributor(s): ______________________________________.'' - -=============================================================================== - -For the Rhino JavaScript engine js-1.6R7.jar: - - MOZILLA PUBLIC LICENSE - Version 1.1 - - --------------- - -1. Definitions. - - 1.0.1. "Commercial Use" means distribution or otherwise making the - Covered Code available to a third party. - - 1.1. "Contributor" means each entity that creates or contributes to - the creation of Modifications. - - 1.2. "Contributor Version" means the combination of the Original - Code, prior Modifications used by a Contributor, and the Modifications - made by that particular Contributor. - - 1.3. "Covered Code" means the Original Code or Modifications or the - combination of the Original Code and Modifications, in each case - including portions thereof. - - 1.4. "Electronic Distribution Mechanism" means a mechanism generally - accepted in the software development community for the electronic - transfer of data. - - 1.5. "Executable" means Covered Code in any form other than Source - Code. - - 1.6. "Initial Developer" means the individual or entity identified - as the Initial Developer in the Source Code notice required by Exhibit - A. - - 1.7. "Larger Work" means a work which combines Covered Code or - portions thereof with code not governed by the terms of this License. - - 1.8. "License" means this document. - - 1.8.1. "Licensable" means having the right to grant, to the maximum - extent possible, whether at the time of the initial grant or - subsequently acquired, any and all of the rights conveyed herein. - - 1.9. "Modifications" means any addition to or deletion from the - substance or structure of either the Original Code or any previous - Modifications. When Covered Code is released as a series of files, a - Modification is: - A. Any addition to or deletion from the contents of a file - containing Original Code or previous Modifications. - - B. Any new file that contains any part of the Original Code or - previous Modifications. - - 1.10. "Original Code" means Source Code of computer software code - which is described in the Source Code notice required by Exhibit A as - Original Code, and which, at the time of its release under this - License is not already Covered Code governed by this License. - - 1.10.1. "Patent Claims" means any patent claim(s), now owned or - hereafter acquired, including without limitation, method, process, - and apparatus claims, in any patent Licensable by grantor. - - 1.11. "Source Code" means the preferred form of the Covered Code for - making modifications to it, including all modules it contains, plus - any associated interface definition files, scripts used to control - compilation and installation of an Executable, or source code - differential comparisons against either the Original Code or another - well known, available Covered Code of the Contributor's choice. The - Source Code can be in a compressed or archival form, provided the - appropriate decompression or de-archiving software is widely available - for no charge. - - 1.12. "You" (or "Your") means an individual or a legal entity - exercising rights under, and complying with all of the terms of, this - License or a future version of this License issued under Section 6.1. - For legal entities, "You" includes any entity which controls, is - controlled by, or is under common control with You. For purposes of - this definition, "control" means (a) the power, direct or indirect, - to cause the direction or management of such entity, whether by - contract or otherwise, or (b) ownership of more than fifty percent - (50%) of the outstanding shares or beneficial ownership of such - entity. - -2. Source Code License. - - 2.1. The Initial Developer Grant. - The Initial Developer hereby grants You a world-wide, royalty-free, - non-exclusive license, subject to third party intellectual property - claims: - (a) under intellectual property rights (other than patent or - trademark) Licensable by Initial Developer to use, reproduce, - modify, display, perform, sublicense and distribute the Original - Code (or portions thereof) with or without Modifications, and/or - as part of a Larger Work; and - - (b) under Patents Claims infringed by the making, using or - selling of Original Code, to make, have made, use, practice, - sell, and offer for sale, and/or otherwise dispose of the - Original Code (or portions thereof). - - (c) the licenses granted in this Section 2.1(a) and (b) are - effective on the date Initial Developer first distributes - Original Code under the terms of this License. - - (d) Notwithstanding Section 2.1(b) above, no patent license is - granted: 1) for code that You delete from the Original Code; 2) - separate from the Original Code; or 3) for infringements caused - by: i) the modification of the Original Code or ii) the - combination of the Original Code with other software or devices. - - 2.2. Contributor Grant. - Subject to third party intellectual property claims, each Contributor - hereby grants You a world-wide, royalty-free, non-exclusive license - - (a) under intellectual property rights (other than patent or - trademark) Licensable by Contributor, to use, reproduce, modify, - display, perform, sublicense and distribute the Modifications - created by such Contributor (or portions thereof) either on an - unmodified basis, with other Modifications, as Covered Code - and/or as part of a Larger Work; and - - (b) under Patent Claims infringed by the making, using, or - selling of Modifications made by that Contributor either alone - and/or in combination with its Contributor Version (or portions - of such combination), to make, use, sell, offer for sale, have - made, and/or otherwise dispose of: 1) Modifications made by that - Contributor (or portions thereof); and 2) the combination of - Modifications made by that Contributor with its Contributor - Version (or portions of such combination). - - (c) the licenses granted in Sections 2.2(a) and 2.2(b) are - effective on the date Contributor first makes Commercial Use of - the Covered Code. - - (d) Notwithstanding Section 2.2(b) above, no patent license is - granted: 1) for any code that Contributor has deleted from the - Contributor Version; 2) separate from the Contributor Version; - 3) for infringements caused by: i) third party modifications of - Contributor Version or ii) the combination of Modifications made - by that Contributor with other software (except as part of the - Contributor Version) or other devices; or 4) under Patent Claims - infringed by Covered Code in the absence of Modifications made by - that Contributor. - -3. Distribution Obligations. - - 3.1. Application of License. - The Modifications which You create or to which You contribute are - governed by the terms of this License, including without limitation - Section 2.2. The Source Code version of Covered Code may be - distributed only under the terms of this License or a future version - of this License released under Section 6.1, and You must include a - copy of this License with every copy of the Source Code You - distribute. You may not offer or impose any terms on any Source Code - version that alters or restricts the applicable version of this - License or the recipients' rights hereunder. However, You may include - an additional document offering the additional rights described in - Section 3.5. - - 3.2. Availability of Source Code. - Any Modification which You create or to which You contribute must be - made available in Source Code form under the terms of this License - either on the same media as an Executable version or via an accepted - Electronic Distribution Mechanism to anyone to whom you made an - Executable version available; and if made available via Electronic - Distribution Mechanism, must remain available for at least twelve (12) - months after the date it initially became available, or at least six - (6) months after a subsequent version of that particular Modification - has been made available to such recipients. You are responsible for - ensuring that the Source Code version remains available even if the - Electronic Distribution Mechanism is maintained by a third party. - - 3.3. Description of Modifications. - You must cause all Covered Code to which You contribute to contain a - file documenting the changes You made to create that Covered Code and - the date of any change. You must include a prominent statement that - the Modification is derived, directly or indirectly, from Original - Code provided by the Initial Developer and including the name of the - Initial Developer in (a) the Source Code, and (b) in any notice in an - Executable version or related documentation in which You describe the - origin or ownership of the Covered Code. - - 3.4. Intellectual Property Matters - (a) Third Party Claims. - If Contributor has knowledge that a license under a third party's - intellectual property rights is required to exercise the rights - granted by such Contributor under Sections 2.1 or 2.2, - Contributor must include a text file with the Source Code - distribution titled "LEGAL" which describes the claim and the - party making the claim in sufficient detail that a recipient will - know whom to contact. If Contributor obtains such knowledge after - the Modification is made available as described in Section 3.2, - Contributor shall promptly modify the LEGAL file in all copies - Contributor makes available thereafter and shall take other steps - (such as notifying appropriate mailing lists or newsgroups) - reasonably calculated to inform those who received the Covered - Code that new knowledge has been obtained. - - (b) Contributor APIs. - If Contributor's Modifications include an application programming - interface and Contributor has knowledge of patent licenses which - are reasonably necessary to implement that API, Contributor must - also include this information in the LEGAL file. - - (c) Representations. - Contributor represents that, except as disclosed pursuant to - Section 3.4(a) above, Contributor believes that Contributor's - Modifications are Contributor's original creation(s) and/or - Contributor has sufficient rights to grant the rights conveyed by - this License. - - 3.5. Required Notices. - You must duplicate the notice in Exhibit A in each file of the Source - Code. If it is not possible to put such notice in a particular Source - Code file due to its structure, then You must include such notice in a - location (such as a relevant directory) where a user would be likely - to look for such a notice. If You created one or more Modification(s) - You may add your name as a Contributor to the notice described in - Exhibit A. You must also duplicate this License in any documentation - for the Source Code where You describe recipients' rights or ownership - rights relating to Covered Code. You may choose to offer, and to - charge a fee for, warranty, support, indemnity or liability - obligations to one or more recipients of Covered Code. However, You - may do so only on Your own behalf, and not on behalf of the Initial - Developer or any Contributor. You must make it absolutely clear than - any such warranty, support, indemnity or liability obligation is - offered by You alone, and You hereby agree to indemnify the Initial - Developer and every Contributor for any liability incurred by the - Initial Developer or such Contributor as a result of warranty, - support, indemnity or liability terms You offer. - - 3.6. Distribution of Executable Versions. - You may distribute Covered Code in Executable form only if the - requirements of Section 3.1-3.5 have been met for that Covered Code, - and if You include a notice stating that the Source Code version of - the Covered Code is available under the terms of this License, - including a description of how and where You have fulfilled the - obligations of Section 3.2. The notice must be conspicuously included - in any notice in an Executable version, related documentation or - collateral in which You describe recipients' rights relating to the - Covered Code. You may distribute the Executable version of Covered - Code or ownership rights under a license of Your choice, which may - contain terms different from this License, provided that You are in - compliance with the terms of this License and that the license for the - Executable version does not attempt to limit or alter the recipient's - rights in the Source Code version from the rights set forth in this - License. If You distribute the Executable version under a different - license You must make it absolutely clear that any terms which differ - from this License are offered by You alone, not by the Initial - Developer or any Contributor. You hereby agree to indemnify the - Initial Developer and every Contributor for any liability incurred by - the Initial Developer or such Contributor as a result of any such - terms You offer. - - 3.7. Larger Works. - You may create a Larger Work by combining Covered Code with other code - not governed by the terms of this License and distribute the Larger - Work as a single product. In such a case, You must make sure the - requirements of this License are fulfilled for the Covered Code. - -4. Inability to Comply Due to Statute or Regulation. - - If it is impossible for You to comply with any of the terms of this - License with respect to some or all of the Covered Code due to - statute, judicial order, or regulation then You must: (a) comply with - the terms of this License to the maximum extent possible; and (b) - describe the limitations and the code they affect. Such description - must be included in the LEGAL file described in Section 3.4 and must - be included with all distributions of the Source Code. Except to the - extent prohibited by statute or regulation, such description must be - sufficiently detailed for a recipient of ordinary skill to be able to - understand it. - -5. Application of this License. - - This License applies to code to which the Initial Developer has - attached the notice in Exhibit A and to related Covered Code. - -6. Versions of the License. - - 6.1. New Versions. - Netscape Communications Corporation ("Netscape") may publish revised - and/or new versions of the License from time to time. Each version - will be given a distinguishing version number. - - 6.2. Effect of New Versions. - Once Covered Code has been published under a particular version of the - License, You may always continue to use it under the terms of that - version. You may also choose to use such Covered Code under the terms - of any subsequent version of the License published by Netscape. No one - other than Netscape has the right to modify the terms applicable to - Covered Code created under this License. - - 6.3. Derivative Works. - If You create or use a modified version of this License (which you may - only do in order to apply it to code which is not already Covered Code - governed by this License), You must (a) rename Your license so that - the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape", - "MPL", "NPL" or any confusingly similar phrase do not appear in your - license (except to note that your license differs from this License) - and (b) otherwise make it clear that Your version of the license - contains terms which differ from the Mozilla Public License and - Netscape Public License. (Filling in the name of the Initial - Developer, Original Code or Contributor in the notice described in - Exhibit A shall not of themselves be deemed to be modifications of - this License.) - -7. DISCLAIMER OF WARRANTY. - - COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, - WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, - WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF - DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. - THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE - IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, - YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE - COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER - OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF - ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. - -8. TERMINATION. - - 8.1. This License and the rights granted hereunder will terminate - automatically if You fail to comply with terms herein and fail to cure - such breach within 30 days of becoming aware of the breach. All - sublicenses to the Covered Code which are properly granted shall - survive any termination of this License. Provisions which, by their - nature, must remain in effect beyond the termination of this License - shall survive. - - 8.2. If You initiate litigation by asserting a patent infringement - claim (excluding declatory judgment actions) against Initial Developer - or a Contributor (the Initial Developer or Contributor against whom - You file such action is referred to as "Participant") alleging that: - - (a) such Participant's Contributor Version directly or indirectly - infringes any patent, then any and all rights granted by such - Participant to You under Sections 2.1 and/or 2.2 of this License - shall, upon 60 days notice from Participant terminate prospectively, - unless if within 60 days after receipt of notice You either: (i) - agree in writing to pay Participant a mutually agreeable reasonable - royalty for Your past and future use of Modifications made by such - Participant, or (ii) withdraw Your litigation claim with respect to - the Contributor Version against such Participant. If within 60 days - of notice, a reasonable royalty and payment arrangement are not - mutually agreed upon in writing by the parties or the litigation claim - is not withdrawn, the rights granted by Participant to You under - Sections 2.1 and/or 2.2 automatically terminate at the expiration of - the 60 day notice period specified above. - - (b) any software, hardware, or device, other than such Participant's - Contributor Version, directly or indirectly infringes any patent, then - any rights granted to You by such Participant under Sections 2.1(b) - and 2.2(b) are revoked effective as of the date You first made, used, - sold, distributed, or had made, Modifications made by that - Participant. - - 8.3. If You assert a patent infringement claim against Participant - alleging that such Participant's Contributor Version directly or - indirectly infringes any patent where such claim is resolved (such as - by license or settlement) prior to the initiation of patent - infringement litigation, then the reasonable value of the licenses - granted by such Participant under Sections 2.1 or 2.2 shall be taken - into account in determining the amount or value of any payment or - license. - - 8.4. In the event of termination under Sections 8.1 or 8.2 above, - all end user license agreements (excluding distributors and resellers) - which have been validly granted by You or any distributor hereunder - prior to termination shall survive termination. - -9. LIMITATION OF LIABILITY. - - UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT - (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL - DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE, - OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR - ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY - CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, - WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER - COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN - INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF - LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY - RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW - PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE - EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO - THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. - -10. U.S. GOVERNMENT END USERS. - - The Covered Code is a "commercial item," as that term is defined in - 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer - software" and "commercial computer software documentation," as such - terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 - C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), - all U.S. Government End Users acquire Covered Code with only those - rights set forth herein. - -11. MISCELLANEOUS. - - This License represents the complete agreement concerning subject - matter hereof. If any provision of this License is held to be - unenforceable, such provision shall be reformed only to the extent - necessary to make it enforceable. This License shall be governed by - California law provisions (except to the extent applicable law, if - any, provides otherwise), excluding its conflict-of-law provisions. - With respect to disputes in which at least one party is a citizen of, - or an entity chartered or registered to do business in the United - States of America, any litigation relating to this License shall be - subject to the jurisdiction of the Federal Courts of the Northern - District of California, with venue lying in Santa Clara County, - California, with the losing party responsible for costs, including - without limitation, court costs and reasonable attorneys' fees and - expenses. The application of the United Nations Convention on - Contracts for the International Sale of Goods is expressly excluded. - Any law or regulation which provides that the language of a contract - shall be construed against the drafter shall not apply to this - License. - -12. RESPONSIBILITY FOR CLAIMS. - - As between Initial Developer and the Contributors, each party is - responsible for claims and damages arising, directly or indirectly, - out of its utilization of rights under this License and You agree to - work with Initial Developer and Contributors to distribute such - responsibility on an equitable basis. Nothing herein is intended or - shall be deemed to constitute any admission of liability. - -13. MULTIPLE-LICENSED CODE. - - Initial Developer may designate portions of the Covered Code as - "Multiple-Licensed". "Multiple-Licensed" means that the Initial - Developer permits you to utilize portions of the Covered Code under - Your choice of the NPL or the alternative licenses, if any, specified - by the Initial Developer in the file described in Exhibit A. - -EXHIBIT A -Mozilla Public License. - - ``The contents of this file are subject to the Mozilla Public License - Version 1.1 (the "License"); you may not use this file except in - compliance with the License. You may obtain a copy of the License at - http://www.mozilla.org/MPL/ - - Software distributed under the License is distributed on an "AS IS" - basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the - License for the specific language governing rights and limitations - under the License. - - The Original Code is ______________________________________. - - The Initial Developer of the Original Code is ________________________. - Portions created by ______________________ are Copyright (C) ______ - _______________________. All Rights Reserved. - - Contributor(s): ______________________________________. - - Alternatively, the contents of this file may be used under the terms - of the _____ license (the "[___] License"), in which case the - provisions of [______] License are applicable instead of those - above. If you wish to allow use of your version of this file only - under the terms of the [____] License and not to allow others to use - your version of this file under the MPL, indicate your decision by - deleting the provisions above and replace them with the notice and - other provisions required by the [___] License. If you do not delete - the provisions above, a recipient may use your version of this file - under either the MPL or the [___] License." - - [NOTE: The text of this Exhibit A may differ slightly from the text of - the notices in the Source Code files of the Original Code. You should - use the text of this Exhibit A rather than the text found in the - Original Code Source Code for Your Modifications.] - - -=============================================================================== -Groovy (groovy-all-minimal-1.5.4.jar): - -/* - $Id: LICENSE.txt 156 2003-09-26 17:36:37Z jstrachan $ - - Copyright 2003 (C) James Strachan and Bob Mcwhirter. All Rights Reserved. - - Redistribution and use of this software and associated documentation - ("Software"), with or without modification, are permitted provided - that the following conditions are met: - - 1. Redistributions of source code must retain copyright - statements and notices. Redistributions must also contain a - copy of this document. - - 2. Redistributions in binary form must reproduce the - above copyright notice, this list of conditions and the - following disclaimer in the documentation and/or other - materials provided with the distribution. - - 3. The name "groovy" must not be used to endorse or promote - products derived from this Software without prior written - permission of The Codehaus. For written permission, - please contact info@codehaus.org. - - 4. Products derived from this Software may not be called "groovy" - nor may "groovy" appear in their names without prior written - permission of The Codehaus. "groovy" is a registered - trademark of The Codehaus. - - 5. Due credit should be given to The Codehaus - - http://groovy.codehaus.org/ - - THIS SOFTWARE IS PROVIDED BY THE CODEHAUS AND CONTRIBUTORS - ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT - NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL - THE CODEHAUS OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, - INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, - STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED - OF THE POSSIBILITY OF SUCH DAMAGE. - - */ - -=============================================================================== - -Jython (jython-2.2.jar): - -A. HISTORY OF THE SOFTWARE -======================= - -JPython was created in late 1997 by Jim Hugunin. Jim was also the -primary developer while he was at CNRI. In February 1999 Barry Warsaw -took over as primary developer and released JPython version 1.1. - -In October 2000 Barry helped move the software to SourceForge -where it was renamed to Jython. Jython 2.0 and on are licensed under -the Jython specific license below. - -The standard library is covered by the Python Software Foundation -license. See the LICENSE_CPython.txt file for details. - -The zxJDBC package was written by Brian Zimmer and originally licensed -under the GNU Public License. The package is now covered by the Jython -Software License. - -The command line interpreter is covered by the Apache Software -License. See the LICENSE_Apache.txt file for details. - -B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING JYTHON -================================ - -Copyright (c) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Jython Developers -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - - - Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - - - Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the distribution. - - - Neither the name of the Jython Developers nor the names of - its contributors may be used to endorse or promote products - derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR -CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY -OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - - - -JPython 1.1.x Software License. -========================= - -______________________________________________________________________ - -IMPORTANT: PLEASE READ THE FOLLOWING AGREEMENT CAREFULLY. - -BY CLICKING ON THE "ACCEPT" BUTTON WHERE INDICATED, OR BY INSTALLING, -COPYING OR OTHERWISE USING THE SOFTWARE, YOU ARE DEEMED TO HAVE AGREED TO -THE TERMS AND CONDITIONS OF THIS AGREEMENT. - -______________________________________________________________________ - -JPython version 1.1.x - - 1. This LICENSE AGREEMENT is between the Corporation for National Research - Initiatives, having an office at 1895 Preston White Drive, Reston, VA - 20191 ("CNRI"), and the Individual or Organization ("Licensee") - accessing and using JPython version 1.1.x in source or binary form and - its associated documentation as provided herein ("Software"). - - 2. Subject to the terms and conditions of this License Agreement, CNRI - hereby grants Licensee a non-exclusive, non-transferable, royalty-free, - world-wide license to reproduce, analyze, test, perform and/or display - publicly, prepare derivative works, distribute, and otherwise use the - Software alone or in any derivative version, provided, however, that - CNRI's License Agreement and CNRI's notice of copyright, i.e., - "Copyright ©1996-1999 Corporation for National Research Initiatives; - All Rights Reserved" are both retained in the Software, alone or in any - derivative version prepared by Licensee. - - Alternatively, in lieu of CNRI's License Agreement, Licensee may - substitute the following text (omitting the quotes), provided, however, - that such text is displayed prominently in the Software alone or in any - derivative version prepared by Licensee: "JPython (Version 1.1.x) is - made available subject to the terms and conditions in CNRI's License - Agreement. This Agreement may be located on the Internet using the - following unique, persistent identifier (known as a handle): - 1895.22/1006. The License may also be obtained from a proxy server on - the Web using the following URL: http://hdl.handle.net/1895.22/1006." - - 3. In the event Licensee prepares a derivative work that is based on or - incorporates the Software or any part thereof, and wants to make the - derivative work available to the public as provided herein, then - Licensee hereby agrees to indicate in any such work, in a prominently - visible way, the nature of the modifications made to CNRI's Software. - - 4. Licensee may not use CNRI trademarks or trade name, including JPython - or CNRI, in a trademark sense to endorse or promote products or - services of Licensee, or any third party. Licensee may use the mark - JPython in connection with Licensee's derivative versions that are - based on or incorporate the Software, but only in the form - "JPython-based ___________________," or equivalent. - - 5. CNRI is making the Software available to Licensee on an "AS IS" basis. - CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY - OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND DISCLAIMS ANY - REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY - PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT INFRINGE - ANY THIRD PARTY RIGHTS. - - 6. CNRI SHALL NOT BE LIABLE TO LICENSEE OR OTHER USERS OF THE SOFTWARE FOR - ANY INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF - USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY DERIVATIVE - THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. SOME STATES DO NOT - ALLOW THE LIMITATION OR EXCLUSION OF LIABILITY SO THE ABOVE DISCLAIMER - MAY NOT APPLY TO LICENSEE. - - 7. This License Agreement may be terminated by CNRI (i) immediately upon - written notice from CNRI of any material breach by the Licensee, if the - nature of the breach is such that it cannot be promptly remedied; or - (ii) sixty (60) days following notice from CNRI to Licensee of a - material remediable breach, if Licensee has not remedied such breach - within that sixty-day period. - - 8. This License Agreement shall be governed by and interpreted in all - respects by the law of the State of Virginia, excluding conflict of law - provisions. Nothing in this Agreement shall be deemed to create any - relationship of agency, partnership, or joint venture between CNRI and - Licensee. - - 9. By clicking on the "ACCEPT" button where indicated, or by installing, - copying or otherwise using the Software, Licensee agrees to be bound by - the terms and conditions of this License Agreement. - - -=============================================================================== - -The jars; -activation-1.1.jar, -jaxb-api-2.1.jar, -jaxb-impl-2.1.6.jar, -jaxb-xjc-2.1.4.jar, -jaxb2-reflection-2.1.4.jar, -jsr181-api-1.0-MR1.jar, -jsr250-api-1.0.jar, -jaxws-api-2.1-1.jar, -mail-1.4.jar, -saaj-api-1.3.jar, -servlet-api-2.5.jar, -stax-api-1.0-commons-cli-1.0.jar2.jar - -COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0 - - - 1. Definitions. - - 1.1. "Contributor" means each individual or entity that - creates or contributes to the creation of Modifications. - - 1.2. "Contributor Version" means the combination of the - Original Software, prior Modifications used by a - Contributor (if any), and the Modifications made by that - particular Contributor. - - 1.3. "Covered Software" means (a) the Original Software, or - (b) Modifications, or (c) the combination of files - containing Original Software with files containing - Modifications, in each case including portions thereof. - - 1.4. "Executable" means the Covered Software in any form - other than Source Code. - - 1.5. "Initial Developer" means the individual or entity - that first makes Original Software available under this - License. - - 1.6. "Larger Work" means a work which combines Covered - Software or portions thereof with code not governed by the - terms of this License. - - 1.7. "License" means this document. - - 1.8. "Licensable" means having the right to grant, to the - maximum extent possible, whether at the time of the initial - grant or subsequently acquired, any and all of the rights - conveyed herein. - - 1.9. "Modifications" means the Source Code and Executable - form of any of the following: - - A. Any file that results from an addition to, - deletion from or modification of the contents of a - file containing Original Software or previous - Modifications; - - B. Any new file that contains any part of the - Original Software or previous Modification; or - - C. Any new file that is contributed or otherwise made - available under the terms of this License. - - 1.10. "Original Software" means the Source Code and - Executable form of computer software code that is - originally released under this License. - - 1.11. "Patent Claims" means any patent claim(s), now owned - or hereafter acquired, including without limitation, - method, process, and apparatus claims, in any patent - Licensable by grantor. - - 1.12. "Source Code" means (a) the common form of computer - software code in which modifications are made and (b) - associated documentation included in or with such code. - - 1.13. "You" (or "Your") means an individual or a legal - entity exercising rights under, and complying with all of - the terms of, this License. For legal entities, "You" - includes any entity which controls, is controlled by, or is - under common control with You. For purposes of this - definition, "control" means (a) the power, direct or - indirect, to cause the direction or management of such - entity, whether by contract or otherwise, or (b) ownership - of more than fifty percent (50%) of the outstanding shares - or beneficial ownership of such entity. - - 2. License Grants. - - 2.1. The Initial Developer Grant. - - Conditioned upon Your compliance with Section 3.1 below and - subject to third party intellectual property claims, the - Initial Developer hereby grants You a world-wide, - royalty-free, non-exclusive license: - - (a) under intellectual property rights (other than - patent or trademark) Licensable by Initial Developer, - to use, reproduce, modify, display, perform, - sublicense and distribute the Original Software (or - portions thereof), with or without Modifications, - and/or as part of a Larger Work; and - - (b) under Patent Claims infringed by the making, - using or selling of Original Software, to make, have - made, use, practice, sell, and offer for sale, and/or - otherwise dispose of the Original Software (or - portions thereof). - - (c) The licenses granted in Sections 2.1(a) and (b) - are effective on the date Initial Developer first - distributes or otherwise makes the Original Software - available to a third party under the terms of this - License. - - (d) Notwithstanding Section 2.1(b) above, no patent - license is granted: (1) for code that You delete from - the Original Software, or (2) for infringements - caused by: (i) the modification of the Original - Software, or (ii) the combination of the Original - Software with other software or devices. - - 2.2. Contributor Grant. - - Conditioned upon Your compliance with Section 3.1 below and - subject to third party intellectual property claims, each - Contributor hereby grants You a world-wide, royalty-free, - non-exclusive license: - - (a) under intellectual property rights (other than - patent or trademark) Licensable by Contributor to - use, reproduce, modify, display, perform, sublicense - and distribute the Modifications created by such - Contributor (or portions thereof), either on an - unmodified basis, with other Modifications, as - Covered Software and/or as part of a Larger Work; and - - - (b) under Patent Claims infringed by the making, - using, or selling of Modifications made by that - Contributor either alone and/or in combination with - its Contributor Version (or portions of such - combination), to make, use, sell, offer for sale, - have made, and/or otherwise dispose of: (1) - Modifications made by that Contributor (or portions - thereof); and (2) the combination of Modifications - made by that Contributor with its Contributor Version - (or portions of such combination). - - (c) The licenses granted in Sections 2.2(a) and - 2.2(b) are effective on the date Contributor first - distributes or otherwise makes the Modifications - available to a third party. - - (d) Notwithstanding Section 2.2(b) above, no patent - license is granted: (1) for any code that Contributor - has deleted from the Contributor Version; (2) for - infringements caused by: (i) third party - modifications of Contributor Version, or (ii) the - combination of Modifications made by that Contributor - with other software (except as part of the - Contributor Version) or other devices; or (3) under - Patent Claims infringed by Covered Software in the - absence of Modifications made by that Contributor. - - 3. Distribution Obligations. - - 3.1. Availability of Source Code. - - Any Covered Software that You distribute or otherwise make - available in Executable form must also be made available in - Source Code form and that Source Code form must be - distributed only under the terms of this License. You must - include a copy of this License with every copy of the - Source Code form of the Covered Software You distribute or - otherwise make available. You must inform recipients of any - such Covered Software in Executable form as to how they can - obtain such Covered Software in Source Code form in a - reasonable manner on or through a medium customarily used - for software exchange. - - 3.2. Modifications. - - The Modifications that You create or to which You - contribute are governed by the terms of this License. You - represent that You believe Your Modifications are Your - original creation(s) and/or You have sufficient rights to - grant the rights conveyed by this License. - - 3.3. Required Notices. - - You must include a notice in each of Your Modifications - that identifies You as the Contributor of the Modification. - You may not remove or alter any copyright, patent or - trademark notices contained within the Covered Software, or - any notices of licensing or any descriptive text giving - attribution to any Contributor or the Initial Developer. - - 3.4. Application of Additional Terms. - - You may not offer or impose any terms on any Covered - Software in Source Code form that alters or restricts the - applicable version of this License or the recipients' - rights hereunder. You may choose to offer, and to charge a - fee for, warranty, support, indemnity or liability - obligations to one or more recipients of Covered Software. - However, you may do so only on Your own behalf, and not on - behalf of the Initial Developer or any Contributor. You - must make it absolutely clear that any such warranty, - support, indemnity or liability obligation is offered by - You alone, and You hereby agree to indemnify the Initial - Developer and every Contributor for any liability incurred - by the Initial Developer or such Contributor as a result of - warranty, support, indemnity or liability terms You offer. - - - 3.5. Distribution of Executable Versions. - - You may distribute the Executable form of the Covered - Software under the terms of this License or under the terms - of a license of Your choice, which may contain terms - different from this License, provided that You are in - compliance with the terms of this License and that the - license for the Executable form does not attempt to limit - or alter the recipient's rights in the Source Code form - from the rights set forth in this License. If You - distribute the Covered Software in Executable form under a - different license, You must make it absolutely clear that - any terms which differ from this License are offered by You - alone, not by the Initial Developer or Contributor. You - hereby agree to indemnify the Initial Developer and every - Contributor for any liability incurred by the Initial - Developer or such Contributor as a result of any such terms - You offer. - - 3.6. Larger Works. - - You may create a Larger Work by combining Covered Software - with other code not governed by the terms of this License - and distribute the Larger Work as a single product. In such - a case, You must make sure the requirements of this License - are fulfilled for the Covered Software. - - 4. Versions of the License. - - 4.1. New Versions. - - Sun Microsystems, Inc. is the initial license steward and - may publish revised and/or new versions of this License - from time to time. Each version will be given a - distinguishing version number. Except as provided in - Section 4.3, no one other than the license steward has the - right to modify this License. - - 4.2. Effect of New Versions. - - You may always continue to use, distribute or otherwise - make the Covered Software available under the terms of the - version of the License under which You originally received - the Covered Software. If the Initial Developer includes a - notice in the Original Software prohibiting it from being - distributed or otherwise made available under any - subsequent version of the License, You must distribute and - make the Covered Software available under the terms of the - version of the License under which You originally received - the Covered Software. Otherwise, You may also choose to - use, distribute or otherwise make the Covered Software - available under the terms of any subsequent version of the - License published by the license steward. - - 4.3. Modified Versions. - - When You are an Initial Developer and You want to create a - new license for Your Original Software, You may create and - use a modified version of this License if You: (a) rename - the license and remove any references to the name of the - license steward (except to note that the license differs - from this License); and (b) otherwise make it clear that - the license contains terms which differ from this License. - - - 5. DISCLAIMER OF WARRANTY. - - COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" - BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, - INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED - SOFTWARE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR - PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND - PERFORMANCE OF THE COVERED SOFTWARE IS WITH YOU. SHOULD ANY - COVERED SOFTWARE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE - INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF - ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF - WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF - ANY COVERED SOFTWARE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS - DISCLAIMER. - - 6. TERMINATION. - - 6.1. This License and the rights granted hereunder will - terminate automatically if You fail to comply with terms - herein and fail to cure such breach within 30 days of - becoming aware of the breach. Provisions which, by their - nature, must remain in effect beyond the termination of - this License shall survive. - - 6.2. If You assert a patent infringement claim (excluding - declaratory judgment actions) against Initial Developer or - a Contributor (the Initial Developer or Contributor against - whom You assert such claim is referred to as "Participant") - alleging that the Participant Software (meaning the - Contributor Version where the Participant is a Contributor - or the Original Software where the Participant is the - Initial Developer) directly or indirectly infringes any - patent, then any and all rights granted directly or - indirectly to You by such Participant, the Initial - Developer (if the Initial Developer is not the Participant) - and all Contributors under Sections 2.1 and/or 2.2 of this - License shall, upon 60 days notice from Participant - terminate prospectively and automatically at the expiration - of such 60 day notice period, unless if within such 60 day - period You withdraw Your claim with respect to the - Participant Software against such Participant either - unilaterally or pursuant to a written agreement with - Participant. - - 6.3. In the event of termination under Sections 6.1 or 6.2 - above, all end user licenses that have been validly granted - by You or any distributor hereunder prior to termination - (excluding licenses granted to You by any distributor) - shall survive termination. - - 7. LIMITATION OF LIABILITY. - - UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT - (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE - INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF - COVERED SOFTWARE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE - LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR - CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT - LIMITATION, DAMAGES FOR LOST PROFITS, LOSS OF GOODWILL, WORK - STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER - COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN - INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF - LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL - INJURY RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT - APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO - NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR - CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT - APPLY TO YOU. - - 8. U.S. GOVERNMENT END USERS. - - The Covered Software is a "commercial item," as that term is - defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial - computer software" (as that term is defined at 48 C.F.R. - 252.227-7014(a)(1)) and "commercial computer software - documentation" as such terms are used in 48 C.F.R. 12.212 (Sept. - 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 - through 227.7202-4 (June 1995), all U.S. Government End Users - acquire Covered Software with only those rights set forth herein. - This U.S. Government Rights clause is in lieu of, and supersedes, - any other FAR, DFAR, or other clause or provision that addresses - Government rights in computer software under this License. - - 9. MISCELLANEOUS. - - This License represents the complete agreement concerning subject - matter hereof. If any provision of this License is held to be - unenforceable, such provision shall be reformed only to the - extent necessary to make it enforceable. This License shall be - governed by the law of the jurisdiction specified in a notice - contained within the Original Software (except to the extent - applicable law, if any, provides otherwise), excluding such - jurisdiction's conflict-of-law provisions. Any litigation - relating to this License shall be subject to the jurisdiction of - the courts located in the jurisdiction and venue specified in a - notice contained within the Original Software, with the losing - party responsible for costs, including, without limitation, court - costs and reasonable attorneys' fees and expenses. The - application of the United Nations Convention on Contracts for the - International Sale of Goods is expressly excluded. Any law or - regulation which provides that the language of a contract shall - be construed against the drafter shall not apply to this License. - You agree that You alone are responsible for compliance with the - United States export administration regulations (and the export - control laws and regulation of any other countries) when You use, - distribute or otherwise make available any Covered Software. - - 10. RESPONSIBILITY FOR CLAIMS. - - As between Initial Developer and the Contributors, each party is - responsible for claims and damages arising, directly or - indirectly, out of its utilization of rights under this License - and You agree to work with Initial Developer and Contributors to - distribute such responsibility on an equitable basis. Nothing - herein is intended or shall be deemed to constitute any admission - of liability. - -=============================================================================== - -JRuby (jruby-complete-1.0.jar), wsdl4j (wsdl4j-1.6.2.jar): - -Common Public License - v 1.0 - -THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. - -1. DEFINITIONS - -"Contribution" means: - - a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and - b) in the case of each subsequent Contributor: - - i) changes to the Program, and - - ii) additions to the Program; - - where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. Contributions do not include additions to the Program which: (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program. - -"Contributor" means any person or entity that distributes the Program. - -"Licensed Patents " mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program. - -"Program" means the Contributions distributed in accordance with this Agreement. - -"Recipient" means anyone who receives the Program under this Agreement, including all Contributors. - -2. GRANT OF RIGHTS - - a) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code form. - - b) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder. - - c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the Program, it is Recipient's responsibility to acquire that license before distributing the Program. - - d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement. - -3. REQUIREMENTS - -A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that: - - a) it complies with the terms and conditions of this Agreement; and - - b) its license agreement: - - i) effectively disclaims on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose; - - ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits; - - iii) states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and - - iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange. - -When the Program is made available in source code form: - - a) it must be made available under this Agreement; and - - b) a copy of this Agreement must be included with each copy of the Program. - -Contributors may not remove or alter any copyright notices contained within the Program. - -Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows subsequent Recipients to identify the originator of the Contribution. - -4. COMMERCIAL DISTRIBUTION - -Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor ("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense. - -For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages. - -5. NO WARRANTY - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely responsible for determining the appropriateness of using and distributing the Program and assumes all risks associated with its exercise of rights under this Agreement, including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, programs or equipment, and unavailability or interruption of operations. - -6. DISCLAIMER OF LIABILITY - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -7. GENERAL - -If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable. - -If Recipient institutes patent litigation against a Contributor with respect to a patent applicable to software (including a cross-claim or counterclaim in a lawsuit), then any patent licenses granted by that Contributor to such Recipient under this Agreement shall terminate as of the date such litigation is filed. In addition, if Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed. - -All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive. - -Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the right to modify this Agreement. IBM is the initial Agreement Steward. IBM may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the new version. Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or otherwise. All rights in the Program not expressly granted under this Agreement are reserved. - -This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation. - -=============================================================================== - -backport-util-concurrent-2.2.jar: - -The software comprising backport-util-concurrent is based in large -part on the code from JSR166, and the package dl.util.concurrent. -The software has been released to the public domain, as explained at: -http://creativecommons.org/licenses/publicdomain, excepting portions -of the class -edu.emory.mathcs.backport.java.util.concurrent.CopyOnWriteArrayList, -which were adapted from class java.util.ArrayList, written by Sun -Microsystems, Inc, which are used with kind permission, and subject -to the following: - -Copyright 2002-2004 Sun Microsystems, Inc. All rights reserved. Use is -subject to the following license terms. - - "Sun hereby grants you a non-exclusive, worldwide, non-transferrable - license to use and distribute the Java Software technologies as part - of a larger work in source and binary forms, with or without - modification, provided that the following conditions are met: - - -Neither the name of or trademarks of Sun may be used to endorse or - promote products derived from the Java Software technology without - specific prior written permission. - - -Redistributions of source or binary code must be accompanied by the - following notice and disclaimers: - - Portions copyright Sun Microsystems, Inc. Used with kind permission. - - This software is provided AS IS, without a warranty of any kind. ALL - EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND - WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF - MERCHANTABILITY, FITNESS FOR A PARTICULAR PUPOSE OR - NON-INFRINGEMENT, ARE HEREBY EXCLUDED. SUN - MICROSYSTEMS, INC. AND ITS LICENSORS SHALL NOT BE LIABLE - FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF - USING, MODIFYING OR DISTRIBUTING THE SOFTWARE OR ITS - DERIVATIVES. IN NO EVENT WILL SUN MICROSYSTEMS, INC. OR - ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR - DATA, OR FOR DIRECT, INDIRECT,CONSQUENTIAL, INCIDENTAL - OR PUNITIVE DAMAGES, HOWEVER CAUSED AND REGARDLESS OF - THE THEORY OR LIABILITY, ARISING OUT OF THE USE OF OR - INABILITY TO USE SOFTWARE, EVEN IF SUN MICROSYSTEMS, INC. - HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - - You acknowledge that Software is not designed, licensed or intended for - use in the design, construction, operation or maintenance of any nuclear - facility." - -=============================================================================== -rome-0.9.jar - -Copyright 2004 Sun Microsystems, Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. - -=============================================================================== -jdom-1.0.jar : - -$Id: LICENSE.txt,v 1.11 2004/02/06 09:32:57 jhunter Exp $ - - Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin. - All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions - are met: - - 1. Redistributions of source code must retain the above copyright - notice, this list of conditions, and the following disclaimer. - - 2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions, and the disclaimer that follows - these conditions in the documentation and/or other materials - provided with the distribution. - - 3. The name "JDOM" must not be used to endorse or promote products - derived from this software without prior written permission. For - written permission, please contact . - - 4. Products derived from this software may not be called "JDOM", nor - may "JDOM" appear in their name, without prior written permission - from the JDOM Project Management . - - In addition, we request (but do not require) that you include in the - end-user documentation provided with the redistribution and/or in the - software itself an acknowledgement equivalent to the following: - "This product includes software developed by the - JDOM Project (http://www.jdom.org/)." - Alternatively, the acknowledgment may be graphical using the logos - available at http://www.jdom.org/images/logos. - - THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED - WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES - OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - DISCLAIMED. IN NO EVENT SHALL THE JDOM AUTHORS OR THE PROJECT - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF - USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT - OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - SUCH DAMAGE. - - This software consists of voluntary contributions made by many - individuals on behalf of the JDOM Project and was originally - created by Jason Hunter and - Brett McLaughlin . For more information - on the JDOM Project, please see . - -======================================================================== - -dwr-2.0.1.jar : - -/* -* Copyright 2005 Joe Walker -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ - -========================================================================== - -dojotoolkit V1.0.0: - -The "New" BSD License: -********************** - -Copyright (c) 2005, The Dojo Foundation -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - * Neither the name of the Dojo Foundation nor the names of its contributors - may be used to endorse or promote products derived from this software - without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -================================================================================ - -The module tuscany-implementation-script-1.0-incubating.jar temporarily includes -one file under the below BSD license with the following copyright: - - Copyright (c) 2006, Sun Microsystems, Inc. - All rights reserved. - -BSD license: - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are met: - - - Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - - - Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - - - Neither the name of the Sun Microsystems, Inc. nor the names of - contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND - CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED - WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE - COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY - DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF - USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE - OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH - DAMAGE. - -================================================================================ - -The serp-1.12.0.jar is distributed under the BSD license with the following copyright: - - Copyright (c) 2002, A. Abram White - All rights reserved. - -BSD license: - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are met: - - - Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - - - Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - - - Neither the name of the Sun Microsystems, Inc. nor the names of - contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND - CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED - WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE - COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY - DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF - USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE - OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH - DAMAGE. - -================================================================================ -The javacc-3.2.jar, and howl-1.0.1-1.jar are distributed under the BSD license: - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - - * Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED -TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR -CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -================================================================================ - -The tuscany-assembly-xsd jar includes XSD files under the following SCA Collaboration license: - -License for the Service Component Architecture JavaDoc, Interface -Definition files and XSD files. - -The Service Component Architecture JavaDoc, Interface Definition files, -and XSD files are being provided by the copyright holders under the -following license. By using and/or copying this work, you agree that -you have read, understood and will comply with the following terms and -conditions: - -Permission to copy, display, make derivative works of, and distribute -the Service Component Architecture JavaDoc, Interface Definition Files -and XSD files (the "Artifacts") in any medium without fee or royalty is -hereby granted, provided that you include the following on ALL copies -of the Artifacts, or portions thereof, that you make: - -1. A link or URL to the Artifacts at this location: -http://www.osoa.org/display/Main/Service+Component+Architecture+Specifications - -2. The full text of this copyright notice as shown in the Artifacts. - -THE ARTIFACTS ARE PROVIDED "AS IS," AND THE AUTHORS MAKE NO -REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, REGARDING THE -ARTIFACTS AND THE IMPLEMENTATION OF THEIR CONTENTS, INCLUDING, BUT NOT -LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR -PURPOSE, NON-INFRINGEMENT OR TITLE. - -THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, -INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY -USE OR DISTRIBUTION OF THE ARTIFACTS. - -The name and trademarks of the Authors may NOT be used in any manner, -including advertising or publicity pertaining to the Service Component -Architecture Specification or its contents without specific, written -prior permission. Title to copyright in the Service Component -Architecture Specification and the JavaDoc, Interface Definition Files -and XSD Files will at all times remain with the Authors. - -No other rights are granted by implication, estoppel or otherwise. - -Revision level 1.1, last updated on 2007/11/19 - -================================================================================ -License for the Service Data Objects JavaDoc and Interface Definition files. (tuscany-sdo-api-r2.1-1.0-incubating.jar) - -These files being ... -commonj/sdo/ChangeSummary$Setting.class -commonj/sdo/ChangeSummary.class -commonj/sdo/DataGraph.class -commonj/sdo/DataObject.class -commonj/sdo/helper/CopyHelper.class -commonj/sdo/helper/DataFactory.class -commonj/sdo/helper/DataHelper.class -commonj/sdo/helper/EqualityHelper.class -commonj/sdo/helper/HelperContext.class -commonj/sdo/helper/TypeHelper.class -commonj/sdo/helper/XMLDocument.class -commonj/sdo/helper/XMLHelper.class -commonj/sdo/helper/XSDHelper.class -commonj/sdo/impl/ExternalizableDelegator$Resolvable.class -commonj/sdo/impl/ExternalizableDelegator.class -commonj/sdo/Property.class -commonj/sdo/Sequence.class -commonj/sdo/Type.class -xml/datagraph.xsd -xml/sdoJava.xml -xml/sdoJava.xsd -xml/sdoModel.xml -xml/sdoModel.xsd -xml/sdoXML.xml -xml/sdoXML.xsd - - -License for the Service Data Objects JavaDoc and Interface Definition files. - -The Service Data Objects Specification is being provided by the copyright holders under the following -license. By using and/or copying this work, you agree that you have read, understood and will comply with -the following terms and conditions: - -Permission to copy, display and distribute the Service Data Objects Specification and/or portions thereof, without -modification, in any medium without fee or royalty is hereby granted, provided that you include the -following on ALL copies of the Service Data Objects Specification, or portions thereof, that you make: - -1. A link or URL to the Service Data Objects Specification at this location: -http://www.osoa.org/display/Main/Service+Data+Objects+Specifications - -2. The full text of this copyright notice as shown in the Service Data Objects Specification. - -BEA, IBM, Oracle, Primeton Technologies, Rogue Wave Software, SAP, Software AG, Sun Microsystems, Xcalia, -Zend Technologies (collectively, the “Authors”) agree to grant you a royalty-free license, under reasonable, -non-discriminatory terms and conditions to patents that they deem necessary to implement the Service Data -Objects Specification. - -THE Service Data Objects SPECIFICATION IS PROVIDED "AS IS," AND THE AUTHORS MAKE NO REPRESENTATIONS OR -WARRANTIES, EXPRESS OR IMPLIED, REGARDING THIS SPECIFICATION AND THE IMPLEMENTATION OF ITS CONTENTS, -INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, -NON-INFRINGEMENT OR TITLE. THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL -OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY USE OR DISTRIBUTION OF THE SERVICE DATA OBJECTS -SPECIFICATION. - -The name and trademarks of the Authors may NOT be used in any manner, including advertising or publicity -pertaining to the Service Data Objects Specification or its contents without specific, written prior -permission. Title to copyright in the Service Data Objects Specification will at all times remain with the -Authors. - -No other rights are granted by implication, estoppel or otherwise. -================================================================================ - diff --git a/java/sca-contrib/distribution/repository/src/main/release/bin/NOTICE b/java/sca-contrib/distribution/repository/src/main/release/bin/NOTICE deleted file mode 100644 index 5daa9a3dfe..0000000000 --- a/java/sca-contrib/distribution/repository/src/main/release/bin/NOTICE +++ /dev/null @@ -1,95 +0,0 @@ -Apache Tuscany -Copyright (c) 2005 - 2009 The Apache Software Foundation - -This product includes software developed at -The Apache Software Foundation (http://www.apache.org/). - -This product includes/uses XmlSchema developed at -The Apache Software Foundation (http://ws.apache.org/commons/XmlSchema) - Portions Copyright 2006 International Business Machines Corp. - -This product includes/uses ode-bpel-api-1.1 developed at -The Apache Software Foundation (http://ode.apache.org) - - Copyright 1999-2006 Intalio - This product includes software developed by Intalio (http://www.intalio.com) - - Copyright 2006 Sybase - This product includes software developed by Sybase.(http://www.sybase.com) - -"This product includes software developed by the Spring Framework - Project (http://www.springframework.org)." - -This product includes/uses the Jetty Servlet Engine (http://jetty.mortbay.org), -developed by Mort Bay Consulting (http://www.mortbay.com) - -This product includes/uses the Groovy Script Engine (http://groovy.codehaus.org/), -Copyright 2003 (C) James Strachan and Bob Mcwhirter. All Rights Reserved. - -This product includes/uses the Axion : the Open Source Java Database (http://axion.tigris.org/) - Copyright (c) 2002-2003 Axion Development Team. All rights reserved. - -This product includes/uses DOM4J : the flexible XML framework for java (http://www.dom4j.org/) - Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved. - -This product includes/uses software, AOP alliance (http://aopalliance.sourceforge.net) -License: Public Domain - -This product includes/uses JSON-RPC-Java (http://oss.metaparadigm.com/jsonrpc/) - -This product includes/uses JSON-RPC JavaScript client (jsonrpc.js) - Copyright (c) 2003-2004 Jan-Klaas Kollhof - Copyright (c) 2005 Michael Clark, Metaparadigm Pte Ltd - -This product includes software from the GlassFish project (https://glassfish.dev.java.net/) - Copyright (c) 2006, Sun Microsystems, Inc. - -This product includes software from the Rome project (https://rome.dev.java.net/) - Copyright (c) 2006, Sun Microsystems, Inc. - -This product includes/uses the Eclipse Modeling Framework project (http://www.eclipse.org/emf/) - -This product includes/uses the Mozilla Rhino project (http://www.mozilla.org/rhino/) - -This product includes/uses the Sourceforge wsdl4j project (http://sourceforge.net/projects/wsdl4j/)i - -This product includes/uses the Codehaus JRuby project (http://jruby.codehaus.org/) - -This product includes/uses JDOM (http://www.jdom.org/) - Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin. All rights reserved. - -This product includes/uses DWR (http://getahead.org/dwr) - Copyright 2005 Joe Walker. All rights reserved. - -This product includes/uses dojotoolkit (http://dojotoolkit.org/) - Copyright (c) 2005, The Dojo Foundation. All rights reserved. - -This product includes/uses Howl (http://howl.objectweb.org/) - Copyright (c) 2004, Bull S.A. - -This product includes/uses axion (http://axion.tigris.org/) - Copyright (c) 2002-2003 Axion Development Team. - -This product includes/uses javacc (https://javacc.dev.java.net/) - Copyright (c) 2003 Sun Microsystems, Inc. All Rights Reserved. - -The Program includes all or portions of the following software: "The -Saxon XSLT and XQuery Processor from Saxonica Limited" distributed under -an MPL v1.0 license. Please refer to the homepage URL at -http://www.saxonica.com/. - -This product includes/uses Serp (http://serp.sourceforge.net/) under the BSD license: - Copyright (c) 2002, A. Abram White. All rights reserved. - -This product also includes software under the BSD license -with the following copyright: - Copyright (c) 2006, Sun Microsystems, Inc. All rights reserved. - -This product includes software under the Service Component Architecture JavaDoc, -Interface Definition files and XSD files license. - (c) Copyright SCA Collaboration 2006, 2007 - -This product includes software under the Service Data Objects JavaDoc and -Interface Definition file license - -(c) Copyright BEA Systems, Inc., International Business Machines Corporation, -Oracle Corporation, Primeton Technologies Ltd., Rogue Wave Software, SAP AG., -Software AG., Sun Microsystems, Sybase Inc., Xcalia, Zend Technologies, -2005, 2006. All rights reserved. - diff --git a/java/sca-contrib/distribution/repository/src/main/release/src/BUILDING b/java/sca-contrib/distribution/repository/src/main/release/src/BUILDING deleted file mode 100644 index 65d09c5eae..0000000000 --- a/java/sca-contrib/distribution/repository/src/main/release/src/BUILDING +++ /dev/null @@ -1,55 +0,0 @@ -Building the Apache Tuscany SCA 1.2 (incubating) April 2008 Release source distribution -======================================================================================= - -Initial Setup -------------- - -1) Install J2SE 5.0 SDK, which can be downloaded from - http://java.sun.com/j2se/1.5.0/download.jsp. Use version of 1.5.0_06 JDK or higher. - -2) Make sure that your JAVA_HOME environment variable is set to the newly installed - JDK location, and that your PATH includes %JAVA_HOME%\bin (windows) or - $JAVA_HOME$/bin (unix). - -3) Install Maven 2.0.7 or higher, which can be downloaded from - http://maven.apache.org/download.html. Make sure that your PATH includes - the MVN_HOME/bin directory. - -4) Make sure that your MAVEN_OPTS environment variable has -Xmx128M (or more), - you can manually do this by executing the following in your prompt : - Windows users: - set MAVEN_OPTS=-Xmx128M - Unix users: - export MAVEN_OPTS=-Xmx128M - - -Building --------- - -1) Change to the top level directory of Apache Tuscany source distribution. -2) Run - - $> mvn - - This will compile Apache Tuscany and run all of the tests in the source - distribution. - - Depending on the load of remote Maven 2.0 repositories, you may have - to run "mvn" several times utill the required dependencies are - all located in your local maven repository. It usually takes some time for - maven to download required dependencies in the first build. Once all the - dependencies have been downloaded you may use the -o option to run maven - in offline mode, for example, 'mvn clean install -o'. - - -Building the distributions --------------------------- - -1) Change to the distribution folder -2) Run - - $> mvn - - This will build the binary and source distribution with .zip and .gz - formats in the distribution/target directory. - diff --git a/java/sca-contrib/distribution/repository/src/main/release/src/LICENSE b/java/sca-contrib/distribution/repository/src/main/release/src/LICENSE deleted file mode 100644 index 144d8ae692..0000000000 --- a/java/sca-contrib/distribution/repository/src/main/release/src/LICENSE +++ /dev/null @@ -1,397 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - -=============================================================================================================== - -Apache Tuscany SCA for Java Subcomponents -=========================================: - -The Tuscany SCA for Java release includes a number of subcomponents with -separate copyright notices and license terms. Your use of the source -code for the these subcomponents is subject to the terms and -conditions of the following licenses. - -=============================================================================================================== - -The module itest/databindings/common includes the test schema; datagraph.xsd, sdoJava.xsd, and sdoModel.xsd -under the following license: - -License for the Service Data Objects JavaDoc, Interface Definition files -and XSD files. - -The Service Data Objects JavaDoc, Interface Definition files and XSD files -are being provided by the copyright holders under the following license. -By using and/or copying this work, you agree that you have read, -understood and will comply with the following terms and conditions: - -Permission to copy, display, make derivative works of and distribute -the Service Data Objects JavaDoc, Interface Definition files and XSD files -(the "Artifacts") in any medium without fee or royalty is hereby granted, -provided that you include the following on ALL copies of the Artifacts, -or portions thereof, that you make: - -1. A link or URL to the Artifacts at this location: -http://www.osoa.org/display/Main/Service+Data+Objects+Specifications - -2. The full text of this copyright notice as shown in the Artifacts. - - - -THE ARTIFACTS ARE PROVIDED "AS IS" AND THE AUTHORS MAKE NO -REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, REGARDING THE -ARTIFACTS AND THE IMPLEMENTATION OF THEIR CONTENTS, -INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT OR TITLE. - -THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, -INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY -USE OR DISTRIBUTION OF THE ARTIFACTS. - -The name and trademarks of the Authors may NOT be used in any manner, -including advertising or publicity pertaining to the Service Data -Objects Specification or its contents without specific, written prior -permission. Title to copyright in the Service Data Objects -Specification will at all times remain with the Authors. - -No other rights are granted by implication, estoppel or otherwise. - -Revision level 1.11, last updated on 2007/12/21 - -================================================================================================================= - -The module implementation-script temporarily includes one file under the following BSD license: - - Copyright (c) 2006, Sun Microsystems, Inc. - All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are met: - - - Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - - - Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - - - Neither the name of the Sun Microsystems, Inc. nor the names of - contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND - CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED - WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE - COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY - DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF - USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE - OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH - DAMAGE. - -================================================================================================================= - -The module assembly-xsd includes XSD files under the following SCA Collaboration license: - -License for the Service Component Architecture JavaDoc, Interface -Definition files and XSD files. - -The Service Component Architecture JavaDoc, Interface Definition files, -and XSD files are being provided by the copyright holders under the -following license. By using and/or copying this work, you agree that -you have read, understood and will comply with the following terms and -conditions: - -Permission to copy, display, make derivative works of, and distribute -the Service Component Architecture JavaDoc, Interface Definition Files -and XSD files (the "Artifacts") in any medium without fee or royalty is -hereby granted, provided that you include the following on ALL copies -of the Artifacts, or portions thereof, that you make: - -1. A link or URL to the Artifacts at this location: -http://www.osoa.org/display/Main/Service+Component+Architecture+Specifications - -2. The full text of this copyright notice as shown in the Artifacts. - -THE ARTIFACTS ARE PROVIDED "AS IS," AND THE AUTHORS MAKE NO -REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, REGARDING THE -ARTIFACTS AND THE IMPLEMENTATION OF THEIR CONTENTS, INCLUDING, BUT NOT -LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR -PURPOSE, NON-INFRINGEMENT OR TITLE. - -THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, -INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY -USE OR DISTRIBUTION OF THE ARTIFACTS. - -The name and trademarks of the Authors may NOT be used in any manner, -including advertising or publicity pertaining to the Service Component -Architecture Specification or its contents without specific, written -prior permission. Title to copyright in the Service Component -Architecture Specification and the JavaDoc, Interface Definition Files -and XSD Files will at all times remain with the Authors. - -No other rights are granted by implication, estoppel or otherwise. - -Revision level 1.1, last updated on 2007/11/19 - -================================================================================================================= -The modules - -binding-ws-xml -databinding -databinding-axiom -databinding-jaxb -databinding-json -databinding-sdo -databinding-sdo-axiom -databinding-xmlbeans -interface-wsdl-xml - -Include the ipo.xsd and address.xsd information from the XML Schema Primer -(http://www.w3.org/TR/2004/PER-xmlschema-0-20040318/) combined into the -file ipo.xsd and extended with UK postcode structures. - -The ipo.xsd file is include under the following license: - -W3C(c) SOFTWARE NOTICE AND LICENSE -http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 - -This work (and included software, documentation such as READMEs, or other -related items) is being provided by the copyright holders under the following -license. By obtaining, using and/or copying this work, you (the licensee) agree -that you have read, understood, and will comply with the following terms and conditions. - -Permission to copy, modify, and distribute this software and its documentation, -with or without modification, for any purpose and without fee or royalty is -hereby granted, provided that you include the following on ALL copies of the -software and documentation or portions thereof, including modifications: - - 1. The full text of this NOTICE in a location viewable to users of the - redistributed or derivative work. - 2. Any pre-existing intellectual property disclaimers, notices, or terms - and conditions. If none exist, the W3C Software Short Notice should be - included (hypertext is preferred, text is permitted) within the body of - any redistributed or derivative code. - 3. Notice of any changes or modifications to the files, including the date - changes were made. (We recommend you provide URIs to the location from which - the code is derived.) - -THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE -NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, -WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE -USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY PATENTS, -COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. - -COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR -CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENTATION. - -The name and trademarks of copyright holders may NOT be used in advertising or -publicity pertaining to the software without specific, written prior permission. -Title to copyright in this software and any associated documentation will at all -times remain with copyright holders. diff --git a/java/sca-contrib/distribution/repository/src/main/release/src/NOTICE b/java/sca-contrib/distribution/repository/src/main/release/src/NOTICE deleted file mode 100644 index 31540fd607..0000000000 --- a/java/sca-contrib/distribution/repository/src/main/release/src/NOTICE +++ /dev/null @@ -1,39 +0,0 @@ -Apache Tuscany -Copyright (c) 2005 - 2009 The Apache Software Foundation - -This product includes software developed at -The Apache Software Foundation (http://www.apache.org/). - -This product includes/uses JSON-RPC JavaScript client (jsonrpc.js) - Copyright (c) 2003-2004 Jan-Klaas Kollhof - Copyright (c) 2005 Michael Clark, Metaparadigm Pte Ltd - -This product also includes software under the BSD license -(see the LICENSE file contained in this distribution), with -the following copyright: - Copyright (c) 2006, Sun Microsystems, Inc. All rights reserved. - -This product includes software under the Service Component Architecture JavaDoc, -Interface Definition files and XSD files license. - (c) Copyright SCA Collaboration 2006, 2007 - -This product includes software under the Service Data Objects JavaDoc and -Interface Definition file license - -(c) Copyright BEA Systems, Inc., International Business Machines Corporation, -Oracle Corporation, Primeton Technologies Ltd., Rogue Wave Software, SAP AG., -Software AG., Sun Microsystems, Sybase Inc., Xcalia, Zend Technologies, -2005, 2006. All rights reserved. - -This product includes software under the W3C(c) Software License -with the following copyright: - -Copyright (c) 2008 World Wide Web Consortium, (Massachusetts Institute of Technology, -European Research Consortium for Informatics and Mathematics, Keio University). -All Rights Reserved. This work is distributed under the W3C(c) Software License [1] in -the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied -warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - -[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 - - diff --git a/java/sca-contrib/distribution/web20/pom.xml b/java/sca-contrib/distribution/web20/pom.xml deleted file mode 100644 index c9d6adb1f9..0000000000 --- a/java/sca-contrib/distribution/web20/pom.xml +++ /dev/null @@ -1,173 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - tuscany-distribution - 2.0-SNAPSHOT - ../pom.xml - - - tuscany-distribution-web20 - Apache Tuscany SCA Web 2.0 Distribution - pom - - - - - org.apache.tuscany.sca - tuscany-distribution-web20 - pom - 2.0-SNAPSHOT - - - - - - - - - distribution - - - - org.apache.tuscany.sca - tuscany-maven-bundle-plugin - - - distribution-modules - generate-resources - - generate-modules - - - target/modules - - ../core/target/modules - - - - - - - - org.apache.maven.plugins - maven-assembly-plugin - - - distribution-package - package - - single - - - - src/main/assembly/bin.xml - src/main/assembly/src.xml - - gnu - apache-tuscany-sca-web20-2.0-SNAPSHOT - - - - - - - - - - - modules - - ../../../modules/assembly - ../../../modules/assembly-xml - ../../../modules/assembly-xsd - ../../../modules/binding-atom - ../../../modules/binding-atom-abdera - ../../../modules/binding-corba - ../../../modules/binding-corba-runtime - ../../../modules/binding-http - ../../../modules/binding-http-runtime - ../../../modules/binding-jsonrpc - ../../../modules/binding-jsonrpc-runtime - ../../../modules/binding-rss - ../../../modules/binding-rss-rome - ../../../modules/binding-sca - ../../../modules/binding-sca-xml - ../../../modules/contribution - ../../../modules/contribution-java - ../../../modules/contribution-namespace - ../../../modules/contribution-resource - ../../../modules/contribution-xml - ../../../modules/core - ../../../modules/core-databinding - ../../../modules/core-spi - ../../../modules/data-api - ../../../modules/databinding - ../../../modules/databinding-jaxb - ../../../modules/databinding-json - ../../../modules/definitions - ../../../modules/definitions-xml - ../../../modules/endpoint - ../../../modules/extensibility - ../../../modules/extensibility-equinox - ../../../modules/host-corba - ../../../modules/host-corba-jse - ../../../modules/host-http - ../../../modules/host-jetty - ../../../modules/implementation-java - ../../../modules/implementation-java-runtime - ../../../modules/implementation-java-xml - ../../../modules/implementation-node - ../../../modules/implementation-node-runtime - ../../../modules/implementation-resource - ../../../modules/implementation-resource-runtime - ../../../modules/implementation-script - ../../../modules/implementation-script-runtime - ../../../modules/implementation-widget - ../../../modules/implementation-widget-runtime - ../../../modules/interface - ../../../modules/interface-java - ../../../modules/interface-java-jaxws - ../../../modules/interface-java-xml - ../../../modules/interface-wsdl - ../../../modules/interface-wsdl-xml - ../../../modules/monitor - ../../../modules/node-api - ../../../modules/node-impl - ../../../modules/node-launcher - ../../../modules/node-launcher-equinox - ../../../modules/node-launcher-webapp - ../../../modules/policy - ../../../modules/policy-security - ../../../modules/policy-security-jsr250 - ../../../modules/policy-xml - ../../../modules/sca-api - ../../../modules/workspace - ../../../modules/workspace-impl - ../../../modules/workspace-xml - ../../../modules/xsd - ../../../modules/xsd-xml - - - - - diff --git a/java/sca-contrib/distribution/web20/src/main/assembly/bin.xml b/java/sca-contrib/distribution/web20/src/main/assembly/bin.xml deleted file mode 100644 index fdcc421f2f..0000000000 --- a/java/sca-contrib/distribution/web20/src/main/assembly/bin.xml +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - true - tuscany-sca-2.0-SNAPSHOT - - - zip - - - - ../core/src/main/components/bin-common.xml - ../core/src/main/components/bin-modules.xml - src/main/components/bin-samples.xml - - diff --git a/java/sca-contrib/distribution/web20/src/main/assembly/src.xml b/java/sca-contrib/distribution/web20/src/main/assembly/src.xml deleted file mode 100644 index af3cb8e6fc..0000000000 --- a/java/sca-contrib/distribution/web20/src/main/assembly/src.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - - src - true - tuscany-sca-2.0-SNAPSHOT-src - - - zip - - - - ../core/src/main/components/src-common.xml - src/main/components/src-modules.xml - - diff --git a/java/sca-contrib/distribution/web20/src/main/components/bin-samples.xml b/java/sca-contrib/distribution/web20/src/main/components/bin-samples.xml deleted file mode 100644 index 5cc62040c0..0000000000 --- a/java/sca-contrib/distribution/web20/src/main/components/bin-samples.xml +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - ../../../samples - samples - - feed-aggregator/**/* - store/**/* - web-resource/**/* - - - - **/.* - **/.*/** - **/*.log - - - pom.xml - **/target - **/target/**/* - - - - diff --git a/java/sca-contrib/distribution/web20/src/main/components/src-modules.xml b/java/sca-contrib/distribution/web20/src/main/components/src-modules.xml deleted file mode 100644 index 68aae46796..0000000000 --- a/java/sca-contrib/distribution/web20/src/main/components/src-modules.xml +++ /dev/null @@ -1,112 +0,0 @@ - - - - - - - ../../../modules - modules - - assembly/**/* - assembly-xml/**/* - assembly-xsd/**/* - binding-atom/**/* - binding-atom-abdera/**/* - binding-corba/**/* - binding-corba-runtime/**/* - binding-http/**/* - binding-http-runtime/**/* - binding-jsonrpc/**/* - binding-jsonrpc-runtime/**/* - binding-rss/**/* - binding-rss-rome/**/* - binding-sca/**/* - binding-sca-xml/**/* - contribution/**/* - contribution-impl/**/* - contribution-java/**/* - contribution-namespace/**/* - contribution-resource/**/* - contribution-xml/**/* - core/**/* - core-databinding/**/* - core-spi/**/* - data-api/**/* - databinding/**/* - databinding-jaxb/**/* - databinding-json/**/* - definitions/**/* - definitions-xml/**/* - distribution-core/**/* - endpoint/**/* - extensibility/**/* - extensibility-equinox/**/* - host-corba/**/* - host-corba-jse/**/* - host-http/**/* - host-jetty/**/* - implementation-java/**/* - implementation-java-runtime/**/* - implementation-java-xml/**/* - implementation-node/**/* - implementation-node-runtime/**/* - implementation-resource/**/* - implementation-resource-runtime/**/* - implementation-script/**/* - implementation-script-runtime/**/* - implementation-widget/**/* - implementation-widget-runtime/**/* - interface/**/* - interface-java/**/* - interface-java-jaxws/**/* - interface-java-xml/**/* - interface-wsdl/**/* - interface-wsdl-xml/**/* - monitor/**/* - node-api/**/* - node-impl/**/* - node-launcher/**/* - node-launcher-equinox/**/* - node-launcher-webapp/**/* - policy/**/* - policy-security/**/* - policy-security-jsr250/**/* - policy-xml/**/* - sca-api/**/* - workspace/**/* - workspace-impl/**/* - workspace-xml/**/* - xsd/**/* - xsd-xml/**/* - - - - **/.* - **/.*/** - **/*.log - - - pom.xml - **/target - **/target/**/* - - - - diff --git a/java/sca-contrib/distribution/web20/src/main/release/CHANGES b/java/sca-contrib/distribution/web20/src/main/release/CHANGES deleted file mode 100644 index 3de7358ec6..0000000000 --- a/java/sca-contrib/distribution/web20/src/main/release/CHANGES +++ /dev/null @@ -1,431 +0,0 @@ -Changes With Apache Tuscany SCA 1.2 (incubating) April 2008 -=========================================================== - -- Fix the following JIRA issues (http://issues.apache.org/jira/browse/TUSCANY): - * TUSCANY-2027 - * TUSCANY-1999 - * TUSCANY-2037 - * TUSCANY-2034 - * TUSCANY-2038 - * TUSCANY-2043 - * TUSCANY-2046 - * TUSCANY-2047 - * TUSCANY-2028 - * TUSCANY-1873 - * TUSCANY-2049 - * TUSCANY-2035 - * TUSCANY-1206 - * TUSCANY-2036 - * TUSCANY-1771 - * TUSCANY-2013 - * TUSCANY-1926 - * TUSCANY-1917 - * TUSCANY-1949 - * TUSCANY-1941 - * TUSCANY-2045 - * TUSCANY-2057 - * TUSCANY-2055 - * TUSCANY-2056 - * TUSCANY-2072 - * TUSCANY-2047 - * TUSCANY-2073 - * TUSCANY-1977 - * TUSCANY-2075 - * TUSCANY-1894 - * TUSCANY-2079 - * TUSCANY-2078 - * TUSCANY-2080 - * TUSCANY-2068 - * TUSCANY-1950 - * TUSCANY-2077 - * TUSCANY-2056 - * TUSCANY-2088 - * TUSCANY-2086 - * TUSCANY-2094 - * TUSCANY-2106 - - Features and/or Enhancements - - * Core - - Interceptor Enhancements - - Phase-based interceptor ordering to allow contribution of new interceptors and also define the order in witch they should be invoked - - Pass-by-reference SPI to allow interceptors to indicate if they support pass-by-reference - - PolicyProvider SPIs to allow extensions to plugin policy interceptors - - Support for JAXWS annotations and mapping of faults to Java exceptions according to JAXWS specification - - Improvement of contribution service to allow it to be used outside of the runtime environment - - Support for Contribution Import/Export resource - - Enhanced Distributed Domain story using Workspace - - Implementation of a SCA domain allowing a system administrator to manage contributions, composites and sca nodes that run these composites - - Set of core services providing management capabilities - - Administration web interface - - This is a work in progress and you can see it in action in samples/calculator-distributed. Other samples that use distributed operation are yet to move over to the workspace. - - Enhanced support for SCA Policy spec - - Ability to apply external policy definitions to a SCA composition - - Ability to spread policy definitions to multiple definitions.xml files available across the sca domain - - Bug fixes - - Improvements of http binding to support servlet components - - Enable Tuscany to run inside an OSGi runtime - - * Web 2.0 Extensions - - Enhancements to implementation.widget (support for properties) - - New atom binding based on Apache Abdera - - Refactoring of rss-rome binding - * Other Extensions - - Binding JMS - - greatly simplified the use of the JMS binding, support locating JMS resources from JNDI, and better compliance with the SCA JMS binding spec - - see the doc page for more details: http://incubator.apache.org/tuscany/sca-java-bindingjms.html - - Enhancements to Binding RMI - - Support shared RMI registry and use 999x as the ports in test case to avoid 1099 conflict - - Enhancements to Groovy extension - - Support for 'native' groovy classes - - Enhancements to OSGi bundle contributions - - Support Bundle URLs to be added as contributions - - * Tools - - Eclipse plugin providing a Tuscany runtime Library and Tuscany launcher in Eclipse environment - - An updatesite is also available to facilitate the plugin installation using the Eclipse update manager - - * Samples/Tutorial/Demos - - calculator-distributed migrated to use new Tuscany Distributed Workspace - - sample-calculator-ws-secure-webapp - - sample-helloworld-jms-webapp - - new jms samples - - improve bigbank demo to include support for policies - - tutorial store changes - - use of import/export - - development of contribution without requiring dependencies on the Tuscany runtime - - usage of new sca domain infrastructure - - * Testing - - Web Container Testing Framework integrated with (Tomcat, Jetty, Geronimo and Websphere) - - -Changes With Apache Tuscany SCA 1.1 (incubating) January 2008 -=============================================================== - -- Fix the following JIRA issues (http://issues.apache.org/jira/browse/TUSCANY): - * TUSCANY-1939 - * TUSCANY-1914 - * TUSCANY-1854 - * TUSCANY-1931 - * TUSCANY-1547 - * TUSCANY-1909 - * TUSCANY-1919 - * TUSCANY-1930 - * TUSCANY-1806 - * TUSCANY-1804 - * TUSCANY-1916 - * TUSCANY-1913 - * TUSCANY-1834 - * TUSCANY-1857 - * TUSCANY-1687 - * TUSCANY-1801 - * TUSCANY-1742 - * TUSCANY-1762 - * TUSCANY-1945 - * TUSCANY-1595 - * TUSCANY-1594 - * TUSCANY-1849 - * TUSCANY-1836 - * TUSCANY-1934 - * TUSCANY-1902 - * TUSCANY-1608 - * TUSCANY-1943 - * TUSCANY-1896 - * TUSCANY-1626 - * TUSCANY-1797 - * TUSCANY-1601 - * TUSCANY-1415 - -- Better JMS support - * binding.jms supporting point to point text based messaging only - * New SOAP/JMS sample (helloworld-ws-reference/service-jms) - -- Improvements in PolicyFramework Support - * Support for policy specifications on operation elements in a composite definition - * Separate sample (calculator-implementation-policies) to demonstrate use of Implementation Policies - (uses logging and JAAS Authentication) - -- Modeling of client side java script components - * See implementation.widget - -- Evolving support for doman API suggested by assembly spec including a standalone node and nodes running - connected together in a domain. This is still experimental. - -- Class loading and OSGI improvements - * Enable Tuscany to be run in a multi-classloader environment including inside OSGi. By default, - Tuscany continues to run using a single CLASSPATH-based classloader. - * Contributions no longer need to be in the CLASSPATH. All import/export dependencies across contributions should be - explicitly specified (as described in the spec). - -- JAXB based POJO transformations - -Changes With Apache Tuscany SCA 1.0.1 (incubating) November 2007 -================================================================ - -The Tuscany SCA Java 1.0.1 is mainly a bug-fix release. It also comes with some improvements as listed below. - -- Fix the following JIRA issues (http://issues.apache.org/jira/browse/TUSCANY): - * TUSCANY-1848 - * TUSCANY-1857 - * TUSCANY-1859 - * TUSCANY-1801 - * TUSCANY-1823 - * TUSCANY-1839 - * TUSCANY-1814 - * TUSCANY-1818 - * TUSCANY-1834 - * TUSCANY-1637 - * TUSCANY-1826 - * TUSCANY-1823 - * TUSCANY-1819 - * TUSCANY-1821 - * TUSCANY-1822 - * TUSCANY-1806 - * TUSCANY-1808 - * TUSCANY-1756 - * TUSCANY-1757 - -- Fix build issues with Maven 2.0.7 and JDK 6 - -- Reduce memory consumption for WSDLs that import large XSDs - -- Add more logging statements for better servicibility - -- Add an extension point to allow extensions to plug-in extension schemas. - -- Add a demo application to showcase XML integration story - -- Improve in databinding framework - * Add support for JSON Databindings and other refactoring - * Set databinding for introspected data type and enhance the checking of wrapper style - * Improve the tree-based XMLStreamReader and convert Bean & DOM to use this approach - * Add a tree-iterator based XMLStreamReader base impl - * Add default element info to java interface - * Rename Interface.setDefaultDataBinding to resetDataBinding - -- Limit the method injection to setters and allow the setter annotation to override field annotation - -- Evolving support in Intent and Policy handling - * Add support for policies in implementation - * Fix the algorithm for macthing policySets defined on bindings for the wire - * Add policy intent for implementation.java - * Extend java implementation type to recognize and apply policies, adding util support for this in Policy module - * Add policy module for logging - -- Evolving development in the SCA Domain/Node - -- Update NOTICE files with missing dependencies - - -Changes With Apache Tuscany SCA 1.0 (incubating) September 2007 -=============================================================== - -- Tuscany Java SCA now implements V1.0 of the core SCA - specifications - SCA Assembly Model V1.0 - SCA Java Common Annotations and APIs V1.0 - SCA Java Component Implementation V1.0 - SCA Web Services Binding V1.0 - Including callbacks, conversations and callable references - - -- Support for ws-security configurable in the web services binding - thro Tuscany SCA policy intents and policysets using the policy framework - introduced in the last release. - - Note : This release supports specifications of policies around axis2 - config params - see helloworld-ws-service-secure sample. The policy - intents that have been tested are authentication, integrity and - confidentiality. - There is no sample or test that exercises confidentiality since there - are some unresolved licensing issue around bouncycastle libraries. - However, users who are not encumbered by the bouncycastle license - restrictions can try the 'confidentiality' intent. See FAQ - - http://incubator.apache.org/tuscany/tuscany-sca-java-faq.html - - This release does not include support for WS-Policy - attachments in Tuscany Policysets for ws-security. - - -- An XQuery component implementation type - implementation-xquery - - -- A Databinding for converting data to and from nodes for XQuery - processing - databinding-saxon - - -- OSGI support has been extended to allow Tuscany contributions - packaged as OSGI bundles hence taking advantage of OSGI's bundle - loading an dependency management capabilities - - -- A BPEL component implementation type experimental implementation -based on SCA BPEL Client and Implementation V1.0. At the moment only -supports BPEL process as services. - implementation-bpel - - -- The distributed runtime implementation has been separated out - into - *) domain - *) node - It is now wrapped by a SCADomain interface as is the standalone - runtime. - - Note: This release does not include support for WebApp host deployment - for a distributed SCA Domain - - - -- The web service binding will now generate WSDL automatically - based on the service interface if no WSDL is provided - - -- A new "store" sample and associated document show how a - simple store front application can be constructed - samples/store - -- The following features of this release are still experimental: - - BPEL implementation type, integrating with Apache ODE - - OSGI implementation type, integrating with Apache Felix - - XQuery implementation type - - - -Changes With Apache Tuscany SCA 0.99 (incubating) August 2007 -============================================================= - -The following are the significant additions to release 0.99 -over and above all of what was offered in release 0.91. - -- A version of the default sca binding that works between - components runing in separate Java virtual machines - binding-sca-axis - -- A simple node implementation and a service discovery - function for running sca applications distributed - across more than one node - distributed - distributed-impl - -- integration with OSGi runtimes is now supported with - a new implementation-osgi component type - -- PUB/SUB interactions are now supported by using new - notification binding and implementation types, and - samples demonstrating the feature. - -- The Tuscany runtime now has a policy framework supporting - the SCA policy specification - -- the endpoint URIs used by SCA bindings has been rationalized - and now follows the SCA Assembly specification - -- binding-ajax has been renamed to binding-dwr - -Changes With Apache Tuscany SCA 0.91 (incubating) July 2007 -=========================================================== - -The following are the significant additions to release 0.91 -over and above all of what was offered in release 0.90. - - -- Enhancements to support multiple contributions to the SCA Domain - -- The inclusion of a alternative simplified extensions-helper -SPI layer to faciliate rapid development of extensions - -- More Implementation Extenstions - Spring - WebResource - -- More Binding Extensions - AJAX - EJB - RSS/ATOM Feeds - -- Demos that demonstrate the use of a mix of extensions - alert-aggregator-webapp - bigbank-account - bigbank-calculator - bigbank-stockquote - - -- Samples - Samples to demostrate use of Spring, Resource, AJAX extensions - -Changes With Apache Tuscany SCA 0.90 (incubating) June 2007 -=========================================================== - -- Implementations for all of the Java Annotations and API Specification V1.0 found at - (http://www.osoa.org/display/Main/Service+Component+Architecture+Specifications) - apart from the following. - @ComponentName - Conversation - RequestContext - -- New assembly model implementation taking into account SCA 1.0 artifacts - Data duplication between assembly model and runtime removed - -- Simple single process domain support - Contribution support to scope items being deployed into the runtime - -- Improved Package/Class naming consistency across modules - -- Extensions now loaded via Java service mechanism - Refactored extensions to use new SPIs (see below) - -- Maven and Ant based sample builds in the binary distribution - -- Implementation Extensions - Java - Script supporting (Ruby, Python, Groovy, JavaScript) - -- Binding Extensions - Axis2 - RMI - JSONRPC - --Databinding Extensions - Axiom - JAXB - SDO - -- Host environments - Embedded - Tomcat - Jetty - RMI - -- A clear set of SPIs intended to be stable over future releases - SCA assembly model - org.apache.tuscany.sca.assembly - org.apache.tuscany.sca.interfacedef - org.apache.tuscany.sca.interfacedef.java - org.apache.tuscany.sca.interfacedef.wsdl - org.apache.tuscany.sca.policy - - SCA contribution model - org.apache.tuscany.sca.contribution - - Runtime extensions - org.apache.tuscany.sca.core - org.apache.tuscany.sca.invocation - org.apache.tuscany.sca.provider - org.apache.tuscany.sca.runtime - org.apache.tuscany.sca.work - - Data binding support - org.apache.tuscany.sca.databinding - - Embedding Tuscany - org.apache.tuscany.sca.host.embedded - - Servlet container integration - org.apache.tuscany.sca.http - -- For this point release a partial set of JavaDoc is provided to - be filled out as we close on release 1.0 diff --git a/java/sca-contrib/distribution/web20/src/main/release/README b/java/sca-contrib/distribution/web20/src/main/release/README deleted file mode 100644 index 4d83dcfde9..0000000000 --- a/java/sca-contrib/distribution/web20/src/main/release/README +++ /dev/null @@ -1,19 +0,0 @@ -Apache Tuscany SCA 1.2 (incubating) April 2008 README -===================================================== - -Welcome to the Tuscany SCA 1.2 release. - -See the RELEASE_NOTES file for information specific to this release. - -In the binary release see the INSTALL file for information on how to -install the release. - -In the source distribution see the BUILDING file for information on -building the source code. - - - - - - - diff --git a/java/sca-contrib/distribution/web20/src/main/release/RELEASE_NOTES b/java/sca-contrib/distribution/web20/src/main/release/RELEASE_NOTES deleted file mode 100644 index a04ef5c553..0000000000 --- a/java/sca-contrib/distribution/web20/src/main/release/RELEASE_NOTES +++ /dev/null @@ -1,83 +0,0 @@ -Apache Tuscany SCA 1.2 (incubating) April 2008 Release Notes -============================================================ - -Apache Tuscany provides a runtime based on the Service Component -Architecture. SCA is a set of specifications aimed at simplifying SOA -Application Development which are being standardized at OASIS as part -of Open Composite Services Architecture (Open CSA) - http://www.oasis-opencsa.org/. - -Overview --------- - - The Apache Tuscany SCA 1.2 release includes implementations of the - main SCA specifications including: - - SCA Assembly Model V1.0 - SCA Policy Framework V1.0 - SCA Java Common Annotations and APIs V1.0 - SCA Java Component Implementation V1.0 - SCA Spring Component Implementation V1.0 - SCA BPEL Client and Implementation V1.0 - SCA Web Services Binding V1.0 - SCA EJB Session Bean Binding V1.0 - - It also includes implementations of many features not yet defined - by SCA specifications, including: - - - SCA bindings for Direct Web Remoting, RSS and ATOM Feeds, - HTTP resources, JSON-RPC, PUB/SUB Notifications, and RMI. - - SCA implementation types for OSGI, XQuery, BPEL, Widget and various - dynamic languages including Groovy, Javascript, Python and Ruby - - Databindings for Service Data Objects (SDO), JAXB, XmlBeans, - Axis2's AXIOM, JSON, SAXON, DOM, SAX and StAX - - The Tuscany SCA Runtime can be configured as a single node SCA domain or - as an SCA domain distributed across multiple nodes. - In addition Tuscany SCA supports the following host-deployment options: - - - running standalone - - running with distributed nodes across multiple JVMs - - running with embedded Jetty or Tomcat - - running as part of a standard web application - - The Wepapp samples included in this release have been tried and tested on - - Tomcat 5.5.20 and Tomcat 6.0.14 - - Jetty 6.1.3 - - Geronimo 2.0.2 Tomcat6 jee5 - - WebSphere 6.1 fix pack 9 - -See the CHANGES file for a detailed list of the features in this release. - -Support -------- - -For more information on Apache Tuscany visit the website at: - - http://incubator.apache.org/tuscany/ - -Any issues with this release can be reported to Apache Tuscany -using the mailing lists or in the JIRA issue tracker. - - Mailing list archives: - - http://mail-archives.apache.org/mod_mbox/ws-tuscany-user/ - http://mail-archives.apache.org/mod_mbox/ws-tuscany-dev/ - - Jira: - - http://issues.apache.org/jira/browse/TUSCANY - -To join the project's mailing lists follow the instructions at: - - http://incubator.apache.org/tuscany/mailing-lists.html - -To find out more about OASIS Open CSA go to: - - http://www.oasis-opencsa.org. - -Apache Tuscany welcomes your help. Any contribution, including code, -testing, improving the documentation, or bug reporting is always -appreciated. - -Thank you for using Apache Tuscany! - -- The Tuscany Team. diff --git a/java/sca-contrib/distribution/web20/src/main/release/bin/INSTALL b/java/sca-contrib/distribution/web20/src/main/release/bin/INSTALL deleted file mode 100644 index 2da53a2b44..0000000000 --- a/java/sca-contrib/distribution/web20/src/main/release/bin/INSTALL +++ /dev/null @@ -1,27 +0,0 @@ -Installing the Apache Tuscany SCA 1.2 (incubating) April 2008 Release binary distribution -========================================================================================= - -Unzip Tuscany binary distribution archive and you get the following: - -tuscany-sca-1.1-incubating - DISCLAIMER - the ASF incubation disclaimer - INSTALL - this help file - LICENSE - the Apache License and any dependecy licenses - NOTICE - attribution notices associated with the licenses - README - readme for the release - RELEASE_NOTES - description of this release - CHANGES - A note of the major changes in this release - - /demos - Demo applications showcasing the use of Apache Tuscany - - /lib - The tuscany-sca-all and tuscany-sca-manifest jars and all their dependencies - - /modules - all of the individual Tuscany jars - - /samples - all the Tuscany samples, see the README in that directory - - /tutorial - The store tutorial, see the README in that directory - - - - diff --git a/java/sca-contrib/distribution/web20/src/main/release/bin/LICENSE b/java/sca-contrib/distribution/web20/src/main/release/bin/LICENSE deleted file mode 100644 index 5e1f585d46..0000000000 --- a/java/sca-contrib/distribution/web20/src/main/release/bin/LICENSE +++ /dev/null @@ -1,2366 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - -=============================================================================== - -APACHE TUSCANY SUBCOMPONENTS: - -The Apache Tuscany binary distribution includes a number of subcomponents -with separate copyright notices and license terms. Your use of the -code for the these subcomponents is subject to the terms and -conditions of the following licenses. - -=============================================================================== - -The following components come under Apache Software License 1.1 - - commons-discovery-0.2.jar - commons-primitives-1.0.jar - -The following components come under Apache Software License 2.0 - - abdera-core-0.3.0-incubating.jar - abdera-i18n-0.3.0-incubating.jar - abdera-parser-0.3.0-incubating.jar - activeio-2.0-r118.jar - activeio-core-3.0.0-incubator.jar - apache-activemq-4.1.1.jar - addressing-1.3.mar - annogen-0.1.0.jar - annotations-api-6.0.14.jar - aopalliance-1.0.jar - axiom-api-1.2.5.jar - axiom-dom-1.2.5.jar - axiom-impl-1.2.5.jar - axis2-adb-1.3.jar - axis2-codegen-1.3.jar - axis2-java2wsdl-1.3.jar - axis2-kernel-1.3.jar - axis2-mtompolicy-1.3.jar - bsf-all-3.0-beta2.jar - catalina-6.0.14.jar - cglib-nodep-2.1_3.jar - commons-collections-3.1.jar - commons-codec-1.3.jar - commons-fileupload-1.1.1.jar - commons-httpclient-3.0.1.jar - commons-io-1.2.jar - commons-jexl-1.1.jar - commons-lang-2.1.jar - commons-logging-1.1.jar - coyote-6.0.14.jar - derby-10.1.3.1.jar - geronimo-activation_1.1_spec-1.0-M1.jar - geronimo-common-1.2-beta.jar - geronimo-commonj_1.1_spec-1.0.jar - geronimo-connector-1.2-beta.jar - geronimo-core-1.2-beta.jar - geronimo-deployment-1.2-beta.jar - geronimo-ejb_3.0_spec-1.0.jar - geronimo-interceptor-1.2-beta.jar - geronimo-j2ee-1.2-beta.jar - geronimo-j2ee-connector_1.5_spec-1.1.jar - geronimo-j2ee-jacc_1.0_spec-1.1.jar - geronimo-j2ee-management_1.0_spec-1.1.jar - geronimo-javamail_1.4_spec-1.0-M1.jar - geronimo-jms_1.1_spec-1.1.jar - geronimo-jpa_3.0_spec-1.0.jar - geronimo-jta_1.0.1B_spec-1.0.jar - geronimo-kernel-1.2-beta.jar - geronimo-management-1.2-beta.jar - geronimo-naming-1.2-beta.jar - geronimo-security-1.2-beta.jar - geronimo-spec-j2ee-connector-1.5-rc4.jar - geronimo-spec-jta-1.0.1B-rc4.jar - geronimo-system-1.2-beta.jar - geronimo-transaction-1.2-beta.jar - geronimo-util-1.2-beta.jar - httpcore-4.0-alpha5.jar - httpcore-nio-4.0-alpha5.jar - httpcore-niossl-4.0-alpha5.jar - jettison-1.0-RC2.jar - jetty-6.1.7.jar - jetty-util-6.1.7.jar - json-rpc-1.0.jar - juli-6.0.14.jar - log4j-1.2.12.jar - logkit-1.0.1.jar - neethi-2.0.2.jar - ode-bpel-api-1.1.jar - ode-bpel-compiler-1.1.jar - ode-bpel-dao-1.1.jar - ode-bpel-epr-1.1.jar - ode-bpel-obj-1.1.jar - ode-bpel-runtime-1.1.jar - ode-bpel-schemas-1.1.jar - ode-bpel-store-1.1.jar - ode-dao-jpa-1.1.jar - ode-dao-jpa-ojpa-derby-1.1.zip - ode-jacob-1.1.jar - ode-jacob-ap-1.1.jar - ode-scheduler-simple-1.1.jar - ode-utils-1.1.jar - openjpa-all-0.9.7-incubating.jar - openjpa-persistence-0.9.7-incubating.jar - org.apache.felix.bundlerepository-1.0.2.jar - org.apache.felix.framework-1.0.3.jar - org.apache.felix.main-1.0.3.jar - org.apache.felix.shell-1.0.0.jar - org.apache.felix.shell.tui-1.0.0.jar - rampart-core-1.3.jar - rampart-policy-1.3.jar - rampart-trust-1.3.jar - regexp-1.3.jar - spring-beans-2.0.6.jar - spring-context-2.0.6.jar - spring-core-2.0.6.jar - tranql-connector-1.1.jar - tuscany-sdo-api-r2.1-1.0-incubating.jar - tuscany-sdo-impl-1.0-incubating.jar - tuscany-sdo-lib-1.0-incubating.jar - tuscany-sdo-tools-1.0-incubating.jar - woden-1.0-incubating-M7b.jar - wss4j-1.5.3.jar - wstx-asl-3.2.1.jar - xalan-2.7.0.jar - xbean-naming-2.7.jar - xercesImpl-2.8.1.jar - xml-apis-1.3.03.jar - xmlbeans-2.3.0.jar - xml-resolver-1.1.jar - xmlsec-1.4.0.jar - XmlSchema-1.3.2.jar - -=============================================================================== -axion-1.0-M3-dev.jar - -Copyright (c) 2002-2003 Axion Development Team. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above - copyright notice, this list of conditions and the following - disclaimer. - -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - -3. The names "Tigris", "Axion", nor the names of its contributors may - not be used to endorse or promote products derived from this - software without specific prior written permission. - -4. Products derived from this software may not be called "Axion", nor - may "Tigris" or "Axion" appear in their names without specific prior - written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A -PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -The "Axion Development Team" is defined to be: - - * Chuck Burdick - * James Burke - * Morgan Delagrange - * Geir Magnusson Jr. - * Martin Poeschl - * Steve Polyak - * Daniel Rall - * Ahimanikya Satapathy - * Doug Sale - * James Strachan - * Rodney Waldhoff - * Jason van Zyl - -License changes are to be determined by a simple majority vote of the -Axion Development Team. - -=============================================================================== -dom4j-1.6.1.jar - -Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved. - -Redistribution and use of this software and associated documentation -("Software"), with or without modification, are permitted provided -that the following conditions are met: - -1. Redistributions of source code must retain copyright - statements and notices. Redistributions must also contain a - copy of this document. - -2. Redistributions in binary form must reproduce the - above copyright notice, this list of conditions and the - following disclaimer in the documentation and/or other - materials provided with the distribution. - -3. The name "DOM4J" must not be used to endorse or promote - products derived from this Software without prior written - permission of MetaStuff, Ltd. For written permission, - please contact dom4j-info@metastuff.com. - -4. Products derived from this Software may not be called "DOM4J" - nor may "DOM4J" appear in their names without prior written - permission of MetaStuff, Ltd. DOM4J is a registered - trademark of MetaStuff, Ltd. - -5. Due credit should be given to the DOM4J Project - - http://www.dom4j.org - -THIS SOFTWARE IS PROVIDED BY METASTUFF, LTD. AND CONTRIBUTORS -``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT -NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND -FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL -METASTUFF, LTD. OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED -OF THE POSSIBILITY OF SUCH DAMAGE. - -=============================================================================== - -The EMF jars; - codegen-2.2.3.jar - codegen-ecore-2.2.3.jar - common-2.2.3.jar - ecore-2.2.3.jar - ecore-change-2.2.3.jar - ecore-xmi-2.2.3.jar - xsd-2.2.3.jar - -Eclipse Public License - v 1.0 - -THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE -PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF -THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. - -1. DEFINITIONS - -"Contribution" means: - -a) in the case of the initial Contributor, the initial code and -documentation distributed under this Agreement, and -b) in the case of each subsequent Contributor: - -i) changes to the Program, and - -ii) additions to the Program; - -where such changes and/or additions to the Program originate from and -are distributed by that particular Contributor. A Contribution -'originates' from a Contributor if it was added to the Program by such -Contributor itself or anyone acting on such Contributor's behalf. -Contributions do not include additions to the Program which: (i) are -separate modules of software distributed in conjunction with the -Program under their own license agreement, and (ii) are not derivative -works of the Program. - -"Contributor" means any person or entity that distributes the Program. - -"Licensed Patents " mean patent claims licensable by a Contributor -which are necessarily infringed by the use or sale of its Contribution -alone or when combined with the Program. - -"Program" means the Contributions distributed in accordance with this -Agreement. - -"Recipient" means anyone who receives the Program under this -Agreement, including all Contributors. - -2. GRANT OF RIGHTS - -a) Subject to the terms of this Agreement, each Contributor hereby -grants Recipient a non-exclusive, worldwide, royalty-free copyright -license to reproduce, prepare derivative works of, publicly display, -publicly perform, distribute and sublicense the Contribution of such -Contributor, if any, and such derivative works, in source code and -object code form. - -b) Subject to the terms of this Agreement, each Contributor hereby -grants Recipient a non-exclusive, worldwide, royalty-free patent -license under Licensed Patents to make, use, sell, offer to sell, -import and otherwise transfer the Contribution of such Contributor, if -any, in source code and object code form. This patent license shall -apply to the combination of the Contribution and the Program if, at -the time the Contribution is added by the Contributor, such addition -of the Contribution causes such combination to be covered by the -Licensed Patents. The patent license shall not apply to any other -combinations which include the Contribution. No hardware per se is -licensed hereunder. - -c) Recipient understands that although each Contributor grants the -licenses to its Contributions set forth herein, no assurances are -provided by any Contributor that the Program does not infringe the -patent or other intellectual property rights of any other entity. Each -Contributor disclaims any liability to Recipient for claims brought by -any other entity based on infringement of intellectual property rights -or otherwise. As a condition to exercising the rights and licenses -granted hereunder, each Recipient hereby assumes sole responsibility -to secure any other intellectual property rights needed, if any. For -example, if a third party patent license is required to allow -Recipient to distribute the Program, it is Recipient's responsibility -to acquire that license before distributing the Program. - -d) Each Contributor represents that to its knowledge it has sufficient -copyright rights in its Contribution, if any, to grant the copyright -license set forth in this Agreement. - -3. REQUIREMENTS - -A Contributor may choose to distribute the Program in object code form -under its own license agreement, provided that: - -a) it complies with the terms and conditions of this Agreement; and - -b) its license agreement: - -i) effectively disclaims on behalf of all Contributors all warranties -and conditions, express and implied, including warranties or -conditions of title and non-infringement, and implied warranties or -conditions of merchantability and fitness for a particular purpose; - -ii) effectively excludes on behalf of all Contributors all liability -for damages, including direct, indirect, special, incidental and -consequential damages, such as lost profits; - -iii) states that any provisions which differ from this Agreement are -offered by that Contributor alone and not by any other party; and - -iv) states that source code for the Program is available from such -Contributor, and informs licensees how to obtain it in a reasonable -manner on or through a medium customarily used for software exchange. - -When the Program is made available in source code form: - -a) it must be made available under this Agreement; and - -b) a copy of this Agreement must be included with each copy of the -Program. - -Contributors may not remove or alter any copyright notices contained -within the Program. - -Each Contributor must identify itself as the originator of its -Contribution, if any, in a manner that reasonably allows subsequent -Recipients to identify the originator of the Contribution. - -4. COMMERCIAL DISTRIBUTION - -Commercial distributors of software may accept certain -responsibilities with respect to end users, business partners and the -like. While this license is intended to facilitate the commercial use -of the Program, the Contributor who includes the Program in a -commercial product offering should do so in a manner which does not -create potential liability for other Contributors. Therefore, if a -Contributor includes the Program in a commercial product offering, -such Contributor ("Commercial Contributor") hereby agrees to defend -and indemnify every other Contributor ("Indemnified Contributor") -against any losses, damages and costs (collectively "Losses") arising -from claims, lawsuits and other legal actions brought by a third party -against the Indemnified Contributor to the extent caused by the acts -or omissions of such Commercial Contributor in connection with its -distribution of the Program in a commercial product offering. The -obligations in this section do not apply to any claims or Losses -relating to any actual or alleged intellectual property infringement. -In order to qualify, an Indemnified Contributor must: a) promptly -notify the Commercial Contributor in writing of such claim, and b) -allow the Commercial Contributor to control, and cooperate with the -Commercial Contributor in, the defense and any related settlement -negotiations. The Indemnified Contributor may participate in any such -claim at its own expense. - -For example, a Contributor might include the Program in a commercial -product offering, Product X. That Contributor is then a Commercial -Contributor. If that Commercial Contributor then makes performance -claims, or offers warranties related to Product X, those performance -claims and warranties are such Commercial Contributor's responsibility -alone. Under this section, the Commercial Contributor would have to -defend claims against the other Contributors related to those -performance claims and warranties, and if a court requires any other -Contributor to pay any damages as a result, the Commercial Contributor -must pay those damages. - -5. NO WARRANTY - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS -PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY -OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely -responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement , including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -6. DISCLAIMER OF LIABILITY - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -7. GENERAL - -If any provision of this Agreement is invalid or unenforceable under -applicable law, it shall not affect the validity or enforceability of -the remainder of the terms of this Agreement, and without further -action by the parties hereto, such provision shall be reformed to the -minimum extent necessary to make such provision valid and enforceable. - -If Recipient institutes patent litigation against any entity -(including a cross-claim or counterclaim in a lawsuit) alleging that -the Program itself (excluding combinations of the Program with other -software or hardware) infringes such Recipient's patent(s), then such -Recipient's rights granted under Section 2(b) shall terminate as of -the date such litigation is filed. - -All Recipient's rights under this Agreement shall terminate if it -fails to comply with any of the material terms or conditions of this -Agreement and does not cure such failure in a reasonable period of -time after becoming aware of such noncompliance. If all Recipient's -rights under this Agreement terminate, Recipient agrees to cease use -and distribution of the Program as soon as reasonably practicable. -However, Recipient's obligations under this Agreement and any licenses -granted by Recipient relating to the Program shall continue and -survive. - -Everyone is permitted to copy and distribute copies of this Agreement, -but in order to avoid inconsistency the Agreement is copyrighted and -may only be modified in the following manner. The Agreement Steward -reserves the right to publish new versions (including revisions) of -this Agreement from time to time. No one other than the Agreement -Steward has the right to modify this Agreement. The Eclipse Foundation -is the initial Agreement Steward. The Eclipse Foundation may assign -the responsibility to serve as the Agreement Steward to a suitable -separate entity. Each new version of the Agreement will be given a -distinguishing version number. The Program (including Contributions) -may always be distributed subject to the version of the Agreement -under which it was received. In addition, after a new version of the -Agreement is published, Contributor may elect to distribute the -Program (including its Contributions) under the new version. Except as -expressly stated in Sections 2(a) and 2(b) above, Recipient receives -no rights or licenses to the intellectual property of any Contributor -under this Agreement, whether expressly, by implication, estoppel or -otherwise. All rights in the Program not expressly granted under this -Agreement are reserved. - -This Agreement is governed by the laws of the State of New York and -the intellectual property laws of the United States of America. No -party to this Agreement will bring a legal action under this Agreement -more than one year after the cause of action arose. Each party waives -its rights to a jury trial in any resulting litigation. - -=============================================================================== -For Saxon including - saxon-8.7.jar - saxon-dom-8.7.jar - saxon-xpath-8.7.jar - - MOZILLA PUBLIC LICENSE -Version 1.0 - -1. Definitions. - - 1.1. ``Contributor'' means each entity that creates or contributes to the creation of Modifications. - - 1.2. ``Contributor Version'' means the combination of the Original Code, prior Modifications used by a Contributor, and the Modifications made by that particular Contributor. - - 1.3. ``Covered Code'' means the Original Code or Modifications or the combination of the Original Code and Modifications, in each case including portions thereof. - - 1.4. ``Electronic Distribution Mechanism'' means a mechanism generally accepted in the software development community for the electronic transfer of data. - - 1.5. ``Executable'' means Covered Code in any form other than Source Code. - - 1.6. ``Initial Developer'' means the individual or entity identified as the Initial Developer in the Source Code notice required by Exhibit A. - - 1.7. ``Larger Work'' means a work which combines Covered Code or portions thereof with code not governed by the terms of this License. - - 1.8. ``License'' means this document. - - 1.9. ``Modifications'' means any addition to or deletion from the substance or structure of either the Original Code or any previous Modifications. When Covered Code is released as a series of files, a Modification is: - - A. Any addition to or deletion from the contents of a file containing Original Code or previous Modifications. - - B. Any new file that contains any part of the Original Code or previous Modifications. - - 1.10. ``Original Code'' means Source Code of computer software code which is described in the Source Code notice required by Exhibit A as Original Code, and which, at the time of its release under this License is not already Covered Code governed by this License. - - 1.11. ``Source Code'' means the preferred form of the Covered Code for making modifications to it, including all modules it contains, plus any associated interface definition files, scripts used to control compilation and installation of an Executable, or a list of source code differential comparisons against either the Original Code or another well known, available Covered Code of the Contributor's choice. The Source Code can be in a compressed or archival form, provided the appropriate decompression or de-archiving software is widely available for no charge. - - 1.12. ``You'' means an individual or a legal entity exercising rights under, and complying with all of the terms of, this License or a future version of this License issued under Section 6.1. For legal entities, ``You'' includes any entity which controls, is controlled by, or is under common control with You. For purposes of this definition, ``control'' means (a) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (b) ownership of fifty percent (50%) or more of the outstanding shares or beneficial ownership of such entity. - -2. Source Code License. - - 2.1. The Initial Developer Grant. - The Initial Developer hereby grants You a world-wide, royalty-free, non-exclusive license, subject to third party intellectual property claims: - - (a) to use, reproduce, modify, display, perform, sublicense and distribute the Original Code (or portions thereof) with or without Modifications, or as part of a Larger Work; and - - (b) under patents now or hereafter owned or controlled by Initial Developer, to make, have made, use and sell (``Utilize'') the Original Code (or portions thereof), but solely to the extent that any such patent is reasonably necessary to enable You to Utilize the Original Code (or portions thereof) and not to any greater extent that may be necessary to Utilize further Modifications or combinations. - - 2.2. Contributor Grant. - Each Contributor hereby grants You a world-wide, royalty-free, non-exclusive license, subject to third party intellectual property claims: - - (a) to use, reproduce, modify, display, perform, sublicense and distribute the Modifications created by such Contributor (or portions thereof) either on an unmodified basis, with other Modifications, as Covered Code or as part of a Larger Work; and - - (b) under patents now or hereafter owned or controlled by Contributor, to Utilize the Contributor Version (or portions thereof), but solely to the extent that any such patent is reasonably necessary to enable You to Utilize the Contributor Version (or portions thereof), and not to any greater extent that may be necessary to Utilize further Modifications or combinations. - -3. Distribution Obligations. - - 3.1. Application of License. - The Modifications which You create or to which You contribute are governed by the terms of this License, including without limitation Section 2.2. The Source Code version of Covered Code may be distributed only under the terms of this License or a future version of this License released under Section 6.1, and You must include a copy of this License with every copy of the Source Code You distribute. You may not offer or impose any terms on any Source Code version that alters or restricts the applicable version of this License or the recipients' rights hereunder. However, You may include an additional document offering the additional rights described in Section 3.5. - - 3.2. Availability of Source Code. - Any Modification which You create or to which You contribute must be made available in Source Code form under the terms of this License either on the same media as an Executable version or via an accepted Electronic Distribution Mechanism to anyone to whom you made an Executable version available; and if made available via Electronic Distribution Mechanism, must remain available for at least twelve (12) months after the date it initially became available, or at least six (6) months after a subsequent version of that particular Modification has been made available to such recipients. You are responsible for ensuring that the Source Code version remains available even if the Electronic Distribution Mechanism is maintained by a third party. - - 3.3. Description of Modifications. - You must cause all Covered Code to which you contribute to contain a file documenting the changes You made to create that Covered Code and the date of any change. You must include a prominent statement that the Modification is derived, directly or indirectly, from Original Code provided by the Initial Developer and including the name of the Initial Developer in (a) the Source Code, and (b) in any notice in an Executable version or related documentation in which You describe the origin or ownership of the Covered Code. - - 3.4. Intellectual Property Matters - - (a) Third Party Claims. - If You have knowledge that a party claims an intellectual property right in particular functionality or code (or its utilization under this License), you must include a text file with the source code distribution titled ``LEGAL'' which describes the claim and the party making the claim in sufficient detail that a recipient will know whom to contact. If you obtain such knowledge after You make Your Modification available as described in Section 3.2, You shall promptly modify the LEGAL file in all copies You make available thereafter and shall take other steps (such as notifying appropriate mailing lists or newsgroups) reasonably calculated to inform those who received the Covered Code that new knowledge has been obtained. - - (b) Contributor APIs. - If Your Modification is an application programming interface and You own or control patents which are reasonably necessary to implement that API, you must also include this information in the LEGAL file. - - 3.5. Required Notices. - You must duplicate the notice in Exhibit A in each file of the Source Code, and this License in any documentation for the Source Code, where You describe recipients' rights relating to Covered Code. If You created one or more Modification(s), You may add your name as a Contributor to the notice described in Exhibit A. If it is not possible to put such notice in a particular Source Code file due to its structure, then you must include such notice in a location (such as a relevant directory file) where a user would be likely to look for such a notice. You may choose to offer, and to charge a fee for, warranty, support, indemnity or liability obligations to one or more recipients of Covered Code. However, You may do so only on Your own behalf, and not on behalf of the Initial Developer or any Contributor. You must make it absolutely clear than any such warranty, support, indemnity or liability obligation is offered by You alone, and You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of warranty, support, indemnity or liability terms You offer. - - 3.6. Distribution of Executable Versions. - You may distribute Covered Code in Executable form only if the requirements of Section 3.1-3.5 have been met for that Covered Code, and if You include a notice stating that the Source Code version of the Covered Code is available under the terms of this License, including a description of how and where You have fulfilled the obligations of Section 3.2. The notice must be conspicuously included in any notice in an Executable version, related documentation or collateral in which You describe recipients' rights relating to the Covered Code. You may distribute the Executable version of Covered Code under a license of Your choice, which may contain terms different from this License, provided that You are in compliance with the terms of this License and that the license for the Executable version does not attempt to limit or alter the recipient's rights in the Source Code version from the rights set forth in this License. If You distribute the Executable version under a different license You must make it absolutely clear that any terms which differ from this License are offered by You alone, not by the Initial Developer or any Contributor. You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of any such terms You offer. - - 3.7. Larger Works. - You may create a Larger Work by combining Covered Code with other code not governed by the terms of this License and distribute the Larger Work as a single product. In such a case, You must make sure the requirements of this License are fulfilled for the Covered Code. - -4. Inability to Comply Due to Statute or Regulation. - - If it is impossible for You to comply with any of the terms of this License with respect to some or all of the Covered Code due to statute or regulation then You must: (a) comply with the terms of this License to the maximum extent possible; and (b) describe the limitations and the code they affect. Such description must be included in the LEGAL file described in Section 3.4 and must be included with all distributions of the Source Code. Except to the extent prohibited by statute or regulation, such description must be sufficiently detailed for a recipient of ordinary skill to be able to understand it. - -5. Application of this License. - - This License applies to code to which the Initial Developer has attached the notice in Exhibit A, and to related Covered Code. - -6. Versions of the License. - - 6.1. New Versions. - Netscape Communications Corporation (``Netscape'') may publish revised and/or new versions of the License from time to time. Each version will be given a distinguishing version number. - - 6.2. Effect of New Versions. - Once Covered Code has been published under a particular version of the License, You may always continue to use it under the terms of that version. You may also choose to use such Covered Code under the terms of any subsequent version of the License published by Netscape. No one other than Netscape has the right to modify the terms applicable to Covered Code created under this License. - - 6.3. Derivative Works. - If you create or use a modified version of this License (which you may only do in order to apply it to code which is not already Covered Code governed by this License), you must (a) rename Your license so that the phrases ``Mozilla'', ``MOZILLAPL'', ``MOZPL'', ``Netscape'', ``NPL'' or any confusingly similar phrase do not appear anywhere in your license and (b) otherwise make it clear that your version of the license contains terms which differ from the Mozilla Public License and Netscape Public License. (Filling in the name of the Initial Developer, Original Code or Contributor in the notice described in Exhibit A shall not of themselves be deemed to be modifications of this License.) - -7. DISCLAIMER OF WARRANTY. - - COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN ``AS IS'' BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. - -8. TERMINATION. - - This License and the rights granted hereunder will terminate automatically if You fail to comply with terms herein and fail to cure such breach within 30 days of becoming aware of the breach. All sublicenses to the Covered Code which are properly granted shall survive any termination of this License. Provisions which, by their nature, must remain in effect beyond the termination of this License shall survive. - -9. LIMITATION OF LIABILITY. - - UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL THE INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO YOU OR ANY OTHER PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THAT EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. - -10. U.S. GOVERNMENT END USERS. - - The Covered Code is a ``commercial item,'' as that term is defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of ``commercial computer software'' and ``commercial computer software documentation,'' as such terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all U.S. Government End Users acquire Covered Code with only those rights set forth herein. - -11. MISCELLANEOUS. - - This License represents the complete agreement concerning subject matter hereof. If any provision of this License is held to be unenforceable, such provision shall be reformed only to the extent necessary to make it enforceable. This License shall be governed by California law provisions (except to the extent applicable law, if any, provides otherwise), excluding its conflict-of-law provisions. With respect to disputes in which at least one party is a citizen of, or an entity chartered or registered to do business in, the United States of America: (a) unless otherwise agreed in writing, all disputes relating to this License (excepting any dispute relating to intellectual property rights) shall be subject to final and binding arbitration, with the losing party paying all costs of arbitration; (b) any arbitration relating to this Agreement shall be held in Santa Clara County, California, under the auspices of JAMS/EndDispute; and (c) any litigation relating to this Agreement shall be subject to the jurisdiction of the Federal Courts of the Northern District of California, with venue lying in Santa Clara County, California, with the losing party responsible for costs, including without limitation, court costs and reasonable attorneys fees and expenses. The application of the United Nations Convention on Contracts for the International Sale of Goods is expressly excluded. Any law or regulation which provides that the language of a contract shall be construed against the drafter shall not apply to this License. - -12. RESPONSIBILITY FOR CLAIMS. - - Except in cases where another Contributor has failed to comply with Section 3.4, You are responsible for damages arising, directly or indirectly, out of Your utilization of rights under this License, based on the number of copies of Covered Code you made available, the revenues you received from utilizing such rights, and other relevant factors. You agree to work with affected parties to distribute responsibility on an equitable basis. - -EXHIBIT A. - - ``The contents of this file are subject to the Mozilla Public License Version 1.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/ - - Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License. - - The Original Code is ______________________________________. - - The Initial Developer of the Original Code is ________________________. Portions created by ______________________ are Copyright (C) ______ _______________________. All Rights Reserved. - - Contributor(s): ______________________________________.'' - -=============================================================================== - -For the Rhino JavaScript engine js-1.6R7.jar: - - MOZILLA PUBLIC LICENSE - Version 1.1 - - --------------- - -1. Definitions. - - 1.0.1. "Commercial Use" means distribution or otherwise making the - Covered Code available to a third party. - - 1.1. "Contributor" means each entity that creates or contributes to - the creation of Modifications. - - 1.2. "Contributor Version" means the combination of the Original - Code, prior Modifications used by a Contributor, and the Modifications - made by that particular Contributor. - - 1.3. "Covered Code" means the Original Code or Modifications or the - combination of the Original Code and Modifications, in each case - including portions thereof. - - 1.4. "Electronic Distribution Mechanism" means a mechanism generally - accepted in the software development community for the electronic - transfer of data. - - 1.5. "Executable" means Covered Code in any form other than Source - Code. - - 1.6. "Initial Developer" means the individual or entity identified - as the Initial Developer in the Source Code notice required by Exhibit - A. - - 1.7. "Larger Work" means a work which combines Covered Code or - portions thereof with code not governed by the terms of this License. - - 1.8. "License" means this document. - - 1.8.1. "Licensable" means having the right to grant, to the maximum - extent possible, whether at the time of the initial grant or - subsequently acquired, any and all of the rights conveyed herein. - - 1.9. "Modifications" means any addition to or deletion from the - substance or structure of either the Original Code or any previous - Modifications. When Covered Code is released as a series of files, a - Modification is: - A. Any addition to or deletion from the contents of a file - containing Original Code or previous Modifications. - - B. Any new file that contains any part of the Original Code or - previous Modifications. - - 1.10. "Original Code" means Source Code of computer software code - which is described in the Source Code notice required by Exhibit A as - Original Code, and which, at the time of its release under this - License is not already Covered Code governed by this License. - - 1.10.1. "Patent Claims" means any patent claim(s), now owned or - hereafter acquired, including without limitation, method, process, - and apparatus claims, in any patent Licensable by grantor. - - 1.11. "Source Code" means the preferred form of the Covered Code for - making modifications to it, including all modules it contains, plus - any associated interface definition files, scripts used to control - compilation and installation of an Executable, or source code - differential comparisons against either the Original Code or another - well known, available Covered Code of the Contributor's choice. The - Source Code can be in a compressed or archival form, provided the - appropriate decompression or de-archiving software is widely available - for no charge. - - 1.12. "You" (or "Your") means an individual or a legal entity - exercising rights under, and complying with all of the terms of, this - License or a future version of this License issued under Section 6.1. - For legal entities, "You" includes any entity which controls, is - controlled by, or is under common control with You. For purposes of - this definition, "control" means (a) the power, direct or indirect, - to cause the direction or management of such entity, whether by - contract or otherwise, or (b) ownership of more than fifty percent - (50%) of the outstanding shares or beneficial ownership of such - entity. - -2. Source Code License. - - 2.1. The Initial Developer Grant. - The Initial Developer hereby grants You a world-wide, royalty-free, - non-exclusive license, subject to third party intellectual property - claims: - (a) under intellectual property rights (other than patent or - trademark) Licensable by Initial Developer to use, reproduce, - modify, display, perform, sublicense and distribute the Original - Code (or portions thereof) with or without Modifications, and/or - as part of a Larger Work; and - - (b) under Patents Claims infringed by the making, using or - selling of Original Code, to make, have made, use, practice, - sell, and offer for sale, and/or otherwise dispose of the - Original Code (or portions thereof). - - (c) the licenses granted in this Section 2.1(a) and (b) are - effective on the date Initial Developer first distributes - Original Code under the terms of this License. - - (d) Notwithstanding Section 2.1(b) above, no patent license is - granted: 1) for code that You delete from the Original Code; 2) - separate from the Original Code; or 3) for infringements caused - by: i) the modification of the Original Code or ii) the - combination of the Original Code with other software or devices. - - 2.2. Contributor Grant. - Subject to third party intellectual property claims, each Contributor - hereby grants You a world-wide, royalty-free, non-exclusive license - - (a) under intellectual property rights (other than patent or - trademark) Licensable by Contributor, to use, reproduce, modify, - display, perform, sublicense and distribute the Modifications - created by such Contributor (or portions thereof) either on an - unmodified basis, with other Modifications, as Covered Code - and/or as part of a Larger Work; and - - (b) under Patent Claims infringed by the making, using, or - selling of Modifications made by that Contributor either alone - and/or in combination with its Contributor Version (or portions - of such combination), to make, use, sell, offer for sale, have - made, and/or otherwise dispose of: 1) Modifications made by that - Contributor (or portions thereof); and 2) the combination of - Modifications made by that Contributor with its Contributor - Version (or portions of such combination). - - (c) the licenses granted in Sections 2.2(a) and 2.2(b) are - effective on the date Contributor first makes Commercial Use of - the Covered Code. - - (d) Notwithstanding Section 2.2(b) above, no patent license is - granted: 1) for any code that Contributor has deleted from the - Contributor Version; 2) separate from the Contributor Version; - 3) for infringements caused by: i) third party modifications of - Contributor Version or ii) the combination of Modifications made - by that Contributor with other software (except as part of the - Contributor Version) or other devices; or 4) under Patent Claims - infringed by Covered Code in the absence of Modifications made by - that Contributor. - -3. Distribution Obligations. - - 3.1. Application of License. - The Modifications which You create or to which You contribute are - governed by the terms of this License, including without limitation - Section 2.2. The Source Code version of Covered Code may be - distributed only under the terms of this License or a future version - of this License released under Section 6.1, and You must include a - copy of this License with every copy of the Source Code You - distribute. You may not offer or impose any terms on any Source Code - version that alters or restricts the applicable version of this - License or the recipients' rights hereunder. However, You may include - an additional document offering the additional rights described in - Section 3.5. - - 3.2. Availability of Source Code. - Any Modification which You create or to which You contribute must be - made available in Source Code form under the terms of this License - either on the same media as an Executable version or via an accepted - Electronic Distribution Mechanism to anyone to whom you made an - Executable version available; and if made available via Electronic - Distribution Mechanism, must remain available for at least twelve (12) - months after the date it initially became available, or at least six - (6) months after a subsequent version of that particular Modification - has been made available to such recipients. You are responsible for - ensuring that the Source Code version remains available even if the - Electronic Distribution Mechanism is maintained by a third party. - - 3.3. Description of Modifications. - You must cause all Covered Code to which You contribute to contain a - file documenting the changes You made to create that Covered Code and - the date of any change. You must include a prominent statement that - the Modification is derived, directly or indirectly, from Original - Code provided by the Initial Developer and including the name of the - Initial Developer in (a) the Source Code, and (b) in any notice in an - Executable version or related documentation in which You describe the - origin or ownership of the Covered Code. - - 3.4. Intellectual Property Matters - (a) Third Party Claims. - If Contributor has knowledge that a license under a third party's - intellectual property rights is required to exercise the rights - granted by such Contributor under Sections 2.1 or 2.2, - Contributor must include a text file with the Source Code - distribution titled "LEGAL" which describes the claim and the - party making the claim in sufficient detail that a recipient will - know whom to contact. If Contributor obtains such knowledge after - the Modification is made available as described in Section 3.2, - Contributor shall promptly modify the LEGAL file in all copies - Contributor makes available thereafter and shall take other steps - (such as notifying appropriate mailing lists or newsgroups) - reasonably calculated to inform those who received the Covered - Code that new knowledge has been obtained. - - (b) Contributor APIs. - If Contributor's Modifications include an application programming - interface and Contributor has knowledge of patent licenses which - are reasonably necessary to implement that API, Contributor must - also include this information in the LEGAL file. - - (c) Representations. - Contributor represents that, except as disclosed pursuant to - Section 3.4(a) above, Contributor believes that Contributor's - Modifications are Contributor's original creation(s) and/or - Contributor has sufficient rights to grant the rights conveyed by - this License. - - 3.5. Required Notices. - You must duplicate the notice in Exhibit A in each file of the Source - Code. If it is not possible to put such notice in a particular Source - Code file due to its structure, then You must include such notice in a - location (such as a relevant directory) where a user would be likely - to look for such a notice. If You created one or more Modification(s) - You may add your name as a Contributor to the notice described in - Exhibit A. You must also duplicate this License in any documentation - for the Source Code where You describe recipients' rights or ownership - rights relating to Covered Code. You may choose to offer, and to - charge a fee for, warranty, support, indemnity or liability - obligations to one or more recipients of Covered Code. However, You - may do so only on Your own behalf, and not on behalf of the Initial - Developer or any Contributor. You must make it absolutely clear than - any such warranty, support, indemnity or liability obligation is - offered by You alone, and You hereby agree to indemnify the Initial - Developer and every Contributor for any liability incurred by the - Initial Developer or such Contributor as a result of warranty, - support, indemnity or liability terms You offer. - - 3.6. Distribution of Executable Versions. - You may distribute Covered Code in Executable form only if the - requirements of Section 3.1-3.5 have been met for that Covered Code, - and if You include a notice stating that the Source Code version of - the Covered Code is available under the terms of this License, - including a description of how and where You have fulfilled the - obligations of Section 3.2. The notice must be conspicuously included - in any notice in an Executable version, related documentation or - collateral in which You describe recipients' rights relating to the - Covered Code. You may distribute the Executable version of Covered - Code or ownership rights under a license of Your choice, which may - contain terms different from this License, provided that You are in - compliance with the terms of this License and that the license for the - Executable version does not attempt to limit or alter the recipient's - rights in the Source Code version from the rights set forth in this - License. If You distribute the Executable version under a different - license You must make it absolutely clear that any terms which differ - from this License are offered by You alone, not by the Initial - Developer or any Contributor. You hereby agree to indemnify the - Initial Developer and every Contributor for any liability incurred by - the Initial Developer or such Contributor as a result of any such - terms You offer. - - 3.7. Larger Works. - You may create a Larger Work by combining Covered Code with other code - not governed by the terms of this License and distribute the Larger - Work as a single product. In such a case, You must make sure the - requirements of this License are fulfilled for the Covered Code. - -4. Inability to Comply Due to Statute or Regulation. - - If it is impossible for You to comply with any of the terms of this - License with respect to some or all of the Covered Code due to - statute, judicial order, or regulation then You must: (a) comply with - the terms of this License to the maximum extent possible; and (b) - describe the limitations and the code they affect. Such description - must be included in the LEGAL file described in Section 3.4 and must - be included with all distributions of the Source Code. Except to the - extent prohibited by statute or regulation, such description must be - sufficiently detailed for a recipient of ordinary skill to be able to - understand it. - -5. Application of this License. - - This License applies to code to which the Initial Developer has - attached the notice in Exhibit A and to related Covered Code. - -6. Versions of the License. - - 6.1. New Versions. - Netscape Communications Corporation ("Netscape") may publish revised - and/or new versions of the License from time to time. Each version - will be given a distinguishing version number. - - 6.2. Effect of New Versions. - Once Covered Code has been published under a particular version of the - License, You may always continue to use it under the terms of that - version. You may also choose to use such Covered Code under the terms - of any subsequent version of the License published by Netscape. No one - other than Netscape has the right to modify the terms applicable to - Covered Code created under this License. - - 6.3. Derivative Works. - If You create or use a modified version of this License (which you may - only do in order to apply it to code which is not already Covered Code - governed by this License), You must (a) rename Your license so that - the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape", - "MPL", "NPL" or any confusingly similar phrase do not appear in your - license (except to note that your license differs from this License) - and (b) otherwise make it clear that Your version of the license - contains terms which differ from the Mozilla Public License and - Netscape Public License. (Filling in the name of the Initial - Developer, Original Code or Contributor in the notice described in - Exhibit A shall not of themselves be deemed to be modifications of - this License.) - -7. DISCLAIMER OF WARRANTY. - - COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, - WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, - WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF - DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. - THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE - IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, - YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE - COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER - OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF - ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. - -8. TERMINATION. - - 8.1. This License and the rights granted hereunder will terminate - automatically if You fail to comply with terms herein and fail to cure - such breach within 30 days of becoming aware of the breach. All - sublicenses to the Covered Code which are properly granted shall - survive any termination of this License. Provisions which, by their - nature, must remain in effect beyond the termination of this License - shall survive. - - 8.2. If You initiate litigation by asserting a patent infringement - claim (excluding declatory judgment actions) against Initial Developer - or a Contributor (the Initial Developer or Contributor against whom - You file such action is referred to as "Participant") alleging that: - - (a) such Participant's Contributor Version directly or indirectly - infringes any patent, then any and all rights granted by such - Participant to You under Sections 2.1 and/or 2.2 of this License - shall, upon 60 days notice from Participant terminate prospectively, - unless if within 60 days after receipt of notice You either: (i) - agree in writing to pay Participant a mutually agreeable reasonable - royalty for Your past and future use of Modifications made by such - Participant, or (ii) withdraw Your litigation claim with respect to - the Contributor Version against such Participant. If within 60 days - of notice, a reasonable royalty and payment arrangement are not - mutually agreed upon in writing by the parties or the litigation claim - is not withdrawn, the rights granted by Participant to You under - Sections 2.1 and/or 2.2 automatically terminate at the expiration of - the 60 day notice period specified above. - - (b) any software, hardware, or device, other than such Participant's - Contributor Version, directly or indirectly infringes any patent, then - any rights granted to You by such Participant under Sections 2.1(b) - and 2.2(b) are revoked effective as of the date You first made, used, - sold, distributed, or had made, Modifications made by that - Participant. - - 8.3. If You assert a patent infringement claim against Participant - alleging that such Participant's Contributor Version directly or - indirectly infringes any patent where such claim is resolved (such as - by license or settlement) prior to the initiation of patent - infringement litigation, then the reasonable value of the licenses - granted by such Participant under Sections 2.1 or 2.2 shall be taken - into account in determining the amount or value of any payment or - license. - - 8.4. In the event of termination under Sections 8.1 or 8.2 above, - all end user license agreements (excluding distributors and resellers) - which have been validly granted by You or any distributor hereunder - prior to termination shall survive termination. - -9. LIMITATION OF LIABILITY. - - UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT - (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL - DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE, - OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR - ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY - CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, - WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER - COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN - INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF - LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY - RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW - PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE - EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO - THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. - -10. U.S. GOVERNMENT END USERS. - - The Covered Code is a "commercial item," as that term is defined in - 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer - software" and "commercial computer software documentation," as such - terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 - C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), - all U.S. Government End Users acquire Covered Code with only those - rights set forth herein. - -11. MISCELLANEOUS. - - This License represents the complete agreement concerning subject - matter hereof. If any provision of this License is held to be - unenforceable, such provision shall be reformed only to the extent - necessary to make it enforceable. This License shall be governed by - California law provisions (except to the extent applicable law, if - any, provides otherwise), excluding its conflict-of-law provisions. - With respect to disputes in which at least one party is a citizen of, - or an entity chartered or registered to do business in the United - States of America, any litigation relating to this License shall be - subject to the jurisdiction of the Federal Courts of the Northern - District of California, with venue lying in Santa Clara County, - California, with the losing party responsible for costs, including - without limitation, court costs and reasonable attorneys' fees and - expenses. The application of the United Nations Convention on - Contracts for the International Sale of Goods is expressly excluded. - Any law or regulation which provides that the language of a contract - shall be construed against the drafter shall not apply to this - License. - -12. RESPONSIBILITY FOR CLAIMS. - - As between Initial Developer and the Contributors, each party is - responsible for claims and damages arising, directly or indirectly, - out of its utilization of rights under this License and You agree to - work with Initial Developer and Contributors to distribute such - responsibility on an equitable basis. Nothing herein is intended or - shall be deemed to constitute any admission of liability. - -13. MULTIPLE-LICENSED CODE. - - Initial Developer may designate portions of the Covered Code as - "Multiple-Licensed". "Multiple-Licensed" means that the Initial - Developer permits you to utilize portions of the Covered Code under - Your choice of the NPL or the alternative licenses, if any, specified - by the Initial Developer in the file described in Exhibit A. - -EXHIBIT A -Mozilla Public License. - - ``The contents of this file are subject to the Mozilla Public License - Version 1.1 (the "License"); you may not use this file except in - compliance with the License. You may obtain a copy of the License at - http://www.mozilla.org/MPL/ - - Software distributed under the License is distributed on an "AS IS" - basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the - License for the specific language governing rights and limitations - under the License. - - The Original Code is ______________________________________. - - The Initial Developer of the Original Code is ________________________. - Portions created by ______________________ are Copyright (C) ______ - _______________________. All Rights Reserved. - - Contributor(s): ______________________________________. - - Alternatively, the contents of this file may be used under the terms - of the _____ license (the "[___] License"), in which case the - provisions of [______] License are applicable instead of those - above. If you wish to allow use of your version of this file only - under the terms of the [____] License and not to allow others to use - your version of this file under the MPL, indicate your decision by - deleting the provisions above and replace them with the notice and - other provisions required by the [___] License. If you do not delete - the provisions above, a recipient may use your version of this file - under either the MPL or the [___] License." - - [NOTE: The text of this Exhibit A may differ slightly from the text of - the notices in the Source Code files of the Original Code. You should - use the text of this Exhibit A rather than the text found in the - Original Code Source Code for Your Modifications.] - - -=============================================================================== -Groovy (groovy-all-minimal-1.5.4.jar): - -/* - $Id: LICENSE.txt 156 2003-09-26 17:36:37Z jstrachan $ - - Copyright 2003 (C) James Strachan and Bob Mcwhirter. All Rights Reserved. - - Redistribution and use of this software and associated documentation - ("Software"), with or without modification, are permitted provided - that the following conditions are met: - - 1. Redistributions of source code must retain copyright - statements and notices. Redistributions must also contain a - copy of this document. - - 2. Redistributions in binary form must reproduce the - above copyright notice, this list of conditions and the - following disclaimer in the documentation and/or other - materials provided with the distribution. - - 3. The name "groovy" must not be used to endorse or promote - products derived from this Software without prior written - permission of The Codehaus. For written permission, - please contact info@codehaus.org. - - 4. Products derived from this Software may not be called "groovy" - nor may "groovy" appear in their names without prior written - permission of The Codehaus. "groovy" is a registered - trademark of The Codehaus. - - 5. Due credit should be given to The Codehaus - - http://groovy.codehaus.org/ - - THIS SOFTWARE IS PROVIDED BY THE CODEHAUS AND CONTRIBUTORS - ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT - NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL - THE CODEHAUS OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, - INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, - STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED - OF THE POSSIBILITY OF SUCH DAMAGE. - - */ - -=============================================================================== - -Jython (jython-2.2.jar): - -A. HISTORY OF THE SOFTWARE -======================= - -JPython was created in late 1997 by Jim Hugunin. Jim was also the -primary developer while he was at CNRI. In February 1999 Barry Warsaw -took over as primary developer and released JPython version 1.1. - -In October 2000 Barry helped move the software to SourceForge -where it was renamed to Jython. Jython 2.0 and on are licensed under -the Jython specific license below. - -The standard library is covered by the Python Software Foundation -license. See the LICENSE_CPython.txt file for details. - -The zxJDBC package was written by Brian Zimmer and originally licensed -under the GNU Public License. The package is now covered by the Jython -Software License. - -The command line interpreter is covered by the Apache Software -License. See the LICENSE_Apache.txt file for details. - -B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING JYTHON -================================ - -Copyright (c) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Jython Developers -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - - - Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - - - Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the distribution. - - - Neither the name of the Jython Developers nor the names of - its contributors may be used to endorse or promote products - derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR -CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY -OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - - - -JPython 1.1.x Software License. -========================= - -______________________________________________________________________ - -IMPORTANT: PLEASE READ THE FOLLOWING AGREEMENT CAREFULLY. - -BY CLICKING ON THE "ACCEPT" BUTTON WHERE INDICATED, OR BY INSTALLING, -COPYING OR OTHERWISE USING THE SOFTWARE, YOU ARE DEEMED TO HAVE AGREED TO -THE TERMS AND CONDITIONS OF THIS AGREEMENT. - -______________________________________________________________________ - -JPython version 1.1.x - - 1. This LICENSE AGREEMENT is between the Corporation for National Research - Initiatives, having an office at 1895 Preston White Drive, Reston, VA - 20191 ("CNRI"), and the Individual or Organization ("Licensee") - accessing and using JPython version 1.1.x in source or binary form and - its associated documentation as provided herein ("Software"). - - 2. Subject to the terms and conditions of this License Agreement, CNRI - hereby grants Licensee a non-exclusive, non-transferable, royalty-free, - world-wide license to reproduce, analyze, test, perform and/or display - publicly, prepare derivative works, distribute, and otherwise use the - Software alone or in any derivative version, provided, however, that - CNRI's License Agreement and CNRI's notice of copyright, i.e., - "Copyright ©1996-1999 Corporation for National Research Initiatives; - All Rights Reserved" are both retained in the Software, alone or in any - derivative version prepared by Licensee. - - Alternatively, in lieu of CNRI's License Agreement, Licensee may - substitute the following text (omitting the quotes), provided, however, - that such text is displayed prominently in the Software alone or in any - derivative version prepared by Licensee: "JPython (Version 1.1.x) is - made available subject to the terms and conditions in CNRI's License - Agreement. This Agreement may be located on the Internet using the - following unique, persistent identifier (known as a handle): - 1895.22/1006. The License may also be obtained from a proxy server on - the Web using the following URL: http://hdl.handle.net/1895.22/1006." - - 3. In the event Licensee prepares a derivative work that is based on or - incorporates the Software or any part thereof, and wants to make the - derivative work available to the public as provided herein, then - Licensee hereby agrees to indicate in any such work, in a prominently - visible way, the nature of the modifications made to CNRI's Software. - - 4. Licensee may not use CNRI trademarks or trade name, including JPython - or CNRI, in a trademark sense to endorse or promote products or - services of Licensee, or any third party. Licensee may use the mark - JPython in connection with Licensee's derivative versions that are - based on or incorporate the Software, but only in the form - "JPython-based ___________________," or equivalent. - - 5. CNRI is making the Software available to Licensee on an "AS IS" basis. - CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY - OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND DISCLAIMS ANY - REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY - PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT INFRINGE - ANY THIRD PARTY RIGHTS. - - 6. CNRI SHALL NOT BE LIABLE TO LICENSEE OR OTHER USERS OF THE SOFTWARE FOR - ANY INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF - USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY DERIVATIVE - THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. SOME STATES DO NOT - ALLOW THE LIMITATION OR EXCLUSION OF LIABILITY SO THE ABOVE DISCLAIMER - MAY NOT APPLY TO LICENSEE. - - 7. This License Agreement may be terminated by CNRI (i) immediately upon - written notice from CNRI of any material breach by the Licensee, if the - nature of the breach is such that it cannot be promptly remedied; or - (ii) sixty (60) days following notice from CNRI to Licensee of a - material remediable breach, if Licensee has not remedied such breach - within that sixty-day period. - - 8. This License Agreement shall be governed by and interpreted in all - respects by the law of the State of Virginia, excluding conflict of law - provisions. Nothing in this Agreement shall be deemed to create any - relationship of agency, partnership, or joint venture between CNRI and - Licensee. - - 9. By clicking on the "ACCEPT" button where indicated, or by installing, - copying or otherwise using the Software, Licensee agrees to be bound by - the terms and conditions of this License Agreement. - - -=============================================================================== - -The jars; -activation-1.1.jar, -jaxb-api-2.1.jar, -jaxb-impl-2.1.6.jar, -jaxb-xjc-2.1.4.jar, -jaxb2-reflection-2.1.4.jar, -jsr181-api-1.0-MR1.jar, -jsr250-api-1.0.jar, -jaxws-api-2.1-1.jar, -mail-1.4.jar, -saaj-api-1.3.jar, -servlet-api-2.5.jar, -stax-api-1.0-commons-cli-1.0.jar2.jar - -COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0 - - - 1. Definitions. - - 1.1. "Contributor" means each individual or entity that - creates or contributes to the creation of Modifications. - - 1.2. "Contributor Version" means the combination of the - Original Software, prior Modifications used by a - Contributor (if any), and the Modifications made by that - particular Contributor. - - 1.3. "Covered Software" means (a) the Original Software, or - (b) Modifications, or (c) the combination of files - containing Original Software with files containing - Modifications, in each case including portions thereof. - - 1.4. "Executable" means the Covered Software in any form - other than Source Code. - - 1.5. "Initial Developer" means the individual or entity - that first makes Original Software available under this - License. - - 1.6. "Larger Work" means a work which combines Covered - Software or portions thereof with code not governed by the - terms of this License. - - 1.7. "License" means this document. - - 1.8. "Licensable" means having the right to grant, to the - maximum extent possible, whether at the time of the initial - grant or subsequently acquired, any and all of the rights - conveyed herein. - - 1.9. "Modifications" means the Source Code and Executable - form of any of the following: - - A. Any file that results from an addition to, - deletion from or modification of the contents of a - file containing Original Software or previous - Modifications; - - B. Any new file that contains any part of the - Original Software or previous Modification; or - - C. Any new file that is contributed or otherwise made - available under the terms of this License. - - 1.10. "Original Software" means the Source Code and - Executable form of computer software code that is - originally released under this License. - - 1.11. "Patent Claims" means any patent claim(s), now owned - or hereafter acquired, including without limitation, - method, process, and apparatus claims, in any patent - Licensable by grantor. - - 1.12. "Source Code" means (a) the common form of computer - software code in which modifications are made and (b) - associated documentation included in or with such code. - - 1.13. "You" (or "Your") means an individual or a legal - entity exercising rights under, and complying with all of - the terms of, this License. For legal entities, "You" - includes any entity which controls, is controlled by, or is - under common control with You. For purposes of this - definition, "control" means (a) the power, direct or - indirect, to cause the direction or management of such - entity, whether by contract or otherwise, or (b) ownership - of more than fifty percent (50%) of the outstanding shares - or beneficial ownership of such entity. - - 2. License Grants. - - 2.1. The Initial Developer Grant. - - Conditioned upon Your compliance with Section 3.1 below and - subject to third party intellectual property claims, the - Initial Developer hereby grants You a world-wide, - royalty-free, non-exclusive license: - - (a) under intellectual property rights (other than - patent or trademark) Licensable by Initial Developer, - to use, reproduce, modify, display, perform, - sublicense and distribute the Original Software (or - portions thereof), with or without Modifications, - and/or as part of a Larger Work; and - - (b) under Patent Claims infringed by the making, - using or selling of Original Software, to make, have - made, use, practice, sell, and offer for sale, and/or - otherwise dispose of the Original Software (or - portions thereof). - - (c) The licenses granted in Sections 2.1(a) and (b) - are effective on the date Initial Developer first - distributes or otherwise makes the Original Software - available to a third party under the terms of this - License. - - (d) Notwithstanding Section 2.1(b) above, no patent - license is granted: (1) for code that You delete from - the Original Software, or (2) for infringements - caused by: (i) the modification of the Original - Software, or (ii) the combination of the Original - Software with other software or devices. - - 2.2. Contributor Grant. - - Conditioned upon Your compliance with Section 3.1 below and - subject to third party intellectual property claims, each - Contributor hereby grants You a world-wide, royalty-free, - non-exclusive license: - - (a) under intellectual property rights (other than - patent or trademark) Licensable by Contributor to - use, reproduce, modify, display, perform, sublicense - and distribute the Modifications created by such - Contributor (or portions thereof), either on an - unmodified basis, with other Modifications, as - Covered Software and/or as part of a Larger Work; and - - - (b) under Patent Claims infringed by the making, - using, or selling of Modifications made by that - Contributor either alone and/or in combination with - its Contributor Version (or portions of such - combination), to make, use, sell, offer for sale, - have made, and/or otherwise dispose of: (1) - Modifications made by that Contributor (or portions - thereof); and (2) the combination of Modifications - made by that Contributor with its Contributor Version - (or portions of such combination). - - (c) The licenses granted in Sections 2.2(a) and - 2.2(b) are effective on the date Contributor first - distributes or otherwise makes the Modifications - available to a third party. - - (d) Notwithstanding Section 2.2(b) above, no patent - license is granted: (1) for any code that Contributor - has deleted from the Contributor Version; (2) for - infringements caused by: (i) third party - modifications of Contributor Version, or (ii) the - combination of Modifications made by that Contributor - with other software (except as part of the - Contributor Version) or other devices; or (3) under - Patent Claims infringed by Covered Software in the - absence of Modifications made by that Contributor. - - 3. Distribution Obligations. - - 3.1. Availability of Source Code. - - Any Covered Software that You distribute or otherwise make - available in Executable form must also be made available in - Source Code form and that Source Code form must be - distributed only under the terms of this License. You must - include a copy of this License with every copy of the - Source Code form of the Covered Software You distribute or - otherwise make available. You must inform recipients of any - such Covered Software in Executable form as to how they can - obtain such Covered Software in Source Code form in a - reasonable manner on or through a medium customarily used - for software exchange. - - 3.2. Modifications. - - The Modifications that You create or to which You - contribute are governed by the terms of this License. You - represent that You believe Your Modifications are Your - original creation(s) and/or You have sufficient rights to - grant the rights conveyed by this License. - - 3.3. Required Notices. - - You must include a notice in each of Your Modifications - that identifies You as the Contributor of the Modification. - You may not remove or alter any copyright, patent or - trademark notices contained within the Covered Software, or - any notices of licensing or any descriptive text giving - attribution to any Contributor or the Initial Developer. - - 3.4. Application of Additional Terms. - - You may not offer or impose any terms on any Covered - Software in Source Code form that alters or restricts the - applicable version of this License or the recipients' - rights hereunder. You may choose to offer, and to charge a - fee for, warranty, support, indemnity or liability - obligations to one or more recipients of Covered Software. - However, you may do so only on Your own behalf, and not on - behalf of the Initial Developer or any Contributor. You - must make it absolutely clear that any such warranty, - support, indemnity or liability obligation is offered by - You alone, and You hereby agree to indemnify the Initial - Developer and every Contributor for any liability incurred - by the Initial Developer or such Contributor as a result of - warranty, support, indemnity or liability terms You offer. - - - 3.5. Distribution of Executable Versions. - - You may distribute the Executable form of the Covered - Software under the terms of this License or under the terms - of a license of Your choice, which may contain terms - different from this License, provided that You are in - compliance with the terms of this License and that the - license for the Executable form does not attempt to limit - or alter the recipient's rights in the Source Code form - from the rights set forth in this License. If You - distribute the Covered Software in Executable form under a - different license, You must make it absolutely clear that - any terms which differ from this License are offered by You - alone, not by the Initial Developer or Contributor. You - hereby agree to indemnify the Initial Developer and every - Contributor for any liability incurred by the Initial - Developer or such Contributor as a result of any such terms - You offer. - - 3.6. Larger Works. - - You may create a Larger Work by combining Covered Software - with other code not governed by the terms of this License - and distribute the Larger Work as a single product. In such - a case, You must make sure the requirements of this License - are fulfilled for the Covered Software. - - 4. Versions of the License. - - 4.1. New Versions. - - Sun Microsystems, Inc. is the initial license steward and - may publish revised and/or new versions of this License - from time to time. Each version will be given a - distinguishing version number. Except as provided in - Section 4.3, no one other than the license steward has the - right to modify this License. - - 4.2. Effect of New Versions. - - You may always continue to use, distribute or otherwise - make the Covered Software available under the terms of the - version of the License under which You originally received - the Covered Software. If the Initial Developer includes a - notice in the Original Software prohibiting it from being - distributed or otherwise made available under any - subsequent version of the License, You must distribute and - make the Covered Software available under the terms of the - version of the License under which You originally received - the Covered Software. Otherwise, You may also choose to - use, distribute or otherwise make the Covered Software - available under the terms of any subsequent version of the - License published by the license steward. - - 4.3. Modified Versions. - - When You are an Initial Developer and You want to create a - new license for Your Original Software, You may create and - use a modified version of this License if You: (a) rename - the license and remove any references to the name of the - license steward (except to note that the license differs - from this License); and (b) otherwise make it clear that - the license contains terms which differ from this License. - - - 5. DISCLAIMER OF WARRANTY. - - COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" - BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, - INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED - SOFTWARE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR - PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND - PERFORMANCE OF THE COVERED SOFTWARE IS WITH YOU. SHOULD ANY - COVERED SOFTWARE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE - INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF - ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF - WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF - ANY COVERED SOFTWARE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS - DISCLAIMER. - - 6. TERMINATION. - - 6.1. This License and the rights granted hereunder will - terminate automatically if You fail to comply with terms - herein and fail to cure such breach within 30 days of - becoming aware of the breach. Provisions which, by their - nature, must remain in effect beyond the termination of - this License shall survive. - - 6.2. If You assert a patent infringement claim (excluding - declaratory judgment actions) against Initial Developer or - a Contributor (the Initial Developer or Contributor against - whom You assert such claim is referred to as "Participant") - alleging that the Participant Software (meaning the - Contributor Version where the Participant is a Contributor - or the Original Software where the Participant is the - Initial Developer) directly or indirectly infringes any - patent, then any and all rights granted directly or - indirectly to You by such Participant, the Initial - Developer (if the Initial Developer is not the Participant) - and all Contributors under Sections 2.1 and/or 2.2 of this - License shall, upon 60 days notice from Participant - terminate prospectively and automatically at the expiration - of such 60 day notice period, unless if within such 60 day - period You withdraw Your claim with respect to the - Participant Software against such Participant either - unilaterally or pursuant to a written agreement with - Participant. - - 6.3. In the event of termination under Sections 6.1 or 6.2 - above, all end user licenses that have been validly granted - by You or any distributor hereunder prior to termination - (excluding licenses granted to You by any distributor) - shall survive termination. - - 7. LIMITATION OF LIABILITY. - - UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT - (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE - INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF - COVERED SOFTWARE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE - LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR - CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT - LIMITATION, DAMAGES FOR LOST PROFITS, LOSS OF GOODWILL, WORK - STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER - COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN - INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF - LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL - INJURY RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT - APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO - NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR - CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT - APPLY TO YOU. - - 8. U.S. GOVERNMENT END USERS. - - The Covered Software is a "commercial item," as that term is - defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial - computer software" (as that term is defined at 48 C.F.R. - 252.227-7014(a)(1)) and "commercial computer software - documentation" as such terms are used in 48 C.F.R. 12.212 (Sept. - 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 - through 227.7202-4 (June 1995), all U.S. Government End Users - acquire Covered Software with only those rights set forth herein. - This U.S. Government Rights clause is in lieu of, and supersedes, - any other FAR, DFAR, or other clause or provision that addresses - Government rights in computer software under this License. - - 9. MISCELLANEOUS. - - This License represents the complete agreement concerning subject - matter hereof. If any provision of this License is held to be - unenforceable, such provision shall be reformed only to the - extent necessary to make it enforceable. This License shall be - governed by the law of the jurisdiction specified in a notice - contained within the Original Software (except to the extent - applicable law, if any, provides otherwise), excluding such - jurisdiction's conflict-of-law provisions. Any litigation - relating to this License shall be subject to the jurisdiction of - the courts located in the jurisdiction and venue specified in a - notice contained within the Original Software, with the losing - party responsible for costs, including, without limitation, court - costs and reasonable attorneys' fees and expenses. The - application of the United Nations Convention on Contracts for the - International Sale of Goods is expressly excluded. Any law or - regulation which provides that the language of a contract shall - be construed against the drafter shall not apply to this License. - You agree that You alone are responsible for compliance with the - United States export administration regulations (and the export - control laws and regulation of any other countries) when You use, - distribute or otherwise make available any Covered Software. - - 10. RESPONSIBILITY FOR CLAIMS. - - As between Initial Developer and the Contributors, each party is - responsible for claims and damages arising, directly or - indirectly, out of its utilization of rights under this License - and You agree to work with Initial Developer and Contributors to - distribute such responsibility on an equitable basis. Nothing - herein is intended or shall be deemed to constitute any admission - of liability. - -=============================================================================== - -JRuby (jruby-complete-1.0.jar), wsdl4j (wsdl4j-1.6.2.jar): - -Common Public License - v 1.0 - -THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. - -1. DEFINITIONS - -"Contribution" means: - - a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and - b) in the case of each subsequent Contributor: - - i) changes to the Program, and - - ii) additions to the Program; - - where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. Contributions do not include additions to the Program which: (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program. - -"Contributor" means any person or entity that distributes the Program. - -"Licensed Patents " mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program. - -"Program" means the Contributions distributed in accordance with this Agreement. - -"Recipient" means anyone who receives the Program under this Agreement, including all Contributors. - -2. GRANT OF RIGHTS - - a) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code form. - - b) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder. - - c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the Program, it is Recipient's responsibility to acquire that license before distributing the Program. - - d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement. - -3. REQUIREMENTS - -A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that: - - a) it complies with the terms and conditions of this Agreement; and - - b) its license agreement: - - i) effectively disclaims on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose; - - ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits; - - iii) states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and - - iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange. - -When the Program is made available in source code form: - - a) it must be made available under this Agreement; and - - b) a copy of this Agreement must be included with each copy of the Program. - -Contributors may not remove or alter any copyright notices contained within the Program. - -Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows subsequent Recipients to identify the originator of the Contribution. - -4. COMMERCIAL DISTRIBUTION - -Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor ("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense. - -For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages. - -5. NO WARRANTY - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely responsible for determining the appropriateness of using and distributing the Program and assumes all risks associated with its exercise of rights under this Agreement, including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, programs or equipment, and unavailability or interruption of operations. - -6. DISCLAIMER OF LIABILITY - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -7. GENERAL - -If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable. - -If Recipient institutes patent litigation against a Contributor with respect to a patent applicable to software (including a cross-claim or counterclaim in a lawsuit), then any patent licenses granted by that Contributor to such Recipient under this Agreement shall terminate as of the date such litigation is filed. In addition, if Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed. - -All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive. - -Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the right to modify this Agreement. IBM is the initial Agreement Steward. IBM may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the new version. Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or otherwise. All rights in the Program not expressly granted under this Agreement are reserved. - -This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation. - -=============================================================================== - -backport-util-concurrent-2.2.jar: - -The software comprising backport-util-concurrent is based in large -part on the code from JSR166, and the package dl.util.concurrent. -The software has been released to the public domain, as explained at: -http://creativecommons.org/licenses/publicdomain, excepting portions -of the class -edu.emory.mathcs.backport.java.util.concurrent.CopyOnWriteArrayList, -which were adapted from class java.util.ArrayList, written by Sun -Microsystems, Inc, which are used with kind permission, and subject -to the following: - -Copyright 2002-2004 Sun Microsystems, Inc. All rights reserved. Use is -subject to the following license terms. - - "Sun hereby grants you a non-exclusive, worldwide, non-transferrable - license to use and distribute the Java Software technologies as part - of a larger work in source and binary forms, with or without - modification, provided that the following conditions are met: - - -Neither the name of or trademarks of Sun may be used to endorse or - promote products derived from the Java Software technology without - specific prior written permission. - - -Redistributions of source or binary code must be accompanied by the - following notice and disclaimers: - - Portions copyright Sun Microsystems, Inc. Used with kind permission. - - This software is provided AS IS, without a warranty of any kind. ALL - EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND - WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF - MERCHANTABILITY, FITNESS FOR A PARTICULAR PUPOSE OR - NON-INFRINGEMENT, ARE HEREBY EXCLUDED. SUN - MICROSYSTEMS, INC. AND ITS LICENSORS SHALL NOT BE LIABLE - FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF - USING, MODIFYING OR DISTRIBUTING THE SOFTWARE OR ITS - DERIVATIVES. IN NO EVENT WILL SUN MICROSYSTEMS, INC. OR - ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR - DATA, OR FOR DIRECT, INDIRECT,CONSQUENTIAL, INCIDENTAL - OR PUNITIVE DAMAGES, HOWEVER CAUSED AND REGARDLESS OF - THE THEORY OR LIABILITY, ARISING OUT OF THE USE OF OR - INABILITY TO USE SOFTWARE, EVEN IF SUN MICROSYSTEMS, INC. - HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - - You acknowledge that Software is not designed, licensed or intended for - use in the design, construction, operation or maintenance of any nuclear - facility." - -=============================================================================== -rome-0.9.jar - -Copyright 2004 Sun Microsystems, Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. - -=============================================================================== -jdom-1.0.jar : - -$Id: LICENSE.txt,v 1.11 2004/02/06 09:32:57 jhunter Exp $ - - Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin. - All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions - are met: - - 1. Redistributions of source code must retain the above copyright - notice, this list of conditions, and the following disclaimer. - - 2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions, and the disclaimer that follows - these conditions in the documentation and/or other materials - provided with the distribution. - - 3. The name "JDOM" must not be used to endorse or promote products - derived from this software without prior written permission. For - written permission, please contact . - - 4. Products derived from this software may not be called "JDOM", nor - may "JDOM" appear in their name, without prior written permission - from the JDOM Project Management . - - In addition, we request (but do not require) that you include in the - end-user documentation provided with the redistribution and/or in the - software itself an acknowledgement equivalent to the following: - "This product includes software developed by the - JDOM Project (http://www.jdom.org/)." - Alternatively, the acknowledgment may be graphical using the logos - available at http://www.jdom.org/images/logos. - - THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED - WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES - OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - DISCLAIMED. IN NO EVENT SHALL THE JDOM AUTHORS OR THE PROJECT - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF - USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT - OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - SUCH DAMAGE. - - This software consists of voluntary contributions made by many - individuals on behalf of the JDOM Project and was originally - created by Jason Hunter and - Brett McLaughlin . For more information - on the JDOM Project, please see . - -======================================================================== - -dwr-2.0.1.jar : - -/* -* Copyright 2005 Joe Walker -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ - -========================================================================== - -dojotoolkit V1.0.0: - -The "New" BSD License: -********************** - -Copyright (c) 2005, The Dojo Foundation -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - * Neither the name of the Dojo Foundation nor the names of its contributors - may be used to endorse or promote products derived from this software - without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -================================================================================ - -The module tuscany-implementation-script-1.0-incubating.jar temporarily includes -one file under the below BSD license with the following copyright: - - Copyright (c) 2006, Sun Microsystems, Inc. - All rights reserved. - -BSD license: - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are met: - - - Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - - - Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - - - Neither the name of the Sun Microsystems, Inc. nor the names of - contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND - CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED - WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE - COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY - DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF - USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE - OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH - DAMAGE. - -================================================================================ - -The serp-1.12.0.jar is distributed under the BSD license with the following copyright: - - Copyright (c) 2002, A. Abram White - All rights reserved. - -BSD license: - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are met: - - - Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - - - Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - - - Neither the name of the Sun Microsystems, Inc. nor the names of - contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND - CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED - WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE - COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY - DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF - USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE - OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH - DAMAGE. - -================================================================================ -The javacc-3.2.jar, and howl-1.0.1-1.jar are distributed under the BSD license: - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - - * Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED -TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR -CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -================================================================================ - -The tuscany-assembly-xsd jar includes XSD files under the following SCA Collaboration license: - -License for the Service Component Architecture JavaDoc, Interface -Definition files and XSD files. - -The Service Component Architecture JavaDoc, Interface Definition files, -and XSD files are being provided by the copyright holders under the -following license. By using and/or copying this work, you agree that -you have read, understood and will comply with the following terms and -conditions: - -Permission to copy, display, make derivative works of, and distribute -the Service Component Architecture JavaDoc, Interface Definition Files -and XSD files (the "Artifacts") in any medium without fee or royalty is -hereby granted, provided that you include the following on ALL copies -of the Artifacts, or portions thereof, that you make: - -1. A link or URL to the Artifacts at this location: -http://www.osoa.org/display/Main/Service+Component+Architecture+Specifications - -2. The full text of this copyright notice as shown in the Artifacts. - -THE ARTIFACTS ARE PROVIDED "AS IS," AND THE AUTHORS MAKE NO -REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, REGARDING THE -ARTIFACTS AND THE IMPLEMENTATION OF THEIR CONTENTS, INCLUDING, BUT NOT -LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR -PURPOSE, NON-INFRINGEMENT OR TITLE. - -THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, -INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY -USE OR DISTRIBUTION OF THE ARTIFACTS. - -The name and trademarks of the Authors may NOT be used in any manner, -including advertising or publicity pertaining to the Service Component -Architecture Specification or its contents without specific, written -prior permission. Title to copyright in the Service Component -Architecture Specification and the JavaDoc, Interface Definition Files -and XSD Files will at all times remain with the Authors. - -No other rights are granted by implication, estoppel or otherwise. - -Revision level 1.1, last updated on 2007/11/19 - -================================================================================ -License for the Service Data Objects JavaDoc and Interface Definition files. (tuscany-sdo-api-r2.1-1.0-incubating.jar) - -These files being ... -commonj/sdo/ChangeSummary$Setting.class -commonj/sdo/ChangeSummary.class -commonj/sdo/DataGraph.class -commonj/sdo/DataObject.class -commonj/sdo/helper/CopyHelper.class -commonj/sdo/helper/DataFactory.class -commonj/sdo/helper/DataHelper.class -commonj/sdo/helper/EqualityHelper.class -commonj/sdo/helper/HelperContext.class -commonj/sdo/helper/TypeHelper.class -commonj/sdo/helper/XMLDocument.class -commonj/sdo/helper/XMLHelper.class -commonj/sdo/helper/XSDHelper.class -commonj/sdo/impl/ExternalizableDelegator$Resolvable.class -commonj/sdo/impl/ExternalizableDelegator.class -commonj/sdo/Property.class -commonj/sdo/Sequence.class -commonj/sdo/Type.class -xml/datagraph.xsd -xml/sdoJava.xml -xml/sdoJava.xsd -xml/sdoModel.xml -xml/sdoModel.xsd -xml/sdoXML.xml -xml/sdoXML.xsd - - -License for the Service Data Objects JavaDoc and Interface Definition files. - -The Service Data Objects Specification is being provided by the copyright holders under the following -license. By using and/or copying this work, you agree that you have read, understood and will comply with -the following terms and conditions: - -Permission to copy, display and distribute the Service Data Objects Specification and/or portions thereof, without -modification, in any medium without fee or royalty is hereby granted, provided that you include the -following on ALL copies of the Service Data Objects Specification, or portions thereof, that you make: - -1. A link or URL to the Service Data Objects Specification at this location: -http://www.osoa.org/display/Main/Service+Data+Objects+Specifications - -2. The full text of this copyright notice as shown in the Service Data Objects Specification. - -BEA, IBM, Oracle, Primeton Technologies, Rogue Wave Software, SAP, Software AG, Sun Microsystems, Xcalia, -Zend Technologies (collectively, the “Authors”) agree to grant you a royalty-free license, under reasonable, -non-discriminatory terms and conditions to patents that they deem necessary to implement the Service Data -Objects Specification. - -THE Service Data Objects SPECIFICATION IS PROVIDED "AS IS," AND THE AUTHORS MAKE NO REPRESENTATIONS OR -WARRANTIES, EXPRESS OR IMPLIED, REGARDING THIS SPECIFICATION AND THE IMPLEMENTATION OF ITS CONTENTS, -INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, -NON-INFRINGEMENT OR TITLE. THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL -OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY USE OR DISTRIBUTION OF THE SERVICE DATA OBJECTS -SPECIFICATION. - -The name and trademarks of the Authors may NOT be used in any manner, including advertising or publicity -pertaining to the Service Data Objects Specification or its contents without specific, written prior -permission. Title to copyright in the Service Data Objects Specification will at all times remain with the -Authors. - -No other rights are granted by implication, estoppel or otherwise. -================================================================================ - diff --git a/java/sca-contrib/distribution/web20/src/main/release/bin/NOTICE b/java/sca-contrib/distribution/web20/src/main/release/bin/NOTICE deleted file mode 100644 index 5daa9a3dfe..0000000000 --- a/java/sca-contrib/distribution/web20/src/main/release/bin/NOTICE +++ /dev/null @@ -1,95 +0,0 @@ -Apache Tuscany -Copyright (c) 2005 - 2009 The Apache Software Foundation - -This product includes software developed at -The Apache Software Foundation (http://www.apache.org/). - -This product includes/uses XmlSchema developed at -The Apache Software Foundation (http://ws.apache.org/commons/XmlSchema) - Portions Copyright 2006 International Business Machines Corp. - -This product includes/uses ode-bpel-api-1.1 developed at -The Apache Software Foundation (http://ode.apache.org) - - Copyright 1999-2006 Intalio - This product includes software developed by Intalio (http://www.intalio.com) - - Copyright 2006 Sybase - This product includes software developed by Sybase.(http://www.sybase.com) - -"This product includes software developed by the Spring Framework - Project (http://www.springframework.org)." - -This product includes/uses the Jetty Servlet Engine (http://jetty.mortbay.org), -developed by Mort Bay Consulting (http://www.mortbay.com) - -This product includes/uses the Groovy Script Engine (http://groovy.codehaus.org/), -Copyright 2003 (C) James Strachan and Bob Mcwhirter. All Rights Reserved. - -This product includes/uses the Axion : the Open Source Java Database (http://axion.tigris.org/) - Copyright (c) 2002-2003 Axion Development Team. All rights reserved. - -This product includes/uses DOM4J : the flexible XML framework for java (http://www.dom4j.org/) - Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved. - -This product includes/uses software, AOP alliance (http://aopalliance.sourceforge.net) -License: Public Domain - -This product includes/uses JSON-RPC-Java (http://oss.metaparadigm.com/jsonrpc/) - -This product includes/uses JSON-RPC JavaScript client (jsonrpc.js) - Copyright (c) 2003-2004 Jan-Klaas Kollhof - Copyright (c) 2005 Michael Clark, Metaparadigm Pte Ltd - -This product includes software from the GlassFish project (https://glassfish.dev.java.net/) - Copyright (c) 2006, Sun Microsystems, Inc. - -This product includes software from the Rome project (https://rome.dev.java.net/) - Copyright (c) 2006, Sun Microsystems, Inc. - -This product includes/uses the Eclipse Modeling Framework project (http://www.eclipse.org/emf/) - -This product includes/uses the Mozilla Rhino project (http://www.mozilla.org/rhino/) - -This product includes/uses the Sourceforge wsdl4j project (http://sourceforge.net/projects/wsdl4j/)i - -This product includes/uses the Codehaus JRuby project (http://jruby.codehaus.org/) - -This product includes/uses JDOM (http://www.jdom.org/) - Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin. All rights reserved. - -This product includes/uses DWR (http://getahead.org/dwr) - Copyright 2005 Joe Walker. All rights reserved. - -This product includes/uses dojotoolkit (http://dojotoolkit.org/) - Copyright (c) 2005, The Dojo Foundation. All rights reserved. - -This product includes/uses Howl (http://howl.objectweb.org/) - Copyright (c) 2004, Bull S.A. - -This product includes/uses axion (http://axion.tigris.org/) - Copyright (c) 2002-2003 Axion Development Team. - -This product includes/uses javacc (https://javacc.dev.java.net/) - Copyright (c) 2003 Sun Microsystems, Inc. All Rights Reserved. - -The Program includes all or portions of the following software: "The -Saxon XSLT and XQuery Processor from Saxonica Limited" distributed under -an MPL v1.0 license. Please refer to the homepage URL at -http://www.saxonica.com/. - -This product includes/uses Serp (http://serp.sourceforge.net/) under the BSD license: - Copyright (c) 2002, A. Abram White. All rights reserved. - -This product also includes software under the BSD license -with the following copyright: - Copyright (c) 2006, Sun Microsystems, Inc. All rights reserved. - -This product includes software under the Service Component Architecture JavaDoc, -Interface Definition files and XSD files license. - (c) Copyright SCA Collaboration 2006, 2007 - -This product includes software under the Service Data Objects JavaDoc and -Interface Definition file license - -(c) Copyright BEA Systems, Inc., International Business Machines Corporation, -Oracle Corporation, Primeton Technologies Ltd., Rogue Wave Software, SAP AG., -Software AG., Sun Microsystems, Sybase Inc., Xcalia, Zend Technologies, -2005, 2006. All rights reserved. - diff --git a/java/sca-contrib/distribution/web20/src/main/release/src/BUILDING b/java/sca-contrib/distribution/web20/src/main/release/src/BUILDING deleted file mode 100644 index 65d09c5eae..0000000000 --- a/java/sca-contrib/distribution/web20/src/main/release/src/BUILDING +++ /dev/null @@ -1,55 +0,0 @@ -Building the Apache Tuscany SCA 1.2 (incubating) April 2008 Release source distribution -======================================================================================= - -Initial Setup -------------- - -1) Install J2SE 5.0 SDK, which can be downloaded from - http://java.sun.com/j2se/1.5.0/download.jsp. Use version of 1.5.0_06 JDK or higher. - -2) Make sure that your JAVA_HOME environment variable is set to the newly installed - JDK location, and that your PATH includes %JAVA_HOME%\bin (windows) or - $JAVA_HOME$/bin (unix). - -3) Install Maven 2.0.7 or higher, which can be downloaded from - http://maven.apache.org/download.html. Make sure that your PATH includes - the MVN_HOME/bin directory. - -4) Make sure that your MAVEN_OPTS environment variable has -Xmx128M (or more), - you can manually do this by executing the following in your prompt : - Windows users: - set MAVEN_OPTS=-Xmx128M - Unix users: - export MAVEN_OPTS=-Xmx128M - - -Building --------- - -1) Change to the top level directory of Apache Tuscany source distribution. -2) Run - - $> mvn - - This will compile Apache Tuscany and run all of the tests in the source - distribution. - - Depending on the load of remote Maven 2.0 repositories, you may have - to run "mvn" several times utill the required dependencies are - all located in your local maven repository. It usually takes some time for - maven to download required dependencies in the first build. Once all the - dependencies have been downloaded you may use the -o option to run maven - in offline mode, for example, 'mvn clean install -o'. - - -Building the distributions --------------------------- - -1) Change to the distribution folder -2) Run - - $> mvn - - This will build the binary and source distribution with .zip and .gz - formats in the distribution/target directory. - diff --git a/java/sca-contrib/distribution/web20/src/main/release/src/LICENSE b/java/sca-contrib/distribution/web20/src/main/release/src/LICENSE deleted file mode 100644 index 144d8ae692..0000000000 --- a/java/sca-contrib/distribution/web20/src/main/release/src/LICENSE +++ /dev/null @@ -1,397 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - -=============================================================================================================== - -Apache Tuscany SCA for Java Subcomponents -=========================================: - -The Tuscany SCA for Java release includes a number of subcomponents with -separate copyright notices and license terms. Your use of the source -code for the these subcomponents is subject to the terms and -conditions of the following licenses. - -=============================================================================================================== - -The module itest/databindings/common includes the test schema; datagraph.xsd, sdoJava.xsd, and sdoModel.xsd -under the following license: - -License for the Service Data Objects JavaDoc, Interface Definition files -and XSD files. - -The Service Data Objects JavaDoc, Interface Definition files and XSD files -are being provided by the copyright holders under the following license. -By using and/or copying this work, you agree that you have read, -understood and will comply with the following terms and conditions: - -Permission to copy, display, make derivative works of and distribute -the Service Data Objects JavaDoc, Interface Definition files and XSD files -(the "Artifacts") in any medium without fee or royalty is hereby granted, -provided that you include the following on ALL copies of the Artifacts, -or portions thereof, that you make: - -1. A link or URL to the Artifacts at this location: -http://www.osoa.org/display/Main/Service+Data+Objects+Specifications - -2. The full text of this copyright notice as shown in the Artifacts. - - - -THE ARTIFACTS ARE PROVIDED "AS IS" AND THE AUTHORS MAKE NO -REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, REGARDING THE -ARTIFACTS AND THE IMPLEMENTATION OF THEIR CONTENTS, -INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT OR TITLE. - -THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, -INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY -USE OR DISTRIBUTION OF THE ARTIFACTS. - -The name and trademarks of the Authors may NOT be used in any manner, -including advertising or publicity pertaining to the Service Data -Objects Specification or its contents without specific, written prior -permission. Title to copyright in the Service Data Objects -Specification will at all times remain with the Authors. - -No other rights are granted by implication, estoppel or otherwise. - -Revision level 1.11, last updated on 2007/12/21 - -================================================================================================================= - -The module implementation-script temporarily includes one file under the following BSD license: - - Copyright (c) 2006, Sun Microsystems, Inc. - All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are met: - - - Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - - - Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - - - Neither the name of the Sun Microsystems, Inc. nor the names of - contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND - CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED - WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE - COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY - DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF - USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE - OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH - DAMAGE. - -================================================================================================================= - -The module assembly-xsd includes XSD files under the following SCA Collaboration license: - -License for the Service Component Architecture JavaDoc, Interface -Definition files and XSD files. - -The Service Component Architecture JavaDoc, Interface Definition files, -and XSD files are being provided by the copyright holders under the -following license. By using and/or copying this work, you agree that -you have read, understood and will comply with the following terms and -conditions: - -Permission to copy, display, make derivative works of, and distribute -the Service Component Architecture JavaDoc, Interface Definition Files -and XSD files (the "Artifacts") in any medium without fee or royalty is -hereby granted, provided that you include the following on ALL copies -of the Artifacts, or portions thereof, that you make: - -1. A link or URL to the Artifacts at this location: -http://www.osoa.org/display/Main/Service+Component+Architecture+Specifications - -2. The full text of this copyright notice as shown in the Artifacts. - -THE ARTIFACTS ARE PROVIDED "AS IS," AND THE AUTHORS MAKE NO -REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, REGARDING THE -ARTIFACTS AND THE IMPLEMENTATION OF THEIR CONTENTS, INCLUDING, BUT NOT -LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR -PURPOSE, NON-INFRINGEMENT OR TITLE. - -THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, -INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY -USE OR DISTRIBUTION OF THE ARTIFACTS. - -The name and trademarks of the Authors may NOT be used in any manner, -including advertising or publicity pertaining to the Service Component -Architecture Specification or its contents without specific, written -prior permission. Title to copyright in the Service Component -Architecture Specification and the JavaDoc, Interface Definition Files -and XSD Files will at all times remain with the Authors. - -No other rights are granted by implication, estoppel or otherwise. - -Revision level 1.1, last updated on 2007/11/19 - -================================================================================================================= -The modules - -binding-ws-xml -databinding -databinding-axiom -databinding-jaxb -databinding-json -databinding-sdo -databinding-sdo-axiom -databinding-xmlbeans -interface-wsdl-xml - -Include the ipo.xsd and address.xsd information from the XML Schema Primer -(http://www.w3.org/TR/2004/PER-xmlschema-0-20040318/) combined into the -file ipo.xsd and extended with UK postcode structures. - -The ipo.xsd file is include under the following license: - -W3C(c) SOFTWARE NOTICE AND LICENSE -http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 - -This work (and included software, documentation such as READMEs, or other -related items) is being provided by the copyright holders under the following -license. By obtaining, using and/or copying this work, you (the licensee) agree -that you have read, understood, and will comply with the following terms and conditions. - -Permission to copy, modify, and distribute this software and its documentation, -with or without modification, for any purpose and without fee or royalty is -hereby granted, provided that you include the following on ALL copies of the -software and documentation or portions thereof, including modifications: - - 1. The full text of this NOTICE in a location viewable to users of the - redistributed or derivative work. - 2. Any pre-existing intellectual property disclaimers, notices, or terms - and conditions. If none exist, the W3C Software Short Notice should be - included (hypertext is preferred, text is permitted) within the body of - any redistributed or derivative code. - 3. Notice of any changes or modifications to the files, including the date - changes were made. (We recommend you provide URIs to the location from which - the code is derived.) - -THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE -NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, -WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE -USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY PATENTS, -COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. - -COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR -CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENTATION. - -The name and trademarks of copyright holders may NOT be used in advertising or -publicity pertaining to the software without specific, written prior permission. -Title to copyright in this software and any associated documentation will at all -times remain with copyright holders. diff --git a/java/sca-contrib/distribution/web20/src/main/release/src/NOTICE b/java/sca-contrib/distribution/web20/src/main/release/src/NOTICE deleted file mode 100644 index 31540fd607..0000000000 --- a/java/sca-contrib/distribution/web20/src/main/release/src/NOTICE +++ /dev/null @@ -1,39 +0,0 @@ -Apache Tuscany -Copyright (c) 2005 - 2009 The Apache Software Foundation - -This product includes software developed at -The Apache Software Foundation (http://www.apache.org/). - -This product includes/uses JSON-RPC JavaScript client (jsonrpc.js) - Copyright (c) 2003-2004 Jan-Klaas Kollhof - Copyright (c) 2005 Michael Clark, Metaparadigm Pte Ltd - -This product also includes software under the BSD license -(see the LICENSE file contained in this distribution), with -the following copyright: - Copyright (c) 2006, Sun Microsystems, Inc. All rights reserved. - -This product includes software under the Service Component Architecture JavaDoc, -Interface Definition files and XSD files license. - (c) Copyright SCA Collaboration 2006, 2007 - -This product includes software under the Service Data Objects JavaDoc and -Interface Definition file license - -(c) Copyright BEA Systems, Inc., International Business Machines Corporation, -Oracle Corporation, Primeton Technologies Ltd., Rogue Wave Software, SAP AG., -Software AG., Sun Microsystems, Sybase Inc., Xcalia, Zend Technologies, -2005, 2006. All rights reserved. - -This product includes software under the W3C(c) Software License -with the following copyright: - -Copyright (c) 2008 World Wide Web Consortium, (Massachusetts Institute of Technology, -European Research Consortium for Informatics and Mathematics, Keio University). -All Rights Reserved. This work is distributed under the W3C(c) Software License [1] in -the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied -warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - -[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 - - diff --git a/java/sca-contrib/distribution/webapp/src/main/assembly/bin.xml b/java/sca-contrib/distribution/webapp/src/main/assembly/bin.xml deleted file mode 100644 index fdcc421f2f..0000000000 --- a/java/sca-contrib/distribution/webapp/src/main/assembly/bin.xml +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - true - tuscany-sca-2.0-SNAPSHOT - - - zip - - - - ../core/src/main/components/bin-common.xml - ../core/src/main/components/bin-modules.xml - src/main/components/bin-samples.xml - - diff --git a/java/sca-contrib/distribution/webapp/src/main/assembly/src.xml b/java/sca-contrib/distribution/webapp/src/main/assembly/src.xml deleted file mode 100644 index af3cb8e6fc..0000000000 --- a/java/sca-contrib/distribution/webapp/src/main/assembly/src.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - - src - true - tuscany-sca-2.0-SNAPSHOT-src - - - zip - - - - ../core/src/main/components/src-common.xml - src/main/components/src-modules.xml - - diff --git a/java/sca-contrib/distribution/webapp/src/main/components/bin-samples.xml b/java/sca-contrib/distribution/webapp/src/main/components/bin-samples.xml deleted file mode 100644 index a9b53dea4f..0000000000 --- a/java/sca-contrib/distribution/webapp/src/main/components/bin-samples.xml +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - ../../samples - samples - - host-webapp-calculator/**/* - - - - **/.* - **/.*/** - **/*.log - - - pom.xml - **/target - **/target/**/* - - - - diff --git a/java/sca-contrib/distribution/webapp/src/main/components/src-modules.xml b/java/sca-contrib/distribution/webapp/src/main/components/src-modules.xml deleted file mode 100644 index cb46e33258..0000000000 --- a/java/sca-contrib/distribution/webapp/src/main/components/src-modules.xml +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - ../../../modules - modules - - host-webapp/**/* - - - - **/.* - **/.*/** - **/*.log - - - pom.xml - **/target - **/target/**/* - - - - diff --git a/java/sca-contrib/distribution/webapp/src/main/release/CHANGES b/java/sca-contrib/distribution/webapp/src/main/release/CHANGES deleted file mode 100644 index 3de7358ec6..0000000000 --- a/java/sca-contrib/distribution/webapp/src/main/release/CHANGES +++ /dev/null @@ -1,431 +0,0 @@ -Changes With Apache Tuscany SCA 1.2 (incubating) April 2008 -=========================================================== - -- Fix the following JIRA issues (http://issues.apache.org/jira/browse/TUSCANY): - * TUSCANY-2027 - * TUSCANY-1999 - * TUSCANY-2037 - * TUSCANY-2034 - * TUSCANY-2038 - * TUSCANY-2043 - * TUSCANY-2046 - * TUSCANY-2047 - * TUSCANY-2028 - * TUSCANY-1873 - * TUSCANY-2049 - * TUSCANY-2035 - * TUSCANY-1206 - * TUSCANY-2036 - * TUSCANY-1771 - * TUSCANY-2013 - * TUSCANY-1926 - * TUSCANY-1917 - * TUSCANY-1949 - * TUSCANY-1941 - * TUSCANY-2045 - * TUSCANY-2057 - * TUSCANY-2055 - * TUSCANY-2056 - * TUSCANY-2072 - * TUSCANY-2047 - * TUSCANY-2073 - * TUSCANY-1977 - * TUSCANY-2075 - * TUSCANY-1894 - * TUSCANY-2079 - * TUSCANY-2078 - * TUSCANY-2080 - * TUSCANY-2068 - * TUSCANY-1950 - * TUSCANY-2077 - * TUSCANY-2056 - * TUSCANY-2088 - * TUSCANY-2086 - * TUSCANY-2094 - * TUSCANY-2106 - - Features and/or Enhancements - - * Core - - Interceptor Enhancements - - Phase-based interceptor ordering to allow contribution of new interceptors and also define the order in witch they should be invoked - - Pass-by-reference SPI to allow interceptors to indicate if they support pass-by-reference - - PolicyProvider SPIs to allow extensions to plugin policy interceptors - - Support for JAXWS annotations and mapping of faults to Java exceptions according to JAXWS specification - - Improvement of contribution service to allow it to be used outside of the runtime environment - - Support for Contribution Import/Export resource - - Enhanced Distributed Domain story using Workspace - - Implementation of a SCA domain allowing a system administrator to manage contributions, composites and sca nodes that run these composites - - Set of core services providing management capabilities - - Administration web interface - - This is a work in progress and you can see it in action in samples/calculator-distributed. Other samples that use distributed operation are yet to move over to the workspace. - - Enhanced support for SCA Policy spec - - Ability to apply external policy definitions to a SCA composition - - Ability to spread policy definitions to multiple definitions.xml files available across the sca domain - - Bug fixes - - Improvements of http binding to support servlet components - - Enable Tuscany to run inside an OSGi runtime - - * Web 2.0 Extensions - - Enhancements to implementation.widget (support for properties) - - New atom binding based on Apache Abdera - - Refactoring of rss-rome binding - * Other Extensions - - Binding JMS - - greatly simplified the use of the JMS binding, support locating JMS resources from JNDI, and better compliance with the SCA JMS binding spec - - see the doc page for more details: http://incubator.apache.org/tuscany/sca-java-bindingjms.html - - Enhancements to Binding RMI - - Support shared RMI registry and use 999x as the ports in test case to avoid 1099 conflict - - Enhancements to Groovy extension - - Support for 'native' groovy classes - - Enhancements to OSGi bundle contributions - - Support Bundle URLs to be added as contributions - - * Tools - - Eclipse plugin providing a Tuscany runtime Library and Tuscany launcher in Eclipse environment - - An updatesite is also available to facilitate the plugin installation using the Eclipse update manager - - * Samples/Tutorial/Demos - - calculator-distributed migrated to use new Tuscany Distributed Workspace - - sample-calculator-ws-secure-webapp - - sample-helloworld-jms-webapp - - new jms samples - - improve bigbank demo to include support for policies - - tutorial store changes - - use of import/export - - development of contribution without requiring dependencies on the Tuscany runtime - - usage of new sca domain infrastructure - - * Testing - - Web Container Testing Framework integrated with (Tomcat, Jetty, Geronimo and Websphere) - - -Changes With Apache Tuscany SCA 1.1 (incubating) January 2008 -=============================================================== - -- Fix the following JIRA issues (http://issues.apache.org/jira/browse/TUSCANY): - * TUSCANY-1939 - * TUSCANY-1914 - * TUSCANY-1854 - * TUSCANY-1931 - * TUSCANY-1547 - * TUSCANY-1909 - * TUSCANY-1919 - * TUSCANY-1930 - * TUSCANY-1806 - * TUSCANY-1804 - * TUSCANY-1916 - * TUSCANY-1913 - * TUSCANY-1834 - * TUSCANY-1857 - * TUSCANY-1687 - * TUSCANY-1801 - * TUSCANY-1742 - * TUSCANY-1762 - * TUSCANY-1945 - * TUSCANY-1595 - * TUSCANY-1594 - * TUSCANY-1849 - * TUSCANY-1836 - * TUSCANY-1934 - * TUSCANY-1902 - * TUSCANY-1608 - * TUSCANY-1943 - * TUSCANY-1896 - * TUSCANY-1626 - * TUSCANY-1797 - * TUSCANY-1601 - * TUSCANY-1415 - -- Better JMS support - * binding.jms supporting point to point text based messaging only - * New SOAP/JMS sample (helloworld-ws-reference/service-jms) - -- Improvements in PolicyFramework Support - * Support for policy specifications on operation elements in a composite definition - * Separate sample (calculator-implementation-policies) to demonstrate use of Implementation Policies - (uses logging and JAAS Authentication) - -- Modeling of client side java script components - * See implementation.widget - -- Evolving support for doman API suggested by assembly spec including a standalone node and nodes running - connected together in a domain. This is still experimental. - -- Class loading and OSGI improvements - * Enable Tuscany to be run in a multi-classloader environment including inside OSGi. By default, - Tuscany continues to run using a single CLASSPATH-based classloader. - * Contributions no longer need to be in the CLASSPATH. All import/export dependencies across contributions should be - explicitly specified (as described in the spec). - -- JAXB based POJO transformations - -Changes With Apache Tuscany SCA 1.0.1 (incubating) November 2007 -================================================================ - -The Tuscany SCA Java 1.0.1 is mainly a bug-fix release. It also comes with some improvements as listed below. - -- Fix the following JIRA issues (http://issues.apache.org/jira/browse/TUSCANY): - * TUSCANY-1848 - * TUSCANY-1857 - * TUSCANY-1859 - * TUSCANY-1801 - * TUSCANY-1823 - * TUSCANY-1839 - * TUSCANY-1814 - * TUSCANY-1818 - * TUSCANY-1834 - * TUSCANY-1637 - * TUSCANY-1826 - * TUSCANY-1823 - * TUSCANY-1819 - * TUSCANY-1821 - * TUSCANY-1822 - * TUSCANY-1806 - * TUSCANY-1808 - * TUSCANY-1756 - * TUSCANY-1757 - -- Fix build issues with Maven 2.0.7 and JDK 6 - -- Reduce memory consumption for WSDLs that import large XSDs - -- Add more logging statements for better servicibility - -- Add an extension point to allow extensions to plug-in extension schemas. - -- Add a demo application to showcase XML integration story - -- Improve in databinding framework - * Add support for JSON Databindings and other refactoring - * Set databinding for introspected data type and enhance the checking of wrapper style - * Improve the tree-based XMLStreamReader and convert Bean & DOM to use this approach - * Add a tree-iterator based XMLStreamReader base impl - * Add default element info to java interface - * Rename Interface.setDefaultDataBinding to resetDataBinding - -- Limit the method injection to setters and allow the setter annotation to override field annotation - -- Evolving support in Intent and Policy handling - * Add support for policies in implementation - * Fix the algorithm for macthing policySets defined on bindings for the wire - * Add policy intent for implementation.java - * Extend java implementation type to recognize and apply policies, adding util support for this in Policy module - * Add policy module for logging - -- Evolving development in the SCA Domain/Node - -- Update NOTICE files with missing dependencies - - -Changes With Apache Tuscany SCA 1.0 (incubating) September 2007 -=============================================================== - -- Tuscany Java SCA now implements V1.0 of the core SCA - specifications - SCA Assembly Model V1.0 - SCA Java Common Annotations and APIs V1.0 - SCA Java Component Implementation V1.0 - SCA Web Services Binding V1.0 - Including callbacks, conversations and callable references - - -- Support for ws-security configurable in the web services binding - thro Tuscany SCA policy intents and policysets using the policy framework - introduced in the last release. - - Note : This release supports specifications of policies around axis2 - config params - see helloworld-ws-service-secure sample. The policy - intents that have been tested are authentication, integrity and - confidentiality. - There is no sample or test that exercises confidentiality since there - are some unresolved licensing issue around bouncycastle libraries. - However, users who are not encumbered by the bouncycastle license - restrictions can try the 'confidentiality' intent. See FAQ - - http://incubator.apache.org/tuscany/tuscany-sca-java-faq.html - - This release does not include support for WS-Policy - attachments in Tuscany Policysets for ws-security. - - -- An XQuery component implementation type - implementation-xquery - - -- A Databinding for converting data to and from nodes for XQuery - processing - databinding-saxon - - -- OSGI support has been extended to allow Tuscany contributions - packaged as OSGI bundles hence taking advantage of OSGI's bundle - loading an dependency management capabilities - - -- A BPEL component implementation type experimental implementation -based on SCA BPEL Client and Implementation V1.0. At the moment only -supports BPEL process as services. - implementation-bpel - - -- The distributed runtime implementation has been separated out - into - *) domain - *) node - It is now wrapped by a SCADomain interface as is the standalone - runtime. - - Note: This release does not include support for WebApp host deployment - for a distributed SCA Domain - - - -- The web service binding will now generate WSDL automatically - based on the service interface if no WSDL is provided - - -- A new "store" sample and associated document show how a - simple store front application can be constructed - samples/store - -- The following features of this release are still experimental: - - BPEL implementation type, integrating with Apache ODE - - OSGI implementation type, integrating with Apache Felix - - XQuery implementation type - - - -Changes With Apache Tuscany SCA 0.99 (incubating) August 2007 -============================================================= - -The following are the significant additions to release 0.99 -over and above all of what was offered in release 0.91. - -- A version of the default sca binding that works between - components runing in separate Java virtual machines - binding-sca-axis - -- A simple node implementation and a service discovery - function for running sca applications distributed - across more than one node - distributed - distributed-impl - -- integration with OSGi runtimes is now supported with - a new implementation-osgi component type - -- PUB/SUB interactions are now supported by using new - notification binding and implementation types, and - samples demonstrating the feature. - -- The Tuscany runtime now has a policy framework supporting - the SCA policy specification - -- the endpoint URIs used by SCA bindings has been rationalized - and now follows the SCA Assembly specification - -- binding-ajax has been renamed to binding-dwr - -Changes With Apache Tuscany SCA 0.91 (incubating) July 2007 -=========================================================== - -The following are the significant additions to release 0.91 -over and above all of what was offered in release 0.90. - - -- Enhancements to support multiple contributions to the SCA Domain - -- The inclusion of a alternative simplified extensions-helper -SPI layer to faciliate rapid development of extensions - -- More Implementation Extenstions - Spring - WebResource - -- More Binding Extensions - AJAX - EJB - RSS/ATOM Feeds - -- Demos that demonstrate the use of a mix of extensions - alert-aggregator-webapp - bigbank-account - bigbank-calculator - bigbank-stockquote - - -- Samples - Samples to demostrate use of Spring, Resource, AJAX extensions - -Changes With Apache Tuscany SCA 0.90 (incubating) June 2007 -=========================================================== - -- Implementations for all of the Java Annotations and API Specification V1.0 found at - (http://www.osoa.org/display/Main/Service+Component+Architecture+Specifications) - apart from the following. - @ComponentName - Conversation - RequestContext - -- New assembly model implementation taking into account SCA 1.0 artifacts - Data duplication between assembly model and runtime removed - -- Simple single process domain support - Contribution support to scope items being deployed into the runtime - -- Improved Package/Class naming consistency across modules - -- Extensions now loaded via Java service mechanism - Refactored extensions to use new SPIs (see below) - -- Maven and Ant based sample builds in the binary distribution - -- Implementation Extensions - Java - Script supporting (Ruby, Python, Groovy, JavaScript) - -- Binding Extensions - Axis2 - RMI - JSONRPC - --Databinding Extensions - Axiom - JAXB - SDO - -- Host environments - Embedded - Tomcat - Jetty - RMI - -- A clear set of SPIs intended to be stable over future releases - SCA assembly model - org.apache.tuscany.sca.assembly - org.apache.tuscany.sca.interfacedef - org.apache.tuscany.sca.interfacedef.java - org.apache.tuscany.sca.interfacedef.wsdl - org.apache.tuscany.sca.policy - - SCA contribution model - org.apache.tuscany.sca.contribution - - Runtime extensions - org.apache.tuscany.sca.core - org.apache.tuscany.sca.invocation - org.apache.tuscany.sca.provider - org.apache.tuscany.sca.runtime - org.apache.tuscany.sca.work - - Data binding support - org.apache.tuscany.sca.databinding - - Embedding Tuscany - org.apache.tuscany.sca.host.embedded - - Servlet container integration - org.apache.tuscany.sca.http - -- For this point release a partial set of JavaDoc is provided to - be filled out as we close on release 1.0 diff --git a/java/sca-contrib/distribution/webapp/src/main/release/README b/java/sca-contrib/distribution/webapp/src/main/release/README deleted file mode 100644 index 4d83dcfde9..0000000000 --- a/java/sca-contrib/distribution/webapp/src/main/release/README +++ /dev/null @@ -1,19 +0,0 @@ -Apache Tuscany SCA 1.2 (incubating) April 2008 README -===================================================== - -Welcome to the Tuscany SCA 1.2 release. - -See the RELEASE_NOTES file for information specific to this release. - -In the binary release see the INSTALL file for information on how to -install the release. - -In the source distribution see the BUILDING file for information on -building the source code. - - - - - - - diff --git a/java/sca-contrib/distribution/webapp/src/main/release/RELEASE_NOTES b/java/sca-contrib/distribution/webapp/src/main/release/RELEASE_NOTES deleted file mode 100644 index a04ef5c553..0000000000 --- a/java/sca-contrib/distribution/webapp/src/main/release/RELEASE_NOTES +++ /dev/null @@ -1,83 +0,0 @@ -Apache Tuscany SCA 1.2 (incubating) April 2008 Release Notes -============================================================ - -Apache Tuscany provides a runtime based on the Service Component -Architecture. SCA is a set of specifications aimed at simplifying SOA -Application Development which are being standardized at OASIS as part -of Open Composite Services Architecture (Open CSA) - http://www.oasis-opencsa.org/. - -Overview --------- - - The Apache Tuscany SCA 1.2 release includes implementations of the - main SCA specifications including: - - SCA Assembly Model V1.0 - SCA Policy Framework V1.0 - SCA Java Common Annotations and APIs V1.0 - SCA Java Component Implementation V1.0 - SCA Spring Component Implementation V1.0 - SCA BPEL Client and Implementation V1.0 - SCA Web Services Binding V1.0 - SCA EJB Session Bean Binding V1.0 - - It also includes implementations of many features not yet defined - by SCA specifications, including: - - - SCA bindings for Direct Web Remoting, RSS and ATOM Feeds, - HTTP resources, JSON-RPC, PUB/SUB Notifications, and RMI. - - SCA implementation types for OSGI, XQuery, BPEL, Widget and various - dynamic languages including Groovy, Javascript, Python and Ruby - - Databindings for Service Data Objects (SDO), JAXB, XmlBeans, - Axis2's AXIOM, JSON, SAXON, DOM, SAX and StAX - - The Tuscany SCA Runtime can be configured as a single node SCA domain or - as an SCA domain distributed across multiple nodes. - In addition Tuscany SCA supports the following host-deployment options: - - - running standalone - - running with distributed nodes across multiple JVMs - - running with embedded Jetty or Tomcat - - running as part of a standard web application - - The Wepapp samples included in this release have been tried and tested on - - Tomcat 5.5.20 and Tomcat 6.0.14 - - Jetty 6.1.3 - - Geronimo 2.0.2 Tomcat6 jee5 - - WebSphere 6.1 fix pack 9 - -See the CHANGES file for a detailed list of the features in this release. - -Support -------- - -For more information on Apache Tuscany visit the website at: - - http://incubator.apache.org/tuscany/ - -Any issues with this release can be reported to Apache Tuscany -using the mailing lists or in the JIRA issue tracker. - - Mailing list archives: - - http://mail-archives.apache.org/mod_mbox/ws-tuscany-user/ - http://mail-archives.apache.org/mod_mbox/ws-tuscany-dev/ - - Jira: - - http://issues.apache.org/jira/browse/TUSCANY - -To join the project's mailing lists follow the instructions at: - - http://incubator.apache.org/tuscany/mailing-lists.html - -To find out more about OASIS Open CSA go to: - - http://www.oasis-opencsa.org. - -Apache Tuscany welcomes your help. Any contribution, including code, -testing, improving the documentation, or bug reporting is always -appreciated. - -Thank you for using Apache Tuscany! - -- The Tuscany Team. diff --git a/java/sca-contrib/distribution/webapp/src/main/release/bin/INSTALL b/java/sca-contrib/distribution/webapp/src/main/release/bin/INSTALL deleted file mode 100644 index 2da53a2b44..0000000000 --- a/java/sca-contrib/distribution/webapp/src/main/release/bin/INSTALL +++ /dev/null @@ -1,27 +0,0 @@ -Installing the Apache Tuscany SCA 1.2 (incubating) April 2008 Release binary distribution -========================================================================================= - -Unzip Tuscany binary distribution archive and you get the following: - -tuscany-sca-1.1-incubating - DISCLAIMER - the ASF incubation disclaimer - INSTALL - this help file - LICENSE - the Apache License and any dependecy licenses - NOTICE - attribution notices associated with the licenses - README - readme for the release - RELEASE_NOTES - description of this release - CHANGES - A note of the major changes in this release - - /demos - Demo applications showcasing the use of Apache Tuscany - - /lib - The tuscany-sca-all and tuscany-sca-manifest jars and all their dependencies - - /modules - all of the individual Tuscany jars - - /samples - all the Tuscany samples, see the README in that directory - - /tutorial - The store tutorial, see the README in that directory - - - - diff --git a/java/sca-contrib/distribution/webapp/src/main/release/bin/LICENSE b/java/sca-contrib/distribution/webapp/src/main/release/bin/LICENSE deleted file mode 100644 index 5e1f585d46..0000000000 --- a/java/sca-contrib/distribution/webapp/src/main/release/bin/LICENSE +++ /dev/null @@ -1,2366 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - -=============================================================================== - -APACHE TUSCANY SUBCOMPONENTS: - -The Apache Tuscany binary distribution includes a number of subcomponents -with separate copyright notices and license terms. Your use of the -code for the these subcomponents is subject to the terms and -conditions of the following licenses. - -=============================================================================== - -The following components come under Apache Software License 1.1 - - commons-discovery-0.2.jar - commons-primitives-1.0.jar - -The following components come under Apache Software License 2.0 - - abdera-core-0.3.0-incubating.jar - abdera-i18n-0.3.0-incubating.jar - abdera-parser-0.3.0-incubating.jar - activeio-2.0-r118.jar - activeio-core-3.0.0-incubator.jar - apache-activemq-4.1.1.jar - addressing-1.3.mar - annogen-0.1.0.jar - annotations-api-6.0.14.jar - aopalliance-1.0.jar - axiom-api-1.2.5.jar - axiom-dom-1.2.5.jar - axiom-impl-1.2.5.jar - axis2-adb-1.3.jar - axis2-codegen-1.3.jar - axis2-java2wsdl-1.3.jar - axis2-kernel-1.3.jar - axis2-mtompolicy-1.3.jar - bsf-all-3.0-beta2.jar - catalina-6.0.14.jar - cglib-nodep-2.1_3.jar - commons-collections-3.1.jar - commons-codec-1.3.jar - commons-fileupload-1.1.1.jar - commons-httpclient-3.0.1.jar - commons-io-1.2.jar - commons-jexl-1.1.jar - commons-lang-2.1.jar - commons-logging-1.1.jar - coyote-6.0.14.jar - derby-10.1.3.1.jar - geronimo-activation_1.1_spec-1.0-M1.jar - geronimo-common-1.2-beta.jar - geronimo-commonj_1.1_spec-1.0.jar - geronimo-connector-1.2-beta.jar - geronimo-core-1.2-beta.jar - geronimo-deployment-1.2-beta.jar - geronimo-ejb_3.0_spec-1.0.jar - geronimo-interceptor-1.2-beta.jar - geronimo-j2ee-1.2-beta.jar - geronimo-j2ee-connector_1.5_spec-1.1.jar - geronimo-j2ee-jacc_1.0_spec-1.1.jar - geronimo-j2ee-management_1.0_spec-1.1.jar - geronimo-javamail_1.4_spec-1.0-M1.jar - geronimo-jms_1.1_spec-1.1.jar - geronimo-jpa_3.0_spec-1.0.jar - geronimo-jta_1.0.1B_spec-1.0.jar - geronimo-kernel-1.2-beta.jar - geronimo-management-1.2-beta.jar - geronimo-naming-1.2-beta.jar - geronimo-security-1.2-beta.jar - geronimo-spec-j2ee-connector-1.5-rc4.jar - geronimo-spec-jta-1.0.1B-rc4.jar - geronimo-system-1.2-beta.jar - geronimo-transaction-1.2-beta.jar - geronimo-util-1.2-beta.jar - httpcore-4.0-alpha5.jar - httpcore-nio-4.0-alpha5.jar - httpcore-niossl-4.0-alpha5.jar - jettison-1.0-RC2.jar - jetty-6.1.7.jar - jetty-util-6.1.7.jar - json-rpc-1.0.jar - juli-6.0.14.jar - log4j-1.2.12.jar - logkit-1.0.1.jar - neethi-2.0.2.jar - ode-bpel-api-1.1.jar - ode-bpel-compiler-1.1.jar - ode-bpel-dao-1.1.jar - ode-bpel-epr-1.1.jar - ode-bpel-obj-1.1.jar - ode-bpel-runtime-1.1.jar - ode-bpel-schemas-1.1.jar - ode-bpel-store-1.1.jar - ode-dao-jpa-1.1.jar - ode-dao-jpa-ojpa-derby-1.1.zip - ode-jacob-1.1.jar - ode-jacob-ap-1.1.jar - ode-scheduler-simple-1.1.jar - ode-utils-1.1.jar - openjpa-all-0.9.7-incubating.jar - openjpa-persistence-0.9.7-incubating.jar - org.apache.felix.bundlerepository-1.0.2.jar - org.apache.felix.framework-1.0.3.jar - org.apache.felix.main-1.0.3.jar - org.apache.felix.shell-1.0.0.jar - org.apache.felix.shell.tui-1.0.0.jar - rampart-core-1.3.jar - rampart-policy-1.3.jar - rampart-trust-1.3.jar - regexp-1.3.jar - spring-beans-2.0.6.jar - spring-context-2.0.6.jar - spring-core-2.0.6.jar - tranql-connector-1.1.jar - tuscany-sdo-api-r2.1-1.0-incubating.jar - tuscany-sdo-impl-1.0-incubating.jar - tuscany-sdo-lib-1.0-incubating.jar - tuscany-sdo-tools-1.0-incubating.jar - woden-1.0-incubating-M7b.jar - wss4j-1.5.3.jar - wstx-asl-3.2.1.jar - xalan-2.7.0.jar - xbean-naming-2.7.jar - xercesImpl-2.8.1.jar - xml-apis-1.3.03.jar - xmlbeans-2.3.0.jar - xml-resolver-1.1.jar - xmlsec-1.4.0.jar - XmlSchema-1.3.2.jar - -=============================================================================== -axion-1.0-M3-dev.jar - -Copyright (c) 2002-2003 Axion Development Team. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above - copyright notice, this list of conditions and the following - disclaimer. - -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - -3. The names "Tigris", "Axion", nor the names of its contributors may - not be used to endorse or promote products derived from this - software without specific prior written permission. - -4. Products derived from this software may not be called "Axion", nor - may "Tigris" or "Axion" appear in their names without specific prior - written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A -PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -The "Axion Development Team" is defined to be: - - * Chuck Burdick - * James Burke - * Morgan Delagrange - * Geir Magnusson Jr. - * Martin Poeschl - * Steve Polyak - * Daniel Rall - * Ahimanikya Satapathy - * Doug Sale - * James Strachan - * Rodney Waldhoff - * Jason van Zyl - -License changes are to be determined by a simple majority vote of the -Axion Development Team. - -=============================================================================== -dom4j-1.6.1.jar - -Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved. - -Redistribution and use of this software and associated documentation -("Software"), with or without modification, are permitted provided -that the following conditions are met: - -1. Redistributions of source code must retain copyright - statements and notices. Redistributions must also contain a - copy of this document. - -2. Redistributions in binary form must reproduce the - above copyright notice, this list of conditions and the - following disclaimer in the documentation and/or other - materials provided with the distribution. - -3. The name "DOM4J" must not be used to endorse or promote - products derived from this Software without prior written - permission of MetaStuff, Ltd. For written permission, - please contact dom4j-info@metastuff.com. - -4. Products derived from this Software may not be called "DOM4J" - nor may "DOM4J" appear in their names without prior written - permission of MetaStuff, Ltd. DOM4J is a registered - trademark of MetaStuff, Ltd. - -5. Due credit should be given to the DOM4J Project - - http://www.dom4j.org - -THIS SOFTWARE IS PROVIDED BY METASTUFF, LTD. AND CONTRIBUTORS -``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT -NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND -FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL -METASTUFF, LTD. OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED -OF THE POSSIBILITY OF SUCH DAMAGE. - -=============================================================================== - -The EMF jars; - codegen-2.2.3.jar - codegen-ecore-2.2.3.jar - common-2.2.3.jar - ecore-2.2.3.jar - ecore-change-2.2.3.jar - ecore-xmi-2.2.3.jar - xsd-2.2.3.jar - -Eclipse Public License - v 1.0 - -THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE -PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF -THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. - -1. DEFINITIONS - -"Contribution" means: - -a) in the case of the initial Contributor, the initial code and -documentation distributed under this Agreement, and -b) in the case of each subsequent Contributor: - -i) changes to the Program, and - -ii) additions to the Program; - -where such changes and/or additions to the Program originate from and -are distributed by that particular Contributor. A Contribution -'originates' from a Contributor if it was added to the Program by such -Contributor itself or anyone acting on such Contributor's behalf. -Contributions do not include additions to the Program which: (i) are -separate modules of software distributed in conjunction with the -Program under their own license agreement, and (ii) are not derivative -works of the Program. - -"Contributor" means any person or entity that distributes the Program. - -"Licensed Patents " mean patent claims licensable by a Contributor -which are necessarily infringed by the use or sale of its Contribution -alone or when combined with the Program. - -"Program" means the Contributions distributed in accordance with this -Agreement. - -"Recipient" means anyone who receives the Program under this -Agreement, including all Contributors. - -2. GRANT OF RIGHTS - -a) Subject to the terms of this Agreement, each Contributor hereby -grants Recipient a non-exclusive, worldwide, royalty-free copyright -license to reproduce, prepare derivative works of, publicly display, -publicly perform, distribute and sublicense the Contribution of such -Contributor, if any, and such derivative works, in source code and -object code form. - -b) Subject to the terms of this Agreement, each Contributor hereby -grants Recipient a non-exclusive, worldwide, royalty-free patent -license under Licensed Patents to make, use, sell, offer to sell, -import and otherwise transfer the Contribution of such Contributor, if -any, in source code and object code form. This patent license shall -apply to the combination of the Contribution and the Program if, at -the time the Contribution is added by the Contributor, such addition -of the Contribution causes such combination to be covered by the -Licensed Patents. The patent license shall not apply to any other -combinations which include the Contribution. No hardware per se is -licensed hereunder. - -c) Recipient understands that although each Contributor grants the -licenses to its Contributions set forth herein, no assurances are -provided by any Contributor that the Program does not infringe the -patent or other intellectual property rights of any other entity. Each -Contributor disclaims any liability to Recipient for claims brought by -any other entity based on infringement of intellectual property rights -or otherwise. As a condition to exercising the rights and licenses -granted hereunder, each Recipient hereby assumes sole responsibility -to secure any other intellectual property rights needed, if any. For -example, if a third party patent license is required to allow -Recipient to distribute the Program, it is Recipient's responsibility -to acquire that license before distributing the Program. - -d) Each Contributor represents that to its knowledge it has sufficient -copyright rights in its Contribution, if any, to grant the copyright -license set forth in this Agreement. - -3. REQUIREMENTS - -A Contributor may choose to distribute the Program in object code form -under its own license agreement, provided that: - -a) it complies with the terms and conditions of this Agreement; and - -b) its license agreement: - -i) effectively disclaims on behalf of all Contributors all warranties -and conditions, express and implied, including warranties or -conditions of title and non-infringement, and implied warranties or -conditions of merchantability and fitness for a particular purpose; - -ii) effectively excludes on behalf of all Contributors all liability -for damages, including direct, indirect, special, incidental and -consequential damages, such as lost profits; - -iii) states that any provisions which differ from this Agreement are -offered by that Contributor alone and not by any other party; and - -iv) states that source code for the Program is available from such -Contributor, and informs licensees how to obtain it in a reasonable -manner on or through a medium customarily used for software exchange. - -When the Program is made available in source code form: - -a) it must be made available under this Agreement; and - -b) a copy of this Agreement must be included with each copy of the -Program. - -Contributors may not remove or alter any copyright notices contained -within the Program. - -Each Contributor must identify itself as the originator of its -Contribution, if any, in a manner that reasonably allows subsequent -Recipients to identify the originator of the Contribution. - -4. COMMERCIAL DISTRIBUTION - -Commercial distributors of software may accept certain -responsibilities with respect to end users, business partners and the -like. While this license is intended to facilitate the commercial use -of the Program, the Contributor who includes the Program in a -commercial product offering should do so in a manner which does not -create potential liability for other Contributors. Therefore, if a -Contributor includes the Program in a commercial product offering, -such Contributor ("Commercial Contributor") hereby agrees to defend -and indemnify every other Contributor ("Indemnified Contributor") -against any losses, damages and costs (collectively "Losses") arising -from claims, lawsuits and other legal actions brought by a third party -against the Indemnified Contributor to the extent caused by the acts -or omissions of such Commercial Contributor in connection with its -distribution of the Program in a commercial product offering. The -obligations in this section do not apply to any claims or Losses -relating to any actual or alleged intellectual property infringement. -In order to qualify, an Indemnified Contributor must: a) promptly -notify the Commercial Contributor in writing of such claim, and b) -allow the Commercial Contributor to control, and cooperate with the -Commercial Contributor in, the defense and any related settlement -negotiations. The Indemnified Contributor may participate in any such -claim at its own expense. - -For example, a Contributor might include the Program in a commercial -product offering, Product X. That Contributor is then a Commercial -Contributor. If that Commercial Contributor then makes performance -claims, or offers warranties related to Product X, those performance -claims and warranties are such Commercial Contributor's responsibility -alone. Under this section, the Commercial Contributor would have to -defend claims against the other Contributors related to those -performance claims and warranties, and if a court requires any other -Contributor to pay any damages as a result, the Commercial Contributor -must pay those damages. - -5. NO WARRANTY - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS -PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY -OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely -responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement , including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -6. DISCLAIMER OF LIABILITY - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -7. GENERAL - -If any provision of this Agreement is invalid or unenforceable under -applicable law, it shall not affect the validity or enforceability of -the remainder of the terms of this Agreement, and without further -action by the parties hereto, such provision shall be reformed to the -minimum extent necessary to make such provision valid and enforceable. - -If Recipient institutes patent litigation against any entity -(including a cross-claim or counterclaim in a lawsuit) alleging that -the Program itself (excluding combinations of the Program with other -software or hardware) infringes such Recipient's patent(s), then such -Recipient's rights granted under Section 2(b) shall terminate as of -the date such litigation is filed. - -All Recipient's rights under this Agreement shall terminate if it -fails to comply with any of the material terms or conditions of this -Agreement and does not cure such failure in a reasonable period of -time after becoming aware of such noncompliance. If all Recipient's -rights under this Agreement terminate, Recipient agrees to cease use -and distribution of the Program as soon as reasonably practicable. -However, Recipient's obligations under this Agreement and any licenses -granted by Recipient relating to the Program shall continue and -survive. - -Everyone is permitted to copy and distribute copies of this Agreement, -but in order to avoid inconsistency the Agreement is copyrighted and -may only be modified in the following manner. The Agreement Steward -reserves the right to publish new versions (including revisions) of -this Agreement from time to time. No one other than the Agreement -Steward has the right to modify this Agreement. The Eclipse Foundation -is the initial Agreement Steward. The Eclipse Foundation may assign -the responsibility to serve as the Agreement Steward to a suitable -separate entity. Each new version of the Agreement will be given a -distinguishing version number. The Program (including Contributions) -may always be distributed subject to the version of the Agreement -under which it was received. In addition, after a new version of the -Agreement is published, Contributor may elect to distribute the -Program (including its Contributions) under the new version. Except as -expressly stated in Sections 2(a) and 2(b) above, Recipient receives -no rights or licenses to the intellectual property of any Contributor -under this Agreement, whether expressly, by implication, estoppel or -otherwise. All rights in the Program not expressly granted under this -Agreement are reserved. - -This Agreement is governed by the laws of the State of New York and -the intellectual property laws of the United States of America. No -party to this Agreement will bring a legal action under this Agreement -more than one year after the cause of action arose. Each party waives -its rights to a jury trial in any resulting litigation. - -=============================================================================== -For Saxon including - saxon-8.7.jar - saxon-dom-8.7.jar - saxon-xpath-8.7.jar - - MOZILLA PUBLIC LICENSE -Version 1.0 - -1. Definitions. - - 1.1. ``Contributor'' means each entity that creates or contributes to the creation of Modifications. - - 1.2. ``Contributor Version'' means the combination of the Original Code, prior Modifications used by a Contributor, and the Modifications made by that particular Contributor. - - 1.3. ``Covered Code'' means the Original Code or Modifications or the combination of the Original Code and Modifications, in each case including portions thereof. - - 1.4. ``Electronic Distribution Mechanism'' means a mechanism generally accepted in the software development community for the electronic transfer of data. - - 1.5. ``Executable'' means Covered Code in any form other than Source Code. - - 1.6. ``Initial Developer'' means the individual or entity identified as the Initial Developer in the Source Code notice required by Exhibit A. - - 1.7. ``Larger Work'' means a work which combines Covered Code or portions thereof with code not governed by the terms of this License. - - 1.8. ``License'' means this document. - - 1.9. ``Modifications'' means any addition to or deletion from the substance or structure of either the Original Code or any previous Modifications. When Covered Code is released as a series of files, a Modification is: - - A. Any addition to or deletion from the contents of a file containing Original Code or previous Modifications. - - B. Any new file that contains any part of the Original Code or previous Modifications. - - 1.10. ``Original Code'' means Source Code of computer software code which is described in the Source Code notice required by Exhibit A as Original Code, and which, at the time of its release under this License is not already Covered Code governed by this License. - - 1.11. ``Source Code'' means the preferred form of the Covered Code for making modifications to it, including all modules it contains, plus any associated interface definition files, scripts used to control compilation and installation of an Executable, or a list of source code differential comparisons against either the Original Code or another well known, available Covered Code of the Contributor's choice. The Source Code can be in a compressed or archival form, provided the appropriate decompression or de-archiving software is widely available for no charge. - - 1.12. ``You'' means an individual or a legal entity exercising rights under, and complying with all of the terms of, this License or a future version of this License issued under Section 6.1. For legal entities, ``You'' includes any entity which controls, is controlled by, or is under common control with You. For purposes of this definition, ``control'' means (a) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (b) ownership of fifty percent (50%) or more of the outstanding shares or beneficial ownership of such entity. - -2. Source Code License. - - 2.1. The Initial Developer Grant. - The Initial Developer hereby grants You a world-wide, royalty-free, non-exclusive license, subject to third party intellectual property claims: - - (a) to use, reproduce, modify, display, perform, sublicense and distribute the Original Code (or portions thereof) with or without Modifications, or as part of a Larger Work; and - - (b) under patents now or hereafter owned or controlled by Initial Developer, to make, have made, use and sell (``Utilize'') the Original Code (or portions thereof), but solely to the extent that any such patent is reasonably necessary to enable You to Utilize the Original Code (or portions thereof) and not to any greater extent that may be necessary to Utilize further Modifications or combinations. - - 2.2. Contributor Grant. - Each Contributor hereby grants You a world-wide, royalty-free, non-exclusive license, subject to third party intellectual property claims: - - (a) to use, reproduce, modify, display, perform, sublicense and distribute the Modifications created by such Contributor (or portions thereof) either on an unmodified basis, with other Modifications, as Covered Code or as part of a Larger Work; and - - (b) under patents now or hereafter owned or controlled by Contributor, to Utilize the Contributor Version (or portions thereof), but solely to the extent that any such patent is reasonably necessary to enable You to Utilize the Contributor Version (or portions thereof), and not to any greater extent that may be necessary to Utilize further Modifications or combinations. - -3. Distribution Obligations. - - 3.1. Application of License. - The Modifications which You create or to which You contribute are governed by the terms of this License, including without limitation Section 2.2. The Source Code version of Covered Code may be distributed only under the terms of this License or a future version of this License released under Section 6.1, and You must include a copy of this License with every copy of the Source Code You distribute. You may not offer or impose any terms on any Source Code version that alters or restricts the applicable version of this License or the recipients' rights hereunder. However, You may include an additional document offering the additional rights described in Section 3.5. - - 3.2. Availability of Source Code. - Any Modification which You create or to which You contribute must be made available in Source Code form under the terms of this License either on the same media as an Executable version or via an accepted Electronic Distribution Mechanism to anyone to whom you made an Executable version available; and if made available via Electronic Distribution Mechanism, must remain available for at least twelve (12) months after the date it initially became available, or at least six (6) months after a subsequent version of that particular Modification has been made available to such recipients. You are responsible for ensuring that the Source Code version remains available even if the Electronic Distribution Mechanism is maintained by a third party. - - 3.3. Description of Modifications. - You must cause all Covered Code to which you contribute to contain a file documenting the changes You made to create that Covered Code and the date of any change. You must include a prominent statement that the Modification is derived, directly or indirectly, from Original Code provided by the Initial Developer and including the name of the Initial Developer in (a) the Source Code, and (b) in any notice in an Executable version or related documentation in which You describe the origin or ownership of the Covered Code. - - 3.4. Intellectual Property Matters - - (a) Third Party Claims. - If You have knowledge that a party claims an intellectual property right in particular functionality or code (or its utilization under this License), you must include a text file with the source code distribution titled ``LEGAL'' which describes the claim and the party making the claim in sufficient detail that a recipient will know whom to contact. If you obtain such knowledge after You make Your Modification available as described in Section 3.2, You shall promptly modify the LEGAL file in all copies You make available thereafter and shall take other steps (such as notifying appropriate mailing lists or newsgroups) reasonably calculated to inform those who received the Covered Code that new knowledge has been obtained. - - (b) Contributor APIs. - If Your Modification is an application programming interface and You own or control patents which are reasonably necessary to implement that API, you must also include this information in the LEGAL file. - - 3.5. Required Notices. - You must duplicate the notice in Exhibit A in each file of the Source Code, and this License in any documentation for the Source Code, where You describe recipients' rights relating to Covered Code. If You created one or more Modification(s), You may add your name as a Contributor to the notice described in Exhibit A. If it is not possible to put such notice in a particular Source Code file due to its structure, then you must include such notice in a location (such as a relevant directory file) where a user would be likely to look for such a notice. You may choose to offer, and to charge a fee for, warranty, support, indemnity or liability obligations to one or more recipients of Covered Code. However, You may do so only on Your own behalf, and not on behalf of the Initial Developer or any Contributor. You must make it absolutely clear than any such warranty, support, indemnity or liability obligation is offered by You alone, and You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of warranty, support, indemnity or liability terms You offer. - - 3.6. Distribution of Executable Versions. - You may distribute Covered Code in Executable form only if the requirements of Section 3.1-3.5 have been met for that Covered Code, and if You include a notice stating that the Source Code version of the Covered Code is available under the terms of this License, including a description of how and where You have fulfilled the obligations of Section 3.2. The notice must be conspicuously included in any notice in an Executable version, related documentation or collateral in which You describe recipients' rights relating to the Covered Code. You may distribute the Executable version of Covered Code under a license of Your choice, which may contain terms different from this License, provided that You are in compliance with the terms of this License and that the license for the Executable version does not attempt to limit or alter the recipient's rights in the Source Code version from the rights set forth in this License. If You distribute the Executable version under a different license You must make it absolutely clear that any terms which differ from this License are offered by You alone, not by the Initial Developer or any Contributor. You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of any such terms You offer. - - 3.7. Larger Works. - You may create a Larger Work by combining Covered Code with other code not governed by the terms of this License and distribute the Larger Work as a single product. In such a case, You must make sure the requirements of this License are fulfilled for the Covered Code. - -4. Inability to Comply Due to Statute or Regulation. - - If it is impossible for You to comply with any of the terms of this License with respect to some or all of the Covered Code due to statute or regulation then You must: (a) comply with the terms of this License to the maximum extent possible; and (b) describe the limitations and the code they affect. Such description must be included in the LEGAL file described in Section 3.4 and must be included with all distributions of the Source Code. Except to the extent prohibited by statute or regulation, such description must be sufficiently detailed for a recipient of ordinary skill to be able to understand it. - -5. Application of this License. - - This License applies to code to which the Initial Developer has attached the notice in Exhibit A, and to related Covered Code. - -6. Versions of the License. - - 6.1. New Versions. - Netscape Communications Corporation (``Netscape'') may publish revised and/or new versions of the License from time to time. Each version will be given a distinguishing version number. - - 6.2. Effect of New Versions. - Once Covered Code has been published under a particular version of the License, You may always continue to use it under the terms of that version. You may also choose to use such Covered Code under the terms of any subsequent version of the License published by Netscape. No one other than Netscape has the right to modify the terms applicable to Covered Code created under this License. - - 6.3. Derivative Works. - If you create or use a modified version of this License (which you may only do in order to apply it to code which is not already Covered Code governed by this License), you must (a) rename Your license so that the phrases ``Mozilla'', ``MOZILLAPL'', ``MOZPL'', ``Netscape'', ``NPL'' or any confusingly similar phrase do not appear anywhere in your license and (b) otherwise make it clear that your version of the license contains terms which differ from the Mozilla Public License and Netscape Public License. (Filling in the name of the Initial Developer, Original Code or Contributor in the notice described in Exhibit A shall not of themselves be deemed to be modifications of this License.) - -7. DISCLAIMER OF WARRANTY. - - COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN ``AS IS'' BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. - -8. TERMINATION. - - This License and the rights granted hereunder will terminate automatically if You fail to comply with terms herein and fail to cure such breach within 30 days of becoming aware of the breach. All sublicenses to the Covered Code which are properly granted shall survive any termination of this License. Provisions which, by their nature, must remain in effect beyond the termination of this License shall survive. - -9. LIMITATION OF LIABILITY. - - UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL THE INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO YOU OR ANY OTHER PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THAT EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. - -10. U.S. GOVERNMENT END USERS. - - The Covered Code is a ``commercial item,'' as that term is defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of ``commercial computer software'' and ``commercial computer software documentation,'' as such terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all U.S. Government End Users acquire Covered Code with only those rights set forth herein. - -11. MISCELLANEOUS. - - This License represents the complete agreement concerning subject matter hereof. If any provision of this License is held to be unenforceable, such provision shall be reformed only to the extent necessary to make it enforceable. This License shall be governed by California law provisions (except to the extent applicable law, if any, provides otherwise), excluding its conflict-of-law provisions. With respect to disputes in which at least one party is a citizen of, or an entity chartered or registered to do business in, the United States of America: (a) unless otherwise agreed in writing, all disputes relating to this License (excepting any dispute relating to intellectual property rights) shall be subject to final and binding arbitration, with the losing party paying all costs of arbitration; (b) any arbitration relating to this Agreement shall be held in Santa Clara County, California, under the auspices of JAMS/EndDispute; and (c) any litigation relating to this Agreement shall be subject to the jurisdiction of the Federal Courts of the Northern District of California, with venue lying in Santa Clara County, California, with the losing party responsible for costs, including without limitation, court costs and reasonable attorneys fees and expenses. The application of the United Nations Convention on Contracts for the International Sale of Goods is expressly excluded. Any law or regulation which provides that the language of a contract shall be construed against the drafter shall not apply to this License. - -12. RESPONSIBILITY FOR CLAIMS. - - Except in cases where another Contributor has failed to comply with Section 3.4, You are responsible for damages arising, directly or indirectly, out of Your utilization of rights under this License, based on the number of copies of Covered Code you made available, the revenues you received from utilizing such rights, and other relevant factors. You agree to work with affected parties to distribute responsibility on an equitable basis. - -EXHIBIT A. - - ``The contents of this file are subject to the Mozilla Public License Version 1.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/ - - Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License. - - The Original Code is ______________________________________. - - The Initial Developer of the Original Code is ________________________. Portions created by ______________________ are Copyright (C) ______ _______________________. All Rights Reserved. - - Contributor(s): ______________________________________.'' - -=============================================================================== - -For the Rhino JavaScript engine js-1.6R7.jar: - - MOZILLA PUBLIC LICENSE - Version 1.1 - - --------------- - -1. Definitions. - - 1.0.1. "Commercial Use" means distribution or otherwise making the - Covered Code available to a third party. - - 1.1. "Contributor" means each entity that creates or contributes to - the creation of Modifications. - - 1.2. "Contributor Version" means the combination of the Original - Code, prior Modifications used by a Contributor, and the Modifications - made by that particular Contributor. - - 1.3. "Covered Code" means the Original Code or Modifications or the - combination of the Original Code and Modifications, in each case - including portions thereof. - - 1.4. "Electronic Distribution Mechanism" means a mechanism generally - accepted in the software development community for the electronic - transfer of data. - - 1.5. "Executable" means Covered Code in any form other than Source - Code. - - 1.6. "Initial Developer" means the individual or entity identified - as the Initial Developer in the Source Code notice required by Exhibit - A. - - 1.7. "Larger Work" means a work which combines Covered Code or - portions thereof with code not governed by the terms of this License. - - 1.8. "License" means this document. - - 1.8.1. "Licensable" means having the right to grant, to the maximum - extent possible, whether at the time of the initial grant or - subsequently acquired, any and all of the rights conveyed herein. - - 1.9. "Modifications" means any addition to or deletion from the - substance or structure of either the Original Code or any previous - Modifications. When Covered Code is released as a series of files, a - Modification is: - A. Any addition to or deletion from the contents of a file - containing Original Code or previous Modifications. - - B. Any new file that contains any part of the Original Code or - previous Modifications. - - 1.10. "Original Code" means Source Code of computer software code - which is described in the Source Code notice required by Exhibit A as - Original Code, and which, at the time of its release under this - License is not already Covered Code governed by this License. - - 1.10.1. "Patent Claims" means any patent claim(s), now owned or - hereafter acquired, including without limitation, method, process, - and apparatus claims, in any patent Licensable by grantor. - - 1.11. "Source Code" means the preferred form of the Covered Code for - making modifications to it, including all modules it contains, plus - any associated interface definition files, scripts used to control - compilation and installation of an Executable, or source code - differential comparisons against either the Original Code or another - well known, available Covered Code of the Contributor's choice. The - Source Code can be in a compressed or archival form, provided the - appropriate decompression or de-archiving software is widely available - for no charge. - - 1.12. "You" (or "Your") means an individual or a legal entity - exercising rights under, and complying with all of the terms of, this - License or a future version of this License issued under Section 6.1. - For legal entities, "You" includes any entity which controls, is - controlled by, or is under common control with You. For purposes of - this definition, "control" means (a) the power, direct or indirect, - to cause the direction or management of such entity, whether by - contract or otherwise, or (b) ownership of more than fifty percent - (50%) of the outstanding shares or beneficial ownership of such - entity. - -2. Source Code License. - - 2.1. The Initial Developer Grant. - The Initial Developer hereby grants You a world-wide, royalty-free, - non-exclusive license, subject to third party intellectual property - claims: - (a) under intellectual property rights (other than patent or - trademark) Licensable by Initial Developer to use, reproduce, - modify, display, perform, sublicense and distribute the Original - Code (or portions thereof) with or without Modifications, and/or - as part of a Larger Work; and - - (b) under Patents Claims infringed by the making, using or - selling of Original Code, to make, have made, use, practice, - sell, and offer for sale, and/or otherwise dispose of the - Original Code (or portions thereof). - - (c) the licenses granted in this Section 2.1(a) and (b) are - effective on the date Initial Developer first distributes - Original Code under the terms of this License. - - (d) Notwithstanding Section 2.1(b) above, no patent license is - granted: 1) for code that You delete from the Original Code; 2) - separate from the Original Code; or 3) for infringements caused - by: i) the modification of the Original Code or ii) the - combination of the Original Code with other software or devices. - - 2.2. Contributor Grant. - Subject to third party intellectual property claims, each Contributor - hereby grants You a world-wide, royalty-free, non-exclusive license - - (a) under intellectual property rights (other than patent or - trademark) Licensable by Contributor, to use, reproduce, modify, - display, perform, sublicense and distribute the Modifications - created by such Contributor (or portions thereof) either on an - unmodified basis, with other Modifications, as Covered Code - and/or as part of a Larger Work; and - - (b) under Patent Claims infringed by the making, using, or - selling of Modifications made by that Contributor either alone - and/or in combination with its Contributor Version (or portions - of such combination), to make, use, sell, offer for sale, have - made, and/or otherwise dispose of: 1) Modifications made by that - Contributor (or portions thereof); and 2) the combination of - Modifications made by that Contributor with its Contributor - Version (or portions of such combination). - - (c) the licenses granted in Sections 2.2(a) and 2.2(b) are - effective on the date Contributor first makes Commercial Use of - the Covered Code. - - (d) Notwithstanding Section 2.2(b) above, no patent license is - granted: 1) for any code that Contributor has deleted from the - Contributor Version; 2) separate from the Contributor Version; - 3) for infringements caused by: i) third party modifications of - Contributor Version or ii) the combination of Modifications made - by that Contributor with other software (except as part of the - Contributor Version) or other devices; or 4) under Patent Claims - infringed by Covered Code in the absence of Modifications made by - that Contributor. - -3. Distribution Obligations. - - 3.1. Application of License. - The Modifications which You create or to which You contribute are - governed by the terms of this License, including without limitation - Section 2.2. The Source Code version of Covered Code may be - distributed only under the terms of this License or a future version - of this License released under Section 6.1, and You must include a - copy of this License with every copy of the Source Code You - distribute. You may not offer or impose any terms on any Source Code - version that alters or restricts the applicable version of this - License or the recipients' rights hereunder. However, You may include - an additional document offering the additional rights described in - Section 3.5. - - 3.2. Availability of Source Code. - Any Modification which You create or to which You contribute must be - made available in Source Code form under the terms of this License - either on the same media as an Executable version or via an accepted - Electronic Distribution Mechanism to anyone to whom you made an - Executable version available; and if made available via Electronic - Distribution Mechanism, must remain available for at least twelve (12) - months after the date it initially became available, or at least six - (6) months after a subsequent version of that particular Modification - has been made available to such recipients. You are responsible for - ensuring that the Source Code version remains available even if the - Electronic Distribution Mechanism is maintained by a third party. - - 3.3. Description of Modifications. - You must cause all Covered Code to which You contribute to contain a - file documenting the changes You made to create that Covered Code and - the date of any change. You must include a prominent statement that - the Modification is derived, directly or indirectly, from Original - Code provided by the Initial Developer and including the name of the - Initial Developer in (a) the Source Code, and (b) in any notice in an - Executable version or related documentation in which You describe the - origin or ownership of the Covered Code. - - 3.4. Intellectual Property Matters - (a) Third Party Claims. - If Contributor has knowledge that a license under a third party's - intellectual property rights is required to exercise the rights - granted by such Contributor under Sections 2.1 or 2.2, - Contributor must include a text file with the Source Code - distribution titled "LEGAL" which describes the claim and the - party making the claim in sufficient detail that a recipient will - know whom to contact. If Contributor obtains such knowledge after - the Modification is made available as described in Section 3.2, - Contributor shall promptly modify the LEGAL file in all copies - Contributor makes available thereafter and shall take other steps - (such as notifying appropriate mailing lists or newsgroups) - reasonably calculated to inform those who received the Covered - Code that new knowledge has been obtained. - - (b) Contributor APIs. - If Contributor's Modifications include an application programming - interface and Contributor has knowledge of patent licenses which - are reasonably necessary to implement that API, Contributor must - also include this information in the LEGAL file. - - (c) Representations. - Contributor represents that, except as disclosed pursuant to - Section 3.4(a) above, Contributor believes that Contributor's - Modifications are Contributor's original creation(s) and/or - Contributor has sufficient rights to grant the rights conveyed by - this License. - - 3.5. Required Notices. - You must duplicate the notice in Exhibit A in each file of the Source - Code. If it is not possible to put such notice in a particular Source - Code file due to its structure, then You must include such notice in a - location (such as a relevant directory) where a user would be likely - to look for such a notice. If You created one or more Modification(s) - You may add your name as a Contributor to the notice described in - Exhibit A. You must also duplicate this License in any documentation - for the Source Code where You describe recipients' rights or ownership - rights relating to Covered Code. You may choose to offer, and to - charge a fee for, warranty, support, indemnity or liability - obligations to one or more recipients of Covered Code. However, You - may do so only on Your own behalf, and not on behalf of the Initial - Developer or any Contributor. You must make it absolutely clear than - any such warranty, support, indemnity or liability obligation is - offered by You alone, and You hereby agree to indemnify the Initial - Developer and every Contributor for any liability incurred by the - Initial Developer or such Contributor as a result of warranty, - support, indemnity or liability terms You offer. - - 3.6. Distribution of Executable Versions. - You may distribute Covered Code in Executable form only if the - requirements of Section 3.1-3.5 have been met for that Covered Code, - and if You include a notice stating that the Source Code version of - the Covered Code is available under the terms of this License, - including a description of how and where You have fulfilled the - obligations of Section 3.2. The notice must be conspicuously included - in any notice in an Executable version, related documentation or - collateral in which You describe recipients' rights relating to the - Covered Code. You may distribute the Executable version of Covered - Code or ownership rights under a license of Your choice, which may - contain terms different from this License, provided that You are in - compliance with the terms of this License and that the license for the - Executable version does not attempt to limit or alter the recipient's - rights in the Source Code version from the rights set forth in this - License. If You distribute the Executable version under a different - license You must make it absolutely clear that any terms which differ - from this License are offered by You alone, not by the Initial - Developer or any Contributor. You hereby agree to indemnify the - Initial Developer and every Contributor for any liability incurred by - the Initial Developer or such Contributor as a result of any such - terms You offer. - - 3.7. Larger Works. - You may create a Larger Work by combining Covered Code with other code - not governed by the terms of this License and distribute the Larger - Work as a single product. In such a case, You must make sure the - requirements of this License are fulfilled for the Covered Code. - -4. Inability to Comply Due to Statute or Regulation. - - If it is impossible for You to comply with any of the terms of this - License with respect to some or all of the Covered Code due to - statute, judicial order, or regulation then You must: (a) comply with - the terms of this License to the maximum extent possible; and (b) - describe the limitations and the code they affect. Such description - must be included in the LEGAL file described in Section 3.4 and must - be included with all distributions of the Source Code. Except to the - extent prohibited by statute or regulation, such description must be - sufficiently detailed for a recipient of ordinary skill to be able to - understand it. - -5. Application of this License. - - This License applies to code to which the Initial Developer has - attached the notice in Exhibit A and to related Covered Code. - -6. Versions of the License. - - 6.1. New Versions. - Netscape Communications Corporation ("Netscape") may publish revised - and/or new versions of the License from time to time. Each version - will be given a distinguishing version number. - - 6.2. Effect of New Versions. - Once Covered Code has been published under a particular version of the - License, You may always continue to use it under the terms of that - version. You may also choose to use such Covered Code under the terms - of any subsequent version of the License published by Netscape. No one - other than Netscape has the right to modify the terms applicable to - Covered Code created under this License. - - 6.3. Derivative Works. - If You create or use a modified version of this License (which you may - only do in order to apply it to code which is not already Covered Code - governed by this License), You must (a) rename Your license so that - the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape", - "MPL", "NPL" or any confusingly similar phrase do not appear in your - license (except to note that your license differs from this License) - and (b) otherwise make it clear that Your version of the license - contains terms which differ from the Mozilla Public License and - Netscape Public License. (Filling in the name of the Initial - Developer, Original Code or Contributor in the notice described in - Exhibit A shall not of themselves be deemed to be modifications of - this License.) - -7. DISCLAIMER OF WARRANTY. - - COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, - WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, - WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF - DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. - THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE - IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, - YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE - COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER - OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF - ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. - -8. TERMINATION. - - 8.1. This License and the rights granted hereunder will terminate - automatically if You fail to comply with terms herein and fail to cure - such breach within 30 days of becoming aware of the breach. All - sublicenses to the Covered Code which are properly granted shall - survive any termination of this License. Provisions which, by their - nature, must remain in effect beyond the termination of this License - shall survive. - - 8.2. If You initiate litigation by asserting a patent infringement - claim (excluding declatory judgment actions) against Initial Developer - or a Contributor (the Initial Developer or Contributor against whom - You file such action is referred to as "Participant") alleging that: - - (a) such Participant's Contributor Version directly or indirectly - infringes any patent, then any and all rights granted by such - Participant to You under Sections 2.1 and/or 2.2 of this License - shall, upon 60 days notice from Participant terminate prospectively, - unless if within 60 days after receipt of notice You either: (i) - agree in writing to pay Participant a mutually agreeable reasonable - royalty for Your past and future use of Modifications made by such - Participant, or (ii) withdraw Your litigation claim with respect to - the Contributor Version against such Participant. If within 60 days - of notice, a reasonable royalty and payment arrangement are not - mutually agreed upon in writing by the parties or the litigation claim - is not withdrawn, the rights granted by Participant to You under - Sections 2.1 and/or 2.2 automatically terminate at the expiration of - the 60 day notice period specified above. - - (b) any software, hardware, or device, other than such Participant's - Contributor Version, directly or indirectly infringes any patent, then - any rights granted to You by such Participant under Sections 2.1(b) - and 2.2(b) are revoked effective as of the date You first made, used, - sold, distributed, or had made, Modifications made by that - Participant. - - 8.3. If You assert a patent infringement claim against Participant - alleging that such Participant's Contributor Version directly or - indirectly infringes any patent where such claim is resolved (such as - by license or settlement) prior to the initiation of patent - infringement litigation, then the reasonable value of the licenses - granted by such Participant under Sections 2.1 or 2.2 shall be taken - into account in determining the amount or value of any payment or - license. - - 8.4. In the event of termination under Sections 8.1 or 8.2 above, - all end user license agreements (excluding distributors and resellers) - which have been validly granted by You or any distributor hereunder - prior to termination shall survive termination. - -9. LIMITATION OF LIABILITY. - - UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT - (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL - DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE, - OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR - ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY - CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, - WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER - COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN - INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF - LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY - RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW - PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE - EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO - THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. - -10. U.S. GOVERNMENT END USERS. - - The Covered Code is a "commercial item," as that term is defined in - 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer - software" and "commercial computer software documentation," as such - terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 - C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), - all U.S. Government End Users acquire Covered Code with only those - rights set forth herein. - -11. MISCELLANEOUS. - - This License represents the complete agreement concerning subject - matter hereof. If any provision of this License is held to be - unenforceable, such provision shall be reformed only to the extent - necessary to make it enforceable. This License shall be governed by - California law provisions (except to the extent applicable law, if - any, provides otherwise), excluding its conflict-of-law provisions. - With respect to disputes in which at least one party is a citizen of, - or an entity chartered or registered to do business in the United - States of America, any litigation relating to this License shall be - subject to the jurisdiction of the Federal Courts of the Northern - District of California, with venue lying in Santa Clara County, - California, with the losing party responsible for costs, including - without limitation, court costs and reasonable attorneys' fees and - expenses. The application of the United Nations Convention on - Contracts for the International Sale of Goods is expressly excluded. - Any law or regulation which provides that the language of a contract - shall be construed against the drafter shall not apply to this - License. - -12. RESPONSIBILITY FOR CLAIMS. - - As between Initial Developer and the Contributors, each party is - responsible for claims and damages arising, directly or indirectly, - out of its utilization of rights under this License and You agree to - work with Initial Developer and Contributors to distribute such - responsibility on an equitable basis. Nothing herein is intended or - shall be deemed to constitute any admission of liability. - -13. MULTIPLE-LICENSED CODE. - - Initial Developer may designate portions of the Covered Code as - "Multiple-Licensed". "Multiple-Licensed" means that the Initial - Developer permits you to utilize portions of the Covered Code under - Your choice of the NPL or the alternative licenses, if any, specified - by the Initial Developer in the file described in Exhibit A. - -EXHIBIT A -Mozilla Public License. - - ``The contents of this file are subject to the Mozilla Public License - Version 1.1 (the "License"); you may not use this file except in - compliance with the License. You may obtain a copy of the License at - http://www.mozilla.org/MPL/ - - Software distributed under the License is distributed on an "AS IS" - basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the - License for the specific language governing rights and limitations - under the License. - - The Original Code is ______________________________________. - - The Initial Developer of the Original Code is ________________________. - Portions created by ______________________ are Copyright (C) ______ - _______________________. All Rights Reserved. - - Contributor(s): ______________________________________. - - Alternatively, the contents of this file may be used under the terms - of the _____ license (the "[___] License"), in which case the - provisions of [______] License are applicable instead of those - above. If you wish to allow use of your version of this file only - under the terms of the [____] License and not to allow others to use - your version of this file under the MPL, indicate your decision by - deleting the provisions above and replace them with the notice and - other provisions required by the [___] License. If you do not delete - the provisions above, a recipient may use your version of this file - under either the MPL or the [___] License." - - [NOTE: The text of this Exhibit A may differ slightly from the text of - the notices in the Source Code files of the Original Code. You should - use the text of this Exhibit A rather than the text found in the - Original Code Source Code for Your Modifications.] - - -=============================================================================== -Groovy (groovy-all-minimal-1.5.4.jar): - -/* - $Id: LICENSE.txt 156 2003-09-26 17:36:37Z jstrachan $ - - Copyright 2003 (C) James Strachan and Bob Mcwhirter. All Rights Reserved. - - Redistribution and use of this software and associated documentation - ("Software"), with or without modification, are permitted provided - that the following conditions are met: - - 1. Redistributions of source code must retain copyright - statements and notices. Redistributions must also contain a - copy of this document. - - 2. Redistributions in binary form must reproduce the - above copyright notice, this list of conditions and the - following disclaimer in the documentation and/or other - materials provided with the distribution. - - 3. The name "groovy" must not be used to endorse or promote - products derived from this Software without prior written - permission of The Codehaus. For written permission, - please contact info@codehaus.org. - - 4. Products derived from this Software may not be called "groovy" - nor may "groovy" appear in their names without prior written - permission of The Codehaus. "groovy" is a registered - trademark of The Codehaus. - - 5. Due credit should be given to The Codehaus - - http://groovy.codehaus.org/ - - THIS SOFTWARE IS PROVIDED BY THE CODEHAUS AND CONTRIBUTORS - ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT - NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL - THE CODEHAUS OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, - INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, - STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED - OF THE POSSIBILITY OF SUCH DAMAGE. - - */ - -=============================================================================== - -Jython (jython-2.2.jar): - -A. HISTORY OF THE SOFTWARE -======================= - -JPython was created in late 1997 by Jim Hugunin. Jim was also the -primary developer while he was at CNRI. In February 1999 Barry Warsaw -took over as primary developer and released JPython version 1.1. - -In October 2000 Barry helped move the software to SourceForge -where it was renamed to Jython. Jython 2.0 and on are licensed under -the Jython specific license below. - -The standard library is covered by the Python Software Foundation -license. See the LICENSE_CPython.txt file for details. - -The zxJDBC package was written by Brian Zimmer and originally licensed -under the GNU Public License. The package is now covered by the Jython -Software License. - -The command line interpreter is covered by the Apache Software -License. See the LICENSE_Apache.txt file for details. - -B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING JYTHON -================================ - -Copyright (c) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Jython Developers -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - - - Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - - - Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the distribution. - - - Neither the name of the Jython Developers nor the names of - its contributors may be used to endorse or promote products - derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR -CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY -OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - - - -JPython 1.1.x Software License. -========================= - -______________________________________________________________________ - -IMPORTANT: PLEASE READ THE FOLLOWING AGREEMENT CAREFULLY. - -BY CLICKING ON THE "ACCEPT" BUTTON WHERE INDICATED, OR BY INSTALLING, -COPYING OR OTHERWISE USING THE SOFTWARE, YOU ARE DEEMED TO HAVE AGREED TO -THE TERMS AND CONDITIONS OF THIS AGREEMENT. - -______________________________________________________________________ - -JPython version 1.1.x - - 1. This LICENSE AGREEMENT is between the Corporation for National Research - Initiatives, having an office at 1895 Preston White Drive, Reston, VA - 20191 ("CNRI"), and the Individual or Organization ("Licensee") - accessing and using JPython version 1.1.x in source or binary form and - its associated documentation as provided herein ("Software"). - - 2. Subject to the terms and conditions of this License Agreement, CNRI - hereby grants Licensee a non-exclusive, non-transferable, royalty-free, - world-wide license to reproduce, analyze, test, perform and/or display - publicly, prepare derivative works, distribute, and otherwise use the - Software alone or in any derivative version, provided, however, that - CNRI's License Agreement and CNRI's notice of copyright, i.e., - "Copyright ©1996-1999 Corporation for National Research Initiatives; - All Rights Reserved" are both retained in the Software, alone or in any - derivative version prepared by Licensee. - - Alternatively, in lieu of CNRI's License Agreement, Licensee may - substitute the following text (omitting the quotes), provided, however, - that such text is displayed prominently in the Software alone or in any - derivative version prepared by Licensee: "JPython (Version 1.1.x) is - made available subject to the terms and conditions in CNRI's License - Agreement. This Agreement may be located on the Internet using the - following unique, persistent identifier (known as a handle): - 1895.22/1006. The License may also be obtained from a proxy server on - the Web using the following URL: http://hdl.handle.net/1895.22/1006." - - 3. In the event Licensee prepares a derivative work that is based on or - incorporates the Software or any part thereof, and wants to make the - derivative work available to the public as provided herein, then - Licensee hereby agrees to indicate in any such work, in a prominently - visible way, the nature of the modifications made to CNRI's Software. - - 4. Licensee may not use CNRI trademarks or trade name, including JPython - or CNRI, in a trademark sense to endorse or promote products or - services of Licensee, or any third party. Licensee may use the mark - JPython in connection with Licensee's derivative versions that are - based on or incorporate the Software, but only in the form - "JPython-based ___________________," or equivalent. - - 5. CNRI is making the Software available to Licensee on an "AS IS" basis. - CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY - OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND DISCLAIMS ANY - REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY - PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT INFRINGE - ANY THIRD PARTY RIGHTS. - - 6. CNRI SHALL NOT BE LIABLE TO LICENSEE OR OTHER USERS OF THE SOFTWARE FOR - ANY INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF - USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY DERIVATIVE - THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. SOME STATES DO NOT - ALLOW THE LIMITATION OR EXCLUSION OF LIABILITY SO THE ABOVE DISCLAIMER - MAY NOT APPLY TO LICENSEE. - - 7. This License Agreement may be terminated by CNRI (i) immediately upon - written notice from CNRI of any material breach by the Licensee, if the - nature of the breach is such that it cannot be promptly remedied; or - (ii) sixty (60) days following notice from CNRI to Licensee of a - material remediable breach, if Licensee has not remedied such breach - within that sixty-day period. - - 8. This License Agreement shall be governed by and interpreted in all - respects by the law of the State of Virginia, excluding conflict of law - provisions. Nothing in this Agreement shall be deemed to create any - relationship of agency, partnership, or joint venture between CNRI and - Licensee. - - 9. By clicking on the "ACCEPT" button where indicated, or by installing, - copying or otherwise using the Software, Licensee agrees to be bound by - the terms and conditions of this License Agreement. - - -=============================================================================== - -The jars; -activation-1.1.jar, -jaxb-api-2.1.jar, -jaxb-impl-2.1.6.jar, -jaxb-xjc-2.1.4.jar, -jaxb2-reflection-2.1.4.jar, -jsr181-api-1.0-MR1.jar, -jsr250-api-1.0.jar, -jaxws-api-2.1-1.jar, -mail-1.4.jar, -saaj-api-1.3.jar, -servlet-api-2.5.jar, -stax-api-1.0-commons-cli-1.0.jar2.jar - -COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0 - - - 1. Definitions. - - 1.1. "Contributor" means each individual or entity that - creates or contributes to the creation of Modifications. - - 1.2. "Contributor Version" means the combination of the - Original Software, prior Modifications used by a - Contributor (if any), and the Modifications made by that - particular Contributor. - - 1.3. "Covered Software" means (a) the Original Software, or - (b) Modifications, or (c) the combination of files - containing Original Software with files containing - Modifications, in each case including portions thereof. - - 1.4. "Executable" means the Covered Software in any form - other than Source Code. - - 1.5. "Initial Developer" means the individual or entity - that first makes Original Software available under this - License. - - 1.6. "Larger Work" means a work which combines Covered - Software or portions thereof with code not governed by the - terms of this License. - - 1.7. "License" means this document. - - 1.8. "Licensable" means having the right to grant, to the - maximum extent possible, whether at the time of the initial - grant or subsequently acquired, any and all of the rights - conveyed herein. - - 1.9. "Modifications" means the Source Code and Executable - form of any of the following: - - A. Any file that results from an addition to, - deletion from or modification of the contents of a - file containing Original Software or previous - Modifications; - - B. Any new file that contains any part of the - Original Software or previous Modification; or - - C. Any new file that is contributed or otherwise made - available under the terms of this License. - - 1.10. "Original Software" means the Source Code and - Executable form of computer software code that is - originally released under this License. - - 1.11. "Patent Claims" means any patent claim(s), now owned - or hereafter acquired, including without limitation, - method, process, and apparatus claims, in any patent - Licensable by grantor. - - 1.12. "Source Code" means (a) the common form of computer - software code in which modifications are made and (b) - associated documentation included in or with such code. - - 1.13. "You" (or "Your") means an individual or a legal - entity exercising rights under, and complying with all of - the terms of, this License. For legal entities, "You" - includes any entity which controls, is controlled by, or is - under common control with You. For purposes of this - definition, "control" means (a) the power, direct or - indirect, to cause the direction or management of such - entity, whether by contract or otherwise, or (b) ownership - of more than fifty percent (50%) of the outstanding shares - or beneficial ownership of such entity. - - 2. License Grants. - - 2.1. The Initial Developer Grant. - - Conditioned upon Your compliance with Section 3.1 below and - subject to third party intellectual property claims, the - Initial Developer hereby grants You a world-wide, - royalty-free, non-exclusive license: - - (a) under intellectual property rights (other than - patent or trademark) Licensable by Initial Developer, - to use, reproduce, modify, display, perform, - sublicense and distribute the Original Software (or - portions thereof), with or without Modifications, - and/or as part of a Larger Work; and - - (b) under Patent Claims infringed by the making, - using or selling of Original Software, to make, have - made, use, practice, sell, and offer for sale, and/or - otherwise dispose of the Original Software (or - portions thereof). - - (c) The licenses granted in Sections 2.1(a) and (b) - are effective on the date Initial Developer first - distributes or otherwise makes the Original Software - available to a third party under the terms of this - License. - - (d) Notwithstanding Section 2.1(b) above, no patent - license is granted: (1) for code that You delete from - the Original Software, or (2) for infringements - caused by: (i) the modification of the Original - Software, or (ii) the combination of the Original - Software with other software or devices. - - 2.2. Contributor Grant. - - Conditioned upon Your compliance with Section 3.1 below and - subject to third party intellectual property claims, each - Contributor hereby grants You a world-wide, royalty-free, - non-exclusive license: - - (a) under intellectual property rights (other than - patent or trademark) Licensable by Contributor to - use, reproduce, modify, display, perform, sublicense - and distribute the Modifications created by such - Contributor (or portions thereof), either on an - unmodified basis, with other Modifications, as - Covered Software and/or as part of a Larger Work; and - - - (b) under Patent Claims infringed by the making, - using, or selling of Modifications made by that - Contributor either alone and/or in combination with - its Contributor Version (or portions of such - combination), to make, use, sell, offer for sale, - have made, and/or otherwise dispose of: (1) - Modifications made by that Contributor (or portions - thereof); and (2) the combination of Modifications - made by that Contributor with its Contributor Version - (or portions of such combination). - - (c) The licenses granted in Sections 2.2(a) and - 2.2(b) are effective on the date Contributor first - distributes or otherwise makes the Modifications - available to a third party. - - (d) Notwithstanding Section 2.2(b) above, no patent - license is granted: (1) for any code that Contributor - has deleted from the Contributor Version; (2) for - infringements caused by: (i) third party - modifications of Contributor Version, or (ii) the - combination of Modifications made by that Contributor - with other software (except as part of the - Contributor Version) or other devices; or (3) under - Patent Claims infringed by Covered Software in the - absence of Modifications made by that Contributor. - - 3. Distribution Obligations. - - 3.1. Availability of Source Code. - - Any Covered Software that You distribute or otherwise make - available in Executable form must also be made available in - Source Code form and that Source Code form must be - distributed only under the terms of this License. You must - include a copy of this License with every copy of the - Source Code form of the Covered Software You distribute or - otherwise make available. You must inform recipients of any - such Covered Software in Executable form as to how they can - obtain such Covered Software in Source Code form in a - reasonable manner on or through a medium customarily used - for software exchange. - - 3.2. Modifications. - - The Modifications that You create or to which You - contribute are governed by the terms of this License. You - represent that You believe Your Modifications are Your - original creation(s) and/or You have sufficient rights to - grant the rights conveyed by this License. - - 3.3. Required Notices. - - You must include a notice in each of Your Modifications - that identifies You as the Contributor of the Modification. - You may not remove or alter any copyright, patent or - trademark notices contained within the Covered Software, or - any notices of licensing or any descriptive text giving - attribution to any Contributor or the Initial Developer. - - 3.4. Application of Additional Terms. - - You may not offer or impose any terms on any Covered - Software in Source Code form that alters or restricts the - applicable version of this License or the recipients' - rights hereunder. You may choose to offer, and to charge a - fee for, warranty, support, indemnity or liability - obligations to one or more recipients of Covered Software. - However, you may do so only on Your own behalf, and not on - behalf of the Initial Developer or any Contributor. You - must make it absolutely clear that any such warranty, - support, indemnity or liability obligation is offered by - You alone, and You hereby agree to indemnify the Initial - Developer and every Contributor for any liability incurred - by the Initial Developer or such Contributor as a result of - warranty, support, indemnity or liability terms You offer. - - - 3.5. Distribution of Executable Versions. - - You may distribute the Executable form of the Covered - Software under the terms of this License or under the terms - of a license of Your choice, which may contain terms - different from this License, provided that You are in - compliance with the terms of this License and that the - license for the Executable form does not attempt to limit - or alter the recipient's rights in the Source Code form - from the rights set forth in this License. If You - distribute the Covered Software in Executable form under a - different license, You must make it absolutely clear that - any terms which differ from this License are offered by You - alone, not by the Initial Developer or Contributor. You - hereby agree to indemnify the Initial Developer and every - Contributor for any liability incurred by the Initial - Developer or such Contributor as a result of any such terms - You offer. - - 3.6. Larger Works. - - You may create a Larger Work by combining Covered Software - with other code not governed by the terms of this License - and distribute the Larger Work as a single product. In such - a case, You must make sure the requirements of this License - are fulfilled for the Covered Software. - - 4. Versions of the License. - - 4.1. New Versions. - - Sun Microsystems, Inc. is the initial license steward and - may publish revised and/or new versions of this License - from time to time. Each version will be given a - distinguishing version number. Except as provided in - Section 4.3, no one other than the license steward has the - right to modify this License. - - 4.2. Effect of New Versions. - - You may always continue to use, distribute or otherwise - make the Covered Software available under the terms of the - version of the License under which You originally received - the Covered Software. If the Initial Developer includes a - notice in the Original Software prohibiting it from being - distributed or otherwise made available under any - subsequent version of the License, You must distribute and - make the Covered Software available under the terms of the - version of the License under which You originally received - the Covered Software. Otherwise, You may also choose to - use, distribute or otherwise make the Covered Software - available under the terms of any subsequent version of the - License published by the license steward. - - 4.3. Modified Versions. - - When You are an Initial Developer and You want to create a - new license for Your Original Software, You may create and - use a modified version of this License if You: (a) rename - the license and remove any references to the name of the - license steward (except to note that the license differs - from this License); and (b) otherwise make it clear that - the license contains terms which differ from this License. - - - 5. DISCLAIMER OF WARRANTY. - - COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" - BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, - INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED - SOFTWARE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR - PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND - PERFORMANCE OF THE COVERED SOFTWARE IS WITH YOU. SHOULD ANY - COVERED SOFTWARE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE - INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF - ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF - WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF - ANY COVERED SOFTWARE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS - DISCLAIMER. - - 6. TERMINATION. - - 6.1. This License and the rights granted hereunder will - terminate automatically if You fail to comply with terms - herein and fail to cure such breach within 30 days of - becoming aware of the breach. Provisions which, by their - nature, must remain in effect beyond the termination of - this License shall survive. - - 6.2. If You assert a patent infringement claim (excluding - declaratory judgment actions) against Initial Developer or - a Contributor (the Initial Developer or Contributor against - whom You assert such claim is referred to as "Participant") - alleging that the Participant Software (meaning the - Contributor Version where the Participant is a Contributor - or the Original Software where the Participant is the - Initial Developer) directly or indirectly infringes any - patent, then any and all rights granted directly or - indirectly to You by such Participant, the Initial - Developer (if the Initial Developer is not the Participant) - and all Contributors under Sections 2.1 and/or 2.2 of this - License shall, upon 60 days notice from Participant - terminate prospectively and automatically at the expiration - of such 60 day notice period, unless if within such 60 day - period You withdraw Your claim with respect to the - Participant Software against such Participant either - unilaterally or pursuant to a written agreement with - Participant. - - 6.3. In the event of termination under Sections 6.1 or 6.2 - above, all end user licenses that have been validly granted - by You or any distributor hereunder prior to termination - (excluding licenses granted to You by any distributor) - shall survive termination. - - 7. LIMITATION OF LIABILITY. - - UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT - (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE - INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF - COVERED SOFTWARE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE - LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR - CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT - LIMITATION, DAMAGES FOR LOST PROFITS, LOSS OF GOODWILL, WORK - STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER - COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN - INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF - LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL - INJURY RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT - APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO - NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR - CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT - APPLY TO YOU. - - 8. U.S. GOVERNMENT END USERS. - - The Covered Software is a "commercial item," as that term is - defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial - computer software" (as that term is defined at 48 C.F.R. - 252.227-7014(a)(1)) and "commercial computer software - documentation" as such terms are used in 48 C.F.R. 12.212 (Sept. - 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 - through 227.7202-4 (June 1995), all U.S. Government End Users - acquire Covered Software with only those rights set forth herein. - This U.S. Government Rights clause is in lieu of, and supersedes, - any other FAR, DFAR, or other clause or provision that addresses - Government rights in computer software under this License. - - 9. MISCELLANEOUS. - - This License represents the complete agreement concerning subject - matter hereof. If any provision of this License is held to be - unenforceable, such provision shall be reformed only to the - extent necessary to make it enforceable. This License shall be - governed by the law of the jurisdiction specified in a notice - contained within the Original Software (except to the extent - applicable law, if any, provides otherwise), excluding such - jurisdiction's conflict-of-law provisions. Any litigation - relating to this License shall be subject to the jurisdiction of - the courts located in the jurisdiction and venue specified in a - notice contained within the Original Software, with the losing - party responsible for costs, including, without limitation, court - costs and reasonable attorneys' fees and expenses. The - application of the United Nations Convention on Contracts for the - International Sale of Goods is expressly excluded. Any law or - regulation which provides that the language of a contract shall - be construed against the drafter shall not apply to this License. - You agree that You alone are responsible for compliance with the - United States export administration regulations (and the export - control laws and regulation of any other countries) when You use, - distribute or otherwise make available any Covered Software. - - 10. RESPONSIBILITY FOR CLAIMS. - - As between Initial Developer and the Contributors, each party is - responsible for claims and damages arising, directly or - indirectly, out of its utilization of rights under this License - and You agree to work with Initial Developer and Contributors to - distribute such responsibility on an equitable basis. Nothing - herein is intended or shall be deemed to constitute any admission - of liability. - -=============================================================================== - -JRuby (jruby-complete-1.0.jar), wsdl4j (wsdl4j-1.6.2.jar): - -Common Public License - v 1.0 - -THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. - -1. DEFINITIONS - -"Contribution" means: - - a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and - b) in the case of each subsequent Contributor: - - i) changes to the Program, and - - ii) additions to the Program; - - where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. Contributions do not include additions to the Program which: (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program. - -"Contributor" means any person or entity that distributes the Program. - -"Licensed Patents " mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program. - -"Program" means the Contributions distributed in accordance with this Agreement. - -"Recipient" means anyone who receives the Program under this Agreement, including all Contributors. - -2. GRANT OF RIGHTS - - a) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code form. - - b) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder. - - c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the Program, it is Recipient's responsibility to acquire that license before distributing the Program. - - d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement. - -3. REQUIREMENTS - -A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that: - - a) it complies with the terms and conditions of this Agreement; and - - b) its license agreement: - - i) effectively disclaims on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose; - - ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits; - - iii) states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and - - iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange. - -When the Program is made available in source code form: - - a) it must be made available under this Agreement; and - - b) a copy of this Agreement must be included with each copy of the Program. - -Contributors may not remove or alter any copyright notices contained within the Program. - -Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows subsequent Recipients to identify the originator of the Contribution. - -4. COMMERCIAL DISTRIBUTION - -Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor ("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense. - -For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages. - -5. NO WARRANTY - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely responsible for determining the appropriateness of using and distributing the Program and assumes all risks associated with its exercise of rights under this Agreement, including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, programs or equipment, and unavailability or interruption of operations. - -6. DISCLAIMER OF LIABILITY - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -7. GENERAL - -If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable. - -If Recipient institutes patent litigation against a Contributor with respect to a patent applicable to software (including a cross-claim or counterclaim in a lawsuit), then any patent licenses granted by that Contributor to such Recipient under this Agreement shall terminate as of the date such litigation is filed. In addition, if Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed. - -All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive. - -Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the right to modify this Agreement. IBM is the initial Agreement Steward. IBM may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the new version. Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or otherwise. All rights in the Program not expressly granted under this Agreement are reserved. - -This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation. - -=============================================================================== - -backport-util-concurrent-2.2.jar: - -The software comprising backport-util-concurrent is based in large -part on the code from JSR166, and the package dl.util.concurrent. -The software has been released to the public domain, as explained at: -http://creativecommons.org/licenses/publicdomain, excepting portions -of the class -edu.emory.mathcs.backport.java.util.concurrent.CopyOnWriteArrayList, -which were adapted from class java.util.ArrayList, written by Sun -Microsystems, Inc, which are used with kind permission, and subject -to the following: - -Copyright 2002-2004 Sun Microsystems, Inc. All rights reserved. Use is -subject to the following license terms. - - "Sun hereby grants you a non-exclusive, worldwide, non-transferrable - license to use and distribute the Java Software technologies as part - of a larger work in source and binary forms, with or without - modification, provided that the following conditions are met: - - -Neither the name of or trademarks of Sun may be used to endorse or - promote products derived from the Java Software technology without - specific prior written permission. - - -Redistributions of source or binary code must be accompanied by the - following notice and disclaimers: - - Portions copyright Sun Microsystems, Inc. Used with kind permission. - - This software is provided AS IS, without a warranty of any kind. ALL - EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND - WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF - MERCHANTABILITY, FITNESS FOR A PARTICULAR PUPOSE OR - NON-INFRINGEMENT, ARE HEREBY EXCLUDED. SUN - MICROSYSTEMS, INC. AND ITS LICENSORS SHALL NOT BE LIABLE - FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF - USING, MODIFYING OR DISTRIBUTING THE SOFTWARE OR ITS - DERIVATIVES. IN NO EVENT WILL SUN MICROSYSTEMS, INC. OR - ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR - DATA, OR FOR DIRECT, INDIRECT,CONSQUENTIAL, INCIDENTAL - OR PUNITIVE DAMAGES, HOWEVER CAUSED AND REGARDLESS OF - THE THEORY OR LIABILITY, ARISING OUT OF THE USE OF OR - INABILITY TO USE SOFTWARE, EVEN IF SUN MICROSYSTEMS, INC. - HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - - You acknowledge that Software is not designed, licensed or intended for - use in the design, construction, operation or maintenance of any nuclear - facility." - -=============================================================================== -rome-0.9.jar - -Copyright 2004 Sun Microsystems, Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. - -=============================================================================== -jdom-1.0.jar : - -$Id: LICENSE.txt,v 1.11 2004/02/06 09:32:57 jhunter Exp $ - - Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin. - All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions - are met: - - 1. Redistributions of source code must retain the above copyright - notice, this list of conditions, and the following disclaimer. - - 2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions, and the disclaimer that follows - these conditions in the documentation and/or other materials - provided with the distribution. - - 3. The name "JDOM" must not be used to endorse or promote products - derived from this software without prior written permission. For - written permission, please contact . - - 4. Products derived from this software may not be called "JDOM", nor - may "JDOM" appear in their name, without prior written permission - from the JDOM Project Management . - - In addition, we request (but do not require) that you include in the - end-user documentation provided with the redistribution and/or in the - software itself an acknowledgement equivalent to the following: - "This product includes software developed by the - JDOM Project (http://www.jdom.org/)." - Alternatively, the acknowledgment may be graphical using the logos - available at http://www.jdom.org/images/logos. - - THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED - WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES - OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - DISCLAIMED. IN NO EVENT SHALL THE JDOM AUTHORS OR THE PROJECT - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF - USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT - OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - SUCH DAMAGE. - - This software consists of voluntary contributions made by many - individuals on behalf of the JDOM Project and was originally - created by Jason Hunter and - Brett McLaughlin . For more information - on the JDOM Project, please see . - -======================================================================== - -dwr-2.0.1.jar : - -/* -* Copyright 2005 Joe Walker -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ - -========================================================================== - -dojotoolkit V1.0.0: - -The "New" BSD License: -********************** - -Copyright (c) 2005, The Dojo Foundation -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - * Neither the name of the Dojo Foundation nor the names of its contributors - may be used to endorse or promote products derived from this software - without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -================================================================================ - -The module tuscany-implementation-script-1.0-incubating.jar temporarily includes -one file under the below BSD license with the following copyright: - - Copyright (c) 2006, Sun Microsystems, Inc. - All rights reserved. - -BSD license: - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are met: - - - Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - - - Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - - - Neither the name of the Sun Microsystems, Inc. nor the names of - contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND - CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED - WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE - COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY - DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF - USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE - OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH - DAMAGE. - -================================================================================ - -The serp-1.12.0.jar is distributed under the BSD license with the following copyright: - - Copyright (c) 2002, A. Abram White - All rights reserved. - -BSD license: - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are met: - - - Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - - - Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - - - Neither the name of the Sun Microsystems, Inc. nor the names of - contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND - CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED - WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE - COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY - DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF - USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE - OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH - DAMAGE. - -================================================================================ -The javacc-3.2.jar, and howl-1.0.1-1.jar are distributed under the BSD license: - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - - * Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED -TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR -CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -================================================================================ - -The tuscany-assembly-xsd jar includes XSD files under the following SCA Collaboration license: - -License for the Service Component Architecture JavaDoc, Interface -Definition files and XSD files. - -The Service Component Architecture JavaDoc, Interface Definition files, -and XSD files are being provided by the copyright holders under the -following license. By using and/or copying this work, you agree that -you have read, understood and will comply with the following terms and -conditions: - -Permission to copy, display, make derivative works of, and distribute -the Service Component Architecture JavaDoc, Interface Definition Files -and XSD files (the "Artifacts") in any medium without fee or royalty is -hereby granted, provided that you include the following on ALL copies -of the Artifacts, or portions thereof, that you make: - -1. A link or URL to the Artifacts at this location: -http://www.osoa.org/display/Main/Service+Component+Architecture+Specifications - -2. The full text of this copyright notice as shown in the Artifacts. - -THE ARTIFACTS ARE PROVIDED "AS IS," AND THE AUTHORS MAKE NO -REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, REGARDING THE -ARTIFACTS AND THE IMPLEMENTATION OF THEIR CONTENTS, INCLUDING, BUT NOT -LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR -PURPOSE, NON-INFRINGEMENT OR TITLE. - -THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, -INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY -USE OR DISTRIBUTION OF THE ARTIFACTS. - -The name and trademarks of the Authors may NOT be used in any manner, -including advertising or publicity pertaining to the Service Component -Architecture Specification or its contents without specific, written -prior permission. Title to copyright in the Service Component -Architecture Specification and the JavaDoc, Interface Definition Files -and XSD Files will at all times remain with the Authors. - -No other rights are granted by implication, estoppel or otherwise. - -Revision level 1.1, last updated on 2007/11/19 - -================================================================================ -License for the Service Data Objects JavaDoc and Interface Definition files. (tuscany-sdo-api-r2.1-1.0-incubating.jar) - -These files being ... -commonj/sdo/ChangeSummary$Setting.class -commonj/sdo/ChangeSummary.class -commonj/sdo/DataGraph.class -commonj/sdo/DataObject.class -commonj/sdo/helper/CopyHelper.class -commonj/sdo/helper/DataFactory.class -commonj/sdo/helper/DataHelper.class -commonj/sdo/helper/EqualityHelper.class -commonj/sdo/helper/HelperContext.class -commonj/sdo/helper/TypeHelper.class -commonj/sdo/helper/XMLDocument.class -commonj/sdo/helper/XMLHelper.class -commonj/sdo/helper/XSDHelper.class -commonj/sdo/impl/ExternalizableDelegator$Resolvable.class -commonj/sdo/impl/ExternalizableDelegator.class -commonj/sdo/Property.class -commonj/sdo/Sequence.class -commonj/sdo/Type.class -xml/datagraph.xsd -xml/sdoJava.xml -xml/sdoJava.xsd -xml/sdoModel.xml -xml/sdoModel.xsd -xml/sdoXML.xml -xml/sdoXML.xsd - - -License for the Service Data Objects JavaDoc and Interface Definition files. - -The Service Data Objects Specification is being provided by the copyright holders under the following -license. By using and/or copying this work, you agree that you have read, understood and will comply with -the following terms and conditions: - -Permission to copy, display and distribute the Service Data Objects Specification and/or portions thereof, without -modification, in any medium without fee or royalty is hereby granted, provided that you include the -following on ALL copies of the Service Data Objects Specification, or portions thereof, that you make: - -1. A link or URL to the Service Data Objects Specification at this location: -http://www.osoa.org/display/Main/Service+Data+Objects+Specifications - -2. The full text of this copyright notice as shown in the Service Data Objects Specification. - -BEA, IBM, Oracle, Primeton Technologies, Rogue Wave Software, SAP, Software AG, Sun Microsystems, Xcalia, -Zend Technologies (collectively, the “Authors”) agree to grant you a royalty-free license, under reasonable, -non-discriminatory terms and conditions to patents that they deem necessary to implement the Service Data -Objects Specification. - -THE Service Data Objects SPECIFICATION IS PROVIDED "AS IS," AND THE AUTHORS MAKE NO REPRESENTATIONS OR -WARRANTIES, EXPRESS OR IMPLIED, REGARDING THIS SPECIFICATION AND THE IMPLEMENTATION OF ITS CONTENTS, -INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, -NON-INFRINGEMENT OR TITLE. THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL -OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY USE OR DISTRIBUTION OF THE SERVICE DATA OBJECTS -SPECIFICATION. - -The name and trademarks of the Authors may NOT be used in any manner, including advertising or publicity -pertaining to the Service Data Objects Specification or its contents without specific, written prior -permission. Title to copyright in the Service Data Objects Specification will at all times remain with the -Authors. - -No other rights are granted by implication, estoppel or otherwise. -================================================================================ - diff --git a/java/sca-contrib/distribution/webapp/src/main/release/bin/NOTICE b/java/sca-contrib/distribution/webapp/src/main/release/bin/NOTICE deleted file mode 100644 index 0b2fe5dff3..0000000000 --- a/java/sca-contrib/distribution/webapp/src/main/release/bin/NOTICE +++ /dev/null @@ -1,95 +0,0 @@ -Apache Tuscany -Copyright (c) 2005 - 2008 The Apache Software Foundation - -This product includes software developed at -The Apache Software Foundation (http://www.apache.org/). - -This product includes/uses XmlSchema developed at -The Apache Software Foundation (http://ws.apache.org/commons/XmlSchema) - Portions Copyright 2006 International Business Machines Corp. - -This product includes/uses ode-bpel-api-1.1 developed at -The Apache Software Foundation (http://ode.apache.org) - - Copyright 1999-2006 Intalio - This product includes software developed by Intalio (http://www.intalio.com) - - Copyright 2006 Sybase - This product includes software developed by Sybase.(http://www.sybase.com) - -"This product includes software developed by the Spring Framework - Project (http://www.springframework.org)." - -This product includes/uses the Jetty Servlet Engine (http://jetty.mortbay.org), -developed by Mort Bay Consulting (http://www.mortbay.com) - -This product includes/uses the Groovy Script Engine (http://groovy.codehaus.org/), -Copyright 2003 (C) James Strachan and Bob Mcwhirter. All Rights Reserved. - -This product includes/uses the Axion : the Open Source Java Database (http://axion.tigris.org/) - Copyright (c) 2002-2003 Axion Development Team. All rights reserved. - -This product includes/uses DOM4J : the flexible XML framework for java (http://www.dom4j.org/) - Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved. - -This product includes/uses software, AOP alliance (http://aopalliance.sourceforge.net) -License: Public Domain - -This product includes/uses JSON-RPC-Java (http://oss.metaparadigm.com/jsonrpc/) - -This product includes/uses JSON-RPC JavaScript client (jsonrpc.js) - Copyright (c) 2003-2004 Jan-Klaas Kollhof - Copyright (c) 2005 Michael Clark, Metaparadigm Pte Ltd - -This product includes software from the GlassFish project (https://glassfish.dev.java.net/) - Copyright (c) 2006, Sun Microsystems, Inc. - -This product includes software from the Rome project (https://rome.dev.java.net/) - Copyright (c) 2006, Sun Microsystems, Inc. - -This product includes/uses the Eclipse Modeling Framework project (http://www.eclipse.org/emf/) - -This product includes/uses the Mozilla Rhino project (http://www.mozilla.org/rhino/) - -This product includes/uses the Sourceforge wsdl4j project (http://sourceforge.net/projects/wsdl4j/)i - -This product includes/uses the Codehaus JRuby project (http://jruby.codehaus.org/) - -This product includes/uses JDOM (http://www.jdom.org/) - Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin. All rights reserved. - -This product includes/uses DWR (http://getahead.org/dwr) - Copyright 2005 Joe Walker. All rights reserved. - -This product includes/uses dojotoolkit (http://dojotoolkit.org/) - Copyright (c) 2005, The Dojo Foundation. All rights reserved. - -This product includes/uses Howl (http://howl.objectweb.org/) - Copyright (c) 2004, Bull S.A. - -This product includes/uses axion (http://axion.tigris.org/) - Copyright (c) 2002-2003 Axion Development Team. - -This product includes/uses javacc (https://javacc.dev.java.net/) - Copyright (c) 2003 Sun Microsystems, Inc. All Rights Reserved. - -The Program includes all or portions of the following software: "The -Saxon XSLT and XQuery Processor from Saxonica Limited" distributed under -an MPL v1.0 license. Please refer to the homepage URL at -http://www.saxonica.com/. - -This product includes/uses Serp (http://serp.sourceforge.net/) under the BSD license: - Copyright (c) 2002, A. Abram White. All rights reserved. - -This product also includes software under the BSD license -with the following copyright: - Copyright (c) 2006, Sun Microsystems, Inc. All rights reserved. - -This product includes software under the Service Component Architecture JavaDoc, -Interface Definition files and XSD files license. - (c) Copyright SCA Collaboration 2006, 2007 - -This product includes software under the Service Data Objects JavaDoc and -Interface Definition file license - -(c) Copyright BEA Systems, Inc., International Business Machines Corporation, -Oracle Corporation, Primeton Technologies Ltd., Rogue Wave Software, SAP AG., -Software AG., Sun Microsystems, Sybase Inc., Xcalia, Zend Technologies, -2005, 2006. All rights reserved. - diff --git a/java/sca-contrib/distribution/webapp/src/main/release/src/BUILDING b/java/sca-contrib/distribution/webapp/src/main/release/src/BUILDING deleted file mode 100644 index 65d09c5eae..0000000000 --- a/java/sca-contrib/distribution/webapp/src/main/release/src/BUILDING +++ /dev/null @@ -1,55 +0,0 @@ -Building the Apache Tuscany SCA 1.2 (incubating) April 2008 Release source distribution -======================================================================================= - -Initial Setup -------------- - -1) Install J2SE 5.0 SDK, which can be downloaded from - http://java.sun.com/j2se/1.5.0/download.jsp. Use version of 1.5.0_06 JDK or higher. - -2) Make sure that your JAVA_HOME environment variable is set to the newly installed - JDK location, and that your PATH includes %JAVA_HOME%\bin (windows) or - $JAVA_HOME$/bin (unix). - -3) Install Maven 2.0.7 or higher, which can be downloaded from - http://maven.apache.org/download.html. Make sure that your PATH includes - the MVN_HOME/bin directory. - -4) Make sure that your MAVEN_OPTS environment variable has -Xmx128M (or more), - you can manually do this by executing the following in your prompt : - Windows users: - set MAVEN_OPTS=-Xmx128M - Unix users: - export MAVEN_OPTS=-Xmx128M - - -Building --------- - -1) Change to the top level directory of Apache Tuscany source distribution. -2) Run - - $> mvn - - This will compile Apache Tuscany and run all of the tests in the source - distribution. - - Depending on the load of remote Maven 2.0 repositories, you may have - to run "mvn" several times utill the required dependencies are - all located in your local maven repository. It usually takes some time for - maven to download required dependencies in the first build. Once all the - dependencies have been downloaded you may use the -o option to run maven - in offline mode, for example, 'mvn clean install -o'. - - -Building the distributions --------------------------- - -1) Change to the distribution folder -2) Run - - $> mvn - - This will build the binary and source distribution with .zip and .gz - formats in the distribution/target directory. - diff --git a/java/sca-contrib/distribution/webapp/src/main/release/src/LICENSE b/java/sca-contrib/distribution/webapp/src/main/release/src/LICENSE deleted file mode 100644 index 144d8ae692..0000000000 --- a/java/sca-contrib/distribution/webapp/src/main/release/src/LICENSE +++ /dev/null @@ -1,397 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - -=============================================================================================================== - -Apache Tuscany SCA for Java Subcomponents -=========================================: - -The Tuscany SCA for Java release includes a number of subcomponents with -separate copyright notices and license terms. Your use of the source -code for the these subcomponents is subject to the terms and -conditions of the following licenses. - -=============================================================================================================== - -The module itest/databindings/common includes the test schema; datagraph.xsd, sdoJava.xsd, and sdoModel.xsd -under the following license: - -License for the Service Data Objects JavaDoc, Interface Definition files -and XSD files. - -The Service Data Objects JavaDoc, Interface Definition files and XSD files -are being provided by the copyright holders under the following license. -By using and/or copying this work, you agree that you have read, -understood and will comply with the following terms and conditions: - -Permission to copy, display, make derivative works of and distribute -the Service Data Objects JavaDoc, Interface Definition files and XSD files -(the "Artifacts") in any medium without fee or royalty is hereby granted, -provided that you include the following on ALL copies of the Artifacts, -or portions thereof, that you make: - -1. A link or URL to the Artifacts at this location: -http://www.osoa.org/display/Main/Service+Data+Objects+Specifications - -2. The full text of this copyright notice as shown in the Artifacts. - - - -THE ARTIFACTS ARE PROVIDED "AS IS" AND THE AUTHORS MAKE NO -REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, REGARDING THE -ARTIFACTS AND THE IMPLEMENTATION OF THEIR CONTENTS, -INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT OR TITLE. - -THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, -INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY -USE OR DISTRIBUTION OF THE ARTIFACTS. - -The name and trademarks of the Authors may NOT be used in any manner, -including advertising or publicity pertaining to the Service Data -Objects Specification or its contents without specific, written prior -permission. Title to copyright in the Service Data Objects -Specification will at all times remain with the Authors. - -No other rights are granted by implication, estoppel or otherwise. - -Revision level 1.11, last updated on 2007/12/21 - -================================================================================================================= - -The module implementation-script temporarily includes one file under the following BSD license: - - Copyright (c) 2006, Sun Microsystems, Inc. - All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are met: - - - Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - - - Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - - - Neither the name of the Sun Microsystems, Inc. nor the names of - contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND - CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED - WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE - COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY - DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF - USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE - OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH - DAMAGE. - -================================================================================================================= - -The module assembly-xsd includes XSD files under the following SCA Collaboration license: - -License for the Service Component Architecture JavaDoc, Interface -Definition files and XSD files. - -The Service Component Architecture JavaDoc, Interface Definition files, -and XSD files are being provided by the copyright holders under the -following license. By using and/or copying this work, you agree that -you have read, understood and will comply with the following terms and -conditions: - -Permission to copy, display, make derivative works of, and distribute -the Service Component Architecture JavaDoc, Interface Definition Files -and XSD files (the "Artifacts") in any medium without fee or royalty is -hereby granted, provided that you include the following on ALL copies -of the Artifacts, or portions thereof, that you make: - -1. A link or URL to the Artifacts at this location: -http://www.osoa.org/display/Main/Service+Component+Architecture+Specifications - -2. The full text of this copyright notice as shown in the Artifacts. - -THE ARTIFACTS ARE PROVIDED "AS IS," AND THE AUTHORS MAKE NO -REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, REGARDING THE -ARTIFACTS AND THE IMPLEMENTATION OF THEIR CONTENTS, INCLUDING, BUT NOT -LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR -PURPOSE, NON-INFRINGEMENT OR TITLE. - -THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, -INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY -USE OR DISTRIBUTION OF THE ARTIFACTS. - -The name and trademarks of the Authors may NOT be used in any manner, -including advertising or publicity pertaining to the Service Component -Architecture Specification or its contents without specific, written -prior permission. Title to copyright in the Service Component -Architecture Specification and the JavaDoc, Interface Definition Files -and XSD Files will at all times remain with the Authors. - -No other rights are granted by implication, estoppel or otherwise. - -Revision level 1.1, last updated on 2007/11/19 - -================================================================================================================= -The modules - -binding-ws-xml -databinding -databinding-axiom -databinding-jaxb -databinding-json -databinding-sdo -databinding-sdo-axiom -databinding-xmlbeans -interface-wsdl-xml - -Include the ipo.xsd and address.xsd information from the XML Schema Primer -(http://www.w3.org/TR/2004/PER-xmlschema-0-20040318/) combined into the -file ipo.xsd and extended with UK postcode structures. - -The ipo.xsd file is include under the following license: - -W3C(c) SOFTWARE NOTICE AND LICENSE -http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 - -This work (and included software, documentation such as READMEs, or other -related items) is being provided by the copyright holders under the following -license. By obtaining, using and/or copying this work, you (the licensee) agree -that you have read, understood, and will comply with the following terms and conditions. - -Permission to copy, modify, and distribute this software and its documentation, -with or without modification, for any purpose and without fee or royalty is -hereby granted, provided that you include the following on ALL copies of the -software and documentation or portions thereof, including modifications: - - 1. The full text of this NOTICE in a location viewable to users of the - redistributed or derivative work. - 2. Any pre-existing intellectual property disclaimers, notices, or terms - and conditions. If none exist, the W3C Software Short Notice should be - included (hypertext is preferred, text is permitted) within the body of - any redistributed or derivative code. - 3. Notice of any changes or modifications to the files, including the date - changes were made. (We recommend you provide URIs to the location from which - the code is derived.) - -THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE -NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, -WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE -USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY PATENTS, -COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. - -COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR -CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENTATION. - -The name and trademarks of copyright holders may NOT be used in advertising or -publicity pertaining to the software without specific, written prior permission. -Title to copyright in this software and any associated documentation will at all -times remain with copyright holders. diff --git a/java/sca-contrib/distribution/webapp/src/main/release/src/NOTICE b/java/sca-contrib/distribution/webapp/src/main/release/src/NOTICE deleted file mode 100644 index a37f9b03f5..0000000000 --- a/java/sca-contrib/distribution/webapp/src/main/release/src/NOTICE +++ /dev/null @@ -1,39 +0,0 @@ -Apache Tuscany -Copyright (c) 2005 - 2008 The Apache Software Foundation - -This product includes software developed at -The Apache Software Foundation (http://www.apache.org/). - -This product includes/uses JSON-RPC JavaScript client (jsonrpc.js) - Copyright (c) 2003-2004 Jan-Klaas Kollhof - Copyright (c) 2005 Michael Clark, Metaparadigm Pte Ltd - -This product also includes software under the BSD license -(see the LICENSE file contained in this distribution), with -the following copyright: - Copyright (c) 2006, Sun Microsystems, Inc. All rights reserved. - -This product includes software under the Service Component Architecture JavaDoc, -Interface Definition files and XSD files license. - (c) Copyright SCA Collaboration 2006, 2007 - -This product includes software under the Service Data Objects JavaDoc and -Interface Definition file license - -(c) Copyright BEA Systems, Inc., International Business Machines Corporation, -Oracle Corporation, Primeton Technologies Ltd., Rogue Wave Software, SAP AG., -Software AG., Sun Microsystems, Sybase Inc., Xcalia, Zend Technologies, -2005, 2006. All rights reserved. - -This product includes software under the W3C(c) Software License -with the following copyright: - -Copyright (c) 2008 World Wide Web Consortium, (Massachusetts Institute of Technology, -European Research Consortium for Informatics and Mathematics, Keio University). -All Rights Reserved. This work is distributed under the W3C(c) Software License [1] in -the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied -warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - -[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 - - diff --git a/java/sca-contrib/distribution/webservice/pom.xml b/java/sca-contrib/distribution/webservice/pom.xml deleted file mode 100644 index 628cc8ab67..0000000000 --- a/java/sca-contrib/distribution/webservice/pom.xml +++ /dev/null @@ -1,162 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - tuscany-distribution - 2.0-SNAPSHOT - ../pom.xml - - - tuscany-distribution-webservice - Apache Tuscany SCA Web Service Distribution - pom - - - - - org.apache.tuscany.sca - tuscany-feature-webservice - pom - 2.0-SNAPSHOT - - - - - - - - - distribution - - false - - - - - org.apache.tuscany.sca - tuscany-maven-bundle-plugin - 2.0-SNAPSHOT - - - distribution-modules - generate-resources - - generate-modules - - - target/modules - - ../core/target/modules - - true - - - - - - - org.apache.maven.plugins - maven-assembly-plugin - - - distribution-package - package - - single - - - - src/main/assembly/bin.xml - src/main/assembly/src.xml - - gnu - apache-tuscany-sca-webservice-2.0-SNAPSHOT - - - - - - - - - - - modules - - ../../modules/assembly - ../../modules/assembly-xml - ../../modules/assembly-xsd - ../../modules/binding-sca - ../../modules/binding-sca-xml - ../../modules/binding-ws - ../../modules/binding-ws-axis2 - ../../modules/binding-ws-axis2-policy - ../../modules/binding-ws-wsdlgen - ../../modules/binding-ws-xml - ../../modules/contribution - ../../modules/contribution-java - ../../modules/contribution-namespace - ../../modules/contribution-xml - ../../modules/core - ../../modules/core-databinding - ../../modules/core-spi - ../../modules/databinding - ../../modules/databinding-axiom - ../../modules/databinding-jaxb - ../../modules/databinding-jaxb-axiom - ../../modules/definitions - ../../modules/definitions-xml - ../../modules/endpoint - ../../modules/extensibility - ../../modules/extensibility-equinox - ../../modules/host-http - ../../modules/host-jetty - ../../modules/implementation-java - ../../modules/implementation-java-runtime - ../../modules/implementation-java-xml - ../../modules/implementation-node - ../../modules/implementation-node-runtime - ../../modules/interface - ../../modules/interface-java - ../../modules/interface-java-jaxws - ../../modules/interface-java-xml - ../../modules/interface-wsdl - ../../modules/interface-wsdl-xml - ../../modules/monitor - ../../modules/node-api - ../../modules/node-impl - ../../modules/node-launcher - ../../modules/node-launcher-equinox - ../../modules/policy - ../../modules/policy-security - ../../modules/policy-xml - ../../modules/policy-xml-ws - ../../modules/sca-api - ../../modules/workspace - ../../modules/workspace-impl - ../../modules/workspace-xml - ../../modules/xsd - ../../modules/xsd-xml - - - - diff --git a/java/sca-contrib/distribution/webservice/src/main/assembly/bin.xml b/java/sca-contrib/distribution/webservice/src/main/assembly/bin.xml deleted file mode 100644 index fdcc421f2f..0000000000 --- a/java/sca-contrib/distribution/webservice/src/main/assembly/bin.xml +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - true - tuscany-sca-2.0-SNAPSHOT - - - zip - - - - ../core/src/main/components/bin-common.xml - ../core/src/main/components/bin-modules.xml - src/main/components/bin-samples.xml - - diff --git a/java/sca-contrib/distribution/webservice/src/main/assembly/src.xml b/java/sca-contrib/distribution/webservice/src/main/assembly/src.xml deleted file mode 100644 index af3cb8e6fc..0000000000 --- a/java/sca-contrib/distribution/webservice/src/main/assembly/src.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - - src - true - tuscany-sca-2.0-SNAPSHOT-src - - - zip - - - - ../core/src/main/components/src-common.xml - src/main/components/src-modules.xml - - diff --git a/java/sca-contrib/distribution/webservice/src/main/components/bin-samples.xml b/java/sca-contrib/distribution/webservice/src/main/components/bin-samples.xml deleted file mode 100644 index e2ced4a343..0000000000 --- a/java/sca-contrib/distribution/webservice/src/main/components/bin-samples.xml +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - ../../samples - samples - - binding-ws-calculator/**/* - - - - - **/.* - **/.*/** - **/*.log - - - pom.xml - **/target - **/target/**/* - - - - diff --git a/java/sca-contrib/distribution/webservice/src/main/components/src-modules.xml b/java/sca-contrib/distribution/webservice/src/main/components/src-modules.xml deleted file mode 100644 index deea9b713c..0000000000 --- a/java/sca-contrib/distribution/webservice/src/main/components/src-modules.xml +++ /dev/null @@ -1,96 +0,0 @@ - - - - - - - ../../modules - modules - - assembly/**/* - assembly-xml/**/* - assembly-xsd/**/* - binding-sca/**/* - binding-sca-xml/**/* - binding-ws/**/* - binding-ws-axis2/**/* - binding-ws-axis2-policy/**/* - binding-ws-wsdlgen/**/* - binding-ws-xml/**/* - contribution/**/* - contribution-java/**/* - contribution-namespace/**/* - contribution-xml/**/* - core/**/* - core-databinding/**/* - core-spi/**/* - databinding/**/* - databinding-axiom/**/* - databinding-jaxb/**/* - databinding-jaxb-axiom/**/* - definitions/**/* - definitions-xml/**/* - distribution-core/**/* - endpoint/**/* - extensibility/**/* - extensibility-equinox/**/* - host-http/**/* - host-jetty/**/* - implementation-java/**/* - implementation-java-runtime/**/* - implementation-java-xml/**/* - implementation-node/**/* - implementation-node-runtime/**/* - interface/**/* - interface-java/**/* - interface-java-jaxws/**/* - interface-java-xml/**/* - interface-wsdl/**/* - interface-wsdl-xml/**/* - monitor/**/* - node-api/**/* - node-impl/**/* - node-launcher/**/* - node-launcher-equinox/**/* - policy/**/* - policy-security/**/* - policy-xml/**/* - policy-xml-ws/**/* - sca-api/**/* - workspace/**/* - workspace-impl/**/* - workspace-xml/**/* - xsd/**/* - xsd-xml/**/* - - - - **/.* - **/.*/** - **/*.log - - - pom.xml - **/target - **/target/**/* - - - - diff --git a/java/sca-contrib/distribution/webservice/src/main/release/CHANGES b/java/sca-contrib/distribution/webservice/src/main/release/CHANGES deleted file mode 100644 index 3de7358ec6..0000000000 --- a/java/sca-contrib/distribution/webservice/src/main/release/CHANGES +++ /dev/null @@ -1,431 +0,0 @@ -Changes With Apache Tuscany SCA 1.2 (incubating) April 2008 -=========================================================== - -- Fix the following JIRA issues (http://issues.apache.org/jira/browse/TUSCANY): - * TUSCANY-2027 - * TUSCANY-1999 - * TUSCANY-2037 - * TUSCANY-2034 - * TUSCANY-2038 - * TUSCANY-2043 - * TUSCANY-2046 - * TUSCANY-2047 - * TUSCANY-2028 - * TUSCANY-1873 - * TUSCANY-2049 - * TUSCANY-2035 - * TUSCANY-1206 - * TUSCANY-2036 - * TUSCANY-1771 - * TUSCANY-2013 - * TUSCANY-1926 - * TUSCANY-1917 - * TUSCANY-1949 - * TUSCANY-1941 - * TUSCANY-2045 - * TUSCANY-2057 - * TUSCANY-2055 - * TUSCANY-2056 - * TUSCANY-2072 - * TUSCANY-2047 - * TUSCANY-2073 - * TUSCANY-1977 - * TUSCANY-2075 - * TUSCANY-1894 - * TUSCANY-2079 - * TUSCANY-2078 - * TUSCANY-2080 - * TUSCANY-2068 - * TUSCANY-1950 - * TUSCANY-2077 - * TUSCANY-2056 - * TUSCANY-2088 - * TUSCANY-2086 - * TUSCANY-2094 - * TUSCANY-2106 - - Features and/or Enhancements - - * Core - - Interceptor Enhancements - - Phase-based interceptor ordering to allow contribution of new interceptors and also define the order in witch they should be invoked - - Pass-by-reference SPI to allow interceptors to indicate if they support pass-by-reference - - PolicyProvider SPIs to allow extensions to plugin policy interceptors - - Support for JAXWS annotations and mapping of faults to Java exceptions according to JAXWS specification - - Improvement of contribution service to allow it to be used outside of the runtime environment - - Support for Contribution Import/Export resource - - Enhanced Distributed Domain story using Workspace - - Implementation of a SCA domain allowing a system administrator to manage contributions, composites and sca nodes that run these composites - - Set of core services providing management capabilities - - Administration web interface - - This is a work in progress and you can see it in action in samples/calculator-distributed. Other samples that use distributed operation are yet to move over to the workspace. - - Enhanced support for SCA Policy spec - - Ability to apply external policy definitions to a SCA composition - - Ability to spread policy definitions to multiple definitions.xml files available across the sca domain - - Bug fixes - - Improvements of http binding to support servlet components - - Enable Tuscany to run inside an OSGi runtime - - * Web 2.0 Extensions - - Enhancements to implementation.widget (support for properties) - - New atom binding based on Apache Abdera - - Refactoring of rss-rome binding - * Other Extensions - - Binding JMS - - greatly simplified the use of the JMS binding, support locating JMS resources from JNDI, and better compliance with the SCA JMS binding spec - - see the doc page for more details: http://incubator.apache.org/tuscany/sca-java-bindingjms.html - - Enhancements to Binding RMI - - Support shared RMI registry and use 999x as the ports in test case to avoid 1099 conflict - - Enhancements to Groovy extension - - Support for 'native' groovy classes - - Enhancements to OSGi bundle contributions - - Support Bundle URLs to be added as contributions - - * Tools - - Eclipse plugin providing a Tuscany runtime Library and Tuscany launcher in Eclipse environment - - An updatesite is also available to facilitate the plugin installation using the Eclipse update manager - - * Samples/Tutorial/Demos - - calculator-distributed migrated to use new Tuscany Distributed Workspace - - sample-calculator-ws-secure-webapp - - sample-helloworld-jms-webapp - - new jms samples - - improve bigbank demo to include support for policies - - tutorial store changes - - use of import/export - - development of contribution without requiring dependencies on the Tuscany runtime - - usage of new sca domain infrastructure - - * Testing - - Web Container Testing Framework integrated with (Tomcat, Jetty, Geronimo and Websphere) - - -Changes With Apache Tuscany SCA 1.1 (incubating) January 2008 -=============================================================== - -- Fix the following JIRA issues (http://issues.apache.org/jira/browse/TUSCANY): - * TUSCANY-1939 - * TUSCANY-1914 - * TUSCANY-1854 - * TUSCANY-1931 - * TUSCANY-1547 - * TUSCANY-1909 - * TUSCANY-1919 - * TUSCANY-1930 - * TUSCANY-1806 - * TUSCANY-1804 - * TUSCANY-1916 - * TUSCANY-1913 - * TUSCANY-1834 - * TUSCANY-1857 - * TUSCANY-1687 - * TUSCANY-1801 - * TUSCANY-1742 - * TUSCANY-1762 - * TUSCANY-1945 - * TUSCANY-1595 - * TUSCANY-1594 - * TUSCANY-1849 - * TUSCANY-1836 - * TUSCANY-1934 - * TUSCANY-1902 - * TUSCANY-1608 - * TUSCANY-1943 - * TUSCANY-1896 - * TUSCANY-1626 - * TUSCANY-1797 - * TUSCANY-1601 - * TUSCANY-1415 - -- Better JMS support - * binding.jms supporting point to point text based messaging only - * New SOAP/JMS sample (helloworld-ws-reference/service-jms) - -- Improvements in PolicyFramework Support - * Support for policy specifications on operation elements in a composite definition - * Separate sample (calculator-implementation-policies) to demonstrate use of Implementation Policies - (uses logging and JAAS Authentication) - -- Modeling of client side java script components - * See implementation.widget - -- Evolving support for doman API suggested by assembly spec including a standalone node and nodes running - connected together in a domain. This is still experimental. - -- Class loading and OSGI improvements - * Enable Tuscany to be run in a multi-classloader environment including inside OSGi. By default, - Tuscany continues to run using a single CLASSPATH-based classloader. - * Contributions no longer need to be in the CLASSPATH. All import/export dependencies across contributions should be - explicitly specified (as described in the spec). - -- JAXB based POJO transformations - -Changes With Apache Tuscany SCA 1.0.1 (incubating) November 2007 -================================================================ - -The Tuscany SCA Java 1.0.1 is mainly a bug-fix release. It also comes with some improvements as listed below. - -- Fix the following JIRA issues (http://issues.apache.org/jira/browse/TUSCANY): - * TUSCANY-1848 - * TUSCANY-1857 - * TUSCANY-1859 - * TUSCANY-1801 - * TUSCANY-1823 - * TUSCANY-1839 - * TUSCANY-1814 - * TUSCANY-1818 - * TUSCANY-1834 - * TUSCANY-1637 - * TUSCANY-1826 - * TUSCANY-1823 - * TUSCANY-1819 - * TUSCANY-1821 - * TUSCANY-1822 - * TUSCANY-1806 - * TUSCANY-1808 - * TUSCANY-1756 - * TUSCANY-1757 - -- Fix build issues with Maven 2.0.7 and JDK 6 - -- Reduce memory consumption for WSDLs that import large XSDs - -- Add more logging statements for better servicibility - -- Add an extension point to allow extensions to plug-in extension schemas. - -- Add a demo application to showcase XML integration story - -- Improve in databinding framework - * Add support for JSON Databindings and other refactoring - * Set databinding for introspected data type and enhance the checking of wrapper style - * Improve the tree-based XMLStreamReader and convert Bean & DOM to use this approach - * Add a tree-iterator based XMLStreamReader base impl - * Add default element info to java interface - * Rename Interface.setDefaultDataBinding to resetDataBinding - -- Limit the method injection to setters and allow the setter annotation to override field annotation - -- Evolving support in Intent and Policy handling - * Add support for policies in implementation - * Fix the algorithm for macthing policySets defined on bindings for the wire - * Add policy intent for implementation.java - * Extend java implementation type to recognize and apply policies, adding util support for this in Policy module - * Add policy module for logging - -- Evolving development in the SCA Domain/Node - -- Update NOTICE files with missing dependencies - - -Changes With Apache Tuscany SCA 1.0 (incubating) September 2007 -=============================================================== - -- Tuscany Java SCA now implements V1.0 of the core SCA - specifications - SCA Assembly Model V1.0 - SCA Java Common Annotations and APIs V1.0 - SCA Java Component Implementation V1.0 - SCA Web Services Binding V1.0 - Including callbacks, conversations and callable references - - -- Support for ws-security configurable in the web services binding - thro Tuscany SCA policy intents and policysets using the policy framework - introduced in the last release. - - Note : This release supports specifications of policies around axis2 - config params - see helloworld-ws-service-secure sample. The policy - intents that have been tested are authentication, integrity and - confidentiality. - There is no sample or test that exercises confidentiality since there - are some unresolved licensing issue around bouncycastle libraries. - However, users who are not encumbered by the bouncycastle license - restrictions can try the 'confidentiality' intent. See FAQ - - http://incubator.apache.org/tuscany/tuscany-sca-java-faq.html - - This release does not include support for WS-Policy - attachments in Tuscany Policysets for ws-security. - - -- An XQuery component implementation type - implementation-xquery - - -- A Databinding for converting data to and from nodes for XQuery - processing - databinding-saxon - - -- OSGI support has been extended to allow Tuscany contributions - packaged as OSGI bundles hence taking advantage of OSGI's bundle - loading an dependency management capabilities - - -- A BPEL component implementation type experimental implementation -based on SCA BPEL Client and Implementation V1.0. At the moment only -supports BPEL process as services. - implementation-bpel - - -- The distributed runtime implementation has been separated out - into - *) domain - *) node - It is now wrapped by a SCADomain interface as is the standalone - runtime. - - Note: This release does not include support for WebApp host deployment - for a distributed SCA Domain - - - -- The web service binding will now generate WSDL automatically - based on the service interface if no WSDL is provided - - -- A new "store" sample and associated document show how a - simple store front application can be constructed - samples/store - -- The following features of this release are still experimental: - - BPEL implementation type, integrating with Apache ODE - - OSGI implementation type, integrating with Apache Felix - - XQuery implementation type - - - -Changes With Apache Tuscany SCA 0.99 (incubating) August 2007 -============================================================= - -The following are the significant additions to release 0.99 -over and above all of what was offered in release 0.91. - -- A version of the default sca binding that works between - components runing in separate Java virtual machines - binding-sca-axis - -- A simple node implementation and a service discovery - function for running sca applications distributed - across more than one node - distributed - distributed-impl - -- integration with OSGi runtimes is now supported with - a new implementation-osgi component type - -- PUB/SUB interactions are now supported by using new - notification binding and implementation types, and - samples demonstrating the feature. - -- The Tuscany runtime now has a policy framework supporting - the SCA policy specification - -- the endpoint URIs used by SCA bindings has been rationalized - and now follows the SCA Assembly specification - -- binding-ajax has been renamed to binding-dwr - -Changes With Apache Tuscany SCA 0.91 (incubating) July 2007 -=========================================================== - -The following are the significant additions to release 0.91 -over and above all of what was offered in release 0.90. - - -- Enhancements to support multiple contributions to the SCA Domain - -- The inclusion of a alternative simplified extensions-helper -SPI layer to faciliate rapid development of extensions - -- More Implementation Extenstions - Spring - WebResource - -- More Binding Extensions - AJAX - EJB - RSS/ATOM Feeds - -- Demos that demonstrate the use of a mix of extensions - alert-aggregator-webapp - bigbank-account - bigbank-calculator - bigbank-stockquote - - -- Samples - Samples to demostrate use of Spring, Resource, AJAX extensions - -Changes With Apache Tuscany SCA 0.90 (incubating) June 2007 -=========================================================== - -- Implementations for all of the Java Annotations and API Specification V1.0 found at - (http://www.osoa.org/display/Main/Service+Component+Architecture+Specifications) - apart from the following. - @ComponentName - Conversation - RequestContext - -- New assembly model implementation taking into account SCA 1.0 artifacts - Data duplication between assembly model and runtime removed - -- Simple single process domain support - Contribution support to scope items being deployed into the runtime - -- Improved Package/Class naming consistency across modules - -- Extensions now loaded via Java service mechanism - Refactored extensions to use new SPIs (see below) - -- Maven and Ant based sample builds in the binary distribution - -- Implementation Extensions - Java - Script supporting (Ruby, Python, Groovy, JavaScript) - -- Binding Extensions - Axis2 - RMI - JSONRPC - --Databinding Extensions - Axiom - JAXB - SDO - -- Host environments - Embedded - Tomcat - Jetty - RMI - -- A clear set of SPIs intended to be stable over future releases - SCA assembly model - org.apache.tuscany.sca.assembly - org.apache.tuscany.sca.interfacedef - org.apache.tuscany.sca.interfacedef.java - org.apache.tuscany.sca.interfacedef.wsdl - org.apache.tuscany.sca.policy - - SCA contribution model - org.apache.tuscany.sca.contribution - - Runtime extensions - org.apache.tuscany.sca.core - org.apache.tuscany.sca.invocation - org.apache.tuscany.sca.provider - org.apache.tuscany.sca.runtime - org.apache.tuscany.sca.work - - Data binding support - org.apache.tuscany.sca.databinding - - Embedding Tuscany - org.apache.tuscany.sca.host.embedded - - Servlet container integration - org.apache.tuscany.sca.http - -- For this point release a partial set of JavaDoc is provided to - be filled out as we close on release 1.0 diff --git a/java/sca-contrib/distribution/webservice/src/main/release/README b/java/sca-contrib/distribution/webservice/src/main/release/README deleted file mode 100644 index 4d83dcfde9..0000000000 --- a/java/sca-contrib/distribution/webservice/src/main/release/README +++ /dev/null @@ -1,19 +0,0 @@ -Apache Tuscany SCA 1.2 (incubating) April 2008 README -===================================================== - -Welcome to the Tuscany SCA 1.2 release. - -See the RELEASE_NOTES file for information specific to this release. - -In the binary release see the INSTALL file for information on how to -install the release. - -In the source distribution see the BUILDING file for information on -building the source code. - - - - - - - diff --git a/java/sca-contrib/distribution/webservice/src/main/release/RELEASE_NOTES b/java/sca-contrib/distribution/webservice/src/main/release/RELEASE_NOTES deleted file mode 100644 index a04ef5c553..0000000000 --- a/java/sca-contrib/distribution/webservice/src/main/release/RELEASE_NOTES +++ /dev/null @@ -1,83 +0,0 @@ -Apache Tuscany SCA 1.2 (incubating) April 2008 Release Notes -============================================================ - -Apache Tuscany provides a runtime based on the Service Component -Architecture. SCA is a set of specifications aimed at simplifying SOA -Application Development which are being standardized at OASIS as part -of Open Composite Services Architecture (Open CSA) - http://www.oasis-opencsa.org/. - -Overview --------- - - The Apache Tuscany SCA 1.2 release includes implementations of the - main SCA specifications including: - - SCA Assembly Model V1.0 - SCA Policy Framework V1.0 - SCA Java Common Annotations and APIs V1.0 - SCA Java Component Implementation V1.0 - SCA Spring Component Implementation V1.0 - SCA BPEL Client and Implementation V1.0 - SCA Web Services Binding V1.0 - SCA EJB Session Bean Binding V1.0 - - It also includes implementations of many features not yet defined - by SCA specifications, including: - - - SCA bindings for Direct Web Remoting, RSS and ATOM Feeds, - HTTP resources, JSON-RPC, PUB/SUB Notifications, and RMI. - - SCA implementation types for OSGI, XQuery, BPEL, Widget and various - dynamic languages including Groovy, Javascript, Python and Ruby - - Databindings for Service Data Objects (SDO), JAXB, XmlBeans, - Axis2's AXIOM, JSON, SAXON, DOM, SAX and StAX - - The Tuscany SCA Runtime can be configured as a single node SCA domain or - as an SCA domain distributed across multiple nodes. - In addition Tuscany SCA supports the following host-deployment options: - - - running standalone - - running with distributed nodes across multiple JVMs - - running with embedded Jetty or Tomcat - - running as part of a standard web application - - The Wepapp samples included in this release have been tried and tested on - - Tomcat 5.5.20 and Tomcat 6.0.14 - - Jetty 6.1.3 - - Geronimo 2.0.2 Tomcat6 jee5 - - WebSphere 6.1 fix pack 9 - -See the CHANGES file for a detailed list of the features in this release. - -Support -------- - -For more information on Apache Tuscany visit the website at: - - http://incubator.apache.org/tuscany/ - -Any issues with this release can be reported to Apache Tuscany -using the mailing lists or in the JIRA issue tracker. - - Mailing list archives: - - http://mail-archives.apache.org/mod_mbox/ws-tuscany-user/ - http://mail-archives.apache.org/mod_mbox/ws-tuscany-dev/ - - Jira: - - http://issues.apache.org/jira/browse/TUSCANY - -To join the project's mailing lists follow the instructions at: - - http://incubator.apache.org/tuscany/mailing-lists.html - -To find out more about OASIS Open CSA go to: - - http://www.oasis-opencsa.org. - -Apache Tuscany welcomes your help. Any contribution, including code, -testing, improving the documentation, or bug reporting is always -appreciated. - -Thank you for using Apache Tuscany! - -- The Tuscany Team. diff --git a/java/sca-contrib/distribution/webservice/src/main/release/bin/INSTALL b/java/sca-contrib/distribution/webservice/src/main/release/bin/INSTALL deleted file mode 100644 index 2da53a2b44..0000000000 --- a/java/sca-contrib/distribution/webservice/src/main/release/bin/INSTALL +++ /dev/null @@ -1,27 +0,0 @@ -Installing the Apache Tuscany SCA 1.2 (incubating) April 2008 Release binary distribution -========================================================================================= - -Unzip Tuscany binary distribution archive and you get the following: - -tuscany-sca-1.1-incubating - DISCLAIMER - the ASF incubation disclaimer - INSTALL - this help file - LICENSE - the Apache License and any dependecy licenses - NOTICE - attribution notices associated with the licenses - README - readme for the release - RELEASE_NOTES - description of this release - CHANGES - A note of the major changes in this release - - /demos - Demo applications showcasing the use of Apache Tuscany - - /lib - The tuscany-sca-all and tuscany-sca-manifest jars and all their dependencies - - /modules - all of the individual Tuscany jars - - /samples - all the Tuscany samples, see the README in that directory - - /tutorial - The store tutorial, see the README in that directory - - - - diff --git a/java/sca-contrib/distribution/webservice/src/main/release/bin/LICENSE b/java/sca-contrib/distribution/webservice/src/main/release/bin/LICENSE deleted file mode 100644 index 5e1f585d46..0000000000 --- a/java/sca-contrib/distribution/webservice/src/main/release/bin/LICENSE +++ /dev/null @@ -1,2366 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - -=============================================================================== - -APACHE TUSCANY SUBCOMPONENTS: - -The Apache Tuscany binary distribution includes a number of subcomponents -with separate copyright notices and license terms. Your use of the -code for the these subcomponents is subject to the terms and -conditions of the following licenses. - -=============================================================================== - -The following components come under Apache Software License 1.1 - - commons-discovery-0.2.jar - commons-primitives-1.0.jar - -The following components come under Apache Software License 2.0 - - abdera-core-0.3.0-incubating.jar - abdera-i18n-0.3.0-incubating.jar - abdera-parser-0.3.0-incubating.jar - activeio-2.0-r118.jar - activeio-core-3.0.0-incubator.jar - apache-activemq-4.1.1.jar - addressing-1.3.mar - annogen-0.1.0.jar - annotations-api-6.0.14.jar - aopalliance-1.0.jar - axiom-api-1.2.5.jar - axiom-dom-1.2.5.jar - axiom-impl-1.2.5.jar - axis2-adb-1.3.jar - axis2-codegen-1.3.jar - axis2-java2wsdl-1.3.jar - axis2-kernel-1.3.jar - axis2-mtompolicy-1.3.jar - bsf-all-3.0-beta2.jar - catalina-6.0.14.jar - cglib-nodep-2.1_3.jar - commons-collections-3.1.jar - commons-codec-1.3.jar - commons-fileupload-1.1.1.jar - commons-httpclient-3.0.1.jar - commons-io-1.2.jar - commons-jexl-1.1.jar - commons-lang-2.1.jar - commons-logging-1.1.jar - coyote-6.0.14.jar - derby-10.1.3.1.jar - geronimo-activation_1.1_spec-1.0-M1.jar - geronimo-common-1.2-beta.jar - geronimo-commonj_1.1_spec-1.0.jar - geronimo-connector-1.2-beta.jar - geronimo-core-1.2-beta.jar - geronimo-deployment-1.2-beta.jar - geronimo-ejb_3.0_spec-1.0.jar - geronimo-interceptor-1.2-beta.jar - geronimo-j2ee-1.2-beta.jar - geronimo-j2ee-connector_1.5_spec-1.1.jar - geronimo-j2ee-jacc_1.0_spec-1.1.jar - geronimo-j2ee-management_1.0_spec-1.1.jar - geronimo-javamail_1.4_spec-1.0-M1.jar - geronimo-jms_1.1_spec-1.1.jar - geronimo-jpa_3.0_spec-1.0.jar - geronimo-jta_1.0.1B_spec-1.0.jar - geronimo-kernel-1.2-beta.jar - geronimo-management-1.2-beta.jar - geronimo-naming-1.2-beta.jar - geronimo-security-1.2-beta.jar - geronimo-spec-j2ee-connector-1.5-rc4.jar - geronimo-spec-jta-1.0.1B-rc4.jar - geronimo-system-1.2-beta.jar - geronimo-transaction-1.2-beta.jar - geronimo-util-1.2-beta.jar - httpcore-4.0-alpha5.jar - httpcore-nio-4.0-alpha5.jar - httpcore-niossl-4.0-alpha5.jar - jettison-1.0-RC2.jar - jetty-6.1.7.jar - jetty-util-6.1.7.jar - json-rpc-1.0.jar - juli-6.0.14.jar - log4j-1.2.12.jar - logkit-1.0.1.jar - neethi-2.0.2.jar - ode-bpel-api-1.1.jar - ode-bpel-compiler-1.1.jar - ode-bpel-dao-1.1.jar - ode-bpel-epr-1.1.jar - ode-bpel-obj-1.1.jar - ode-bpel-runtime-1.1.jar - ode-bpel-schemas-1.1.jar - ode-bpel-store-1.1.jar - ode-dao-jpa-1.1.jar - ode-dao-jpa-ojpa-derby-1.1.zip - ode-jacob-1.1.jar - ode-jacob-ap-1.1.jar - ode-scheduler-simple-1.1.jar - ode-utils-1.1.jar - openjpa-all-0.9.7-incubating.jar - openjpa-persistence-0.9.7-incubating.jar - org.apache.felix.bundlerepository-1.0.2.jar - org.apache.felix.framework-1.0.3.jar - org.apache.felix.main-1.0.3.jar - org.apache.felix.shell-1.0.0.jar - org.apache.felix.shell.tui-1.0.0.jar - rampart-core-1.3.jar - rampart-policy-1.3.jar - rampart-trust-1.3.jar - regexp-1.3.jar - spring-beans-2.0.6.jar - spring-context-2.0.6.jar - spring-core-2.0.6.jar - tranql-connector-1.1.jar - tuscany-sdo-api-r2.1-1.0-incubating.jar - tuscany-sdo-impl-1.0-incubating.jar - tuscany-sdo-lib-1.0-incubating.jar - tuscany-sdo-tools-1.0-incubating.jar - woden-1.0-incubating-M7b.jar - wss4j-1.5.3.jar - wstx-asl-3.2.1.jar - xalan-2.7.0.jar - xbean-naming-2.7.jar - xercesImpl-2.8.1.jar - xml-apis-1.3.03.jar - xmlbeans-2.3.0.jar - xml-resolver-1.1.jar - xmlsec-1.4.0.jar - XmlSchema-1.3.2.jar - -=============================================================================== -axion-1.0-M3-dev.jar - -Copyright (c) 2002-2003 Axion Development Team. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above - copyright notice, this list of conditions and the following - disclaimer. - -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - -3. The names "Tigris", "Axion", nor the names of its contributors may - not be used to endorse or promote products derived from this - software without specific prior written permission. - -4. Products derived from this software may not be called "Axion", nor - may "Tigris" or "Axion" appear in their names without specific prior - written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A -PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -The "Axion Development Team" is defined to be: - - * Chuck Burdick - * James Burke - * Morgan Delagrange - * Geir Magnusson Jr. - * Martin Poeschl - * Steve Polyak - * Daniel Rall - * Ahimanikya Satapathy - * Doug Sale - * James Strachan - * Rodney Waldhoff - * Jason van Zyl - -License changes are to be determined by a simple majority vote of the -Axion Development Team. - -=============================================================================== -dom4j-1.6.1.jar - -Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved. - -Redistribution and use of this software and associated documentation -("Software"), with or without modification, are permitted provided -that the following conditions are met: - -1. Redistributions of source code must retain copyright - statements and notices. Redistributions must also contain a - copy of this document. - -2. Redistributions in binary form must reproduce the - above copyright notice, this list of conditions and the - following disclaimer in the documentation and/or other - materials provided with the distribution. - -3. The name "DOM4J" must not be used to endorse or promote - products derived from this Software without prior written - permission of MetaStuff, Ltd. For written permission, - please contact dom4j-info@metastuff.com. - -4. Products derived from this Software may not be called "DOM4J" - nor may "DOM4J" appear in their names without prior written - permission of MetaStuff, Ltd. DOM4J is a registered - trademark of MetaStuff, Ltd. - -5. Due credit should be given to the DOM4J Project - - http://www.dom4j.org - -THIS SOFTWARE IS PROVIDED BY METASTUFF, LTD. AND CONTRIBUTORS -``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT -NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND -FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL -METASTUFF, LTD. OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED -OF THE POSSIBILITY OF SUCH DAMAGE. - -=============================================================================== - -The EMF jars; - codegen-2.2.3.jar - codegen-ecore-2.2.3.jar - common-2.2.3.jar - ecore-2.2.3.jar - ecore-change-2.2.3.jar - ecore-xmi-2.2.3.jar - xsd-2.2.3.jar - -Eclipse Public License - v 1.0 - -THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE -PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF -THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. - -1. DEFINITIONS - -"Contribution" means: - -a) in the case of the initial Contributor, the initial code and -documentation distributed under this Agreement, and -b) in the case of each subsequent Contributor: - -i) changes to the Program, and - -ii) additions to the Program; - -where such changes and/or additions to the Program originate from and -are distributed by that particular Contributor. A Contribution -'originates' from a Contributor if it was added to the Program by such -Contributor itself or anyone acting on such Contributor's behalf. -Contributions do not include additions to the Program which: (i) are -separate modules of software distributed in conjunction with the -Program under their own license agreement, and (ii) are not derivative -works of the Program. - -"Contributor" means any person or entity that distributes the Program. - -"Licensed Patents " mean patent claims licensable by a Contributor -which are necessarily infringed by the use or sale of its Contribution -alone or when combined with the Program. - -"Program" means the Contributions distributed in accordance with this -Agreement. - -"Recipient" means anyone who receives the Program under this -Agreement, including all Contributors. - -2. GRANT OF RIGHTS - -a) Subject to the terms of this Agreement, each Contributor hereby -grants Recipient a non-exclusive, worldwide, royalty-free copyright -license to reproduce, prepare derivative works of, publicly display, -publicly perform, distribute and sublicense the Contribution of such -Contributor, if any, and such derivative works, in source code and -object code form. - -b) Subject to the terms of this Agreement, each Contributor hereby -grants Recipient a non-exclusive, worldwide, royalty-free patent -license under Licensed Patents to make, use, sell, offer to sell, -import and otherwise transfer the Contribution of such Contributor, if -any, in source code and object code form. This patent license shall -apply to the combination of the Contribution and the Program if, at -the time the Contribution is added by the Contributor, such addition -of the Contribution causes such combination to be covered by the -Licensed Patents. The patent license shall not apply to any other -combinations which include the Contribution. No hardware per se is -licensed hereunder. - -c) Recipient understands that although each Contributor grants the -licenses to its Contributions set forth herein, no assurances are -provided by any Contributor that the Program does not infringe the -patent or other intellectual property rights of any other entity. Each -Contributor disclaims any liability to Recipient for claims brought by -any other entity based on infringement of intellectual property rights -or otherwise. As a condition to exercising the rights and licenses -granted hereunder, each Recipient hereby assumes sole responsibility -to secure any other intellectual property rights needed, if any. For -example, if a third party patent license is required to allow -Recipient to distribute the Program, it is Recipient's responsibility -to acquire that license before distributing the Program. - -d) Each Contributor represents that to its knowledge it has sufficient -copyright rights in its Contribution, if any, to grant the copyright -license set forth in this Agreement. - -3. REQUIREMENTS - -A Contributor may choose to distribute the Program in object code form -under its own license agreement, provided that: - -a) it complies with the terms and conditions of this Agreement; and - -b) its license agreement: - -i) effectively disclaims on behalf of all Contributors all warranties -and conditions, express and implied, including warranties or -conditions of title and non-infringement, and implied warranties or -conditions of merchantability and fitness for a particular purpose; - -ii) effectively excludes on behalf of all Contributors all liability -for damages, including direct, indirect, special, incidental and -consequential damages, such as lost profits; - -iii) states that any provisions which differ from this Agreement are -offered by that Contributor alone and not by any other party; and - -iv) states that source code for the Program is available from such -Contributor, and informs licensees how to obtain it in a reasonable -manner on or through a medium customarily used for software exchange. - -When the Program is made available in source code form: - -a) it must be made available under this Agreement; and - -b) a copy of this Agreement must be included with each copy of the -Program. - -Contributors may not remove or alter any copyright notices contained -within the Program. - -Each Contributor must identify itself as the originator of its -Contribution, if any, in a manner that reasonably allows subsequent -Recipients to identify the originator of the Contribution. - -4. COMMERCIAL DISTRIBUTION - -Commercial distributors of software may accept certain -responsibilities with respect to end users, business partners and the -like. While this license is intended to facilitate the commercial use -of the Program, the Contributor who includes the Program in a -commercial product offering should do so in a manner which does not -create potential liability for other Contributors. Therefore, if a -Contributor includes the Program in a commercial product offering, -such Contributor ("Commercial Contributor") hereby agrees to defend -and indemnify every other Contributor ("Indemnified Contributor") -against any losses, damages and costs (collectively "Losses") arising -from claims, lawsuits and other legal actions brought by a third party -against the Indemnified Contributor to the extent caused by the acts -or omissions of such Commercial Contributor in connection with its -distribution of the Program in a commercial product offering. The -obligations in this section do not apply to any claims or Losses -relating to any actual or alleged intellectual property infringement. -In order to qualify, an Indemnified Contributor must: a) promptly -notify the Commercial Contributor in writing of such claim, and b) -allow the Commercial Contributor to control, and cooperate with the -Commercial Contributor in, the defense and any related settlement -negotiations. The Indemnified Contributor may participate in any such -claim at its own expense. - -For example, a Contributor might include the Program in a commercial -product offering, Product X. That Contributor is then a Commercial -Contributor. If that Commercial Contributor then makes performance -claims, or offers warranties related to Product X, those performance -claims and warranties are such Commercial Contributor's responsibility -alone. Under this section, the Commercial Contributor would have to -defend claims against the other Contributors related to those -performance claims and warranties, and if a court requires any other -Contributor to pay any damages as a result, the Commercial Contributor -must pay those damages. - -5. NO WARRANTY - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS -PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY -OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely -responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement , including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -6. DISCLAIMER OF LIABILITY - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -7. GENERAL - -If any provision of this Agreement is invalid or unenforceable under -applicable law, it shall not affect the validity or enforceability of -the remainder of the terms of this Agreement, and without further -action by the parties hereto, such provision shall be reformed to the -minimum extent necessary to make such provision valid and enforceable. - -If Recipient institutes patent litigation against any entity -(including a cross-claim or counterclaim in a lawsuit) alleging that -the Program itself (excluding combinations of the Program with other -software or hardware) infringes such Recipient's patent(s), then such -Recipient's rights granted under Section 2(b) shall terminate as of -the date such litigation is filed. - -All Recipient's rights under this Agreement shall terminate if it -fails to comply with any of the material terms or conditions of this -Agreement and does not cure such failure in a reasonable period of -time after becoming aware of such noncompliance. If all Recipient's -rights under this Agreement terminate, Recipient agrees to cease use -and distribution of the Program as soon as reasonably practicable. -However, Recipient's obligations under this Agreement and any licenses -granted by Recipient relating to the Program shall continue and -survive. - -Everyone is permitted to copy and distribute copies of this Agreement, -but in order to avoid inconsistency the Agreement is copyrighted and -may only be modified in the following manner. The Agreement Steward -reserves the right to publish new versions (including revisions) of -this Agreement from time to time. No one other than the Agreement -Steward has the right to modify this Agreement. The Eclipse Foundation -is the initial Agreement Steward. The Eclipse Foundation may assign -the responsibility to serve as the Agreement Steward to a suitable -separate entity. Each new version of the Agreement will be given a -distinguishing version number. The Program (including Contributions) -may always be distributed subject to the version of the Agreement -under which it was received. In addition, after a new version of the -Agreement is published, Contributor may elect to distribute the -Program (including its Contributions) under the new version. Except as -expressly stated in Sections 2(a) and 2(b) above, Recipient receives -no rights or licenses to the intellectual property of any Contributor -under this Agreement, whether expressly, by implication, estoppel or -otherwise. All rights in the Program not expressly granted under this -Agreement are reserved. - -This Agreement is governed by the laws of the State of New York and -the intellectual property laws of the United States of America. No -party to this Agreement will bring a legal action under this Agreement -more than one year after the cause of action arose. Each party waives -its rights to a jury trial in any resulting litigation. - -=============================================================================== -For Saxon including - saxon-8.7.jar - saxon-dom-8.7.jar - saxon-xpath-8.7.jar - - MOZILLA PUBLIC LICENSE -Version 1.0 - -1. Definitions. - - 1.1. ``Contributor'' means each entity that creates or contributes to the creation of Modifications. - - 1.2. ``Contributor Version'' means the combination of the Original Code, prior Modifications used by a Contributor, and the Modifications made by that particular Contributor. - - 1.3. ``Covered Code'' means the Original Code or Modifications or the combination of the Original Code and Modifications, in each case including portions thereof. - - 1.4. ``Electronic Distribution Mechanism'' means a mechanism generally accepted in the software development community for the electronic transfer of data. - - 1.5. ``Executable'' means Covered Code in any form other than Source Code. - - 1.6. ``Initial Developer'' means the individual or entity identified as the Initial Developer in the Source Code notice required by Exhibit A. - - 1.7. ``Larger Work'' means a work which combines Covered Code or portions thereof with code not governed by the terms of this License. - - 1.8. ``License'' means this document. - - 1.9. ``Modifications'' means any addition to or deletion from the substance or structure of either the Original Code or any previous Modifications. When Covered Code is released as a series of files, a Modification is: - - A. Any addition to or deletion from the contents of a file containing Original Code or previous Modifications. - - B. Any new file that contains any part of the Original Code or previous Modifications. - - 1.10. ``Original Code'' means Source Code of computer software code which is described in the Source Code notice required by Exhibit A as Original Code, and which, at the time of its release under this License is not already Covered Code governed by this License. - - 1.11. ``Source Code'' means the preferred form of the Covered Code for making modifications to it, including all modules it contains, plus any associated interface definition files, scripts used to control compilation and installation of an Executable, or a list of source code differential comparisons against either the Original Code or another well known, available Covered Code of the Contributor's choice. The Source Code can be in a compressed or archival form, provided the appropriate decompression or de-archiving software is widely available for no charge. - - 1.12. ``You'' means an individual or a legal entity exercising rights under, and complying with all of the terms of, this License or a future version of this License issued under Section 6.1. For legal entities, ``You'' includes any entity which controls, is controlled by, or is under common control with You. For purposes of this definition, ``control'' means (a) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (b) ownership of fifty percent (50%) or more of the outstanding shares or beneficial ownership of such entity. - -2. Source Code License. - - 2.1. The Initial Developer Grant. - The Initial Developer hereby grants You a world-wide, royalty-free, non-exclusive license, subject to third party intellectual property claims: - - (a) to use, reproduce, modify, display, perform, sublicense and distribute the Original Code (or portions thereof) with or without Modifications, or as part of a Larger Work; and - - (b) under patents now or hereafter owned or controlled by Initial Developer, to make, have made, use and sell (``Utilize'') the Original Code (or portions thereof), but solely to the extent that any such patent is reasonably necessary to enable You to Utilize the Original Code (or portions thereof) and not to any greater extent that may be necessary to Utilize further Modifications or combinations. - - 2.2. Contributor Grant. - Each Contributor hereby grants You a world-wide, royalty-free, non-exclusive license, subject to third party intellectual property claims: - - (a) to use, reproduce, modify, display, perform, sublicense and distribute the Modifications created by such Contributor (or portions thereof) either on an unmodified basis, with other Modifications, as Covered Code or as part of a Larger Work; and - - (b) under patents now or hereafter owned or controlled by Contributor, to Utilize the Contributor Version (or portions thereof), but solely to the extent that any such patent is reasonably necessary to enable You to Utilize the Contributor Version (or portions thereof), and not to any greater extent that may be necessary to Utilize further Modifications or combinations. - -3. Distribution Obligations. - - 3.1. Application of License. - The Modifications which You create or to which You contribute are governed by the terms of this License, including without limitation Section 2.2. The Source Code version of Covered Code may be distributed only under the terms of this License or a future version of this License released under Section 6.1, and You must include a copy of this License with every copy of the Source Code You distribute. You may not offer or impose any terms on any Source Code version that alters or restricts the applicable version of this License or the recipients' rights hereunder. However, You may include an additional document offering the additional rights described in Section 3.5. - - 3.2. Availability of Source Code. - Any Modification which You create or to which You contribute must be made available in Source Code form under the terms of this License either on the same media as an Executable version or via an accepted Electronic Distribution Mechanism to anyone to whom you made an Executable version available; and if made available via Electronic Distribution Mechanism, must remain available for at least twelve (12) months after the date it initially became available, or at least six (6) months after a subsequent version of that particular Modification has been made available to such recipients. You are responsible for ensuring that the Source Code version remains available even if the Electronic Distribution Mechanism is maintained by a third party. - - 3.3. Description of Modifications. - You must cause all Covered Code to which you contribute to contain a file documenting the changes You made to create that Covered Code and the date of any change. You must include a prominent statement that the Modification is derived, directly or indirectly, from Original Code provided by the Initial Developer and including the name of the Initial Developer in (a) the Source Code, and (b) in any notice in an Executable version or related documentation in which You describe the origin or ownership of the Covered Code. - - 3.4. Intellectual Property Matters - - (a) Third Party Claims. - If You have knowledge that a party claims an intellectual property right in particular functionality or code (or its utilization under this License), you must include a text file with the source code distribution titled ``LEGAL'' which describes the claim and the party making the claim in sufficient detail that a recipient will know whom to contact. If you obtain such knowledge after You make Your Modification available as described in Section 3.2, You shall promptly modify the LEGAL file in all copies You make available thereafter and shall take other steps (such as notifying appropriate mailing lists or newsgroups) reasonably calculated to inform those who received the Covered Code that new knowledge has been obtained. - - (b) Contributor APIs. - If Your Modification is an application programming interface and You own or control patents which are reasonably necessary to implement that API, you must also include this information in the LEGAL file. - - 3.5. Required Notices. - You must duplicate the notice in Exhibit A in each file of the Source Code, and this License in any documentation for the Source Code, where You describe recipients' rights relating to Covered Code. If You created one or more Modification(s), You may add your name as a Contributor to the notice described in Exhibit A. If it is not possible to put such notice in a particular Source Code file due to its structure, then you must include such notice in a location (such as a relevant directory file) where a user would be likely to look for such a notice. You may choose to offer, and to charge a fee for, warranty, support, indemnity or liability obligations to one or more recipients of Covered Code. However, You may do so only on Your own behalf, and not on behalf of the Initial Developer or any Contributor. You must make it absolutely clear than any such warranty, support, indemnity or liability obligation is offered by You alone, and You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of warranty, support, indemnity or liability terms You offer. - - 3.6. Distribution of Executable Versions. - You may distribute Covered Code in Executable form only if the requirements of Section 3.1-3.5 have been met for that Covered Code, and if You include a notice stating that the Source Code version of the Covered Code is available under the terms of this License, including a description of how and where You have fulfilled the obligations of Section 3.2. The notice must be conspicuously included in any notice in an Executable version, related documentation or collateral in which You describe recipients' rights relating to the Covered Code. You may distribute the Executable version of Covered Code under a license of Your choice, which may contain terms different from this License, provided that You are in compliance with the terms of this License and that the license for the Executable version does not attempt to limit or alter the recipient's rights in the Source Code version from the rights set forth in this License. If You distribute the Executable version under a different license You must make it absolutely clear that any terms which differ from this License are offered by You alone, not by the Initial Developer or any Contributor. You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of any such terms You offer. - - 3.7. Larger Works. - You may create a Larger Work by combining Covered Code with other code not governed by the terms of this License and distribute the Larger Work as a single product. In such a case, You must make sure the requirements of this License are fulfilled for the Covered Code. - -4. Inability to Comply Due to Statute or Regulation. - - If it is impossible for You to comply with any of the terms of this License with respect to some or all of the Covered Code due to statute or regulation then You must: (a) comply with the terms of this License to the maximum extent possible; and (b) describe the limitations and the code they affect. Such description must be included in the LEGAL file described in Section 3.4 and must be included with all distributions of the Source Code. Except to the extent prohibited by statute or regulation, such description must be sufficiently detailed for a recipient of ordinary skill to be able to understand it. - -5. Application of this License. - - This License applies to code to which the Initial Developer has attached the notice in Exhibit A, and to related Covered Code. - -6. Versions of the License. - - 6.1. New Versions. - Netscape Communications Corporation (``Netscape'') may publish revised and/or new versions of the License from time to time. Each version will be given a distinguishing version number. - - 6.2. Effect of New Versions. - Once Covered Code has been published under a particular version of the License, You may always continue to use it under the terms of that version. You may also choose to use such Covered Code under the terms of any subsequent version of the License published by Netscape. No one other than Netscape has the right to modify the terms applicable to Covered Code created under this License. - - 6.3. Derivative Works. - If you create or use a modified version of this License (which you may only do in order to apply it to code which is not already Covered Code governed by this License), you must (a) rename Your license so that the phrases ``Mozilla'', ``MOZILLAPL'', ``MOZPL'', ``Netscape'', ``NPL'' or any confusingly similar phrase do not appear anywhere in your license and (b) otherwise make it clear that your version of the license contains terms which differ from the Mozilla Public License and Netscape Public License. (Filling in the name of the Initial Developer, Original Code or Contributor in the notice described in Exhibit A shall not of themselves be deemed to be modifications of this License.) - -7. DISCLAIMER OF WARRANTY. - - COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN ``AS IS'' BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. - -8. TERMINATION. - - This License and the rights granted hereunder will terminate automatically if You fail to comply with terms herein and fail to cure such breach within 30 days of becoming aware of the breach. All sublicenses to the Covered Code which are properly granted shall survive any termination of this License. Provisions which, by their nature, must remain in effect beyond the termination of this License shall survive. - -9. LIMITATION OF LIABILITY. - - UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL THE INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO YOU OR ANY OTHER PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THAT EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. - -10. U.S. GOVERNMENT END USERS. - - The Covered Code is a ``commercial item,'' as that term is defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of ``commercial computer software'' and ``commercial computer software documentation,'' as such terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all U.S. Government End Users acquire Covered Code with only those rights set forth herein. - -11. MISCELLANEOUS. - - This License represents the complete agreement concerning subject matter hereof. If any provision of this License is held to be unenforceable, such provision shall be reformed only to the extent necessary to make it enforceable. This License shall be governed by California law provisions (except to the extent applicable law, if any, provides otherwise), excluding its conflict-of-law provisions. With respect to disputes in which at least one party is a citizen of, or an entity chartered or registered to do business in, the United States of America: (a) unless otherwise agreed in writing, all disputes relating to this License (excepting any dispute relating to intellectual property rights) shall be subject to final and binding arbitration, with the losing party paying all costs of arbitration; (b) any arbitration relating to this Agreement shall be held in Santa Clara County, California, under the auspices of JAMS/EndDispute; and (c) any litigation relating to this Agreement shall be subject to the jurisdiction of the Federal Courts of the Northern District of California, with venue lying in Santa Clara County, California, with the losing party responsible for costs, including without limitation, court costs and reasonable attorneys fees and expenses. The application of the United Nations Convention on Contracts for the International Sale of Goods is expressly excluded. Any law or regulation which provides that the language of a contract shall be construed against the drafter shall not apply to this License. - -12. RESPONSIBILITY FOR CLAIMS. - - Except in cases where another Contributor has failed to comply with Section 3.4, You are responsible for damages arising, directly or indirectly, out of Your utilization of rights under this License, based on the number of copies of Covered Code you made available, the revenues you received from utilizing such rights, and other relevant factors. You agree to work with affected parties to distribute responsibility on an equitable basis. - -EXHIBIT A. - - ``The contents of this file are subject to the Mozilla Public License Version 1.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/ - - Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License. - - The Original Code is ______________________________________. - - The Initial Developer of the Original Code is ________________________. Portions created by ______________________ are Copyright (C) ______ _______________________. All Rights Reserved. - - Contributor(s): ______________________________________.'' - -=============================================================================== - -For the Rhino JavaScript engine js-1.6R7.jar: - - MOZILLA PUBLIC LICENSE - Version 1.1 - - --------------- - -1. Definitions. - - 1.0.1. "Commercial Use" means distribution or otherwise making the - Covered Code available to a third party. - - 1.1. "Contributor" means each entity that creates or contributes to - the creation of Modifications. - - 1.2. "Contributor Version" means the combination of the Original - Code, prior Modifications used by a Contributor, and the Modifications - made by that particular Contributor. - - 1.3. "Covered Code" means the Original Code or Modifications or the - combination of the Original Code and Modifications, in each case - including portions thereof. - - 1.4. "Electronic Distribution Mechanism" means a mechanism generally - accepted in the software development community for the electronic - transfer of data. - - 1.5. "Executable" means Covered Code in any form other than Source - Code. - - 1.6. "Initial Developer" means the individual or entity identified - as the Initial Developer in the Source Code notice required by Exhibit - A. - - 1.7. "Larger Work" means a work which combines Covered Code or - portions thereof with code not governed by the terms of this License. - - 1.8. "License" means this document. - - 1.8.1. "Licensable" means having the right to grant, to the maximum - extent possible, whether at the time of the initial grant or - subsequently acquired, any and all of the rights conveyed herein. - - 1.9. "Modifications" means any addition to or deletion from the - substance or structure of either the Original Code or any previous - Modifications. When Covered Code is released as a series of files, a - Modification is: - A. Any addition to or deletion from the contents of a file - containing Original Code or previous Modifications. - - B. Any new file that contains any part of the Original Code or - previous Modifications. - - 1.10. "Original Code" means Source Code of computer software code - which is described in the Source Code notice required by Exhibit A as - Original Code, and which, at the time of its release under this - License is not already Covered Code governed by this License. - - 1.10.1. "Patent Claims" means any patent claim(s), now owned or - hereafter acquired, including without limitation, method, process, - and apparatus claims, in any patent Licensable by grantor. - - 1.11. "Source Code" means the preferred form of the Covered Code for - making modifications to it, including all modules it contains, plus - any associated interface definition files, scripts used to control - compilation and installation of an Executable, or source code - differential comparisons against either the Original Code or another - well known, available Covered Code of the Contributor's choice. The - Source Code can be in a compressed or archival form, provided the - appropriate decompression or de-archiving software is widely available - for no charge. - - 1.12. "You" (or "Your") means an individual or a legal entity - exercising rights under, and complying with all of the terms of, this - License or a future version of this License issued under Section 6.1. - For legal entities, "You" includes any entity which controls, is - controlled by, or is under common control with You. For purposes of - this definition, "control" means (a) the power, direct or indirect, - to cause the direction or management of such entity, whether by - contract or otherwise, or (b) ownership of more than fifty percent - (50%) of the outstanding shares or beneficial ownership of such - entity. - -2. Source Code License. - - 2.1. The Initial Developer Grant. - The Initial Developer hereby grants You a world-wide, royalty-free, - non-exclusive license, subject to third party intellectual property - claims: - (a) under intellectual property rights (other than patent or - trademark) Licensable by Initial Developer to use, reproduce, - modify, display, perform, sublicense and distribute the Original - Code (or portions thereof) with or without Modifications, and/or - as part of a Larger Work; and - - (b) under Patents Claims infringed by the making, using or - selling of Original Code, to make, have made, use, practice, - sell, and offer for sale, and/or otherwise dispose of the - Original Code (or portions thereof). - - (c) the licenses granted in this Section 2.1(a) and (b) are - effective on the date Initial Developer first distributes - Original Code under the terms of this License. - - (d) Notwithstanding Section 2.1(b) above, no patent license is - granted: 1) for code that You delete from the Original Code; 2) - separate from the Original Code; or 3) for infringements caused - by: i) the modification of the Original Code or ii) the - combination of the Original Code with other software or devices. - - 2.2. Contributor Grant. - Subject to third party intellectual property claims, each Contributor - hereby grants You a world-wide, royalty-free, non-exclusive license - - (a) under intellectual property rights (other than patent or - trademark) Licensable by Contributor, to use, reproduce, modify, - display, perform, sublicense and distribute the Modifications - created by such Contributor (or portions thereof) either on an - unmodified basis, with other Modifications, as Covered Code - and/or as part of a Larger Work; and - - (b) under Patent Claims infringed by the making, using, or - selling of Modifications made by that Contributor either alone - and/or in combination with its Contributor Version (or portions - of such combination), to make, use, sell, offer for sale, have - made, and/or otherwise dispose of: 1) Modifications made by that - Contributor (or portions thereof); and 2) the combination of - Modifications made by that Contributor with its Contributor - Version (or portions of such combination). - - (c) the licenses granted in Sections 2.2(a) and 2.2(b) are - effective on the date Contributor first makes Commercial Use of - the Covered Code. - - (d) Notwithstanding Section 2.2(b) above, no patent license is - granted: 1) for any code that Contributor has deleted from the - Contributor Version; 2) separate from the Contributor Version; - 3) for infringements caused by: i) third party modifications of - Contributor Version or ii) the combination of Modifications made - by that Contributor with other software (except as part of the - Contributor Version) or other devices; or 4) under Patent Claims - infringed by Covered Code in the absence of Modifications made by - that Contributor. - -3. Distribution Obligations. - - 3.1. Application of License. - The Modifications which You create or to which You contribute are - governed by the terms of this License, including without limitation - Section 2.2. The Source Code version of Covered Code may be - distributed only under the terms of this License or a future version - of this License released under Section 6.1, and You must include a - copy of this License with every copy of the Source Code You - distribute. You may not offer or impose any terms on any Source Code - version that alters or restricts the applicable version of this - License or the recipients' rights hereunder. However, You may include - an additional document offering the additional rights described in - Section 3.5. - - 3.2. Availability of Source Code. - Any Modification which You create or to which You contribute must be - made available in Source Code form under the terms of this License - either on the same media as an Executable version or via an accepted - Electronic Distribution Mechanism to anyone to whom you made an - Executable version available; and if made available via Electronic - Distribution Mechanism, must remain available for at least twelve (12) - months after the date it initially became available, or at least six - (6) months after a subsequent version of that particular Modification - has been made available to such recipients. You are responsible for - ensuring that the Source Code version remains available even if the - Electronic Distribution Mechanism is maintained by a third party. - - 3.3. Description of Modifications. - You must cause all Covered Code to which You contribute to contain a - file documenting the changes You made to create that Covered Code and - the date of any change. You must include a prominent statement that - the Modification is derived, directly or indirectly, from Original - Code provided by the Initial Developer and including the name of the - Initial Developer in (a) the Source Code, and (b) in any notice in an - Executable version or related documentation in which You describe the - origin or ownership of the Covered Code. - - 3.4. Intellectual Property Matters - (a) Third Party Claims. - If Contributor has knowledge that a license under a third party's - intellectual property rights is required to exercise the rights - granted by such Contributor under Sections 2.1 or 2.2, - Contributor must include a text file with the Source Code - distribution titled "LEGAL" which describes the claim and the - party making the claim in sufficient detail that a recipient will - know whom to contact. If Contributor obtains such knowledge after - the Modification is made available as described in Section 3.2, - Contributor shall promptly modify the LEGAL file in all copies - Contributor makes available thereafter and shall take other steps - (such as notifying appropriate mailing lists or newsgroups) - reasonably calculated to inform those who received the Covered - Code that new knowledge has been obtained. - - (b) Contributor APIs. - If Contributor's Modifications include an application programming - interface and Contributor has knowledge of patent licenses which - are reasonably necessary to implement that API, Contributor must - also include this information in the LEGAL file. - - (c) Representations. - Contributor represents that, except as disclosed pursuant to - Section 3.4(a) above, Contributor believes that Contributor's - Modifications are Contributor's original creation(s) and/or - Contributor has sufficient rights to grant the rights conveyed by - this License. - - 3.5. Required Notices. - You must duplicate the notice in Exhibit A in each file of the Source - Code. If it is not possible to put such notice in a particular Source - Code file due to its structure, then You must include such notice in a - location (such as a relevant directory) where a user would be likely - to look for such a notice. If You created one or more Modification(s) - You may add your name as a Contributor to the notice described in - Exhibit A. You must also duplicate this License in any documentation - for the Source Code where You describe recipients' rights or ownership - rights relating to Covered Code. You may choose to offer, and to - charge a fee for, warranty, support, indemnity or liability - obligations to one or more recipients of Covered Code. However, You - may do so only on Your own behalf, and not on behalf of the Initial - Developer or any Contributor. You must make it absolutely clear than - any such warranty, support, indemnity or liability obligation is - offered by You alone, and You hereby agree to indemnify the Initial - Developer and every Contributor for any liability incurred by the - Initial Developer or such Contributor as a result of warranty, - support, indemnity or liability terms You offer. - - 3.6. Distribution of Executable Versions. - You may distribute Covered Code in Executable form only if the - requirements of Section 3.1-3.5 have been met for that Covered Code, - and if You include a notice stating that the Source Code version of - the Covered Code is available under the terms of this License, - including a description of how and where You have fulfilled the - obligations of Section 3.2. The notice must be conspicuously included - in any notice in an Executable version, related documentation or - collateral in which You describe recipients' rights relating to the - Covered Code. You may distribute the Executable version of Covered - Code or ownership rights under a license of Your choice, which may - contain terms different from this License, provided that You are in - compliance with the terms of this License and that the license for the - Executable version does not attempt to limit or alter the recipient's - rights in the Source Code version from the rights set forth in this - License. If You distribute the Executable version under a different - license You must make it absolutely clear that any terms which differ - from this License are offered by You alone, not by the Initial - Developer or any Contributor. You hereby agree to indemnify the - Initial Developer and every Contributor for any liability incurred by - the Initial Developer or such Contributor as a result of any such - terms You offer. - - 3.7. Larger Works. - You may create a Larger Work by combining Covered Code with other code - not governed by the terms of this License and distribute the Larger - Work as a single product. In such a case, You must make sure the - requirements of this License are fulfilled for the Covered Code. - -4. Inability to Comply Due to Statute or Regulation. - - If it is impossible for You to comply with any of the terms of this - License with respect to some or all of the Covered Code due to - statute, judicial order, or regulation then You must: (a) comply with - the terms of this License to the maximum extent possible; and (b) - describe the limitations and the code they affect. Such description - must be included in the LEGAL file described in Section 3.4 and must - be included with all distributions of the Source Code. Except to the - extent prohibited by statute or regulation, such description must be - sufficiently detailed for a recipient of ordinary skill to be able to - understand it. - -5. Application of this License. - - This License applies to code to which the Initial Developer has - attached the notice in Exhibit A and to related Covered Code. - -6. Versions of the License. - - 6.1. New Versions. - Netscape Communications Corporation ("Netscape") may publish revised - and/or new versions of the License from time to time. Each version - will be given a distinguishing version number. - - 6.2. Effect of New Versions. - Once Covered Code has been published under a particular version of the - License, You may always continue to use it under the terms of that - version. You may also choose to use such Covered Code under the terms - of any subsequent version of the License published by Netscape. No one - other than Netscape has the right to modify the terms applicable to - Covered Code created under this License. - - 6.3. Derivative Works. - If You create or use a modified version of this License (which you may - only do in order to apply it to code which is not already Covered Code - governed by this License), You must (a) rename Your license so that - the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape", - "MPL", "NPL" or any confusingly similar phrase do not appear in your - license (except to note that your license differs from this License) - and (b) otherwise make it clear that Your version of the license - contains terms which differ from the Mozilla Public License and - Netscape Public License. (Filling in the name of the Initial - Developer, Original Code or Contributor in the notice described in - Exhibit A shall not of themselves be deemed to be modifications of - this License.) - -7. DISCLAIMER OF WARRANTY. - - COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, - WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, - WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF - DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. - THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE - IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, - YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE - COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER - OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF - ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. - -8. TERMINATION. - - 8.1. This License and the rights granted hereunder will terminate - automatically if You fail to comply with terms herein and fail to cure - such breach within 30 days of becoming aware of the breach. All - sublicenses to the Covered Code which are properly granted shall - survive any termination of this License. Provisions which, by their - nature, must remain in effect beyond the termination of this License - shall survive. - - 8.2. If You initiate litigation by asserting a patent infringement - claim (excluding declatory judgment actions) against Initial Developer - or a Contributor (the Initial Developer or Contributor against whom - You file such action is referred to as "Participant") alleging that: - - (a) such Participant's Contributor Version directly or indirectly - infringes any patent, then any and all rights granted by such - Participant to You under Sections 2.1 and/or 2.2 of this License - shall, upon 60 days notice from Participant terminate prospectively, - unless if within 60 days after receipt of notice You either: (i) - agree in writing to pay Participant a mutually agreeable reasonable - royalty for Your past and future use of Modifications made by such - Participant, or (ii) withdraw Your litigation claim with respect to - the Contributor Version against such Participant. If within 60 days - of notice, a reasonable royalty and payment arrangement are not - mutually agreed upon in writing by the parties or the litigation claim - is not withdrawn, the rights granted by Participant to You under - Sections 2.1 and/or 2.2 automatically terminate at the expiration of - the 60 day notice period specified above. - - (b) any software, hardware, or device, other than such Participant's - Contributor Version, directly or indirectly infringes any patent, then - any rights granted to You by such Participant under Sections 2.1(b) - and 2.2(b) are revoked effective as of the date You first made, used, - sold, distributed, or had made, Modifications made by that - Participant. - - 8.3. If You assert a patent infringement claim against Participant - alleging that such Participant's Contributor Version directly or - indirectly infringes any patent where such claim is resolved (such as - by license or settlement) prior to the initiation of patent - infringement litigation, then the reasonable value of the licenses - granted by such Participant under Sections 2.1 or 2.2 shall be taken - into account in determining the amount or value of any payment or - license. - - 8.4. In the event of termination under Sections 8.1 or 8.2 above, - all end user license agreements (excluding distributors and resellers) - which have been validly granted by You or any distributor hereunder - prior to termination shall survive termination. - -9. LIMITATION OF LIABILITY. - - UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT - (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL - DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE, - OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR - ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY - CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, - WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER - COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN - INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF - LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY - RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW - PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE - EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO - THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. - -10. U.S. GOVERNMENT END USERS. - - The Covered Code is a "commercial item," as that term is defined in - 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer - software" and "commercial computer software documentation," as such - terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 - C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), - all U.S. Government End Users acquire Covered Code with only those - rights set forth herein. - -11. MISCELLANEOUS. - - This License represents the complete agreement concerning subject - matter hereof. If any provision of this License is held to be - unenforceable, such provision shall be reformed only to the extent - necessary to make it enforceable. This License shall be governed by - California law provisions (except to the extent applicable law, if - any, provides otherwise), excluding its conflict-of-law provisions. - With respect to disputes in which at least one party is a citizen of, - or an entity chartered or registered to do business in the United - States of America, any litigation relating to this License shall be - subject to the jurisdiction of the Federal Courts of the Northern - District of California, with venue lying in Santa Clara County, - California, with the losing party responsible for costs, including - without limitation, court costs and reasonable attorneys' fees and - expenses. The application of the United Nations Convention on - Contracts for the International Sale of Goods is expressly excluded. - Any law or regulation which provides that the language of a contract - shall be construed against the drafter shall not apply to this - License. - -12. RESPONSIBILITY FOR CLAIMS. - - As between Initial Developer and the Contributors, each party is - responsible for claims and damages arising, directly or indirectly, - out of its utilization of rights under this License and You agree to - work with Initial Developer and Contributors to distribute such - responsibility on an equitable basis. Nothing herein is intended or - shall be deemed to constitute any admission of liability. - -13. MULTIPLE-LICENSED CODE. - - Initial Developer may designate portions of the Covered Code as - "Multiple-Licensed". "Multiple-Licensed" means that the Initial - Developer permits you to utilize portions of the Covered Code under - Your choice of the NPL or the alternative licenses, if any, specified - by the Initial Developer in the file described in Exhibit A. - -EXHIBIT A -Mozilla Public License. - - ``The contents of this file are subject to the Mozilla Public License - Version 1.1 (the "License"); you may not use this file except in - compliance with the License. You may obtain a copy of the License at - http://www.mozilla.org/MPL/ - - Software distributed under the License is distributed on an "AS IS" - basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the - License for the specific language governing rights and limitations - under the License. - - The Original Code is ______________________________________. - - The Initial Developer of the Original Code is ________________________. - Portions created by ______________________ are Copyright (C) ______ - _______________________. All Rights Reserved. - - Contributor(s): ______________________________________. - - Alternatively, the contents of this file may be used under the terms - of the _____ license (the "[___] License"), in which case the - provisions of [______] License are applicable instead of those - above. If you wish to allow use of your version of this file only - under the terms of the [____] License and not to allow others to use - your version of this file under the MPL, indicate your decision by - deleting the provisions above and replace them with the notice and - other provisions required by the [___] License. If you do not delete - the provisions above, a recipient may use your version of this file - under either the MPL or the [___] License." - - [NOTE: The text of this Exhibit A may differ slightly from the text of - the notices in the Source Code files of the Original Code. You should - use the text of this Exhibit A rather than the text found in the - Original Code Source Code for Your Modifications.] - - -=============================================================================== -Groovy (groovy-all-minimal-1.5.4.jar): - -/* - $Id: LICENSE.txt 156 2003-09-26 17:36:37Z jstrachan $ - - Copyright 2003 (C) James Strachan and Bob Mcwhirter. All Rights Reserved. - - Redistribution and use of this software and associated documentation - ("Software"), with or without modification, are permitted provided - that the following conditions are met: - - 1. Redistributions of source code must retain copyright - statements and notices. Redistributions must also contain a - copy of this document. - - 2. Redistributions in binary form must reproduce the - above copyright notice, this list of conditions and the - following disclaimer in the documentation and/or other - materials provided with the distribution. - - 3. The name "groovy" must not be used to endorse or promote - products derived from this Software without prior written - permission of The Codehaus. For written permission, - please contact info@codehaus.org. - - 4. Products derived from this Software may not be called "groovy" - nor may "groovy" appear in their names without prior written - permission of The Codehaus. "groovy" is a registered - trademark of The Codehaus. - - 5. Due credit should be given to The Codehaus - - http://groovy.codehaus.org/ - - THIS SOFTWARE IS PROVIDED BY THE CODEHAUS AND CONTRIBUTORS - ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT - NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL - THE CODEHAUS OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, - INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, - STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED - OF THE POSSIBILITY OF SUCH DAMAGE. - - */ - -=============================================================================== - -Jython (jython-2.2.jar): - -A. HISTORY OF THE SOFTWARE -======================= - -JPython was created in late 1997 by Jim Hugunin. Jim was also the -primary developer while he was at CNRI. In February 1999 Barry Warsaw -took over as primary developer and released JPython version 1.1. - -In October 2000 Barry helped move the software to SourceForge -where it was renamed to Jython. Jython 2.0 and on are licensed under -the Jython specific license below. - -The standard library is covered by the Python Software Foundation -license. See the LICENSE_CPython.txt file for details. - -The zxJDBC package was written by Brian Zimmer and originally licensed -under the GNU Public License. The package is now covered by the Jython -Software License. - -The command line interpreter is covered by the Apache Software -License. See the LICENSE_Apache.txt file for details. - -B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING JYTHON -================================ - -Copyright (c) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Jython Developers -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - - - Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - - - Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the distribution. - - - Neither the name of the Jython Developers nor the names of - its contributors may be used to endorse or promote products - derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR -CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY -OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - - - -JPython 1.1.x Software License. -========================= - -______________________________________________________________________ - -IMPORTANT: PLEASE READ THE FOLLOWING AGREEMENT CAREFULLY. - -BY CLICKING ON THE "ACCEPT" BUTTON WHERE INDICATED, OR BY INSTALLING, -COPYING OR OTHERWISE USING THE SOFTWARE, YOU ARE DEEMED TO HAVE AGREED TO -THE TERMS AND CONDITIONS OF THIS AGREEMENT. - -______________________________________________________________________ - -JPython version 1.1.x - - 1. This LICENSE AGREEMENT is between the Corporation for National Research - Initiatives, having an office at 1895 Preston White Drive, Reston, VA - 20191 ("CNRI"), and the Individual or Organization ("Licensee") - accessing and using JPython version 1.1.x in source or binary form and - its associated documentation as provided herein ("Software"). - - 2. Subject to the terms and conditions of this License Agreement, CNRI - hereby grants Licensee a non-exclusive, non-transferable, royalty-free, - world-wide license to reproduce, analyze, test, perform and/or display - publicly, prepare derivative works, distribute, and otherwise use the - Software alone or in any derivative version, provided, however, that - CNRI's License Agreement and CNRI's notice of copyright, i.e., - "Copyright ©1996-1999 Corporation for National Research Initiatives; - All Rights Reserved" are both retained in the Software, alone or in any - derivative version prepared by Licensee. - - Alternatively, in lieu of CNRI's License Agreement, Licensee may - substitute the following text (omitting the quotes), provided, however, - that such text is displayed prominently in the Software alone or in any - derivative version prepared by Licensee: "JPython (Version 1.1.x) is - made available subject to the terms and conditions in CNRI's License - Agreement. This Agreement may be located on the Internet using the - following unique, persistent identifier (known as a handle): - 1895.22/1006. The License may also be obtained from a proxy server on - the Web using the following URL: http://hdl.handle.net/1895.22/1006." - - 3. In the event Licensee prepares a derivative work that is based on or - incorporates the Software or any part thereof, and wants to make the - derivative work available to the public as provided herein, then - Licensee hereby agrees to indicate in any such work, in a prominently - visible way, the nature of the modifications made to CNRI's Software. - - 4. Licensee may not use CNRI trademarks or trade name, including JPython - or CNRI, in a trademark sense to endorse or promote products or - services of Licensee, or any third party. Licensee may use the mark - JPython in connection with Licensee's derivative versions that are - based on or incorporate the Software, but only in the form - "JPython-based ___________________," or equivalent. - - 5. CNRI is making the Software available to Licensee on an "AS IS" basis. - CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY - OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND DISCLAIMS ANY - REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY - PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT INFRINGE - ANY THIRD PARTY RIGHTS. - - 6. CNRI SHALL NOT BE LIABLE TO LICENSEE OR OTHER USERS OF THE SOFTWARE FOR - ANY INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF - USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY DERIVATIVE - THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. SOME STATES DO NOT - ALLOW THE LIMITATION OR EXCLUSION OF LIABILITY SO THE ABOVE DISCLAIMER - MAY NOT APPLY TO LICENSEE. - - 7. This License Agreement may be terminated by CNRI (i) immediately upon - written notice from CNRI of any material breach by the Licensee, if the - nature of the breach is such that it cannot be promptly remedied; or - (ii) sixty (60) days following notice from CNRI to Licensee of a - material remediable breach, if Licensee has not remedied such breach - within that sixty-day period. - - 8. This License Agreement shall be governed by and interpreted in all - respects by the law of the State of Virginia, excluding conflict of law - provisions. Nothing in this Agreement shall be deemed to create any - relationship of agency, partnership, or joint venture between CNRI and - Licensee. - - 9. By clicking on the "ACCEPT" button where indicated, or by installing, - copying or otherwise using the Software, Licensee agrees to be bound by - the terms and conditions of this License Agreement. - - -=============================================================================== - -The jars; -activation-1.1.jar, -jaxb-api-2.1.jar, -jaxb-impl-2.1.6.jar, -jaxb-xjc-2.1.4.jar, -jaxb2-reflection-2.1.4.jar, -jsr181-api-1.0-MR1.jar, -jsr250-api-1.0.jar, -jaxws-api-2.1-1.jar, -mail-1.4.jar, -saaj-api-1.3.jar, -servlet-api-2.5.jar, -stax-api-1.0-commons-cli-1.0.jar2.jar - -COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0 - - - 1. Definitions. - - 1.1. "Contributor" means each individual or entity that - creates or contributes to the creation of Modifications. - - 1.2. "Contributor Version" means the combination of the - Original Software, prior Modifications used by a - Contributor (if any), and the Modifications made by that - particular Contributor. - - 1.3. "Covered Software" means (a) the Original Software, or - (b) Modifications, or (c) the combination of files - containing Original Software with files containing - Modifications, in each case including portions thereof. - - 1.4. "Executable" means the Covered Software in any form - other than Source Code. - - 1.5. "Initial Developer" means the individual or entity - that first makes Original Software available under this - License. - - 1.6. "Larger Work" means a work which combines Covered - Software or portions thereof with code not governed by the - terms of this License. - - 1.7. "License" means this document. - - 1.8. "Licensable" means having the right to grant, to the - maximum extent possible, whether at the time of the initial - grant or subsequently acquired, any and all of the rights - conveyed herein. - - 1.9. "Modifications" means the Source Code and Executable - form of any of the following: - - A. Any file that results from an addition to, - deletion from or modification of the contents of a - file containing Original Software or previous - Modifications; - - B. Any new file that contains any part of the - Original Software or previous Modification; or - - C. Any new file that is contributed or otherwise made - available under the terms of this License. - - 1.10. "Original Software" means the Source Code and - Executable form of computer software code that is - originally released under this License. - - 1.11. "Patent Claims" means any patent claim(s), now owned - or hereafter acquired, including without limitation, - method, process, and apparatus claims, in any patent - Licensable by grantor. - - 1.12. "Source Code" means (a) the common form of computer - software code in which modifications are made and (b) - associated documentation included in or with such code. - - 1.13. "You" (or "Your") means an individual or a legal - entity exercising rights under, and complying with all of - the terms of, this License. For legal entities, "You" - includes any entity which controls, is controlled by, or is - under common control with You. For purposes of this - definition, "control" means (a) the power, direct or - indirect, to cause the direction or management of such - entity, whether by contract or otherwise, or (b) ownership - of more than fifty percent (50%) of the outstanding shares - or beneficial ownership of such entity. - - 2. License Grants. - - 2.1. The Initial Developer Grant. - - Conditioned upon Your compliance with Section 3.1 below and - subject to third party intellectual property claims, the - Initial Developer hereby grants You a world-wide, - royalty-free, non-exclusive license: - - (a) under intellectual property rights (other than - patent or trademark) Licensable by Initial Developer, - to use, reproduce, modify, display, perform, - sublicense and distribute the Original Software (or - portions thereof), with or without Modifications, - and/or as part of a Larger Work; and - - (b) under Patent Claims infringed by the making, - using or selling of Original Software, to make, have - made, use, practice, sell, and offer for sale, and/or - otherwise dispose of the Original Software (or - portions thereof). - - (c) The licenses granted in Sections 2.1(a) and (b) - are effective on the date Initial Developer first - distributes or otherwise makes the Original Software - available to a third party under the terms of this - License. - - (d) Notwithstanding Section 2.1(b) above, no patent - license is granted: (1) for code that You delete from - the Original Software, or (2) for infringements - caused by: (i) the modification of the Original - Software, or (ii) the combination of the Original - Software with other software or devices. - - 2.2. Contributor Grant. - - Conditioned upon Your compliance with Section 3.1 below and - subject to third party intellectual property claims, each - Contributor hereby grants You a world-wide, royalty-free, - non-exclusive license: - - (a) under intellectual property rights (other than - patent or trademark) Licensable by Contributor to - use, reproduce, modify, display, perform, sublicense - and distribute the Modifications created by such - Contributor (or portions thereof), either on an - unmodified basis, with other Modifications, as - Covered Software and/or as part of a Larger Work; and - - - (b) under Patent Claims infringed by the making, - using, or selling of Modifications made by that - Contributor either alone and/or in combination with - its Contributor Version (or portions of such - combination), to make, use, sell, offer for sale, - have made, and/or otherwise dispose of: (1) - Modifications made by that Contributor (or portions - thereof); and (2) the combination of Modifications - made by that Contributor with its Contributor Version - (or portions of such combination). - - (c) The licenses granted in Sections 2.2(a) and - 2.2(b) are effective on the date Contributor first - distributes or otherwise makes the Modifications - available to a third party. - - (d) Notwithstanding Section 2.2(b) above, no patent - license is granted: (1) for any code that Contributor - has deleted from the Contributor Version; (2) for - infringements caused by: (i) third party - modifications of Contributor Version, or (ii) the - combination of Modifications made by that Contributor - with other software (except as part of the - Contributor Version) or other devices; or (3) under - Patent Claims infringed by Covered Software in the - absence of Modifications made by that Contributor. - - 3. Distribution Obligations. - - 3.1. Availability of Source Code. - - Any Covered Software that You distribute or otherwise make - available in Executable form must also be made available in - Source Code form and that Source Code form must be - distributed only under the terms of this License. You must - include a copy of this License with every copy of the - Source Code form of the Covered Software You distribute or - otherwise make available. You must inform recipients of any - such Covered Software in Executable form as to how they can - obtain such Covered Software in Source Code form in a - reasonable manner on or through a medium customarily used - for software exchange. - - 3.2. Modifications. - - The Modifications that You create or to which You - contribute are governed by the terms of this License. You - represent that You believe Your Modifications are Your - original creation(s) and/or You have sufficient rights to - grant the rights conveyed by this License. - - 3.3. Required Notices. - - You must include a notice in each of Your Modifications - that identifies You as the Contributor of the Modification. - You may not remove or alter any copyright, patent or - trademark notices contained within the Covered Software, or - any notices of licensing or any descriptive text giving - attribution to any Contributor or the Initial Developer. - - 3.4. Application of Additional Terms. - - You may not offer or impose any terms on any Covered - Software in Source Code form that alters or restricts the - applicable version of this License or the recipients' - rights hereunder. You may choose to offer, and to charge a - fee for, warranty, support, indemnity or liability - obligations to one or more recipients of Covered Software. - However, you may do so only on Your own behalf, and not on - behalf of the Initial Developer or any Contributor. You - must make it absolutely clear that any such warranty, - support, indemnity or liability obligation is offered by - You alone, and You hereby agree to indemnify the Initial - Developer and every Contributor for any liability incurred - by the Initial Developer or such Contributor as a result of - warranty, support, indemnity or liability terms You offer. - - - 3.5. Distribution of Executable Versions. - - You may distribute the Executable form of the Covered - Software under the terms of this License or under the terms - of a license of Your choice, which may contain terms - different from this License, provided that You are in - compliance with the terms of this License and that the - license for the Executable form does not attempt to limit - or alter the recipient's rights in the Source Code form - from the rights set forth in this License. If You - distribute the Covered Software in Executable form under a - different license, You must make it absolutely clear that - any terms which differ from this License are offered by You - alone, not by the Initial Developer or Contributor. You - hereby agree to indemnify the Initial Developer and every - Contributor for any liability incurred by the Initial - Developer or such Contributor as a result of any such terms - You offer. - - 3.6. Larger Works. - - You may create a Larger Work by combining Covered Software - with other code not governed by the terms of this License - and distribute the Larger Work as a single product. In such - a case, You must make sure the requirements of this License - are fulfilled for the Covered Software. - - 4. Versions of the License. - - 4.1. New Versions. - - Sun Microsystems, Inc. is the initial license steward and - may publish revised and/or new versions of this License - from time to time. Each version will be given a - distinguishing version number. Except as provided in - Section 4.3, no one other than the license steward has the - right to modify this License. - - 4.2. Effect of New Versions. - - You may always continue to use, distribute or otherwise - make the Covered Software available under the terms of the - version of the License under which You originally received - the Covered Software. If the Initial Developer includes a - notice in the Original Software prohibiting it from being - distributed or otherwise made available under any - subsequent version of the License, You must distribute and - make the Covered Software available under the terms of the - version of the License under which You originally received - the Covered Software. Otherwise, You may also choose to - use, distribute or otherwise make the Covered Software - available under the terms of any subsequent version of the - License published by the license steward. - - 4.3. Modified Versions. - - When You are an Initial Developer and You want to create a - new license for Your Original Software, You may create and - use a modified version of this License if You: (a) rename - the license and remove any references to the name of the - license steward (except to note that the license differs - from this License); and (b) otherwise make it clear that - the license contains terms which differ from this License. - - - 5. DISCLAIMER OF WARRANTY. - - COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" - BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, - INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED - SOFTWARE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR - PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND - PERFORMANCE OF THE COVERED SOFTWARE IS WITH YOU. SHOULD ANY - COVERED SOFTWARE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE - INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF - ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF - WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF - ANY COVERED SOFTWARE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS - DISCLAIMER. - - 6. TERMINATION. - - 6.1. This License and the rights granted hereunder will - terminate automatically if You fail to comply with terms - herein and fail to cure such breach within 30 days of - becoming aware of the breach. Provisions which, by their - nature, must remain in effect beyond the termination of - this License shall survive. - - 6.2. If You assert a patent infringement claim (excluding - declaratory judgment actions) against Initial Developer or - a Contributor (the Initial Developer or Contributor against - whom You assert such claim is referred to as "Participant") - alleging that the Participant Software (meaning the - Contributor Version where the Participant is a Contributor - or the Original Software where the Participant is the - Initial Developer) directly or indirectly infringes any - patent, then any and all rights granted directly or - indirectly to You by such Participant, the Initial - Developer (if the Initial Developer is not the Participant) - and all Contributors under Sections 2.1 and/or 2.2 of this - License shall, upon 60 days notice from Participant - terminate prospectively and automatically at the expiration - of such 60 day notice period, unless if within such 60 day - period You withdraw Your claim with respect to the - Participant Software against such Participant either - unilaterally or pursuant to a written agreement with - Participant. - - 6.3. In the event of termination under Sections 6.1 or 6.2 - above, all end user licenses that have been validly granted - by You or any distributor hereunder prior to termination - (excluding licenses granted to You by any distributor) - shall survive termination. - - 7. LIMITATION OF LIABILITY. - - UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT - (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE - INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF - COVERED SOFTWARE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE - LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR - CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT - LIMITATION, DAMAGES FOR LOST PROFITS, LOSS OF GOODWILL, WORK - STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER - COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN - INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF - LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL - INJURY RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT - APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO - NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR - CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT - APPLY TO YOU. - - 8. U.S. GOVERNMENT END USERS. - - The Covered Software is a "commercial item," as that term is - defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial - computer software" (as that term is defined at 48 C.F.R. - 252.227-7014(a)(1)) and "commercial computer software - documentation" as such terms are used in 48 C.F.R. 12.212 (Sept. - 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 - through 227.7202-4 (June 1995), all U.S. Government End Users - acquire Covered Software with only those rights set forth herein. - This U.S. Government Rights clause is in lieu of, and supersedes, - any other FAR, DFAR, or other clause or provision that addresses - Government rights in computer software under this License. - - 9. MISCELLANEOUS. - - This License represents the complete agreement concerning subject - matter hereof. If any provision of this License is held to be - unenforceable, such provision shall be reformed only to the - extent necessary to make it enforceable. This License shall be - governed by the law of the jurisdiction specified in a notice - contained within the Original Software (except to the extent - applicable law, if any, provides otherwise), excluding such - jurisdiction's conflict-of-law provisions. Any litigation - relating to this License shall be subject to the jurisdiction of - the courts located in the jurisdiction and venue specified in a - notice contained within the Original Software, with the losing - party responsible for costs, including, without limitation, court - costs and reasonable attorneys' fees and expenses. The - application of the United Nations Convention on Contracts for the - International Sale of Goods is expressly excluded. Any law or - regulation which provides that the language of a contract shall - be construed against the drafter shall not apply to this License. - You agree that You alone are responsible for compliance with the - United States export administration regulations (and the export - control laws and regulation of any other countries) when You use, - distribute or otherwise make available any Covered Software. - - 10. RESPONSIBILITY FOR CLAIMS. - - As between Initial Developer and the Contributors, each party is - responsible for claims and damages arising, directly or - indirectly, out of its utilization of rights under this License - and You agree to work with Initial Developer and Contributors to - distribute such responsibility on an equitable basis. Nothing - herein is intended or shall be deemed to constitute any admission - of liability. - -=============================================================================== - -JRuby (jruby-complete-1.0.jar), wsdl4j (wsdl4j-1.6.2.jar): - -Common Public License - v 1.0 - -THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. - -1. DEFINITIONS - -"Contribution" means: - - a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and - b) in the case of each subsequent Contributor: - - i) changes to the Program, and - - ii) additions to the Program; - - where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. Contributions do not include additions to the Program which: (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program. - -"Contributor" means any person or entity that distributes the Program. - -"Licensed Patents " mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program. - -"Program" means the Contributions distributed in accordance with this Agreement. - -"Recipient" means anyone who receives the Program under this Agreement, including all Contributors. - -2. GRANT OF RIGHTS - - a) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code form. - - b) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder. - - c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the Program, it is Recipient's responsibility to acquire that license before distributing the Program. - - d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement. - -3. REQUIREMENTS - -A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that: - - a) it complies with the terms and conditions of this Agreement; and - - b) its license agreement: - - i) effectively disclaims on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose; - - ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits; - - iii) states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and - - iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange. - -When the Program is made available in source code form: - - a) it must be made available under this Agreement; and - - b) a copy of this Agreement must be included with each copy of the Program. - -Contributors may not remove or alter any copyright notices contained within the Program. - -Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows subsequent Recipients to identify the originator of the Contribution. - -4. COMMERCIAL DISTRIBUTION - -Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor ("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense. - -For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages. - -5. NO WARRANTY - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely responsible for determining the appropriateness of using and distributing the Program and assumes all risks associated with its exercise of rights under this Agreement, including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, programs or equipment, and unavailability or interruption of operations. - -6. DISCLAIMER OF LIABILITY - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -7. GENERAL - -If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable. - -If Recipient institutes patent litigation against a Contributor with respect to a patent applicable to software (including a cross-claim or counterclaim in a lawsuit), then any patent licenses granted by that Contributor to such Recipient under this Agreement shall terminate as of the date such litigation is filed. In addition, if Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed. - -All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive. - -Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the right to modify this Agreement. IBM is the initial Agreement Steward. IBM may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the new version. Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or otherwise. All rights in the Program not expressly granted under this Agreement are reserved. - -This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation. - -=============================================================================== - -backport-util-concurrent-2.2.jar: - -The software comprising backport-util-concurrent is based in large -part on the code from JSR166, and the package dl.util.concurrent. -The software has been released to the public domain, as explained at: -http://creativecommons.org/licenses/publicdomain, excepting portions -of the class -edu.emory.mathcs.backport.java.util.concurrent.CopyOnWriteArrayList, -which were adapted from class java.util.ArrayList, written by Sun -Microsystems, Inc, which are used with kind permission, and subject -to the following: - -Copyright 2002-2004 Sun Microsystems, Inc. All rights reserved. Use is -subject to the following license terms. - - "Sun hereby grants you a non-exclusive, worldwide, non-transferrable - license to use and distribute the Java Software technologies as part - of a larger work in source and binary forms, with or without - modification, provided that the following conditions are met: - - -Neither the name of or trademarks of Sun may be used to endorse or - promote products derived from the Java Software technology without - specific prior written permission. - - -Redistributions of source or binary code must be accompanied by the - following notice and disclaimers: - - Portions copyright Sun Microsystems, Inc. Used with kind permission. - - This software is provided AS IS, without a warranty of any kind. ALL - EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND - WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF - MERCHANTABILITY, FITNESS FOR A PARTICULAR PUPOSE OR - NON-INFRINGEMENT, ARE HEREBY EXCLUDED. SUN - MICROSYSTEMS, INC. AND ITS LICENSORS SHALL NOT BE LIABLE - FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF - USING, MODIFYING OR DISTRIBUTING THE SOFTWARE OR ITS - DERIVATIVES. IN NO EVENT WILL SUN MICROSYSTEMS, INC. OR - ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR - DATA, OR FOR DIRECT, INDIRECT,CONSQUENTIAL, INCIDENTAL - OR PUNITIVE DAMAGES, HOWEVER CAUSED AND REGARDLESS OF - THE THEORY OR LIABILITY, ARISING OUT OF THE USE OF OR - INABILITY TO USE SOFTWARE, EVEN IF SUN MICROSYSTEMS, INC. - HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - - You acknowledge that Software is not designed, licensed or intended for - use in the design, construction, operation or maintenance of any nuclear - facility." - -=============================================================================== -rome-0.9.jar - -Copyright 2004 Sun Microsystems, Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. - -=============================================================================== -jdom-1.0.jar : - -$Id: LICENSE.txt,v 1.11 2004/02/06 09:32:57 jhunter Exp $ - - Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin. - All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions - are met: - - 1. Redistributions of source code must retain the above copyright - notice, this list of conditions, and the following disclaimer. - - 2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions, and the disclaimer that follows - these conditions in the documentation and/or other materials - provided with the distribution. - - 3. The name "JDOM" must not be used to endorse or promote products - derived from this software without prior written permission. For - written permission, please contact . - - 4. Products derived from this software may not be called "JDOM", nor - may "JDOM" appear in their name, without prior written permission - from the JDOM Project Management . - - In addition, we request (but do not require) that you include in the - end-user documentation provided with the redistribution and/or in the - software itself an acknowledgement equivalent to the following: - "This product includes software developed by the - JDOM Project (http://www.jdom.org/)." - Alternatively, the acknowledgment may be graphical using the logos - available at http://www.jdom.org/images/logos. - - THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED - WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES - OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - DISCLAIMED. IN NO EVENT SHALL THE JDOM AUTHORS OR THE PROJECT - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF - USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT - OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - SUCH DAMAGE. - - This software consists of voluntary contributions made by many - individuals on behalf of the JDOM Project and was originally - created by Jason Hunter and - Brett McLaughlin . For more information - on the JDOM Project, please see . - -======================================================================== - -dwr-2.0.1.jar : - -/* -* Copyright 2005 Joe Walker -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ - -========================================================================== - -dojotoolkit V1.0.0: - -The "New" BSD License: -********************** - -Copyright (c) 2005, The Dojo Foundation -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - * Neither the name of the Dojo Foundation nor the names of its contributors - may be used to endorse or promote products derived from this software - without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -================================================================================ - -The module tuscany-implementation-script-1.0-incubating.jar temporarily includes -one file under the below BSD license with the following copyright: - - Copyright (c) 2006, Sun Microsystems, Inc. - All rights reserved. - -BSD license: - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are met: - - - Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - - - Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - - - Neither the name of the Sun Microsystems, Inc. nor the names of - contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND - CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED - WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE - COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY - DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF - USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE - OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH - DAMAGE. - -================================================================================ - -The serp-1.12.0.jar is distributed under the BSD license with the following copyright: - - Copyright (c) 2002, A. Abram White - All rights reserved. - -BSD license: - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are met: - - - Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - - - Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - - - Neither the name of the Sun Microsystems, Inc. nor the names of - contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND - CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED - WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE - COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY - DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF - USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE - OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH - DAMAGE. - -================================================================================ -The javacc-3.2.jar, and howl-1.0.1-1.jar are distributed under the BSD license: - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - - * Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED -TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR -CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -================================================================================ - -The tuscany-assembly-xsd jar includes XSD files under the following SCA Collaboration license: - -License for the Service Component Architecture JavaDoc, Interface -Definition files and XSD files. - -The Service Component Architecture JavaDoc, Interface Definition files, -and XSD files are being provided by the copyright holders under the -following license. By using and/or copying this work, you agree that -you have read, understood and will comply with the following terms and -conditions: - -Permission to copy, display, make derivative works of, and distribute -the Service Component Architecture JavaDoc, Interface Definition Files -and XSD files (the "Artifacts") in any medium without fee or royalty is -hereby granted, provided that you include the following on ALL copies -of the Artifacts, or portions thereof, that you make: - -1. A link or URL to the Artifacts at this location: -http://www.osoa.org/display/Main/Service+Component+Architecture+Specifications - -2. The full text of this copyright notice as shown in the Artifacts. - -THE ARTIFACTS ARE PROVIDED "AS IS," AND THE AUTHORS MAKE NO -REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, REGARDING THE -ARTIFACTS AND THE IMPLEMENTATION OF THEIR CONTENTS, INCLUDING, BUT NOT -LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR -PURPOSE, NON-INFRINGEMENT OR TITLE. - -THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, -INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY -USE OR DISTRIBUTION OF THE ARTIFACTS. - -The name and trademarks of the Authors may NOT be used in any manner, -including advertising or publicity pertaining to the Service Component -Architecture Specification or its contents without specific, written -prior permission. Title to copyright in the Service Component -Architecture Specification and the JavaDoc, Interface Definition Files -and XSD Files will at all times remain with the Authors. - -No other rights are granted by implication, estoppel or otherwise. - -Revision level 1.1, last updated on 2007/11/19 - -================================================================================ -License for the Service Data Objects JavaDoc and Interface Definition files. (tuscany-sdo-api-r2.1-1.0-incubating.jar) - -These files being ... -commonj/sdo/ChangeSummary$Setting.class -commonj/sdo/ChangeSummary.class -commonj/sdo/DataGraph.class -commonj/sdo/DataObject.class -commonj/sdo/helper/CopyHelper.class -commonj/sdo/helper/DataFactory.class -commonj/sdo/helper/DataHelper.class -commonj/sdo/helper/EqualityHelper.class -commonj/sdo/helper/HelperContext.class -commonj/sdo/helper/TypeHelper.class -commonj/sdo/helper/XMLDocument.class -commonj/sdo/helper/XMLHelper.class -commonj/sdo/helper/XSDHelper.class -commonj/sdo/impl/ExternalizableDelegator$Resolvable.class -commonj/sdo/impl/ExternalizableDelegator.class -commonj/sdo/Property.class -commonj/sdo/Sequence.class -commonj/sdo/Type.class -xml/datagraph.xsd -xml/sdoJava.xml -xml/sdoJava.xsd -xml/sdoModel.xml -xml/sdoModel.xsd -xml/sdoXML.xml -xml/sdoXML.xsd - - -License for the Service Data Objects JavaDoc and Interface Definition files. - -The Service Data Objects Specification is being provided by the copyright holders under the following -license. By using and/or copying this work, you agree that you have read, understood and will comply with -the following terms and conditions: - -Permission to copy, display and distribute the Service Data Objects Specification and/or portions thereof, without -modification, in any medium without fee or royalty is hereby granted, provided that you include the -following on ALL copies of the Service Data Objects Specification, or portions thereof, that you make: - -1. A link or URL to the Service Data Objects Specification at this location: -http://www.osoa.org/display/Main/Service+Data+Objects+Specifications - -2. The full text of this copyright notice as shown in the Service Data Objects Specification. - -BEA, IBM, Oracle, Primeton Technologies, Rogue Wave Software, SAP, Software AG, Sun Microsystems, Xcalia, -Zend Technologies (collectively, the “Authors”) agree to grant you a royalty-free license, under reasonable, -non-discriminatory terms and conditions to patents that they deem necessary to implement the Service Data -Objects Specification. - -THE Service Data Objects SPECIFICATION IS PROVIDED "AS IS," AND THE AUTHORS MAKE NO REPRESENTATIONS OR -WARRANTIES, EXPRESS OR IMPLIED, REGARDING THIS SPECIFICATION AND THE IMPLEMENTATION OF ITS CONTENTS, -INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, -NON-INFRINGEMENT OR TITLE. THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL -OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY USE OR DISTRIBUTION OF THE SERVICE DATA OBJECTS -SPECIFICATION. - -The name and trademarks of the Authors may NOT be used in any manner, including advertising or publicity -pertaining to the Service Data Objects Specification or its contents without specific, written prior -permission. Title to copyright in the Service Data Objects Specification will at all times remain with the -Authors. - -No other rights are granted by implication, estoppel or otherwise. -================================================================================ - diff --git a/java/sca-contrib/distribution/webservice/src/main/release/bin/NOTICE b/java/sca-contrib/distribution/webservice/src/main/release/bin/NOTICE deleted file mode 100644 index 5daa9a3dfe..0000000000 --- a/java/sca-contrib/distribution/webservice/src/main/release/bin/NOTICE +++ /dev/null @@ -1,95 +0,0 @@ -Apache Tuscany -Copyright (c) 2005 - 2009 The Apache Software Foundation - -This product includes software developed at -The Apache Software Foundation (http://www.apache.org/). - -This product includes/uses XmlSchema developed at -The Apache Software Foundation (http://ws.apache.org/commons/XmlSchema) - Portions Copyright 2006 International Business Machines Corp. - -This product includes/uses ode-bpel-api-1.1 developed at -The Apache Software Foundation (http://ode.apache.org) - - Copyright 1999-2006 Intalio - This product includes software developed by Intalio (http://www.intalio.com) - - Copyright 2006 Sybase - This product includes software developed by Sybase.(http://www.sybase.com) - -"This product includes software developed by the Spring Framework - Project (http://www.springframework.org)." - -This product includes/uses the Jetty Servlet Engine (http://jetty.mortbay.org), -developed by Mort Bay Consulting (http://www.mortbay.com) - -This product includes/uses the Groovy Script Engine (http://groovy.codehaus.org/), -Copyright 2003 (C) James Strachan and Bob Mcwhirter. All Rights Reserved. - -This product includes/uses the Axion : the Open Source Java Database (http://axion.tigris.org/) - Copyright (c) 2002-2003 Axion Development Team. All rights reserved. - -This product includes/uses DOM4J : the flexible XML framework for java (http://www.dom4j.org/) - Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved. - -This product includes/uses software, AOP alliance (http://aopalliance.sourceforge.net) -License: Public Domain - -This product includes/uses JSON-RPC-Java (http://oss.metaparadigm.com/jsonrpc/) - -This product includes/uses JSON-RPC JavaScript client (jsonrpc.js) - Copyright (c) 2003-2004 Jan-Klaas Kollhof - Copyright (c) 2005 Michael Clark, Metaparadigm Pte Ltd - -This product includes software from the GlassFish project (https://glassfish.dev.java.net/) - Copyright (c) 2006, Sun Microsystems, Inc. - -This product includes software from the Rome project (https://rome.dev.java.net/) - Copyright (c) 2006, Sun Microsystems, Inc. - -This product includes/uses the Eclipse Modeling Framework project (http://www.eclipse.org/emf/) - -This product includes/uses the Mozilla Rhino project (http://www.mozilla.org/rhino/) - -This product includes/uses the Sourceforge wsdl4j project (http://sourceforge.net/projects/wsdl4j/)i - -This product includes/uses the Codehaus JRuby project (http://jruby.codehaus.org/) - -This product includes/uses JDOM (http://www.jdom.org/) - Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin. All rights reserved. - -This product includes/uses DWR (http://getahead.org/dwr) - Copyright 2005 Joe Walker. All rights reserved. - -This product includes/uses dojotoolkit (http://dojotoolkit.org/) - Copyright (c) 2005, The Dojo Foundation. All rights reserved. - -This product includes/uses Howl (http://howl.objectweb.org/) - Copyright (c) 2004, Bull S.A. - -This product includes/uses axion (http://axion.tigris.org/) - Copyright (c) 2002-2003 Axion Development Team. - -This product includes/uses javacc (https://javacc.dev.java.net/) - Copyright (c) 2003 Sun Microsystems, Inc. All Rights Reserved. - -The Program includes all or portions of the following software: "The -Saxon XSLT and XQuery Processor from Saxonica Limited" distributed under -an MPL v1.0 license. Please refer to the homepage URL at -http://www.saxonica.com/. - -This product includes/uses Serp (http://serp.sourceforge.net/) under the BSD license: - Copyright (c) 2002, A. Abram White. All rights reserved. - -This product also includes software under the BSD license -with the following copyright: - Copyright (c) 2006, Sun Microsystems, Inc. All rights reserved. - -This product includes software under the Service Component Architecture JavaDoc, -Interface Definition files and XSD files license. - (c) Copyright SCA Collaboration 2006, 2007 - -This product includes software under the Service Data Objects JavaDoc and -Interface Definition file license - -(c) Copyright BEA Systems, Inc., International Business Machines Corporation, -Oracle Corporation, Primeton Technologies Ltd., Rogue Wave Software, SAP AG., -Software AG., Sun Microsystems, Sybase Inc., Xcalia, Zend Technologies, -2005, 2006. All rights reserved. - diff --git a/java/sca-contrib/distribution/webservice/src/main/release/src/BUILDING b/java/sca-contrib/distribution/webservice/src/main/release/src/BUILDING deleted file mode 100644 index 65d09c5eae..0000000000 --- a/java/sca-contrib/distribution/webservice/src/main/release/src/BUILDING +++ /dev/null @@ -1,55 +0,0 @@ -Building the Apache Tuscany SCA 1.2 (incubating) April 2008 Release source distribution -======================================================================================= - -Initial Setup -------------- - -1) Install J2SE 5.0 SDK, which can be downloaded from - http://java.sun.com/j2se/1.5.0/download.jsp. Use version of 1.5.0_06 JDK or higher. - -2) Make sure that your JAVA_HOME environment variable is set to the newly installed - JDK location, and that your PATH includes %JAVA_HOME%\bin (windows) or - $JAVA_HOME$/bin (unix). - -3) Install Maven 2.0.7 or higher, which can be downloaded from - http://maven.apache.org/download.html. Make sure that your PATH includes - the MVN_HOME/bin directory. - -4) Make sure that your MAVEN_OPTS environment variable has -Xmx128M (or more), - you can manually do this by executing the following in your prompt : - Windows users: - set MAVEN_OPTS=-Xmx128M - Unix users: - export MAVEN_OPTS=-Xmx128M - - -Building --------- - -1) Change to the top level directory of Apache Tuscany source distribution. -2) Run - - $> mvn - - This will compile Apache Tuscany and run all of the tests in the source - distribution. - - Depending on the load of remote Maven 2.0 repositories, you may have - to run "mvn" several times utill the required dependencies are - all located in your local maven repository. It usually takes some time for - maven to download required dependencies in the first build. Once all the - dependencies have been downloaded you may use the -o option to run maven - in offline mode, for example, 'mvn clean install -o'. - - -Building the distributions --------------------------- - -1) Change to the distribution folder -2) Run - - $> mvn - - This will build the binary and source distribution with .zip and .gz - formats in the distribution/target directory. - diff --git a/java/sca-contrib/distribution/webservice/src/main/release/src/LICENSE b/java/sca-contrib/distribution/webservice/src/main/release/src/LICENSE deleted file mode 100644 index 144d8ae692..0000000000 --- a/java/sca-contrib/distribution/webservice/src/main/release/src/LICENSE +++ /dev/null @@ -1,397 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - -=============================================================================================================== - -Apache Tuscany SCA for Java Subcomponents -=========================================: - -The Tuscany SCA for Java release includes a number of subcomponents with -separate copyright notices and license terms. Your use of the source -code for the these subcomponents is subject to the terms and -conditions of the following licenses. - -=============================================================================================================== - -The module itest/databindings/common includes the test schema; datagraph.xsd, sdoJava.xsd, and sdoModel.xsd -under the following license: - -License for the Service Data Objects JavaDoc, Interface Definition files -and XSD files. - -The Service Data Objects JavaDoc, Interface Definition files and XSD files -are being provided by the copyright holders under the following license. -By using and/or copying this work, you agree that you have read, -understood and will comply with the following terms and conditions: - -Permission to copy, display, make derivative works of and distribute -the Service Data Objects JavaDoc, Interface Definition files and XSD files -(the "Artifacts") in any medium without fee or royalty is hereby granted, -provided that you include the following on ALL copies of the Artifacts, -or portions thereof, that you make: - -1. A link or URL to the Artifacts at this location: -http://www.osoa.org/display/Main/Service+Data+Objects+Specifications - -2. The full text of this copyright notice as shown in the Artifacts. - - - -THE ARTIFACTS ARE PROVIDED "AS IS" AND THE AUTHORS MAKE NO -REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, REGARDING THE -ARTIFACTS AND THE IMPLEMENTATION OF THEIR CONTENTS, -INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT OR TITLE. - -THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, -INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY -USE OR DISTRIBUTION OF THE ARTIFACTS. - -The name and trademarks of the Authors may NOT be used in any manner, -including advertising or publicity pertaining to the Service Data -Objects Specification or its contents without specific, written prior -permission. Title to copyright in the Service Data Objects -Specification will at all times remain with the Authors. - -No other rights are granted by implication, estoppel or otherwise. - -Revision level 1.11, last updated on 2007/12/21 - -================================================================================================================= - -The module implementation-script temporarily includes one file under the following BSD license: - - Copyright (c) 2006, Sun Microsystems, Inc. - All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are met: - - - Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - - - Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - - - Neither the name of the Sun Microsystems, Inc. nor the names of - contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND - CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED - WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE - COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY - DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF - USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE - OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH - DAMAGE. - -================================================================================================================= - -The module assembly-xsd includes XSD files under the following SCA Collaboration license: - -License for the Service Component Architecture JavaDoc, Interface -Definition files and XSD files. - -The Service Component Architecture JavaDoc, Interface Definition files, -and XSD files are being provided by the copyright holders under the -following license. By using and/or copying this work, you agree that -you have read, understood and will comply with the following terms and -conditions: - -Permission to copy, display, make derivative works of, and distribute -the Service Component Architecture JavaDoc, Interface Definition Files -and XSD files (the "Artifacts") in any medium without fee or royalty is -hereby granted, provided that you include the following on ALL copies -of the Artifacts, or portions thereof, that you make: - -1. A link or URL to the Artifacts at this location: -http://www.osoa.org/display/Main/Service+Component+Architecture+Specifications - -2. The full text of this copyright notice as shown in the Artifacts. - -THE ARTIFACTS ARE PROVIDED "AS IS," AND THE AUTHORS MAKE NO -REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, REGARDING THE -ARTIFACTS AND THE IMPLEMENTATION OF THEIR CONTENTS, INCLUDING, BUT NOT -LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR -PURPOSE, NON-INFRINGEMENT OR TITLE. - -THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, -INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY -USE OR DISTRIBUTION OF THE ARTIFACTS. - -The name and trademarks of the Authors may NOT be used in any manner, -including advertising or publicity pertaining to the Service Component -Architecture Specification or its contents without specific, written -prior permission. Title to copyright in the Service Component -Architecture Specification and the JavaDoc, Interface Definition Files -and XSD Files will at all times remain with the Authors. - -No other rights are granted by implication, estoppel or otherwise. - -Revision level 1.1, last updated on 2007/11/19 - -================================================================================================================= -The modules - -binding-ws-xml -databinding -databinding-axiom -databinding-jaxb -databinding-json -databinding-sdo -databinding-sdo-axiom -databinding-xmlbeans -interface-wsdl-xml - -Include the ipo.xsd and address.xsd information from the XML Schema Primer -(http://www.w3.org/TR/2004/PER-xmlschema-0-20040318/) combined into the -file ipo.xsd and extended with UK postcode structures. - -The ipo.xsd file is include under the following license: - -W3C(c) SOFTWARE NOTICE AND LICENSE -http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 - -This work (and included software, documentation such as READMEs, or other -related items) is being provided by the copyright holders under the following -license. By obtaining, using and/or copying this work, you (the licensee) agree -that you have read, understood, and will comply with the following terms and conditions. - -Permission to copy, modify, and distribute this software and its documentation, -with or without modification, for any purpose and without fee or royalty is -hereby granted, provided that you include the following on ALL copies of the -software and documentation or portions thereof, including modifications: - - 1. The full text of this NOTICE in a location viewable to users of the - redistributed or derivative work. - 2. Any pre-existing intellectual property disclaimers, notices, or terms - and conditions. If none exist, the W3C Software Short Notice should be - included (hypertext is preferred, text is permitted) within the body of - any redistributed or derivative code. - 3. Notice of any changes or modifications to the files, including the date - changes were made. (We recommend you provide URIs to the location from which - the code is derived.) - -THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE -NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, -WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE -USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY PATENTS, -COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. - -COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR -CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENTATION. - -The name and trademarks of copyright holders may NOT be used in advertising or -publicity pertaining to the software without specific, written prior permission. -Title to copyright in this software and any associated documentation will at all -times remain with copyright holders. diff --git a/java/sca-contrib/distribution/webservice/src/main/release/src/NOTICE b/java/sca-contrib/distribution/webservice/src/main/release/src/NOTICE deleted file mode 100644 index 31540fd607..0000000000 --- a/java/sca-contrib/distribution/webservice/src/main/release/src/NOTICE +++ /dev/null @@ -1,39 +0,0 @@ -Apache Tuscany -Copyright (c) 2005 - 2009 The Apache Software Foundation - -This product includes software developed at -The Apache Software Foundation (http://www.apache.org/). - -This product includes/uses JSON-RPC JavaScript client (jsonrpc.js) - Copyright (c) 2003-2004 Jan-Klaas Kollhof - Copyright (c) 2005 Michael Clark, Metaparadigm Pte Ltd - -This product also includes software under the BSD license -(see the LICENSE file contained in this distribution), with -the following copyright: - Copyright (c) 2006, Sun Microsystems, Inc. All rights reserved. - -This product includes software under the Service Component Architecture JavaDoc, -Interface Definition files and XSD files license. - (c) Copyright SCA Collaboration 2006, 2007 - -This product includes software under the Service Data Objects JavaDoc and -Interface Definition file license - -(c) Copyright BEA Systems, Inc., International Business Machines Corporation, -Oracle Corporation, Primeton Technologies Ltd., Rogue Wave Software, SAP AG., -Software AG., Sun Microsystems, Sybase Inc., Xcalia, Zend Technologies, -2005, 2006. All rights reserved. - -This product includes software under the W3C(c) Software License -with the following copyright: - -Copyright (c) 2008 World Wide Web Consortium, (Massachusetts Institute of Technology, -European Research Consortium for Informatics and Mathematics, Keio University). -All Rights Reserved. This work is distributed under the W3C(c) Software License [1] in -the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied -warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - -[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 - - diff --git a/java/sca-contrib/features/compact/pom.xml b/java/sca-contrib/features/compact/pom.xml deleted file mode 100644 index 0899195d06..0000000000 --- a/java/sca-contrib/features/compact/pom.xml +++ /dev/null @@ -1,221 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - tuscany-sca - 2.0-SNAPSHOT - ../pom.xml - - - tuscany-compact-distribution - Apache Tuscany SCA Compact Feature - pom - - - - ${pom.groupId} - tuscany-assembly - ${pom.version} - - - ${pom.groupId} - tuscany-assembly-xml - ${pom.version} - - - ${pom.groupId} - tuscany-assembly-xsd - ${pom.version} - - - ${pom.groupId} - tuscany-binding-sca - ${pom.version} - - - ${pom.groupId} - tuscany-binding-sca-xml - ${pom.version} - - - ${pom.groupId} - tuscany-contribution - ${pom.version} - - - ${pom.groupId} - tuscany-contribution-java - ${pom.version} - - - ${pom.groupId} - tuscany-contribution-namespace - ${pom.version} - - - ${pom.groupId} - tuscany-contribution-xml - ${pom.version} - - - ${pom.groupId} - tuscany-core - ${pom.version} - - - ${pom.groupId} - tuscany-core-databinding - ${pom.version} - - - ${pom.groupId} - tuscany-core-spi - ${pom.version} - - - ${pom.groupId} - tuscany-databinding - ${pom.version} - - - ${pom.groupId} - tuscany-databinding-jaxb - ${pom.version} - - - ${pom.groupId} - tuscany-definitions - ${pom.version} - - - ${pom.groupId} - tuscany-definitions-xml - ${pom.version} - - - ${pom.groupId} - tuscany-endpoint - ${pom.version} - - - ${pom.groupId} - tuscany-extensibility - ${pom.version} - - - ${pom.groupId} - tuscany-host-http - ${pom.version} - - - ${pom.groupId} - tuscany-host-webapp - ${pom.version} - - - ${pom.groupId} - tuscany-implementation-java - ${pom.version} - - - ${pom.groupId} - tuscany-implementation-java-xml - ${pom.version} - - - ${pom.groupId} - tuscany-implementation-java-runtime - ${pom.version} - - - ${pom.groupId} - tuscany-implementation-node - ${pom.version} - - - ${pom.groupId} - tuscany-interface - ${pom.version} - - - ${pom.groupId} - tuscany-interface-java - ${pom.version} - - - ${pom.groupId} - tuscany-interface-java-jaxws - ${pom.version} - - - ${pom.groupId} - tuscany-interface-java-xml - ${pom.version} - - - ${pom.groupId} - tuscany-monitor - ${pom.version} - - - ${pom.groupId} - tuscany-node-api - ${pom.version} - - - ${pom.groupId} - tuscany-node-impl - ${pom.version} - - - ${pom.groupId} - tuscany-policy - ${pom.version} - - - ${pom.groupId} - tuscany-policy-xml - ${pom.version} - - - ${pom.groupId} - tuscany-sca-api - ${pom.version} - - - ${pom.groupId} - tuscany-workspace - ${pom.version} - - - ${pom.groupId} - tuscany-workspace-impl - ${pom.version} - - - ${pom.groupId} - tuscany-workspace-xml - ${pom.version} - - - - diff --git a/java/sca-contrib/features/manager/pom.xml b/java/sca-contrib/features/manager/pom.xml deleted file mode 100644 index 6c593f8a31..0000000000 --- a/java/sca-contrib/features/manager/pom.xml +++ /dev/null @@ -1,147 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - tuscany-feature - 2.0-SNAPSHOT - ../pom.xml - - - tuscany-feature-manager - Apache Tuscany SCA Domain Manager Feature - pom - - - - - - org.apache.tuscany.sca - tuscany-feature-core - pom - 2.0-SNAPSHOT - - - - - org.apache.tuscany.sca - tuscany-binding-atom - 2.0-SNAPSHOT - - - org.apache.tuscany.sca - tuscany-binding-ejb - 2.0-SNAPSHOT - - - org.apache.tuscany.sca - tuscany-binding-http - 2.0-SNAPSHOT - - - org.apache.tuscany.sca - tuscany-binding-jsonrpc - 2.0-SNAPSHOT - - - org.apache.tuscany.sca - tuscany-binding-rmi - 2.0-SNAPSHOT - - - org.apache.tuscany.sca - tuscany-binding-rss - 2.0-SNAPSHOT - - - org.apache.tuscany.sca - tuscany-binding-sca-xml - 2.0-SNAPSHOT - - - org.apache.tuscany.sca - tuscany-binding-ws-xml - 2.0-SNAPSHOT - - - - - org.apache.tuscany.sca - tuscany-contribution-java - 2.0-SNAPSHOT - - - org.apache.tuscany.sca - tuscany-contribution-namespace - 2.0-SNAPSHOT - - - org.apache.tuscany.sca - tuscany-contribution-resource - 2.0-SNAPSHOT - - - - - org.apache.tuscany.sca - tuscany-domain-manager - 2.0-SNAPSHOT - - - org.apache.tuscany.sca - tuscany-node-manager - 2.0-SNAPSHOT - - - - - org.apache.tuscany.sca - tuscany-implementation-bpel - 2.0-SNAPSHOT - - - org.apache.tuscany.sca - tuscany-implementation-ejb - 2.0-SNAPSHOT - - - org.apache.tuscany.sca - tuscany-implementation-java-xml - 2.0-SNAPSHOT - - - org.apache.tuscany.sca - tuscany-implementation-node - 2.0-SNAPSHOT - - - org.apache.tuscany.sca - tuscany-implementation-resource - 2.0-SNAPSHOT - - - org.apache.tuscany.sca - tuscany-implementation-widget - 2.0-SNAPSHOT - - - - diff --git a/java/sca-contrib/features/process/pom.xml b/java/sca-contrib/features/process/pom.xml deleted file mode 100644 index 17faf5ec41..0000000000 --- a/java/sca-contrib/features/process/pom.xml +++ /dev/null @@ -1,56 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - tuscany-feature - 2.0-SNAPSHOT - ../pom.xml - - - tuscany-feature-process - Apache Tuscany SCA Business Process Feature - pom - - - - - - org.apache.tuscany.sca - tuscany-feature-core - pom - 2.0-SNAPSHOT - - - - - org.apache.tuscany.sca - tuscany-implementation-bpel-ode - 2.0-SNAPSHOT - - - org.apache.tuscany.sca - tuscany-implementation-xquery - 2.0-SNAPSHOT - - - - diff --git a/java/sca-contrib/features/repository/pom.xml b/java/sca-contrib/features/repository/pom.xml deleted file mode 100644 index c6bb2a5d3b..0000000000 --- a/java/sca-contrib/features/repository/pom.xml +++ /dev/null @@ -1,84 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - tuscany-feature - 2.0-SNAPSHOT - ../pom.xml - - - tuscany-feature-repository - Apache Tuscany SCA Maven Repository Feature - pom - - - - - - org.apache.tuscany.sca - tuscany-feature-all - pom - 2.0-SNAPSHOT - - - - - org.apache.tuscany.sca - org.apache.tuscany.sca.updatesite - 2.0-SNAPSHOT - - - - - org.apache.tuscany.sca - tuscany-maven-ant-generator - 2.0-SNAPSHOT - - - org.apache.tuscany.sca - tuscany-maven-bundle-plugin - 2.0-SNAPSHOT - - - org.apache.tuscany.sca - tuscany-maven-eclipse-compiler - 2.0-SNAPSHOT - - - org.apache.tuscany.sca - tuscany-maven-incremental-build - 2.0-SNAPSHOT - - - org.apache.tuscany.sca - tuscany-maven-wsdl2java - 2.0-SNAPSHOT - - - org.apache.tuscany.sca - tuscany-maven-java2wsdl - 2.0-SNAPSHOT - - - - - diff --git a/java/sca-contrib/features/web20/pom.xml b/java/sca-contrib/features/web20/pom.xml deleted file mode 100644 index ffd3d01888..0000000000 --- a/java/sca-contrib/features/web20/pom.xml +++ /dev/null @@ -1,104 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - tuscany-feature - 2.0-SNAPSHOT - ../pom.xml - - - tuscany-feature-web20 - Apache Tuscany SCA Web 2.0 Feature - pom - - - - - - org.apache.tuscany.sca - tuscany-feature-core - pom - 2.0-SNAPSHOT - - - - - org.apache.tuscany.sca - tuscany-binding-atom-abdera - 2.0-SNAPSHOT - - - org.apache.tuscany.sca - tuscany-binding-http-runtime - 2.0-SNAPSHOT - - - org.apache.tuscany.sca - tuscany-binding-jsonrpc-runtime - 2.0-SNAPSHOT - - - org.apache.tuscany.sca - tuscany-binding-rss-rome - 2.0-SNAPSHOT - - - - - org.apache.tuscany.sca - tuscany-contribution-resource - 2.0-SNAPSHOT - - - - - org.apache.tuscany.sca - tuscany-databinding-json - 2.0-SNAPSHOT - - - - - org.apache.tuscany.sca - tuscany-host-jetty - 2.0-SNAPSHOT - - - - - org.apache.tuscany.sca - tuscany-implementation-resource-runtime - 2.0-SNAPSHOT - - - org.apache.tuscany.sca - tuscany-implementation-script-runtime - 2.0-SNAPSHOT - - - org.apache.tuscany.sca - tuscany-implementation-widget-runtime - 2.0-SNAPSHOT - - - - diff --git a/java/sca-contrib/features/webapp/pom.xml b/java/sca-contrib/features/webapp/pom.xml deleted file mode 100644 index 1e2af4b9ec..0000000000 --- a/java/sca-contrib/features/webapp/pom.xml +++ /dev/null @@ -1,53 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - tuscany-feature - 2.0-SNAPSHOT - ../pom.xml - - - tuscany-feature-webapp - Apache Tuscany SCA Webapp Feature - pom - - - - - - org.apache.tuscany.sca - tuscany-feature-core - pom - 2.0-SNAPSHOT - - - - - org.apache.tuscany.sca - tuscany-host-webapp - 2.0-SNAPSHOT - - - - - - diff --git a/java/sca-contrib/itest/admin/README b/java/sca-contrib/itest/admin/README deleted file mode 100644 index c4e96d7af0..0000000000 --- a/java/sca-contrib/itest/admin/README +++ /dev/null @@ -1,28 +0,0 @@ -This is a simple test compiled to test simple features of SCA - -There are interfaces to different services that have been included - -1. MyListService -2. MyListServiceByYear -3. MyService -4. MyServiceByDate -5. MyTotalservice - -The service that has been used in the tests primarily is MyService/MyTotalService. -in the test cases. - -There are three test cases and three composites (MySimppleService,Iteration1,Iteration3). - -1. MySimpleServiceTestCase - Checks if the components in MySimpleService.composite are initialized properly. - It tries to call simple functions implemented in MySimpleServiceImpl. - -2. MyTotalServiceTestCase - Initializes the components in the Iteration3Composite.composite file. - tries to call simple functions implemented in MyTotalServiceImpl. - -3. MySimpleServiceInRecursiveTestCase - Initializes the components in the Iteration1Composite.composite file. - It initializes its components using implementation:composite tag in the - composite file which points to MySimpleService.composite. - The test case recursively calls functions initialized in MySimpleService.composite. - - - diff --git a/java/sca-contrib/itest/admin/pom.xml b/java/sca-contrib/itest/admin/pom.xml deleted file mode 100644 index e179926bf1..0000000000 --- a/java/sca-contrib/itest/admin/pom.xml +++ /dev/null @@ -1,60 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - tuscany-itest - 2.0-SNAPSHOT - ../pom.xml - - tuscany-itest-admin - Apache Tuscany Admin Tests - - - - org.apache.tuscany.sca - tuscany-host-embedded - 2.0-SNAPSHOT - - - - org.apache.tuscany.sca - tuscany-implementation-java-runtime - 2.0-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-core-databinding - 2.0-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-databinding-sdo - 2.0-SNAPSHOT - compile - - - - diff --git a/java/sca-contrib/itest/admin/src/main/java/org/apache/tuscany/sca/itest/admin/MyListService.java b/java/sca-contrib/itest/admin/src/main/java/org/apache/tuscany/sca/itest/admin/MyListService.java deleted file mode 100644 index f081537dab..0000000000 --- a/java/sca-contrib/itest/admin/src/main/java/org/apache/tuscany/sca/itest/admin/MyListService.java +++ /dev/null @@ -1,9 +0,0 @@ -package org.apache.tuscany.sca.itest.admin; - -import org.oasisopen.sca.annotation.Remotable; - -@Remotable -public interface MyListService { - String[] getHolidays(); - String getYear(); -} diff --git a/java/sca-contrib/itest/admin/src/main/java/org/apache/tuscany/sca/itest/admin/MyListServiceByYear.java b/java/sca-contrib/itest/admin/src/main/java/org/apache/tuscany/sca/itest/admin/MyListServiceByYear.java deleted file mode 100644 index b4224e286e..0000000000 --- a/java/sca-contrib/itest/admin/src/main/java/org/apache/tuscany/sca/itest/admin/MyListServiceByYear.java +++ /dev/null @@ -1,8 +0,0 @@ -package org.apache.tuscany.sca.itest.admin; - -import org.oasisopen.sca.annotation.Remotable; - -@Remotable -public interface MyListServiceByYear { - String[] getHolidays(int year); -} diff --git a/java/sca-contrib/itest/admin/src/main/java/org/apache/tuscany/sca/itest/admin/MyListServiceImpl.java b/java/sca-contrib/itest/admin/src/main/java/org/apache/tuscany/sca/itest/admin/MyListServiceImpl.java deleted file mode 100644 index 550303d856..0000000000 --- a/java/sca-contrib/itest/admin/src/main/java/org/apache/tuscany/sca/itest/admin/MyListServiceImpl.java +++ /dev/null @@ -1,69 +0,0 @@ -package org.apache.tuscany.sca.itest.admin; - - -import java.util.List; - -import org.oasisopen.sca.annotation.Property; -import org.oasisopen.sca.annotation.Reference; -import org.oasisopen.sca.annotation.Service; - -import org.apache.tuscany.sca.itest.admin.MyListService; -import org.apache.tuscany.sca.itest.admin.MyListServiceByYear; - -@Service(interfaces={MyListService.class,MyListServiceByYear.class}) - -public class MyListServiceImpl implements MyListService,MyListServiceByYear -{ - - // This is multiplicity=1:n - @Reference(name="myListServiceList",required=true) - public List myListServicesList; - - // This is multiplicity=0:n - @Reference(name="myListServiceArray",required=false) - public MyListService[] myListServicesArray; - - @Property(name="serviceYear") - protected String year = "2006"; - - public String[] getHolidays() - { - return getHolidays(new Integer(year).intValue()); - } - - public String[] getHolidays(int year) - { - MyListService myService; - if (myListServicesList!=null) - { - for (int i=0; i=0 && index - - - - Raleigh - 2008 - - Durham - 2009 - - - - - - - - Durham - 2009 - - - diff --git a/java/sca-contrib/itest/admin/src/test/resources/Iteration3Composite.composite b/java/sca-contrib/itest/admin/src/test/resources/Iteration3Composite.composite deleted file mode 100644 index dd06d030d6..0000000000 --- a/java/sca-contrib/itest/admin/src/test/resources/Iteration3Composite.composite +++ /dev/null @@ -1,68 +0,0 @@ - - - - - Raleigh - 2008 - - - - - - - - CARY - 2007 - - - - - - - - - - - - - - - - - - - - - Durham - 2009 - - - - - - - - Durham - 2009 - - diff --git a/java/sca-contrib/itest/admin/src/test/resources/MySimpleService.composite b/java/sca-contrib/itest/admin/src/test/resources/MySimpleService.composite deleted file mode 100644 index a1f8abb8da..0000000000 --- a/java/sca-contrib/itest/admin/src/test/resources/MySimpleService.composite +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - - - - - - - - - - - - Raleigh - 2008 - - - - - - - - CARY - 2007 - - - - - - - - - diff --git a/java/sca-contrib/itest/binding-sca-jms/client/pom.xml b/java/sca-contrib/itest/binding-sca-jms/client/pom.xml deleted file mode 100644 index 2e24179309..0000000000 --- a/java/sca-contrib/itest/binding-sca-jms/client/pom.xml +++ /dev/null @@ -1,63 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - itest-binidng-sca-jms - 2.0-SNAPSHOT - ../../pom.xml - - itest-binding-sca-jms-client - - - - org.apache.tuscany.sca - tuscany-node-impl - 2.0-SNAPSHOT - - - - org.apache.tuscany.sca - tuscany-implementation-java-runtime - 2.0-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-binding-sca-jms - 2.0-SNAPSHOT - runtime - - - - junit - junit - 4.2 - test - - - - - ${artifactId} - - - diff --git a/java/sca-contrib/itest/binding-sca-jms/client/src/main/java/itest/MyClientImpl.java b/java/sca-contrib/itest/binding-sca-jms/client/src/main/java/itest/MyClientImpl.java deleted file mode 100644 index 3a546dcf72..0000000000 --- a/java/sca-contrib/itest/binding-sca-jms/client/src/main/java/itest/MyClientImpl.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package itest; - -import org.oasisopen.sca.annotation.Reference; - -public class MyClientImpl implements MyService { - - @Reference public MyService delegate; - - public String sayHello(String s) { - return "Hi " + delegate.sayHello(s); - } - -} diff --git a/java/sca-contrib/itest/binding-sca-jms/client/src/main/java/itest/MyService.java b/java/sca-contrib/itest/binding-sca-jms/client/src/main/java/itest/MyService.java deleted file mode 100644 index b1daa53c86..0000000000 --- a/java/sca-contrib/itest/binding-sca-jms/client/src/main/java/itest/MyService.java +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package itest; - -import org.oasisopen.sca.annotation.Remotable; - -@Remotable -public interface MyService { - - String sayHello(String s); -} diff --git a/java/sca-contrib/itest/binding-sca-jms/client/src/main/resources/META-INF/sca-contribution.xml b/java/sca-contrib/itest/binding-sca-jms/client/src/main/resources/META-INF/sca-contribution.xml deleted file mode 100644 index 8c311553c3..0000000000 --- a/java/sca-contrib/itest/binding-sca-jms/client/src/main/resources/META-INF/sca-contribution.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - \ No newline at end of file diff --git a/java/sca-contrib/itest/binding-sca-jms/client/src/main/resources/MyClient.composite b/java/sca-contrib/itest/binding-sca-jms/client/src/main/resources/MyClient.composite deleted file mode 100644 index 81aa3ed98d..0000000000 --- a/java/sca-contrib/itest/binding-sca-jms/client/src/main/resources/MyClient.composite +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - diff --git a/java/sca-contrib/itest/binding-sca-jms/client/src/test/java/itest/MyClientTestCase.java b/java/sca-contrib/itest/binding-sca-jms/client/src/test/java/itest/MyClientTestCase.java deleted file mode 100644 index 5c56dbaf84..0000000000 --- a/java/sca-contrib/itest/binding-sca-jms/client/src/test/java/itest/MyClientTestCase.java +++ /dev/null @@ -1,39 +0,0 @@ -package itest; - - - -import junit.framework.Assert; - -import org.apache.tuscany.sca.node.SCAClient; -import org.apache.tuscany.sca.node.SCAContribution; -import org.apache.tuscany.sca.node.SCANode; -import org.apache.tuscany.sca.node.SCANodeFactory; -import org.junit.Test; - -/** - * Runs a distributed domain in a single VM by using and in memory - * implementation of the distributed domain - */ -public class MyClientTestCase { - - @Test - public void testCalculator() throws Exception { - - SCANode serviceNode = SCANodeFactory.newInstance().createSCANode("MyService.composite", new SCAContribution("bla2", "../service/target/itest-binding-sca-jms-service.jar")); - - SCANode clientNode = SCANodeFactory.newInstance().createSCANodeFromClassLoader("MyClient.composite", null); - try { - - serviceNode.start(); - clientNode.start(); - - MyService service = ((SCAClient)clientNode).getService(MyService.class, "MyClientComponent"); - - Assert.assertEquals("Hi Hello petra", service.sayHello("petra")); - - } finally { - clientNode.stop(); - serviceNode.stop(); - } - } -} diff --git a/java/sca-contrib/itest/binding-sca-jms/pom.xml b/java/sca-contrib/itest/binding-sca-jms/pom.xml deleted file mode 100644 index 9da74604f5..0000000000 --- a/java/sca-contrib/itest/binding-sca-jms/pom.xml +++ /dev/null @@ -1,36 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - tuscany-itest - 2.0-SNAPSHOT - ../pom.xml - - itest-binidng-sca-jms - pom - Apache Tuscany SCA JMS SCA Binding Integration Tests - - - service - client - - diff --git a/java/sca-contrib/itest/binding-sca-jms/service/pom.xml b/java/sca-contrib/itest/binding-sca-jms/service/pom.xml deleted file mode 100644 index 5b0677b0e6..0000000000 --- a/java/sca-contrib/itest/binding-sca-jms/service/pom.xml +++ /dev/null @@ -1,63 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - itest-binidng-sca-jms - 2.0-SNAPSHOT - ../../pom.xml - - itest-binding-sca-jms-service - - - - org.apache.tuscany.sca - tuscany-node-impl - 2.0-SNAPSHOT - - - - org.apache.tuscany.sca - tuscany-implementation-java-runtime - 2.0-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-binding-sca-jms - 2.0-SNAPSHOT - runtime - - - - junit - junit - 4.2 - test - - - - - ${artifactId} - - - diff --git a/java/sca-contrib/itest/binding-sca-jms/service/src/main/java/itest/MyService.java b/java/sca-contrib/itest/binding-sca-jms/service/src/main/java/itest/MyService.java deleted file mode 100644 index b1daa53c86..0000000000 --- a/java/sca-contrib/itest/binding-sca-jms/service/src/main/java/itest/MyService.java +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package itest; - -import org.oasisopen.sca.annotation.Remotable; - -@Remotable -public interface MyService { - - String sayHello(String s); -} diff --git a/java/sca-contrib/itest/binding-sca-jms/service/src/main/java/itest/MyServiceImpl.java b/java/sca-contrib/itest/binding-sca-jms/service/src/main/java/itest/MyServiceImpl.java deleted file mode 100644 index d0f8dcc393..0000000000 --- a/java/sca-contrib/itest/binding-sca-jms/service/src/main/java/itest/MyServiceImpl.java +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package itest; - -public class MyServiceImpl implements MyService { - - public String sayHello(String s) { - return "Hello " + s; - } - -} diff --git a/java/sca-contrib/itest/binding-sca-jms/service/src/main/resources/META-INF/sca-contribution.xml b/java/sca-contrib/itest/binding-sca-jms/service/src/main/resources/META-INF/sca-contribution.xml deleted file mode 100644 index 8c311553c3..0000000000 --- a/java/sca-contrib/itest/binding-sca-jms/service/src/main/resources/META-INF/sca-contribution.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - \ No newline at end of file diff --git a/java/sca-contrib/itest/binding-sca-jms/service/src/main/resources/MyService.composite b/java/sca-contrib/itest/binding-sca-jms/service/src/main/resources/MyService.composite deleted file mode 100644 index 03ac786809..0000000000 --- a/java/sca-contrib/itest/binding-sca-jms/service/src/main/resources/MyService.composite +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - diff --git a/java/sca-contrib/itest/binding-sca-jms/service/src/test/java/itest/MyServiceTestCase.java b/java/sca-contrib/itest/binding-sca-jms/service/src/test/java/itest/MyServiceTestCase.java deleted file mode 100644 index cb79ae050a..0000000000 --- a/java/sca-contrib/itest/binding-sca-jms/service/src/test/java/itest/MyServiceTestCase.java +++ /dev/null @@ -1,34 +0,0 @@ -package itest; - - - -import junit.framework.Assert; - -import org.apache.tuscany.sca.node.SCAClient; -import org.apache.tuscany.sca.node.SCANode; -import org.apache.tuscany.sca.node.SCANodeFactory; -import org.junit.Test; - -/** - * Runs a distributed domain in a single VM by using and in memory - * implementation of the distributed domain - */ -public class MyServiceTestCase { - - @Test - public void testCalculator() throws Exception { - - SCANode node = SCANodeFactory.newInstance().createSCANodeFromClassLoader("MyService.composite", null); - try { - - node.start(); - - MyService service = ((SCAClient)node).getService(MyService.class, "MyServiceComponent"); - - Assert.assertEquals("Hello petra", service.sayHello("petra")); - - } finally { - node.stop(); - } - } -} diff --git a/java/sca-contrib/itest/bpel/helloworld-reference/pom.xml b/java/sca-contrib/itest/bpel/helloworld-reference/pom.xml deleted file mode 100644 index 1e662708d7..0000000000 --- a/java/sca-contrib/itest/bpel/helloworld-reference/pom.xml +++ /dev/null @@ -1,210 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - itest-bpel - 2.0-SNAPSHOT - ../../pom.xml - - itest-bpel-helloworld-reference - Apache Tuscany SCA HelloWorld Reference BPEL iTest - - - - apache.incubator - http://people.apache.org/repo/m2-incubating-repository - - - - - - org.apache.tuscany.sca - tuscany-host-embedded - 2.0-SNAPSHOT - - - - org.apache.tuscany.sca - tuscany-implementation-java-runtime - 2.0-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-binding-ws-axis2 - 2.0-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-host-jetty - 2.0-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-implementation-bpel-ode - 2.0-SNAPSHOT - runtime - - - - org.apache.ode - ode-dao-jpa-ojpa-derby - 1.1 - zip - - - - org.apache.tuscany.sdo - tuscany-sdo-impl - 1.1.1 - - - - xerces - xercesImpl - 2.8.0 - - - - junit - junit - 4.5 - test - - - - - ${artifactId} - - - org.apache.maven.plugins - maven-surefire-plugin - - 2.3.1 - - false - false - true - - - - org.apache.maven.plugins - maven-dependency-plugin - - - unpack - generate-sources - - unpack - - - - - org.apache.ode - ode-dao-jpa-ojpa-derby - 1.1 - zip - true - ${project.build.directory}/test-classes/ - - - - - - - - - - - diff --git a/java/sca-contrib/itest/bpel/helloworld-reference/src/test/java/greetings/GreetingsService.java b/java/sca-contrib/itest/bpel/helloworld-reference/src/test/java/greetings/GreetingsService.java deleted file mode 100644 index d7dff093f9..0000000000 --- a/java/sca-contrib/itest/bpel/helloworld-reference/src/test/java/greetings/GreetingsService.java +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package greetings; - -import org.oasisopen.sca.annotation.Remotable; - -/** - * This is the business interface of the HelloWorld greetings service. - */ -@Remotable -public interface GreetingsService { - - public String getGreetings(String name); -} - diff --git a/java/sca-contrib/itest/bpel/helloworld-reference/src/test/java/greetings/GreetingsServiceImpl.java b/java/sca-contrib/itest/bpel/helloworld-reference/src/test/java/greetings/GreetingsServiceImpl.java deleted file mode 100644 index 5ecf5494be..0000000000 --- a/java/sca-contrib/itest/bpel/helloworld-reference/src/test/java/greetings/GreetingsServiceImpl.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package greetings; - -import org.oasisopen.sca.annotation.Service; - -/** - * This class implements the HelloWorld service. - */ -@Service(GreetingsService.class) -public class GreetingsServiceImpl implements GreetingsService { - - public String getGreetings(String name) { - return "Hello " + name; - } - -} diff --git a/java/sca-contrib/itest/bpel/helloworld-reference/src/test/java/greetings/GreetingsTestCase.java b/java/sca-contrib/itest/bpel/helloworld-reference/src/test/java/greetings/GreetingsTestCase.java deleted file mode 100644 index 8dea2715bf..0000000000 --- a/java/sca-contrib/itest/bpel/helloworld-reference/src/test/java/greetings/GreetingsTestCase.java +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package greetings; - -import java.io.IOException; -import java.net.Socket; - -import junit.framework.TestCase; - -import org.apache.tuscany.sca.host.embedded.SCADomain; - -/** - * Tests the Greetings service - * - * @version $Rev$ $Date$ - */ -public class GreetingsTestCase extends TestCase { - - private SCADomain scaDomain; - GreetingsService greetingsService = null; - - /** - * @throws java.lang.Exception - */ - @Override - protected void setUp() throws Exception { - scaDomain = SCADomain.newInstance("greetings/greetings.composite"); - greetingsService = scaDomain.getService(GreetingsService.class, "GreetingsServiceComponent"); - } - - /** - * @throws java.lang.Exception - */ - @Override - protected void tearDown() throws Exception { - scaDomain.close(); - } - - public void testInvoke() { - String response = greetingsService.getGreetings("Luciano"); - assertEquals("Hello Luciano", response); - } -} diff --git a/java/sca-contrib/itest/bpel/helloworld-reference/src/test/java/helloworld/HelloWorldService.java b/java/sca-contrib/itest/bpel/helloworld-reference/src/test/java/helloworld/HelloWorldService.java deleted file mode 100644 index f46893481b..0000000000 --- a/java/sca-contrib/itest/bpel/helloworld-reference/src/test/java/helloworld/HelloWorldService.java +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package helloworld; - -import org.oasisopen.sca.annotation.Remotable; - -/** - * The interface for the helloworld service - */ -@Remotable -public interface HelloWorldService { - public String hello(String name); -} diff --git a/java/sca-contrib/itest/bpel/helloworld-reference/src/test/java/helloworld/HelloWorldServiceImpl.java b/java/sca-contrib/itest/bpel/helloworld-reference/src/test/java/helloworld/HelloWorldServiceImpl.java deleted file mode 100644 index a687534bb2..0000000000 --- a/java/sca-contrib/itest/bpel/helloworld-reference/src/test/java/helloworld/HelloWorldServiceImpl.java +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package helloworld; - -import greetings.GreetingsService; - -import org.oasisopen.sca.annotation.Reference; - -/** - * The HelloWorld service implementation - */ -public class HelloWorldServiceImpl implements HelloWorldService { - - protected GreetingsService greetingsService; - - public GreetingsService getGreetingsService() { - System.out.println("Got Injected greetingsService"); - return greetingsService; - } - - @Reference - public void setGreetingsService(GreetingsService greetingsService) { - System.out.println("Injected greetingsService"); - this.greetingsService = greetingsService; - } - - public String hello(String name) { - System.out.println("Calling greeting services getGreetings"); - return greetingsService.getGreetings(name); - } -} \ No newline at end of file diff --git a/java/sca-contrib/itest/bpel/helloworld-reference/src/test/java/helloworld/HelloWorldTestCase.java b/java/sca-contrib/itest/bpel/helloworld-reference/src/test/java/helloworld/HelloWorldTestCase.java deleted file mode 100644 index bdfedee2f8..0000000000 --- a/java/sca-contrib/itest/bpel/helloworld-reference/src/test/java/helloworld/HelloWorldTestCase.java +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package helloworld; - -import junit.framework.TestCase; - -import org.apache.tuscany.sca.host.embedded.SCADomain; - -/** - * Tests the BPEL Helloworld Service - * - * @version $Rev$ $Date$ - */ -public class HelloWorldTestCase extends TestCase { - private SCADomain scaDomain; - - /** - * @throws java.lang.Exception - */ - @Override - protected void setUp() throws Exception { - scaDomain = SCADomain.newInstance("helloworld/helloworld.composite"); - } - - /** - * @throws java.lang.Exception - */ - @Override - protected void tearDown() throws Exception { - scaDomain.close(); - } - - public void testServiceInvocation() { - HelloWorldService bpelService = scaDomain.getService(HelloWorldService.class, "HelloWorldService"); - String response = bpelService.hello("Luciano"); - assertEquals("Hello Luciano", response); - } -} diff --git a/java/sca-contrib/itest/bpel/helloworld-reference/src/test/resources/greetings/greetings.composite b/java/sca-contrib/itest/bpel/helloworld-reference/src/test/resources/greetings/greetings.composite deleted file mode 100644 index dfec43e8e1..0000000000 --- a/java/sca-contrib/itest/bpel/helloworld-reference/src/test/resources/greetings/greetings.composite +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/bpel/helloworld-reference/src/test/resources/greetings/greetings.wsdl b/java/sca-contrib/itest/bpel/helloworld-reference/src/test/resources/greetings/greetings.wsdl deleted file mode 100644 index e768707ccd..0000000000 --- a/java/sca-contrib/itest/bpel/helloworld-reference/src/test/resources/greetings/greetings.wsdl +++ /dev/null @@ -1,87 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/bpel/helloworld-reference/src/test/resources/helloworld/deploy.xml b/java/sca-contrib/itest/bpel/helloworld-reference/src/test/resources/helloworld/deploy.xml deleted file mode 100644 index 25d676bcfc..0000000000 --- a/java/sca-contrib/itest/bpel/helloworld-reference/src/test/resources/helloworld/deploy.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - true - - - - - - - - diff --git a/java/sca-contrib/itest/bpel/helloworld-reference/src/test/resources/helloworld/helloworld.bpel b/java/sca-contrib/itest/bpel/helloworld-reference/src/test/resources/helloworld/helloworld.bpel deleted file mode 100644 index 5ec2cc9f2e..0000000000 --- a/java/sca-contrib/itest/bpel/helloworld-reference/src/test/resources/helloworld/helloworld.bpel +++ /dev/null @@ -1,84 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - $helloMessage.TestPart - $greetingsRequest.parameters - - - - - - - - $greetingsResponse.parameters/greetings:getGreetingsReturn - $helloResponse.TestPart - - - - - - diff --git a/java/sca-contrib/itest/bpel/helloworld-reference/src/test/resources/helloworld/helloworld.componentType b/java/sca-contrib/itest/bpel/helloworld-reference/src/test/resources/helloworld/helloworld.componentType deleted file mode 100644 index 13d12e32a0..0000000000 --- a/java/sca-contrib/itest/bpel/helloworld-reference/src/test/resources/helloworld/helloworld.componentType +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/java/sca-contrib/itest/bpel/helloworld-reference/src/test/resources/helloworld/helloworld.composite b/java/sca-contrib/itest/bpel/helloworld-reference/src/test/resources/helloworld/helloworld.composite deleted file mode 100644 index 504e2ccc5d..0000000000 --- a/java/sca-contrib/itest/bpel/helloworld-reference/src/test/resources/helloworld/helloworld.composite +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/bpel/helloworld-reference/src/test/resources/helloworld/helloworld.wsdl b/java/sca-contrib/itest/bpel/helloworld-reference/src/test/resources/helloworld/helloworld.wsdl deleted file mode 100644 index 0f51b96b27..0000000000 --- a/java/sca-contrib/itest/bpel/helloworld-reference/src/test/resources/helloworld/helloworld.wsdl +++ /dev/null @@ -1,82 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/java/sca-contrib/itest/bpel/helloworld-reference/src/test/resources/log4j.properties b/java/sca-contrib/itest/bpel/helloworld-reference/src/test/resources/log4j.properties deleted file mode 100644 index 4e13380e0b..0000000000 --- a/java/sca-contrib/itest/bpel/helloworld-reference/src/test/resources/log4j.properties +++ /dev/null @@ -1,36 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -# Set root logger level to WARN and its only appender to CONSOLE -log4j.rootLogger=OFF, CONSOLE - -# log4j properties to work with commandline tools. -log4j.category.org.mortbay=OFF -log4j.category.org.hibernate.type=OFF -log4j.category.org.objectweb=OFF -log4j.category.org.apache.ode.axis2=OFF -log4j.category.org.apache.ode.bpel.engine=OFF -log4j.category.org.apache.ode.daohib.bpel.CorrelatorDaoImpl=OFF -log4j.category.org.apache.ode.bpel.epr=OFF -log4j.category.org.apache.tuscany.sca.implementation.bpel=DEBUG -log4j.category.org.apache.tuscany.sca.implementation.bpel.ode=DEBUG -log4j.category.org.apache.tuscany.sca.implementation.bpel.provider=DEBUG - -# Console appender -log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender -log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout -log4j.appender.CONSOLE.layout.ConversionPattern=[%p] - %C{1}.%M(%L) | %m%n diff --git a/java/sca-contrib/itest/bpel/helloworld-ws/pom.xml b/java/sca-contrib/itest/bpel/helloworld-ws/pom.xml deleted file mode 100644 index a676177e56..0000000000 --- a/java/sca-contrib/itest/bpel/helloworld-ws/pom.xml +++ /dev/null @@ -1,176 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - itest-bpel - 2.0-SNAPSHOT - ../../pom.xml - - itest-bpel-helloworld-ws - Apache Tuscany SCA HelloWorld BPEL iTest - - - - apache.incubator - http://people.apache.org/repo/m2-incubating-repository - - - - - - org.apache.tuscany.sca - tuscany-host-embedded - 2.0-SNAPSHOT - - - - org.apache.tuscany.sca - tuscany-implementation-java-runtime - 2.0-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-implementation-bpel-ode - 2.0-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-binding-ws-axis2 - 2.0-SNAPSHOT - runtime - - - - org.apache.tuscany.sdo - tuscany-sdo-impl - 1.1.1 - - - - xerces - xercesImpl - 2.8.1 - - - - org.apache.tuscany.sca - tuscany-host-jetty - 2.0-SNAPSHOT - runtime - - - - junit - junit - 4.5 - test - - - - - ${artifactId} - - - org.apache.maven.plugins - maven-surefire-plugin - - 2.3.1 - - false - false - true - - - - org.apache.maven.plugins - maven-dependency-plugin - - - unpack - test-compile - - unpack - - - - - org.apache.ode - ode-dao-jpa-ojpa-derby - 1.1 - zip - true - ${project.build.directory}/test-classes/ - - - - - - - - org.apache.tuscany.sdo - tuscany-sdo-plugin - 1.1.1 - - - generate-bpel-helloworld - generate-sources - - ${basedir}/src/test/resources/helloworld/helloworld.wsdl - ${basedir}/target/wsdl2java-source - HelloWorld - true - true - true - - - generate - - - - - - org.apache.tuscany.sca - tuscany-maven-wsdl2java - 2.0-SNAPSHOT - - - - - - ${basedir}/src/test/resources/helloworld/helloworld.wsdl - - - - - generate - - - - - - - - diff --git a/java/sca-contrib/itest/bpel/helloworld-ws/src/test/java/helloworld/HelloWorld.java b/java/sca-contrib/itest/bpel/helloworld-ws/src/test/java/helloworld/HelloWorld.java deleted file mode 100644 index 0999e97065..0000000000 --- a/java/sca-contrib/itest/bpel/helloworld-ws/src/test/java/helloworld/HelloWorld.java +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package helloworld; - -import org.apache.tuscany.implementation.bpel.example.helloworld.HelloPortType; -import org.oasisopen.sca.annotation.Reference; - -/** - * @version $Rev$ $Date$ - */ -public class HelloWorld { - private HelloPortType helloService; - - public HelloWorld() { - super(); - } - - @Reference - public void setHelloService(HelloPortType helloService){ - this.helloService = helloService; - } - - public String hello(String hello) throws java.rmi.RemoteException { - System.out.println(">>> Invoking helloService.hello with : " + hello); - return this.helloService.hello(hello); - } - -} diff --git a/java/sca-contrib/itest/bpel/helloworld-ws/src/test/java/helloworld/HelloWorldTestCase.java b/java/sca-contrib/itest/bpel/helloworld-ws/src/test/java/helloworld/HelloWorldTestCase.java deleted file mode 100644 index 6971151a77..0000000000 --- a/java/sca-contrib/itest/bpel/helloworld-ws/src/test/java/helloworld/HelloWorldTestCase.java +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package helloworld; - -import java.io.IOException; -import java.net.Socket; - -import junit.framework.TestCase; - -import org.apache.tuscany.implementation.bpel.example.helloworld.HelloPortType; -import org.apache.tuscany.sca.host.embedded.SCADomain; - -/** - * Tests the BPEL Helloworld Service - * - * @version $Rev$ $Date$ - */ -public class HelloWorldTestCase extends TestCase { - - private SCADomain scaDomain; - - /** - * @throws java.lang.Exception - */ - @Override - protected void setUp() throws Exception { - scaDomain = SCADomain.newInstance("helloworld/helloworld.composite"); - } - - /** - * @throws java.lang.Exception - */ - @Override - protected void tearDown() throws Exception { - scaDomain.close(); - } - - public void testPing() throws IOException { - new Socket("127.0.0.1", 8085); - } - - public void testServiceInvocation() throws Exception { - HelloPortType bpelService = scaDomain.getService(HelloPortType.class, "BPELHelloWorldServiceComponent"); - String response = bpelService.hello("Hello"); - assertEquals("Hello World", response); - } -} diff --git a/java/sca-contrib/itest/bpel/helloworld-ws/src/test/resources/helloworld/deploy.xml b/java/sca-contrib/itest/bpel/helloworld-ws/src/test/resources/helloworld/deploy.xml deleted file mode 100644 index 9bd95b2c58..0000000000 --- a/java/sca-contrib/itest/bpel/helloworld-ws/src/test/resources/helloworld/deploy.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - true - - - - - diff --git a/java/sca-contrib/itest/bpel/helloworld-ws/src/test/resources/helloworld/helloworld.bpel b/java/sca-contrib/itest/bpel/helloworld-ws/src/test/resources/helloworld/helloworld.bpel deleted file mode 100644 index 8cf91adc2c..0000000000 --- a/java/sca-contrib/itest/bpel/helloworld-ws/src/test/resources/helloworld/helloworld.bpel +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - concat($tmpVar,' World') - - - - - - diff --git a/java/sca-contrib/itest/bpel/helloworld-ws/src/test/resources/helloworld/helloworld.componentType b/java/sca-contrib/itest/bpel/helloworld-ws/src/test/resources/helloworld/helloworld.componentType deleted file mode 100644 index 2b360111cb..0000000000 --- a/java/sca-contrib/itest/bpel/helloworld-ws/src/test/resources/helloworld/helloworld.componentType +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/java/sca-contrib/itest/bpel/helloworld-ws/src/test/resources/helloworld/helloworld.composite b/java/sca-contrib/itest/bpel/helloworld-ws/src/test/resources/helloworld/helloworld.composite deleted file mode 100644 index f864f45613..0000000000 --- a/java/sca-contrib/itest/bpel/helloworld-ws/src/test/resources/helloworld/helloworld.composite +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/bpel/helloworld-ws/src/test/resources/helloworld/helloworld.wsdl b/java/sca-contrib/itest/bpel/helloworld-ws/src/test/resources/helloworld/helloworld.wsdl deleted file mode 100644 index 610bda3cc4..0000000000 --- a/java/sca-contrib/itest/bpel/helloworld-ws/src/test/resources/helloworld/helloworld.wsdl +++ /dev/null @@ -1,82 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/java/sca-contrib/itest/bpel/helloworld-ws/src/test/resources/log4j.properties b/java/sca-contrib/itest/bpel/helloworld-ws/src/test/resources/log4j.properties deleted file mode 100644 index 37f66e4189..0000000000 --- a/java/sca-contrib/itest/bpel/helloworld-ws/src/test/resources/log4j.properties +++ /dev/null @@ -1,36 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -# Set root logger level to WARN and its only appender to CONSOLE -log4j.rootLogger=OFF, CONSOLE - -# log4j properties to work with commandline tools. -log4j.category.org.mortbay=OFF -log4j.category.org.hibernate.type=OFF -log4j.category.org.objectweb=OFF -log4j.category.org.apache.ode.axis2=OFF -log4j.category.org.apache.ode.bpel.engine=OFF -log4j.category.org.apache.ode.daohib.bpel.CorrelatorDaoImpl=OFF -log4j.category.org.apache.ode.bpel.epr=OFF -log4j.category.org.apache.tuscany.sca.implementation.bpel=DEBUG -log4j.category.org.apache.tuscany.sca.implementation.bpel.ode=DEBUG -log4j.category.org.apache.tuscany.sca.implementation.bpel.provider=DEBUG - -# Console appender -log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender -log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout -log4j.appender.CONSOLE.layout.ConversionPattern=[%p] - %C{1}.%M(%L) | %m%n diff --git a/java/sca-contrib/itest/bpel/helloworld/pom.xml b/java/sca-contrib/itest/bpel/helloworld/pom.xml deleted file mode 100644 index 9eae937361..0000000000 --- a/java/sca-contrib/itest/bpel/helloworld/pom.xml +++ /dev/null @@ -1,162 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - itest-bpel - 2.0-SNAPSHOT - ../../pom.xml - - itest-bpel-helloworld - Apache Tuscany SCA HelloWorld BPEL iTest - - - - apache.incubator - http://people.apache.org/repo/m2-incubating-repository - - - - - - org.apache.tuscany.sca - tuscany-host-embedded - 2.0-SNAPSHOT - - - - org.apache.tuscany.sca - tuscany-implementation-java-runtime - 2.0-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-implementation-bpel-ode - 2.0-SNAPSHOT - runtime - - - - org.apache.tuscany.sdo - tuscany-sdo-impl - 1.1.1 - - - - xerces - xercesImpl - 2.8.1 - - - - junit - junit - 4.5 - test - - - - - ${artifactId} - - - org.apache.maven.plugins - maven-surefire-plugin - - 2.3.1 - - false - false - true - - - - org.apache.maven.plugins - maven-dependency-plugin - - - unpack - test-compile - - unpack - - - - - org.apache.ode - ode-dao-jpa-ojpa-derby - 1.1 - zip - true - ${project.build.directory}/test-classes/ - - - - - - - - org.apache.tuscany.sdo - tuscany-sdo-plugin - 1.1.1 - - - generate-bpel-helloworld - generate-sources - - ${basedir}/src/test/resources/helloworld/helloworld.wsdl - ${basedir}/target/wsdl2java-source - HelloWorld - true - true - true - - - generate - - - - - - org.apache.tuscany.sca - tuscany-maven-wsdl2java - 2.0-SNAPSHOT - - - - - - ${basedir}/src/test/resources/helloworld/helloworld.wsdl - - - - - generate - - - - - - - - diff --git a/java/sca-contrib/itest/bpel/helloworld/src/test/java/helloworld/HelloWorld.java b/java/sca-contrib/itest/bpel/helloworld/src/test/java/helloworld/HelloWorld.java deleted file mode 100644 index 0999e97065..0000000000 --- a/java/sca-contrib/itest/bpel/helloworld/src/test/java/helloworld/HelloWorld.java +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package helloworld; - -import org.apache.tuscany.implementation.bpel.example.helloworld.HelloPortType; -import org.oasisopen.sca.annotation.Reference; - -/** - * @version $Rev$ $Date$ - */ -public class HelloWorld { - private HelloPortType helloService; - - public HelloWorld() { - super(); - } - - @Reference - public void setHelloService(HelloPortType helloService){ - this.helloService = helloService; - } - - public String hello(String hello) throws java.rmi.RemoteException { - System.out.println(">>> Invoking helloService.hello with : " + hello); - return this.helloService.hello(hello); - } - -} diff --git a/java/sca-contrib/itest/bpel/helloworld/src/test/java/helloworld/HelloWorldTestCase.java b/java/sca-contrib/itest/bpel/helloworld/src/test/java/helloworld/HelloWorldTestCase.java deleted file mode 100644 index 76fcd35c2d..0000000000 --- a/java/sca-contrib/itest/bpel/helloworld/src/test/java/helloworld/HelloWorldTestCase.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package helloworld; - -import junit.framework.TestCase; - -import org.apache.tuscany.implementation.bpel.example.helloworld.HelloPortType; -import org.apache.tuscany.sca.host.embedded.SCADomain; - -/** - * Tests the BPEL Helloworld Service - * - * @version $Rev$ $Date$ - */ -public class HelloWorldTestCase extends TestCase { - - private SCADomain scaDomain; - - /** - * @throws java.lang.Exception - */ - @Override - protected void setUp() throws Exception { - scaDomain = SCADomain.newInstance("helloworld/helloworld.composite"); - } - - /** - * @throws java.lang.Exception - */ - @Override - protected void tearDown() throws Exception { - scaDomain.close(); - } - - public void testServiceInvocation() throws Exception { - HelloPortType bpelService = scaDomain.getService(HelloPortType.class, "BPELHelloWorldService"); - String response = bpelService.hello("Hello"); - assertEquals("Hello World", response); - } - - public void testReferenceInvocation() throws Exception { - HelloWorld bpelService = scaDomain.getService(HelloWorld.class, "BPELHelloWorld"); - String response = bpelService.hello("Hello"); - assertEquals("Hello World", response); - } -} diff --git a/java/sca-contrib/itest/bpel/helloworld/src/test/resources/helloworld/deploy.xml b/java/sca-contrib/itest/bpel/helloworld/src/test/resources/helloworld/deploy.xml deleted file mode 100644 index 9bd95b2c58..0000000000 --- a/java/sca-contrib/itest/bpel/helloworld/src/test/resources/helloworld/deploy.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - true - - - - - diff --git a/java/sca-contrib/itest/bpel/helloworld/src/test/resources/helloworld/helloworld.bpel b/java/sca-contrib/itest/bpel/helloworld/src/test/resources/helloworld/helloworld.bpel deleted file mode 100644 index 8cf91adc2c..0000000000 --- a/java/sca-contrib/itest/bpel/helloworld/src/test/resources/helloworld/helloworld.bpel +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - concat($tmpVar,' World') - - - - - - diff --git a/java/sca-contrib/itest/bpel/helloworld/src/test/resources/helloworld/helloworld.componentType b/java/sca-contrib/itest/bpel/helloworld/src/test/resources/helloworld/helloworld.componentType deleted file mode 100644 index 2b360111cb..0000000000 --- a/java/sca-contrib/itest/bpel/helloworld/src/test/resources/helloworld/helloworld.componentType +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/java/sca-contrib/itest/bpel/helloworld/src/test/resources/helloworld/helloworld.composite b/java/sca-contrib/itest/bpel/helloworld/src/test/resources/helloworld/helloworld.composite deleted file mode 100644 index f6b12fb14b..0000000000 --- a/java/sca-contrib/itest/bpel/helloworld/src/test/resources/helloworld/helloworld.composite +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/bpel/helloworld/src/test/resources/helloworld/helloworld.wsdl b/java/sca-contrib/itest/bpel/helloworld/src/test/resources/helloworld/helloworld.wsdl deleted file mode 100644 index 610bda3cc4..0000000000 --- a/java/sca-contrib/itest/bpel/helloworld/src/test/resources/helloworld/helloworld.wsdl +++ /dev/null @@ -1,82 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/java/sca-contrib/itest/bpel/helloworld/src/test/resources/log4j.properties b/java/sca-contrib/itest/bpel/helloworld/src/test/resources/log4j.properties deleted file mode 100644 index 37f66e4189..0000000000 --- a/java/sca-contrib/itest/bpel/helloworld/src/test/resources/log4j.properties +++ /dev/null @@ -1,36 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -# Set root logger level to WARN and its only appender to CONSOLE -log4j.rootLogger=OFF, CONSOLE - -# log4j properties to work with commandline tools. -log4j.category.org.mortbay=OFF -log4j.category.org.hibernate.type=OFF -log4j.category.org.objectweb=OFF -log4j.category.org.apache.ode.axis2=OFF -log4j.category.org.apache.ode.bpel.engine=OFF -log4j.category.org.apache.ode.daohib.bpel.CorrelatorDaoImpl=OFF -log4j.category.org.apache.ode.bpel.epr=OFF -log4j.category.org.apache.tuscany.sca.implementation.bpel=DEBUG -log4j.category.org.apache.tuscany.sca.implementation.bpel.ode=DEBUG -log4j.category.org.apache.tuscany.sca.implementation.bpel.provider=DEBUG - -# Console appender -log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender -log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout -log4j.appender.CONSOLE.layout.ConversionPattern=[%p] - %C{1}.%M(%L) | %m%n diff --git a/java/sca-contrib/itest/bpel/pom.xml b/java/sca-contrib/itest/bpel/pom.xml deleted file mode 100644 index d6909735db..0000000000 --- a/java/sca-contrib/itest/bpel/pom.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - tuscany-itest - 2.0-SNAPSHOT - ../pom.xml - - itest-bpel - pom - Apache Tuscany SCA BPEL Integration Tests - - - helloworld - helloworld-ws - helloworld-reference - - diff --git a/java/sca-contrib/itest/builder/pom.xml b/java/sca-contrib/itest/builder/pom.xml deleted file mode 100644 index b8dfd95783..0000000000 --- a/java/sca-contrib/itest/builder/pom.xml +++ /dev/null @@ -1,99 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - tuscany-itest - 2.0-SNAPSHOT - ../pom.xml - - itest-builder - Apache Tuscany SCA Builder Integration Test - - - - org.apache.tuscany.sca - tuscany-sca-api - 2.0-SNAPSHOT - - - - org.apache.tuscany.sca - tuscany-implementation-java-runtime - 2.0-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-workspace-impl - 2.0-SNAPSHOT - test - - - - org.apache.tuscany.sca - tuscany-binding-ws-xml - 2.0-SNAPSHOT - test - - - - org.apache.tuscany.sca - tuscany-binding-sca-xml - 2.0-SNAPSHOT - test - - - - org.apache.tuscany.sca - tuscany-assembly - 2.0-SNAPSHOT - test - - - - org.apache.tuscany.sca - tuscany-core-databinding - 2.0-SNAPSHOT - test - - - - xerces - xercesImpl - 2.8.1 - test - - - - junit - junit - 4.5 - test - - - - - - ${artifactId} - - diff --git a/java/sca-contrib/itest/builder/src/main/java/org/apache/tuscany/sca/itest/builder/ComponentDImpl.java b/java/sca-contrib/itest/builder/src/main/java/org/apache/tuscany/sca/itest/builder/ComponentDImpl.java deleted file mode 100644 index fb23a4e60f..0000000000 --- a/java/sca-contrib/itest/builder/src/main/java/org/apache/tuscany/sca/itest/builder/ComponentDImpl.java +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.builder; - -import java.util.List; - -import org.oasisopen.sca.annotation.Reference; -import org.oasisopen.sca.annotation.Service; - -/** - * Implementation class for ComponentD. - * - * @version $Rev$ $Date$ - */ -@Service(interfaces={Service3.class, Service3a.class}) -public class ComponentDImpl implements Service3, Service3a { - - @Reference - protected Service3a reference3; - - public String getGreetings(String name) { - return "Hello, " + name + "!"; - } - - public String getGreetings2(String name) { - return "Goodbye, " + name + "!"; - } - -} diff --git a/java/sca-contrib/itest/builder/src/main/java/org/apache/tuscany/sca/itest/builder/ComponentDReferenceMultiplicityImpl.java b/java/sca-contrib/itest/builder/src/main/java/org/apache/tuscany/sca/itest/builder/ComponentDReferenceMultiplicityImpl.java deleted file mode 100644 index 5ee020e181..0000000000 --- a/java/sca-contrib/itest/builder/src/main/java/org/apache/tuscany/sca/itest/builder/ComponentDReferenceMultiplicityImpl.java +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.builder; - -import java.util.List; - -import org.oasisopen.sca.annotation.Reference; -import org.oasisopen.sca.annotation.Service; - -/** - * Implementation class for ComponentD. - * - * @version $Rev: 678875 $ $Date: 2008-07-22 21:01:07 +0100 (Tue, 22 Jul 2008) $ - */ -@Service(interfaces={Service3.class, Service3a.class}) -public class ComponentDReferenceMultiplicityImpl implements Service3, Service3a { - - @Reference - protected Service3a reference3; - - @Reference - protected List reference3a; - - public String getGreetings(String name) { - return "Hello, " + name + "!"; - } - - public String getGreetings2(String name) { - return "Goodbye, " + name + "!"; - } - -} diff --git a/java/sca-contrib/itest/builder/src/main/java/org/apache/tuscany/sca/itest/builder/ComponentEImpl.java b/java/sca-contrib/itest/builder/src/main/java/org/apache/tuscany/sca/itest/builder/ComponentEImpl.java deleted file mode 100644 index 2d8a37d5f0..0000000000 --- a/java/sca-contrib/itest/builder/src/main/java/org/apache/tuscany/sca/itest/builder/ComponentEImpl.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.builder; - -import org.oasisopen.sca.annotation.Reference; -import org.oasisopen.sca.annotation.Service; - -/** - * Implementation class for ComponentD. - * - * @version $Rev: 678875 $ $Date: 2008-07-22 21:01:07 +0100 (Tue, 22 Jul 2008) $ - */ -@Service(interfaces={Service3.class}) -public class ComponentEImpl implements Service3 { - - - public String getGreetings(String name) { - return "Hello, " + name + " from ComponentE"; - } -} diff --git a/java/sca-contrib/itest/builder/src/main/java/org/apache/tuscany/sca/itest/builder/ComponentFImpl.java b/java/sca-contrib/itest/builder/src/main/java/org/apache/tuscany/sca/itest/builder/ComponentFImpl.java deleted file mode 100644 index 4fdaac1fb1..0000000000 --- a/java/sca-contrib/itest/builder/src/main/java/org/apache/tuscany/sca/itest/builder/ComponentFImpl.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.builder; - -import org.oasisopen.sca.annotation.Reference; -import org.oasisopen.sca.annotation.Service; - -/** - * Implementation class for ComponentD. - * - * @version $Rev: 678875 $ $Date: 2008-07-22 21:01:07 +0100 (Tue, 22 Jul 2008) $ - */ -@Service(interfaces={Service3.class}) -public class ComponentFImpl implements Service3 { - - - public String getGreetings(String name) { - return "Hello, " + name + " from ComponentF"; - } -} diff --git a/java/sca-contrib/itest/builder/src/main/java/org/apache/tuscany/sca/itest/builder/Service3.java b/java/sca-contrib/itest/builder/src/main/java/org/apache/tuscany/sca/itest/builder/Service3.java deleted file mode 100644 index 1feb08b876..0000000000 --- a/java/sca-contrib/itest/builder/src/main/java/org/apache/tuscany/sca/itest/builder/Service3.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.builder; - -import org.oasisopen.sca.annotation.Remotable; - -/** - * Interface for Service3 in ComponentD. - * - * @version $Rev$ $Date$ - */ -@Remotable -public interface Service3 { - - String getGreetings(String name); - -} diff --git a/java/sca-contrib/itest/builder/src/main/java/org/apache/tuscany/sca/itest/builder/Service3a.java b/java/sca-contrib/itest/builder/src/main/java/org/apache/tuscany/sca/itest/builder/Service3a.java deleted file mode 100644 index 3a872376ea..0000000000 --- a/java/sca-contrib/itest/builder/src/main/java/org/apache/tuscany/sca/itest/builder/Service3a.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.builder; - -import org.oasisopen.sca.annotation.Remotable; - -/** - * Interface for Service3a in ComponentD. - * - * @version $Rev$ $Date$ - */ -@Remotable -public interface Service3a { - - String getGreetings2(String name); - -} diff --git a/java/sca-contrib/itest/builder/src/main/resources/scenario1/META-INF/sca-contribution.xml b/java/sca-contrib/itest/builder/src/main/resources/scenario1/META-INF/sca-contribution.xml deleted file mode 100644 index 256d01be58..0000000000 --- a/java/sca-contrib/itest/builder/src/main/resources/scenario1/META-INF/sca-contribution.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - diff --git a/java/sca-contrib/itest/builder/src/main/resources/scenario1/scenario1.composite b/java/sca-contrib/itest/builder/src/main/resources/scenario1/scenario1.composite deleted file mode 100644 index 5c2a98ab40..0000000000 --- a/java/sca-contrib/itest/builder/src/main/resources/scenario1/scenario1.composite +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/builder/src/main/resources/scenario1/scenario1a.composite b/java/sca-contrib/itest/builder/src/main/resources/scenario1/scenario1a.composite deleted file mode 100644 index 21b5897aa1..0000000000 --- a/java/sca-contrib/itest/builder/src/main/resources/scenario1/scenario1a.composite +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/builder/src/main/resources/scenario10/META-INF/sca-contribution.xml b/java/sca-contrib/itest/builder/src/main/resources/scenario10/META-INF/sca-contribution.xml deleted file mode 100644 index 083079ba42..0000000000 --- a/java/sca-contrib/itest/builder/src/main/resources/scenario10/META-INF/sca-contribution.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - diff --git a/java/sca-contrib/itest/builder/src/main/resources/scenario10/scenario10.composite b/java/sca-contrib/itest/builder/src/main/resources/scenario10/scenario10.composite deleted file mode 100644 index c24b7f0046..0000000000 --- a/java/sca-contrib/itest/builder/src/main/resources/scenario10/scenario10.composite +++ /dev/null @@ -1,62 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/builder/src/main/resources/scenario10/scenario10a.composite b/java/sca-contrib/itest/builder/src/main/resources/scenario10/scenario10a.composite deleted file mode 100644 index 27a73d5c41..0000000000 --- a/java/sca-contrib/itest/builder/src/main/resources/scenario10/scenario10a.composite +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/builder/src/main/resources/scenario10/service3.wsdl b/java/sca-contrib/itest/builder/src/main/resources/scenario10/service3.wsdl deleted file mode 100644 index 14edcc00e6..0000000000 --- a/java/sca-contrib/itest/builder/src/main/resources/scenario10/service3.wsdl +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/builder/src/main/resources/scenario11/META-INF/sca-contribution.xml b/java/sca-contrib/itest/builder/src/main/resources/scenario11/META-INF/sca-contribution.xml deleted file mode 100644 index a6e4b65970..0000000000 --- a/java/sca-contrib/itest/builder/src/main/resources/scenario11/META-INF/sca-contribution.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - diff --git a/java/sca-contrib/itest/builder/src/main/resources/scenario11/scenario11.composite b/java/sca-contrib/itest/builder/src/main/resources/scenario11/scenario11.composite deleted file mode 100644 index 3a94152e6a..0000000000 --- a/java/sca-contrib/itest/builder/src/main/resources/scenario11/scenario11.composite +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/builder/src/main/resources/scenario11/scenario11a.composite b/java/sca-contrib/itest/builder/src/main/resources/scenario11/scenario11a.composite deleted file mode 100644 index 6130c68651..0000000000 --- a/java/sca-contrib/itest/builder/src/main/resources/scenario11/scenario11a.composite +++ /dev/null @@ -1,64 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/builder/src/main/resources/scenario11/service3.wsdl b/java/sca-contrib/itest/builder/src/main/resources/scenario11/service3.wsdl deleted file mode 100644 index 14edcc00e6..0000000000 --- a/java/sca-contrib/itest/builder/src/main/resources/scenario11/service3.wsdl +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/builder/src/main/resources/scenario12/META-INF/sca-contribution.xml b/java/sca-contrib/itest/builder/src/main/resources/scenario12/META-INF/sca-contribution.xml deleted file mode 100644 index 125bdc5e53..0000000000 --- a/java/sca-contrib/itest/builder/src/main/resources/scenario12/META-INF/sca-contribution.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - diff --git a/java/sca-contrib/itest/builder/src/main/resources/scenario12/scenario12.composite b/java/sca-contrib/itest/builder/src/main/resources/scenario12/scenario12.composite deleted file mode 100644 index aabd445e23..0000000000 --- a/java/sca-contrib/itest/builder/src/main/resources/scenario12/scenario12.composite +++ /dev/null @@ -1,58 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/builder/src/main/resources/scenario12/scenario12a.composite b/java/sca-contrib/itest/builder/src/main/resources/scenario12/scenario12a.composite deleted file mode 100644 index a2ccc47c28..0000000000 --- a/java/sca-contrib/itest/builder/src/main/resources/scenario12/scenario12a.composite +++ /dev/null @@ -1,64 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/builder/src/main/resources/scenario13/META-INF/sca-contribution.xml b/java/sca-contrib/itest/builder/src/main/resources/scenario13/META-INF/sca-contribution.xml deleted file mode 100644 index c906c6c5b0..0000000000 --- a/java/sca-contrib/itest/builder/src/main/resources/scenario13/META-INF/sca-contribution.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - diff --git a/java/sca-contrib/itest/builder/src/main/resources/scenario13/scenario13.composite b/java/sca-contrib/itest/builder/src/main/resources/scenario13/scenario13.composite deleted file mode 100644 index ed59cd2adf..0000000000 --- a/java/sca-contrib/itest/builder/src/main/resources/scenario13/scenario13.composite +++ /dev/null @@ -1,58 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/builder/src/main/resources/scenario13/scenario13a.composite b/java/sca-contrib/itest/builder/src/main/resources/scenario13/scenario13a.composite deleted file mode 100644 index 41150f78fd..0000000000 --- a/java/sca-contrib/itest/builder/src/main/resources/scenario13/scenario13a.composite +++ /dev/null @@ -1,64 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/builder/src/main/resources/scenario2/META-INF/sca-contribution.xml b/java/sca-contrib/itest/builder/src/main/resources/scenario2/META-INF/sca-contribution.xml deleted file mode 100644 index 6fa901c4df..0000000000 --- a/java/sca-contrib/itest/builder/src/main/resources/scenario2/META-INF/sca-contribution.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - diff --git a/java/sca-contrib/itest/builder/src/main/resources/scenario2/scenario2.composite b/java/sca-contrib/itest/builder/src/main/resources/scenario2/scenario2.composite deleted file mode 100644 index 66f88294ff..0000000000 --- a/java/sca-contrib/itest/builder/src/main/resources/scenario2/scenario2.composite +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/builder/src/main/resources/scenario2/scenario2a.composite b/java/sca-contrib/itest/builder/src/main/resources/scenario2/scenario2a.composite deleted file mode 100644 index db1af4743f..0000000000 --- a/java/sca-contrib/itest/builder/src/main/resources/scenario2/scenario2a.composite +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/builder/src/main/resources/scenario3/META-INF/sca-contribution.xml b/java/sca-contrib/itest/builder/src/main/resources/scenario3/META-INF/sca-contribution.xml deleted file mode 100644 index f5899ab1f0..0000000000 --- a/java/sca-contrib/itest/builder/src/main/resources/scenario3/META-INF/sca-contribution.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - diff --git a/java/sca-contrib/itest/builder/src/main/resources/scenario3/scenario3.composite b/java/sca-contrib/itest/builder/src/main/resources/scenario3/scenario3.composite deleted file mode 100644 index 4b37c19e4e..0000000000 --- a/java/sca-contrib/itest/builder/src/main/resources/scenario3/scenario3.composite +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/builder/src/main/resources/scenario3/scenario3a.composite b/java/sca-contrib/itest/builder/src/main/resources/scenario3/scenario3a.composite deleted file mode 100644 index fedd79ff3d..0000000000 --- a/java/sca-contrib/itest/builder/src/main/resources/scenario3/scenario3a.composite +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/builder/src/main/resources/scenario4/META-INF/sca-contribution.xml b/java/sca-contrib/itest/builder/src/main/resources/scenario4/META-INF/sca-contribution.xml deleted file mode 100644 index 642245ea7e..0000000000 --- a/java/sca-contrib/itest/builder/src/main/resources/scenario4/META-INF/sca-contribution.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - diff --git a/java/sca-contrib/itest/builder/src/main/resources/scenario4/scenario4.composite b/java/sca-contrib/itest/builder/src/main/resources/scenario4/scenario4.composite deleted file mode 100644 index 1bb876b33d..0000000000 --- a/java/sca-contrib/itest/builder/src/main/resources/scenario4/scenario4.composite +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/builder/src/main/resources/scenario4/scenario4a.composite b/java/sca-contrib/itest/builder/src/main/resources/scenario4/scenario4a.composite deleted file mode 100644 index 55e13700a6..0000000000 --- a/java/sca-contrib/itest/builder/src/main/resources/scenario4/scenario4a.composite +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/builder/src/main/resources/scenario5/META-INF/sca-contribution.xml b/java/sca-contrib/itest/builder/src/main/resources/scenario5/META-INF/sca-contribution.xml deleted file mode 100644 index 92da17179f..0000000000 --- a/java/sca-contrib/itest/builder/src/main/resources/scenario5/META-INF/sca-contribution.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - diff --git a/java/sca-contrib/itest/builder/src/main/resources/scenario5/scenario5.composite b/java/sca-contrib/itest/builder/src/main/resources/scenario5/scenario5.composite deleted file mode 100644 index 403e19b087..0000000000 --- a/java/sca-contrib/itest/builder/src/main/resources/scenario5/scenario5.composite +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/builder/src/main/resources/scenario5/scenario5a.composite b/java/sca-contrib/itest/builder/src/main/resources/scenario5/scenario5a.composite deleted file mode 100644 index 0e37ded0e4..0000000000 --- a/java/sca-contrib/itest/builder/src/main/resources/scenario5/scenario5a.composite +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/builder/src/main/resources/scenario5/scenarios.wsdl b/java/sca-contrib/itest/builder/src/main/resources/scenario5/scenarios.wsdl deleted file mode 100644 index 7480419231..0000000000 --- a/java/sca-contrib/itest/builder/src/main/resources/scenario5/scenarios.wsdl +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/builder/src/main/resources/scenario6/META-INF/sca-contribution.xml b/java/sca-contrib/itest/builder/src/main/resources/scenario6/META-INF/sca-contribution.xml deleted file mode 100644 index 42d45b0b98..0000000000 --- a/java/sca-contrib/itest/builder/src/main/resources/scenario6/META-INF/sca-contribution.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - diff --git a/java/sca-contrib/itest/builder/src/main/resources/scenario6/scenario6.composite b/java/sca-contrib/itest/builder/src/main/resources/scenario6/scenario6.composite deleted file mode 100644 index 1c89139905..0000000000 --- a/java/sca-contrib/itest/builder/src/main/resources/scenario6/scenario6.composite +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/builder/src/main/resources/scenario6/scenario6a.composite b/java/sca-contrib/itest/builder/src/main/resources/scenario6/scenario6a.composite deleted file mode 100644 index 853703a353..0000000000 --- a/java/sca-contrib/itest/builder/src/main/resources/scenario6/scenario6a.composite +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/builder/src/main/resources/scenario6/scenarios.wsdl b/java/sca-contrib/itest/builder/src/main/resources/scenario6/scenarios.wsdl deleted file mode 100644 index 7480419231..0000000000 --- a/java/sca-contrib/itest/builder/src/main/resources/scenario6/scenarios.wsdl +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/builder/src/main/resources/scenario7/META-INF/sca-contribution.xml b/java/sca-contrib/itest/builder/src/main/resources/scenario7/META-INF/sca-contribution.xml deleted file mode 100644 index 44c471cc65..0000000000 --- a/java/sca-contrib/itest/builder/src/main/resources/scenario7/META-INF/sca-contribution.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - diff --git a/java/sca-contrib/itest/builder/src/main/resources/scenario7/scenario7.composite b/java/sca-contrib/itest/builder/src/main/resources/scenario7/scenario7.composite deleted file mode 100644 index 6b1ac24cec..0000000000 --- a/java/sca-contrib/itest/builder/src/main/resources/scenario7/scenario7.composite +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/builder/src/main/resources/scenario7/scenario7a.composite b/java/sca-contrib/itest/builder/src/main/resources/scenario7/scenario7a.composite deleted file mode 100644 index 8e0cebbdd5..0000000000 --- a/java/sca-contrib/itest/builder/src/main/resources/scenario7/scenario7a.composite +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/builder/src/main/resources/scenario7/scenarios.wsdl b/java/sca-contrib/itest/builder/src/main/resources/scenario7/scenarios.wsdl deleted file mode 100644 index 7480419231..0000000000 --- a/java/sca-contrib/itest/builder/src/main/resources/scenario7/scenarios.wsdl +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/builder/src/main/resources/scenario8/META-INF/sca-contribution.xml b/java/sca-contrib/itest/builder/src/main/resources/scenario8/META-INF/sca-contribution.xml deleted file mode 100644 index 7cb09d0a74..0000000000 --- a/java/sca-contrib/itest/builder/src/main/resources/scenario8/META-INF/sca-contribution.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - diff --git a/java/sca-contrib/itest/builder/src/main/resources/scenario8/scenario8.composite b/java/sca-contrib/itest/builder/src/main/resources/scenario8/scenario8.composite deleted file mode 100644 index 26e5ee33fa..0000000000 --- a/java/sca-contrib/itest/builder/src/main/resources/scenario8/scenario8.composite +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/builder/src/main/resources/scenario8/scenario8a.composite b/java/sca-contrib/itest/builder/src/main/resources/scenario8/scenario8a.composite deleted file mode 100644 index 4fa0712199..0000000000 --- a/java/sca-contrib/itest/builder/src/main/resources/scenario8/scenario8a.composite +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/builder/src/main/resources/scenario8/scenarios.wsdl b/java/sca-contrib/itest/builder/src/main/resources/scenario8/scenarios.wsdl deleted file mode 100644 index 7480419231..0000000000 --- a/java/sca-contrib/itest/builder/src/main/resources/scenario8/scenarios.wsdl +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/builder/src/main/resources/scenario9/META-INF/sca-contribution.xml b/java/sca-contrib/itest/builder/src/main/resources/scenario9/META-INF/sca-contribution.xml deleted file mode 100644 index 6e0908702b..0000000000 --- a/java/sca-contrib/itest/builder/src/main/resources/scenario9/META-INF/sca-contribution.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - diff --git a/java/sca-contrib/itest/builder/src/main/resources/scenario9/scenario9.composite b/java/sca-contrib/itest/builder/src/main/resources/scenario9/scenario9.composite deleted file mode 100644 index 3fce35470e..0000000000 --- a/java/sca-contrib/itest/builder/src/main/resources/scenario9/scenario9.composite +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/builder/src/main/resources/scenario9/scenario9a.composite b/java/sca-contrib/itest/builder/src/main/resources/scenario9/scenario9a.composite deleted file mode 100644 index 6e86c547b3..0000000000 --- a/java/sca-contrib/itest/builder/src/main/resources/scenario9/scenario9a.composite +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/builder/src/test/java/org/apache/tuscany/sca/itest/builder/BuilderTestCase.java b/java/sca-contrib/itest/builder/src/test/java/org/apache/tuscany/sca/itest/builder/BuilderTestCase.java deleted file mode 100644 index 1f45cb4a66..0000000000 --- a/java/sca-contrib/itest/builder/src/test/java/org/apache/tuscany/sca/itest/builder/BuilderTestCase.java +++ /dev/null @@ -1,805 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.builder; - -import javax.wsdl.Definition; -import javax.wsdl.Port; -import javax.xml.namespace.QName; -import junit.framework.TestCase; -import org.apache.tuscany.sca.assembly.Binding; -import org.apache.tuscany.sca.assembly.Component; -import org.apache.tuscany.sca.assembly.ComponentReference; -import org.apache.tuscany.sca.assembly.ComponentService; -import org.apache.tuscany.sca.assembly.Composite; -import org.apache.tuscany.sca.assembly.Reference; -import org.apache.tuscany.sca.assembly.SCABinding; -import org.apache.tuscany.sca.assembly.Service; -import org.apache.tuscany.sca.binding.ws.WebServiceBinding; -import org.apache.tuscany.sca.interfacedef.java.JavaInterfaceContract; -import org.apache.tuscany.sca.interfacedef.wsdl.WSDLInterfaceContract; - -/** - * Load and build some composites and inspect the results. - * - * @version $Rev$ $Date$ - */ -public class BuilderTestCase extends TestCase { - private CustomCompositeBuilder customBuilder; - - @Override - protected void setUp() throws Exception { - } - - @Override - protected void tearDown() throws Exception { - } - - - // Scenario 1: on outer composite service CompositeA/Service1 - public void testScenario1() throws Exception { - System.out.println("====>Running testScenario1"); - customBuilder = new CustomCompositeBuilder(false); - customBuilder.loadContribution("scenario1.composite", "TestContribution", "src/main/resources/scenario1/"); - //TestUtils.printResults(customBuilder); - TestUtils.checkProblems(customBuilder); - checkScenario1Results(false); - } - - public void testScenario1NonWiring() throws Exception { - System.out.println("====>Running testScenario1NonWiring"); - customBuilder = new CustomCompositeBuilder(true); - customBuilder.loadContribution("scenario1.composite", "TestContribution", "src/main/resources/scenario1/"); - //TestUtils.printResults(customBuilder); - TestUtils.checkProblems(customBuilder); - checkScenario1Results(true); - } - - private void checkScenario1Results(boolean nonWiring) { - Composite domainComposite = customBuilder.getDomainComposite(); - - Component componentD = TestUtils.getComponent(domainComposite, "ComponentD"); - if (!nonWiring) { - // Should create component service $promoted$Service1 on innermost component - // ComponentD, with and uri="/Service1" - // No other services on ComponentD should have - WebServiceBinding wsBinding = null; - for (ComponentService service : componentD.getServices()) { - WebServiceBinding wsb = service.getBinding(WebServiceBinding.class); - if ("$promoted$Service1".equals(service.getName())) { - wsBinding = wsb; - } else { - assert wsb == null; - } - } - assert "/Service1".equals(wsBinding.getURI()); - - // Should create WSDL document for ComponentD/$promoted$Service1 with endpoint uri="/Service1" - Definition def = wsBinding.getWSDLDocument(); - javax.wsdl.Service svc = def.getService(new QName("http://builder.itest.sca.tuscany.apache.org/", "Service3Service")); - Port port = svc.getPort("Service3Port"); - assert "/Service1".equals(TestUtils.getPortAddress(port)); - } else { - // Should not create component service $promoted$Service1 on innermost component ComponentD - // No component services on ComponentD should have - for (ComponentService service : componentD.getServices()) { - assert !"$promoted$Service1".equals(service.getName()); - assert service.getBinding(WebServiceBinding.class) == null; - } - } - - // No services on ComponentB should have - Component componentB = TestUtils.getComponent(domainComposite, "ComponentB"); - for (ComponentService service : componentB.getServices()) { - assert service.getBinding(WebServiceBinding.class) == null; - } - - // No services on CompositeC should have - Composite compositeC = TestUtils.getComposite(domainComposite, new QName("http://scenario1", "CompositeC")); - for (Service service : compositeC.getServices()) { - assert service.getBinding(WebServiceBinding.class) == null; - } - - if (nonWiring) { - // Should not add a WSDL document to domain composite service Service1 - WebServiceBinding wsBinding = null; - for (Service service : domainComposite.getServices()) { - if ("Service1".equals(service.getName())) { - wsBinding = service.getBinding(WebServiceBinding.class); - } - } - assert wsBinding.getWSDLDocument() == null; - } - } - - // Scenario 2: on outer component service ComponentB/Service2 - public void testScenario2() throws Exception { - System.out.println("====>Running testScenario2"); - customBuilder = new CustomCompositeBuilder(false); - customBuilder.loadContribution("scenario2.composite", "TestContribution", "src/main/resources/scenario2/"); - //TestUtils.printResults(customBuilder); - TestUtils.checkProblems(customBuilder); - checkScenario2and3Results("http://scenario2", false); - } - - public void testScenario2NonWiring() throws Exception { - System.out.println("====>Running testScenario2NonWiring"); - customBuilder = new CustomCompositeBuilder(true); - customBuilder.loadContribution("scenario2.composite", "TestContribution", "src/main/resources/scenario2/"); - //TestUtils.printResults(customBuilder); - TestUtils.checkProblems(customBuilder); - checkScenario2and3Results("http://scenario2", true); - } - - private void checkScenario2and3Results(String namespace, boolean nonWiring) { - Composite domainComposite = customBuilder.getDomainComposite(); - - // Should create WSDL document for ComponentB/Service2 with endpoint uri="/ComponentB/Service2" - // No other services on ComponentB should have - Component componentB = TestUtils.getComponent(domainComposite, "ComponentB"); - WebServiceBinding wsBinding = null; - for (ComponentService service : componentB.getServices()) { - WebServiceBinding wsb = service.getBinding(WebServiceBinding.class); - if ("Service2".equals(service.getName())) { - wsBinding = wsb; - } else { - assert wsb == null; - } - } - Definition def = wsBinding.getWSDLDocument(); - javax.wsdl.Service svc = def.getService(new QName("http://builder.itest.sca.tuscany.apache.org/", "Service3Service")); - Port port = svc.getPort("Service3Port"); - assert "/ComponentB/Service2".equals(TestUtils.getPortAddress(port)); - - Component componentD = TestUtils.getComponent(domainComposite, "ComponentD"); - if (!nonWiring) { - // Should create component service $promoted$ComponentB$slash$Service2 on innermost component - // ComponentD, with and uri="/ComponentB/Service2" - wsBinding = null; - for (ComponentService service : componentD.getServices()) { - if ("$promoted$ComponentB$slash$Service2".equals(service.getName())) { - wsBinding = service.getBinding(WebServiceBinding.class); - } - } - assert "/ComponentB/Service2".equals(wsBinding.getURI()); - - // Should create WSDL document for ComponentD/$promoted$ComponentB$slash$Service2 with endpoint uri="/ComponentB/Service2" - def = wsBinding.getWSDLDocument(); - svc = def.getService(new QName("http://builder.itest.sca.tuscany.apache.org/", "Service3Service")); - port = svc.getPort("Service3Port"); - assert "/ComponentB/Service2".equals(TestUtils.getPortAddress(port)); - } else { - // Should not create component service $promoted$ComponentB$slash$Service2 on innermost component ComponentD - for (ComponentService service : componentD.getServices()) { - assert !"$promoted$ComponentB$slash$Service2".equals(service.getName()); - } - } - - // Should add to outer composite service CompositeA/Service1 - wsBinding = null; - for (Service service : domainComposite.getServices()) { - if ("Service1".equals(service.getName())) { - wsBinding = service.getBinding(WebServiceBinding.class); - } - } - assert wsBinding != null; - if (nonWiring) { - // Should not add a WSDL document to domain composite service Service1 - assert wsBinding.getWSDLDocument() == null; - } - - if (!nonWiring) { - // Should create component service $promoted$Service1 on innermost component - // ComponentD, with and uri="/Service1" - wsBinding = null; - for (ComponentService service : componentD.getServices()) { - if ("$promoted$Service1".equals(service.getName())) { - wsBinding = service.getBinding(WebServiceBinding.class); - } - } - assert "/Service1".equals(wsBinding.getURI()); - - // Should create WSDL document for ComponentD/$promoted$Service1 with endpoint uri="/Service1" - def = wsBinding.getWSDLDocument(); - svc = def.getService(new QName("http://builder.itest.sca.tuscany.apache.org/", "Service3Service")); - port = svc.getPort("Service3Port"); - assert "/Service1".equals(TestUtils.getPortAddress(port)); - } else { - // Should not create component service $promoted$.Service1 on innermost component ComponentD - for (ComponentService service : componentD.getServices()) { - assert !"$promoted$Service1".equals(service.getName()); - } - } - - // No services on ComponentD should have , except for $promoted$Service1 - // and $promoted$ComponentB$slash$Service2 - for (ComponentService service : componentD.getServices()) { - if (!"$promoted$Service1".equals(service.getName()) && - !"$promoted$ComponentB$slash$Service2".equals(service.getName())) { - assert service.getBinding(WebServiceBinding.class) == null; - } - } - - // No services on CompositeC should have , except for Service2 in Scenario 3 - Composite compositeC = TestUtils.getComposite(domainComposite, new QName(namespace, "CompositeC")); - for (Service service : compositeC.getServices()) { - if ("http://scenario3".equals(namespace) && "Service2".equals(service.getName())) { - assert service.getBinding(WebServiceBinding.class) != null; - } else { - assert service.getBinding(WebServiceBinding.class) == null; - } - } - } - - // Scenario 3: on inner composite service CompositeC/Service2 - public void testScenario3() throws Exception { - System.out.println("====>Running testScenario3"); - customBuilder = new CustomCompositeBuilder(false); - customBuilder.loadContribution("scenario3.composite", "TestContribution", "src/main/resources/scenario3/"); - //TestUtils.printResults(customBuilder); - TestUtils.checkProblems(customBuilder); - checkScenario2and3Results("http://scenario3", false); - } - - public void testScenario3NonWiring() throws Exception { - System.out.println("====>Running testScenario3NonWiring"); - customBuilder = new CustomCompositeBuilder(true); - customBuilder.loadContribution("scenario3.composite", "TestContribution", "src/main/resources/scenario3/"); - //TestUtils.printResults(customBuilder); - TestUtils.checkProblems(customBuilder); - checkScenario2and3Results("http://scenario3", true); - } - - // Scenario 4: on inner component service ComponentD/Service3 - public void testScenario4() throws Exception { - System.out.println("====>Running testScenario4"); - customBuilder = new CustomCompositeBuilder(false); - customBuilder.loadContribution("scenario4.composite", "TestContribution", "src/main/resources/scenario4/"); - //TestUtils.printResults(customBuilder); - TestUtils.checkProblems(customBuilder); - checkScenario4Results(false); - } - - public void testScenario4NonWiring() throws Exception { - System.out.println("====>Running testScenario4NonWiring"); - customBuilder = new CustomCompositeBuilder(true); - customBuilder.loadContribution("scenario4.composite", "TestContribution", "src/main/resources/scenario4/"); - //TestUtils.printResults(customBuilder); - TestUtils.checkProblems(customBuilder); - checkScenario4Results(true); - } - - private void checkScenario4Results(boolean nonWiring) { - Composite domainComposite = customBuilder.getDomainComposite(); - - // Should create WSDL document for ComponentD/Service3 with endpoint uri="/ComponentD/Service3" - Component componentD = TestUtils.getComponent(domainComposite, "ComponentD"); - WebServiceBinding wsBinding = null; - for (ComponentService service : componentD.getServices()) { - if ("Service3".equals(service.getName())) { - wsBinding = service.getBinding(WebServiceBinding.class); - } - } - Definition def = wsBinding.getWSDLDocument(); - javax.wsdl.Service svc = def.getService(new QName("http://builder.itest.sca.tuscany.apache.org/", "Service3Service")); - Port port = svc.getPort("Service3Port"); - assert "/ComponentB/ComponentD/Service3".equals(TestUtils.getPortAddress(port)); - - // Should add to inner composite service CompositeC/Service2 - // No other services on CompositeC should have - Composite compositeC = TestUtils.getComposite(domainComposite, new QName("http://scenario4", "CompositeC")); - wsBinding = null; - for (Service service : compositeC.getServices()) { - WebServiceBinding wsb = service.getBinding(WebServiceBinding.class); - if ("Service2".equals(service.getName())) { - wsBinding = wsb; - } else { - assert wsb == null; - } - } - assert "/ComponentB/Service2".equals(wsBinding.getURI()); - - // Should add to outer component service ComponentB/Service2 - // Should create WSDL document for ComponentB/Service2 with endpoint uri="/ComponentB/Service2" - // No other services on ComponentB should have - Component componentB = TestUtils.getComponent(domainComposite, "ComponentB"); - wsBinding = null; - for (ComponentService service : componentB.getServices()) { - WebServiceBinding wsb = service.getBinding(WebServiceBinding.class); - if ("Service2".equals(service.getName())) { - wsBinding = wsb; - } else { - assert wsb == null; - } - } - assert "/ComponentB/Service2".equals(wsBinding.getURI()); - def = wsBinding.getWSDLDocument(); - svc = def.getService(new QName("http://builder.itest.sca.tuscany.apache.org/", "Service3Service")); - port = svc.getPort("Service3Port"); - assert "/ComponentB/Service2".equals(TestUtils.getPortAddress(port)); - - if (!nonWiring) { - // Should create component service $promoted$ComponentB$slash$Service2 on innermost component - // ComponentD, with and uri="/ComponentB/Service2" - wsBinding = null; - for (ComponentService service : componentD.getServices()) { - if ("$promoted$ComponentB$slash$Service2".equals(service.getName())) { - wsBinding = service.getBinding(WebServiceBinding.class); - } - } - assert "/ComponentB/Service2".equals(wsBinding.getURI()); - - // Should create WSDL document for ComponentD/$promoted$ComponentB$slash$Service2 with endpoint uri="/ComponentB/Service2" - def = wsBinding.getWSDLDocument(); - svc = def.getService(new QName("http://builder.itest.sca.tuscany.apache.org/", "Service3Service")); - port = svc.getPort("Service3Port"); - assert "/ComponentB/Service2".equals(TestUtils.getPortAddress(port)); - } else { - // Should not create component service $promoted$ComponentB$slash$Service2 on innermost component ComponentD - for (ComponentService service : componentD.getServices()) { - assert !"$promoted$ComponentB$slash$Service2".equals(service.getName()); - } - } - - // Should add to outer composite service CompositeA/Service1 - wsBinding = null; - for (Service service : domainComposite.getServices()) { - if ("Service1".equals(service.getName())) { - wsBinding = service.getBinding(WebServiceBinding.class); - } - } - assert wsBinding != null; - if (nonWiring) { - // Should not add a WSDL document to domain composite service Service1 - assert wsBinding.getWSDLDocument() == null; - } - - if (!nonWiring) { - // Should create component service $promoted$Service1 on innermost component - // ComponentD, with and uri="/Service1" - wsBinding = null; - for (ComponentService service : componentD.getServices()) { - if ("$promoted$Service1".equals(service.getName())) { - wsBinding = service.getBinding(WebServiceBinding.class); - } - } - assert "/Service1".equals(wsBinding.getURI()); - - // Should create WSDL document for ComponentD/$promoted$Service1 with endpoint uri="/Service1" - def = wsBinding.getWSDLDocument(); - svc = def.getService(new QName("http://builder.itest.sca.tuscany.apache.org/", "Service3Service")); - port = svc.getPort("Service3Port"); - assert "/Service1".equals(TestUtils.getPortAddress(port)); - } else { - // Should not create component service $promoted$.Service1 on innermost component ComponentD - for (ComponentService service : componentD.getServices()) { - assert !"$promoted$Service1".equals(service.getName()); - } - } - - // No services on ComponentD should have , except for Service3, - // $promoted$.Service1 and $promoted$.ComponentB.Service2 - for (ComponentService service : componentD.getServices()) { - if (!"Service3".equals(service.getName()) && - !"$promoted$Service1".equals(service.getName()) && - !"$promoted$ComponentB$slash$Service2".equals(service.getName())) { - assert service.getBinding(WebServiceBinding.class) == null; - } - } - } - - // Scenario 5: and on outer composite reference CompositeA/reference1 - public void testScenario5() throws Exception { - System.out.println("====>Running testScenario5"); - customBuilder = new CustomCompositeBuilder(false); - customBuilder.loadContribution("scenario5.composite", "TestContribution", "src/main/resources/scenario5/"); - //TestUtils.printResults(customBuilder); - TestUtils.checkProblems(customBuilder); - checkScenario5Results(false); - } - - public void testScenario5NonWiring() throws Exception { - System.out.println("====>Running testScenario5NonWiring"); - customBuilder = new CustomCompositeBuilder(true); - customBuilder.loadContribution("scenario5.composite", "TestContribution", "src/main/resources/scenario5/"); - //TestUtils.printResults(customBuilder); - TestUtils.checkProblems(customBuilder); - checkScenario5Results(true); - } - - private void checkScenario5Results(boolean nonWiring) { - Composite domainComposite = customBuilder.getDomainComposite(); - - // Should not add to any outer component references - Component componentB = TestUtils.getComponent(domainComposite, "ComponentB"); - for (ComponentReference reference : componentB.getReferences()) { - assert reference.getBinding(WebServiceBinding.class) == null; - } - - Definition def; - javax.wsdl.Service svc; - Port port; - WebServiceBinding wsBinding; - Component componentD = TestUtils.getComponent(domainComposite, "ComponentD"); - if (!nonWiring) { - // Should add to inner component reference ComponentD/reference3 with uri="http://foo.com/bar" - // Should set on inner component reference ComponentD/reference3 - wsBinding = null; - for (ComponentReference reference : componentD.getReferences()) { - if ("reference3".equals(reference.getName())) { - wsBinding = reference.getBinding(WebServiceBinding.class); - assert reference.getInterfaceContract(wsBinding) instanceof WSDLInterfaceContract; - } - } - assert "http://foo.com/bar".equals(wsBinding.getURI()); - - // Should create WSDL document for ComponentD/reference3 with endpoint uri="http://foo.com/bar" - def = wsBinding.getWSDLDocument(); - svc = def.getService(new QName("http://scenarios/ComponentD/reference3", "Service3aService")); - port = svc.getPort("Service3aPort"); - assert "http://foo.com/bar".equals(TestUtils.getPortAddress(port)); - } else { - // Should not add to any inner component references - for (ComponentReference reference : componentD.getReferences()) { - assert reference.getBinding(WebServiceBinding.class) == null; - } - } - - // Should not add or to inner composite reference CompositeC/reference2 - Composite compositeC = TestUtils.getComposite(domainComposite, new QName("http://scenario5", "CompositeC")); - for (Reference reference : compositeC.getReferences()) { - assert reference.getBinding(WebServiceBinding.class) == null; - assert reference.getInterfaceContract() instanceof JavaInterfaceContract; - } - } - - // Scenario 6: and on outer component reference ComponentB/reference2 - public void testScenario6() throws Exception { - System.out.println("====>Running testScenario6"); - customBuilder = new CustomCompositeBuilder(false); - customBuilder.loadContribution("scenario6.composite", "TestContribution", "src/main/resources/scenario6/"); - //TestUtils.printResults(customBuilder); - TestUtils.checkProblems(customBuilder); - checkScenario6and7Results("http://scenario6", false); - } - - public void testScenario6NonWiring() throws Exception { - System.out.println("====>Running testScenario6NonWiring"); - customBuilder = new CustomCompositeBuilder(true); - customBuilder.loadContribution("scenario6.composite", "TestContribution", "src/main/resources/scenario6/"); - //TestUtils.printResults(customBuilder); - TestUtils.checkProblems(customBuilder); - checkScenario6and7Results("http://scenario6", true); - } - - private void checkScenario6and7Results(String namespace, boolean nonWiring) { - Composite domainComposite = customBuilder.getDomainComposite(); - - // Should remove target= on ComponentB/reference2 (for Scenario 6) or - // CompositeC/reference2 (for Scenario 7), and add uri="http://foo.com/bar" - // to the element on ComponentB/reference2 - // For nonWiring, ComponentB/reference2 should have target= - // and no uri= should be added - Component componentB = TestUtils.getComponent(domainComposite, "ComponentB"); - WebServiceBinding wsBinding = null; - for (ComponentReference reference : componentB.getReferences()) { - if ("reference2".equals(reference.getName())) { - if (!nonWiring) { - assert reference.getTargets().size() == 0; - } else { - assert reference.getTargets().size() == 1; - } - wsBinding = reference.getBinding(WebServiceBinding.class); - } - } - if (!nonWiring) { - assert "http://foo.com/bar".equals(wsBinding.getURI()); - } else { - assert wsBinding.getURI() == null; - } - - Definition def; - javax.wsdl.Service svc; - Port port; - if (!nonWiring) { - // Should create WSDL document for ComponentB/reference2 with endpoint uri="http://foo.com/bar" - def = wsBinding.getWSDLDocument(); - svc = def.getService(new QName("http://scenarios/ComponentB/reference2", "Service3aService")); - port = svc.getPort("Service3aPort"); - assert "http://foo.com/bar".equals(TestUtils.getPortAddress(port)); - } - - Component componentD = TestUtils.getComponent(domainComposite, "ComponentD"); - if (!nonWiring) { - // Should add to inner component reference ComponentD/reference3 with uri="http://foo.com/bar" - // Should set on inner component reference ComponentD/reference3 - wsBinding = null; - for (ComponentReference reference : componentD.getReferences()) { - if ("reference3".equals(reference.getName())) { - wsBinding = reference.getBinding(WebServiceBinding.class); - assert reference.getBindings().size() == 1; - assert reference.getInterfaceContract(wsBinding) instanceof WSDLInterfaceContract; - } - } - assert "http://foo.com/bar".equals(wsBinding.getURI()); - - // Should create WSDL document for ComponentD/reference3 with endpoint uri="http://foo.com/bar" - def = wsBinding.getWSDLDocument(); - svc = def.getService(new QName("http://scenarios/ComponentB/reference2", "Service3aService")); - port = svc.getPort("Service3aPort"); - assert "http://foo.com/bar".equals(TestUtils.getPortAddress(port)); - } else { - // Should not add to any inner component references - for (ComponentReference reference : componentD.getReferences()) { - assert reference.getBinding(WebServiceBinding.class) == null; - } - } - - // No references on CompositeC should have or , except for - // reference2 in Scenario 7 - Composite compositeC = TestUtils.getComposite(domainComposite, new QName(namespace, "CompositeC")); - for (Reference reference : compositeC.getReferences()) { - if ("http://scenario7".equals(namespace) && "reference2".equals(reference.getName())) { - assert reference.getBinding(WebServiceBinding.class)!= null; - assert reference.getInterfaceContract() instanceof WSDLInterfaceContract; - } else { - assert reference.getBinding(WebServiceBinding.class) == null; - assert reference.getInterfaceContract() instanceof JavaInterfaceContract; - } - } - - // Should add and to outer composite reference CompositeA/reference1 - wsBinding = null; - for (Reference reference : domainComposite.getReferences()) { - if ("reference1".equals(reference.getName())) { - wsBinding = reference.getBinding(WebServiceBinding.class); - assert reference.getInterfaceContract() instanceof WSDLInterfaceContract; - } - } - assert wsBinding.getURI() == null; - - // Should not add a WSDL document to domain composite reference reference1 - assert wsBinding.getWSDLDocument() == null; - } - - // Scenario 7: and on inner composite reference CompositeC/reference2 - public void testScenario7() throws Exception { - System.out.println("====>Running testScenario7"); - customBuilder = new CustomCompositeBuilder(false); - customBuilder.loadContribution("scenario7.composite", "TestContribution", "src/main/resources/scenario7/"); - //TestUtils.printResults(customBuilder); - TestUtils.checkProblems(customBuilder); - checkScenario6and7Results("http://scenario7", false); - } - - public void testScenario7NonWiring() throws Exception { - System.out.println("====>Running testScenario7NonWiring"); - customBuilder = new CustomCompositeBuilder(true); - customBuilder.loadContribution("scenario7.composite", "TestContribution", "src/main/resources/scenario7/"); - //TestUtils.printResults(customBuilder); - TestUtils.checkProblems(customBuilder); - checkScenario6and7Results("http://scenario7", true); - } - - // Scenario 8: and on inner component reference ComponentD/reference3 - public void testScenario8() throws Exception { - System.out.println("====>Running testScenario8"); - customBuilder = new CustomCompositeBuilder(false); - customBuilder.loadContribution("scenario8.composite", "TestContribution", "src/main/resources/scenario8/"); - //TestUtils.printResults(customBuilder); - TestUtils.checkProblems(customBuilder); - checkScenario8Results(false); - } - - public void testScenario8NonWiring() throws Exception { - System.out.println("====>Running testScenario8NonWiring"); - customBuilder = new CustomCompositeBuilder(true); - customBuilder.loadContribution("scenario8.composite", "TestContribution", "src/main/resources/scenario8/"); - //TestUtils.printResults(customBuilder); - TestUtils.checkProblems(customBuilder); - checkScenario8Results(true); - } - - private void checkScenario8Results(boolean nonWiring) { - Composite domainComposite = customBuilder.getDomainComposite(); - - // Should replace target= on ComponentD/reference3 by uri="http://foo.com/bar" on - // For nonWiring, the original target= is preserved and there is no uri= - Component componentD = TestUtils.getComponent(domainComposite, "ComponentD"); - WebServiceBinding wsBinding = null; - for (ComponentReference reference : componentD.getReferences()) { - if ("reference3".equals(reference.getName())) { - if (!nonWiring) { - assert reference.getTargets().size() == 0; - } else { - assert reference.getTargets().size() == 1; - } - wsBinding = reference.getBinding(WebServiceBinding.class); - } - } - if (!nonWiring) { - assert "http://foo.com/bar".equals(wsBinding.getURI()); - } else { - assert wsBinding.getURI() == null; - } - - Definition def; - javax.wsdl.Service svc; - Port port; - if (!nonWiring) { - // Should create WSDL document for ComponentD/reference3 with endpoint uri="http://foo.com/bar" - def = wsBinding.getWSDLDocument(); - svc = def.getService(new QName("http://scenarios/ComponentD/reference3", "Service3aService")); - port = svc.getPort("Service3aPort"); - assert "http://foo.com/bar".equals(TestUtils.getPortAddress(port)); - } - - // Should add and to inner composite reference CompositeC/reference2 - Composite compositeC = TestUtils.getComposite(domainComposite, new QName("http://scenario8", "CompositeC")); - wsBinding = null; - for (Reference reference : compositeC.getReferences()) { - if ("reference2".equals(reference.getName())) { - wsBinding = reference.getBinding(WebServiceBinding.class); - assert reference.getInterfaceContract() instanceof WSDLInterfaceContract; - } - } - assert wsBinding.getURI() == null; - - // Should add and to outer component reference ComponentB/reference2 - Component componentB = TestUtils.getComponent(domainComposite, "ComponentB"); - wsBinding = null; - for (ComponentReference reference : componentB.getReferences()) { - if ("reference2".equals(reference.getName())) { - wsBinding = reference.getBinding(WebServiceBinding.class); - assert reference.getInterfaceContract() instanceof WSDLInterfaceContract; - } - } - assert wsBinding.getURI() == null; - - // Should add and to outer composite reference CompositeA/reference1 - wsBinding = null; - for (Reference reference : domainComposite.getReferences()) { - if ("reference1".equals(reference.getName())) { - wsBinding = reference.getBinding(WebServiceBinding.class); - assert reference.getInterfaceContract() instanceof WSDLInterfaceContract; - } - } - assert wsBinding.getURI() == null; - - // Should not add a WSDL document to domain composite reference reference1 - assert wsBinding.getWSDLDocument() == null; - } - - // Scenario 9: target in reference CDR3A and binding.ws uri= at CAR1A - public void testScenario9() throws Exception { - System.out.println("====>Running testScenario9"); - customBuilder = new CustomCompositeBuilder(false); - customBuilder.loadContribution("scenario9.composite", "TestContribution", "src/main/resources/scenario9/"); - //TestUtils.printResults(customBuilder); - TestUtils.checkProblems(customBuilder); - checkScenario9Results(); - } - - private void checkScenario9Results() { - Composite domainComposite = customBuilder.getDomainComposite(); - - Component componentD = TestUtils.getComponent(domainComposite, "ComponentD"); - ComponentReference componentRef = null; - for (ComponentReference reference : componentD.getReferences()) { - if ("reference3a".equals(reference.getName())) { - componentRef = reference; - assertTrue(reference.getBindings().size() == 2); - assertTrue(reference.getBindings().get(0) instanceof SCABinding); - assertTrue(reference.getBindings().get(1) instanceof WebServiceBinding); - } - } - assertTrue(componentRef != null); - } - - // Scenario 10: targets in references CBR2A and CDR3A and binding.ws at CBR2A - public void testScenario10() throws Exception { - System.out.println("====>Running testScenario10"); - customBuilder = new CustomCompositeBuilder(false); - customBuilder.loadContribution("scenario10.composite", "TestContribution", "src/main/resources/scenario10/"); - //TestUtils.printResults(customBuilder); - TestUtils.checkProblems(customBuilder); - checkScenario10And11Results(); - } - - // Scenario 11: targets in references CBR2A and CDR3A and binding.ws at CCR2A - public void testScenario11() throws Exception { - System.out.println("====>Running testScenario11"); - customBuilder = new CustomCompositeBuilder(false); - customBuilder.loadContribution("scenario11.composite", "TestContribution", "src/main/resources/scenario11/"); - //TestUtils.printResults(customBuilder); - TestUtils.checkProblems(customBuilder); - checkScenario10And11Results(); - } - - private void checkScenario10And11Results() { - Composite domainComposite = customBuilder.getDomainComposite(); - - Component componentD = TestUtils.getComponent(domainComposite, "ComponentD"); - ComponentReference componentRef = null; - for (ComponentReference reference : componentD.getReferences()) { - if ("reference3a".equals(reference.getName())) { - componentRef = reference; - assertTrue(reference.getBindings().size() == 2); - Binding binding1 = reference.getBindings().get(0); - assertTrue(binding1 instanceof SCABinding); - assertTrue(reference.getInterfaceContract(binding1) instanceof JavaInterfaceContract); - Binding binding2 = reference.getBindings().get(1); - assertTrue(binding2 instanceof WebServiceBinding); - assertTrue(reference.getInterfaceContract(binding2) instanceof WSDLInterfaceContract); - } - } - assertTrue(componentRef != null); - } - - // Scenario 12: targets in references CBR2A and CDR3A and binding.ws at CDR3A - public void testScenario12() throws Exception { - System.out.println("====>Running testScenario12"); - customBuilder = new CustomCompositeBuilder(false); - customBuilder.loadContribution("scenario12.composite", "TestContribution", "src/main/resources/scenario12/"); - //TestUtils.printResults(customBuilder); - TestUtils.checkProblems(customBuilder); - checkScenario12Results(); - } - - private void checkScenario12Results() { - Composite domainComposite = customBuilder.getDomainComposite(); - - Component componentD = TestUtils.getComponent(domainComposite, "ComponentD"); - ComponentReference componentRef = null; - for (ComponentReference reference : componentD.getReferences()) { - if ("reference3a".equals(reference.getName())) { - componentRef = reference; - assertTrue(reference.getBindings().size() == 2); - assertTrue(reference.getBindings().get(0) instanceof WebServiceBinding); - assertTrue(reference.getBindings().get(1) instanceof WebServiceBinding); - } - } - assertTrue(componentRef != null); - } - - // Scenario 13: target in reference CDR3A - public void testScenario13() throws Exception { - System.out.println("====>Running testScenario13"); - customBuilder = new CustomCompositeBuilder(false); - customBuilder.loadContribution("scenario13.composite", "TestContribution", "src/main/resources/scenario13/"); - //TestUtils.printResults(customBuilder); - TestUtils.checkProblems(customBuilder); - checkScenario13Results(); - } - - private void checkScenario13Results() { - Composite domainComposite = customBuilder.getDomainComposite(); - - Component componentD = TestUtils.getComponent(domainComposite, "ComponentD"); - ComponentReference componentRef = null; - for (ComponentReference reference : componentD.getReferences()) { - if ("reference3a".equals(reference.getName())) { - componentRef = reference; - assertTrue(reference.getBindings().size() == 1); - assertTrue(reference.getBindings().get(0) instanceof WebServiceBinding); - } - } - assertTrue(componentRef != null); - } - -} diff --git a/java/sca-contrib/itest/builder/src/test/java/org/apache/tuscany/sca/itest/builder/CompositeBuilderNonWiringImpl.java b/java/sca-contrib/itest/builder/src/test/java/org/apache/tuscany/sca/itest/builder/CompositeBuilderNonWiringImpl.java deleted file mode 100644 index c9339c1545..0000000000 --- a/java/sca-contrib/itest/builder/src/test/java/org/apache/tuscany/sca/itest/builder/CompositeBuilderNonWiringImpl.java +++ /dev/null @@ -1,153 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.builder; - -import java.util.logging.Logger; - -import org.apache.tuscany.sca.assembly.AssemblyFactory; -import org.apache.tuscany.sca.assembly.Composite; -import org.apache.tuscany.sca.assembly.DefaultEndpointFactory; -import org.apache.tuscany.sca.assembly.EndpointFactory; -import org.apache.tuscany.sca.assembly.SCABindingFactory; -import org.apache.tuscany.sca.assembly.builder.CompositeBuilder; -import org.apache.tuscany.sca.assembly.builder.CompositeBuilderException; -import org.apache.tuscany.sca.core.ExtensionPointRegistry; -import org.apache.tuscany.sca.definitions.Definitions; -import org.apache.tuscany.sca.interfacedef.InterfaceContractMapper; -import org.apache.tuscany.sca.monitor.Monitor; -import org.apache.tuscany.sca.policy.IntentAttachPointTypeFactory; - -/** - * Test version of org.apache.tuscany.sca.assembly.builder.impl.builder.CompositeBuilderImpl - * - * This class should be identical to CompositeBuilderImpl except for omitting the - * following builders: - * componentWireBuilder - * compositeReferenceWireBuilder - * compositePromotedServiceBuilder - * It omits the component wiring step and the special processing that's performed - * for composite service and reference promotion. - * - * @version $Rev$ $Date$ - */ -public class CompositeBuilderNonWiringImpl implements CompositeBuilder { - private static final Logger logger = Logger.getLogger(CompositeBuilderNonWiringImpl.class.getName()); - private CompositeBuilder compositeIncludeBuilder; - private CompositeBuilder compositeCloneBuilder; - private CompositeBuilder componentConfigurationBuilder; - private CompositeBuilder compositeServiceConfigurationBuilder; - private CompositeBuilder compositeReferenceConfigurationBuilder; - private CompositeBuilder compositeBindingURIBuilder; - private CompositeBuilder componentServicePromotionBuilder; - private CompositeBuilder compositePromotionBuilder; - private CompositeBuilder compositePolicyBuilder; - private CompositeBuilder componentServiceBindingBuilder; - private CompositeBuilder componentReferenceBindingBuilder; - - /** - * Constructs a new composite builder. - * - * @param assemblyFactory - * @param scaBindingFactory - * @param intentAttachPointTypeFactory - * @param interfaceContractMapper - * @param monitor - */ - public CompositeBuilderNonWiringImpl(AssemblyFactory assemblyFactory, - SCABindingFactory scaBindingFactory, - IntentAttachPointTypeFactory intentAttachPointTypeFactory, - InterfaceContractMapper interfaceContractMapper) { - this(assemblyFactory, null, scaBindingFactory, intentAttachPointTypeFactory, interfaceContractMapper); - } - - /** - * Constructs a new composite builder. - * - * @param assemblyFactory - * @param scaBindingFactory - * @param endpointFactory - * @param intentAttachPointTypeFactory - * @param interfaceContractMapper - * @param policyDefinitions - * @param monitor - */ - public CompositeBuilderNonWiringImpl(AssemblyFactory assemblyFactory, - EndpointFactory endpointFactory, - SCABindingFactory scaBindingFactory, - IntentAttachPointTypeFactory intentAttachPointTypeFactory, - InterfaceContractMapper interfaceContractMapper) { - - if (endpointFactory == null){ - endpointFactory = new DefaultEndpointFactory(); - } - - compositeIncludeBuilder = new org.apache.tuscany.sca.assembly.builder.impl.CompositeIncludeBuilderImpl(); - compositeCloneBuilder = new org.apache.tuscany.sca.assembly.builder.impl.CompositeCloneBuilderImpl(); - componentConfigurationBuilder = new org.apache.tuscany.sca.assembly.builder.impl.ComponentConfigurationBuilderImpl(assemblyFactory, scaBindingFactory, interfaceContractMapper); - compositeServiceConfigurationBuilder = new org.apache.tuscany.sca.assembly.builder.impl.CompositeServiceConfigurationBuilderImpl(assemblyFactory); - compositeReferenceConfigurationBuilder = new org.apache.tuscany.sca.assembly.builder.impl.CompositeReferenceConfigurationBuilderImpl(assemblyFactory); - compositeBindingURIBuilder = new org.apache.tuscany.sca.assembly.builder.impl.CompositeBindingURIBuilderImpl(assemblyFactory, scaBindingFactory, interfaceContractMapper); - compositePromotionBuilder = new org.apache.tuscany.sca.assembly.builder.impl.CompositePromotionBuilderImpl(assemblyFactory, endpointFactory, interfaceContractMapper); - compositePolicyBuilder = new org.apache.tuscany.sca.assembly.builder.impl.CompositePolicyBuilderImpl(assemblyFactory, endpointFactory, interfaceContractMapper); - componentServiceBindingBuilder = new org.apache.tuscany.sca.assembly.builder.impl.ComponentServiceBindingBuilderImpl(); - componentReferenceBindingBuilder = new org.apache.tuscany.sca.assembly.builder.impl.ComponentReferenceBindingBuilderImpl(); - } - - public String getID() { - return "org.apache.tuscany.sca.assembly.builder.CompositeBuilderNonWiring"; - } - - public void build(Composite composite, Definitions definitions, Monitor monitor) throws CompositeBuilderException { - - // Collect and fuse includes - compositeIncludeBuilder.build(composite, definitions, monitor); - - // Expand nested composites - compositeCloneBuilder.build(composite, definitions, monitor); - - // Configure all components - componentConfigurationBuilder.build(composite, definitions, monitor); - - // Connect composite services/references to promoted services/references - compositePromotionBuilder.build(composite, definitions, monitor); - - // Compute the policies across the model hierarchy - compositePolicyBuilder.build(composite, definitions, monitor); - - // Configure composite services - compositeServiceConfigurationBuilder.build(composite, definitions, monitor); - - // Configure composite references - compositeReferenceConfigurationBuilder.build(composite, definitions, monitor); - - // Configure binding URIs - compositeBindingURIBuilder.build(composite, definitions, monitor); - - // Build component service binding-related information - componentServiceBindingBuilder.build(composite, definitions, monitor); - - // Build component reference binding-related information - componentReferenceBindingBuilder.build(composite, definitions, monitor); - - // Fuse nested composites - //FIXME do this later - //cloneBuilder.fuseCompositeImplementations(composite); - } - -} diff --git a/java/sca-contrib/itest/builder/src/test/java/org/apache/tuscany/sca/itest/builder/CustomCompositeBuilder.java b/java/sca-contrib/itest/builder/src/test/java/org/apache/tuscany/sca/itest/builder/CustomCompositeBuilder.java deleted file mode 100644 index 5f5fe43d89..0000000000 --- a/java/sca-contrib/itest/builder/src/test/java/org/apache/tuscany/sca/itest/builder/CustomCompositeBuilder.java +++ /dev/null @@ -1,207 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.builder; - -import java.io.File; -import java.net.URI; -import java.net.URL; -import java.util.HashMap; -import java.util.HashSet; -import java.util.List; -import java.util.Map; -import java.util.Set; - -import javax.xml.namespace.QName; -import javax.xml.stream.XMLInputFactory; -import javax.xml.stream.XMLOutputFactory; - -import org.apache.tuscany.sca.assembly.AssemblyFactory; -import org.apache.tuscany.sca.assembly.Composite; -import org.apache.tuscany.sca.assembly.SCABindingFactory; -import org.apache.tuscany.sca.assembly.builder.CompositeBuilder; -import org.apache.tuscany.sca.assembly.builder.impl.CompositeBuilderImpl; -import org.apache.tuscany.sca.assembly.xml.Constants; -import org.apache.tuscany.sca.contribution.Artifact; -import org.apache.tuscany.sca.contribution.Contribution; -import org.apache.tuscany.sca.contribution.processor.ExtensibleStAXArtifactProcessor; -import org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor; -import org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessorExtensionPoint; -import org.apache.tuscany.sca.contribution.processor.URLArtifactProcessor; -import org.apache.tuscany.sca.contribution.processor.URLArtifactProcessorExtensionPoint; -import org.apache.tuscany.sca.contribution.resolver.ExtensibleModelResolver; -import org.apache.tuscany.sca.contribution.resolver.ModelResolverExtensionPoint; -import org.apache.tuscany.sca.core.DefaultExtensionPointRegistry; -import org.apache.tuscany.sca.core.ExtensionPointRegistry; -import org.apache.tuscany.sca.core.FactoryExtensionPoint; -import org.apache.tuscany.sca.core.ModuleActivator; -import org.apache.tuscany.sca.core.ModuleActivatorExtensionPoint; -import org.apache.tuscany.sca.core.UtilityExtensionPoint; -import org.apache.tuscany.sca.definitions.Definitions; -import org.apache.tuscany.sca.interfacedef.InterfaceContractMapper; -import org.apache.tuscany.sca.monitor.Monitor; -import org.apache.tuscany.sca.monitor.MonitorFactory; -import org.apache.tuscany.sca.policy.IntentAttachPointTypeFactory; -import org.apache.tuscany.sca.workspace.Workspace; -import org.apache.tuscany.sca.workspace.WorkspaceFactory; -import org.apache.tuscany.sca.workspace.builder.ContributionBuilder; -import org.apache.tuscany.sca.workspace.builder.impl.ContributionDependencyBuilderImpl; - -public class CustomCompositeBuilder { - private URLArtifactProcessor contributionProcessor; - private ModelResolverExtensionPoint modelResolvers; - private FactoryExtensionPoint modelFactories; - private WorkspaceFactory workspaceFactory; - private AssemblyFactory assemblyFactory; - private XMLOutputFactory outputFactory; - private StAXArtifactProcessor xmlProcessor; - private ContributionBuilder contributionDependencyBuilder; - private CompositeBuilder domainCompositeBuilder; - private static Workspace workspace; - private List policyDefinitions; - private Monitor monitor; - private Composite domainComposite; - private boolean nonWiring; - - public CustomCompositeBuilder(boolean nonWiring) { - this.nonWiring = nonWiring; - } - - private void init() { - - // Create extension point registry - ExtensionPointRegistry extensionPoints = new DefaultExtensionPointRegistry(); - - // Create a monitor - UtilityExtensionPoint utilities = extensionPoints.getExtensionPoint(UtilityExtensionPoint.class); - MonitorFactory monitorFactory = utilities.getUtility(MonitorFactory.class); - monitor = monitorFactory.createMonitor(); - - // Initialize the Tuscany module activators - ModuleActivatorExtensionPoint moduleActivators = extensionPoints.getExtensionPoint(ModuleActivatorExtensionPoint.class); - for (ModuleActivator activator : moduleActivators.getModuleActivators()) { - activator.start(extensionPoints); - } - - // Get XML input/output factories - modelFactories = extensionPoints.getExtensionPoint(FactoryExtensionPoint.class); - XMLInputFactory inputFactory = modelFactories.getFactory(XMLInputFactory.class); - outputFactory = modelFactories.getFactory(XMLOutputFactory.class); - - // Get contribution workspace and assembly model factories - workspaceFactory = modelFactories.getFactory(WorkspaceFactory.class); - assemblyFactory = modelFactories.getFactory(AssemblyFactory.class); - - // Create XML artifact processors - StAXArtifactProcessorExtensionPoint xmlProcessorExtensions = extensionPoints.getExtensionPoint(StAXArtifactProcessorExtensionPoint.class); - xmlProcessor = new ExtensibleStAXArtifactProcessor(xmlProcessorExtensions, inputFactory, outputFactory, monitor); - - // Create contribution content processor - URLArtifactProcessorExtensionPoint docProcessorExtensions = extensionPoints.getExtensionPoint(URLArtifactProcessorExtensionPoint.class); - contributionProcessor = docProcessorExtensions.getProcessor(Contribution.class); - - // Get the model resolvers - modelResolvers = extensionPoints.getExtensionPoint(ModelResolverExtensionPoint.class); - - // Create a contribution dependency builder - contributionDependencyBuilder = new ContributionDependencyBuilderImpl(null); - - // Create a composite builder - SCABindingFactory scaBindingFactory = modelFactories.getFactory(SCABindingFactory.class); - IntentAttachPointTypeFactory attachPointTypeFactory = modelFactories.getFactory(IntentAttachPointTypeFactory.class); - InterfaceContractMapper contractMapper = utilities.getUtility(InterfaceContractMapper.class); - if (nonWiring) { - domainCompositeBuilder = new CompositeBuilderNonWiringImpl(assemblyFactory, scaBindingFactory, attachPointTypeFactory, contractMapper); - } else { - domainCompositeBuilder = new CompositeBuilderImpl(assemblyFactory, scaBindingFactory, attachPointTypeFactory, contractMapper); - } - } - - public void loadContribution(String compositeURL, String sourceURI, String sourceURL) throws Exception { - init(); - - // Create workspace model - workspace = workspaceFactory.createWorkspace(); - workspace.setModelResolver(new ExtensibleModelResolver(workspace, modelResolvers, modelFactories)); - - // Read the test contribution - URI artifactURI = URI.create(sourceURI); - URL artifactURL = new File(sourceURL).toURI().toURL(); - URL contributionURL = new File(compositeURL).toURI().toURL(); - Contribution testContribution = contributionProcessor.read(contributionURL, artifactURI, artifactURL); - workspace.getContributions().add(testContribution); - - // Build the contribution dependencies - Set resolved = new HashSet(); - for (Contribution contribution: workspace.getContributions()) { - contributionDependencyBuilder.build(contribution, workspace, monitor); - - // Resolve contributions - for (Contribution dependency: contribution.getDependencies()) { - if (!resolved.contains(dependency)) { - resolved.add(dependency); - contributionProcessor.resolve(dependency, workspace.getModelResolver()); - } - } - } - - // Create a composite model for the domain - domainComposite = assemblyFactory.createComposite(); - domainComposite.setName(new QName(Constants.SCA10_NS, "domain")); - - // Add all deployables to it, normally the domain administrator would select - // the deployables to include - domainComposite.getIncludes().addAll(workspace.getDeployables()); - - // Build the domain composite and wire the components included in it - domainCompositeBuilder.build(domainComposite, null, monitor); - } - - /** - * Returns the delegating model processor. - * @return the delegating model processor - */ - public StAXArtifactProcessor getModelProcessor() { - return xmlProcessor; - } - - /** - * Returns the XML output factory. - * @return the XML output factory - */ - public XMLOutputFactory getOutputFactory() { - return outputFactory; - } - - /** - * Returns the domain composite. - * @return the domain composite model object - */ - public Composite getDomainComposite() { - return domainComposite; - } - - /** - * Returns the monitor. - * @return the monitor instance - */ - public Monitor getMonitor() { - return monitor; - } - -} diff --git a/java/sca-contrib/itest/builder/src/test/java/org/apache/tuscany/sca/itest/builder/TestUtils.java b/java/sca-contrib/itest/builder/src/test/java/org/apache/tuscany/sca/itest/builder/TestUtils.java deleted file mode 100644 index 9bff4d394e..0000000000 --- a/java/sca-contrib/itest/builder/src/test/java/org/apache/tuscany/sca/itest/builder/TestUtils.java +++ /dev/null @@ -1,203 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.builder; - -import java.io.ByteArrayInputStream; -import java.io.ByteArrayOutputStream; -import javax.wsdl.Definition; -import javax.wsdl.Port; -import javax.wsdl.WSDLException; -import javax.wsdl.extensions.soap.SOAPAddress; -import javax.wsdl.extensions.soap12.SOAP12Address; -import javax.wsdl.factory.WSDLFactory; -import javax.wsdl.xml.WSDLWriter; -import javax.xml.namespace.QName; -import javax.xml.parsers.DocumentBuilder; -import javax.xml.parsers.DocumentBuilderFactory; -import javax.xml.stream.XMLStreamWriter; -import junit.framework.TestCase; -import org.apache.tuscany.sca.assembly.Binding; -import org.apache.tuscany.sca.assembly.Component; -import org.apache.tuscany.sca.assembly.ComponentService; -import org.apache.tuscany.sca.assembly.ComponentReference; -import org.apache.tuscany.sca.assembly.Composite; -import org.apache.tuscany.sca.assembly.Contract; -import org.apache.tuscany.sca.assembly.Implementation; -import org.apache.tuscany.sca.assembly.Reference; -import org.apache.tuscany.sca.assembly.Service; -import org.apache.tuscany.sca.binding.ws.WebServiceBinding; -import org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor; -import org.apache.tuscany.sca.monitor.Monitor; -import org.apache.tuscany.sca.monitor.Problem; -import org.apache.xml.serialize.OutputFormat; -import org.apache.xml.serialize.XMLSerializer; -import org.w3c.dom.Document; - -/** - * Static utility methods for use by test cases. - * - * @version $Rev$ $Date$ - */ -public class TestUtils { - - protected static void checkProblems(CustomCompositeBuilder customBuilder) throws Exception { - boolean problems = false; - for (Problem problem : customBuilder.getMonitor().getProblems()) { - if (problem.getCause() != null) { - problem.getCause().printStackTrace(); - } - problems = true; - } - assert !problems; - } - - protected static String getPortAddress(Port port) { - Object ext = port.getExtensibilityElements().get(0); - if (ext instanceof SOAPAddress) { - return ((SOAPAddress)ext).getLocationURI(); - } - if (ext instanceof SOAP12Address) { - return ((SOAP12Address)ext).getLocationURI(); - } - return null; - } - - protected static Component getComponent(Composite composite, String name) { - for (Component component : composite.getComponents()) { - if (name.equals(component.getName())) { - return component; - } - // process implementation composites recursively - Implementation impl = component.getImplementation(); - if (impl instanceof Composite) { - Component comp = getComponent((Composite)impl, name); - if (comp != null) { - return comp; - } - } - } - return null; - } - - protected static Composite getComposite(Composite composite, QName name) { - if (name.equals(composite.getName())) { - return composite; - } - for (Component component : composite.getComponents()) { - // process implementation composites recursively - Implementation impl = component.getImplementation(); - if (impl instanceof Composite) { - Composite comp = getComposite((Composite)impl, name); - if (comp != null) { - return comp; - } - } - } - return null; - } - - protected static void printResults(CustomCompositeBuilder customBuilder) throws Exception { - for (Problem problem : customBuilder.getMonitor().getProblems()) { - if (problem.getCause() != null) { - problem.getCause().printStackTrace(); - } - } - Composite domainComposite = customBuilder.getDomainComposite(); - printComposite(domainComposite, customBuilder); - } - - private static void printComposite(Composite composite, CustomCompositeBuilder customBuilder) throws Exception { - // process implementation composites recursively - for (Component component : composite.getComponents()) { - Implementation implementation = component.getImplementation(); - if (implementation instanceof Composite) { - printComposite((Composite)implementation, customBuilder); - } - } - - // write out the SCDL - writeSCDL(composite, customBuilder); - - // find all the component service and reference bindings - for (Component component : composite.getComponents()) { - for (ComponentService componentService : component.getServices()) { - for (Binding binding : componentService.getBindings()) { - if (binding instanceof WebServiceBinding) { - writeWSDL(component, componentService, ((WebServiceBinding)binding).getWSDLDocument()); - } - } - } - for (ComponentReference componentReference : component.getReferences()) { - for (Binding binding : componentReference.getBindings()) { - if (binding instanceof WebServiceBinding) { - writeWSDL(component, componentReference, ((WebServiceBinding)binding).getWSDLDocument()); - } - } - } - } - - // find all the composite service and reference bindings - for (Service service : composite.getServices()) { - for (Binding binding : service.getBindings()) { - if (binding instanceof WebServiceBinding) { - writeWSDL(null, service, ((WebServiceBinding)binding).getWSDLDocument()); - } - } - } - for (Reference reference : composite.getReferences()) { - for (Binding binding : reference.getBindings()) { - if (binding instanceof WebServiceBinding) { - writeWSDL(null, reference, ((WebServiceBinding)binding).getWSDLDocument()); - } - } - } - } - - private static void writeSCDL(Composite composite, CustomCompositeBuilder customBuilder) throws Exception { - // Print out a composite - ByteArrayOutputStream bos = new ByteArrayOutputStream(); - XMLStreamWriter writer = customBuilder.getOutputFactory().createXMLStreamWriter(bos); - customBuilder.getModelProcessor().write(composite, writer); - - // Parse and write again to pretty format it - DocumentBuilder documentBuilder = DocumentBuilderFactory.newInstance().newDocumentBuilder(); - Document document = documentBuilder.parse(new ByteArrayInputStream(bos.toByteArray())); - OutputFormat format = new OutputFormat(); - format.setIndenting(true); - format.setIndent(2); - XMLSerializer serializer = new XMLSerializer(System.out, format); - System.out.println("-->Runtime SCDL model for composite " + composite.getName()); - serializer.serialize(document); - } - - private static void writeWSDL(Component component, Contract contract, Definition definition) { - if (definition == null) { - System.out.println("-->No generated WSDL for " + (component != null ? component.getName() : "") + "/" + contract.getName()); - } else { - try { - System.out.println("-->Generated WSDL for " + (component != null ? component.getName() : "") + "/" + contract.getName()); - WSDLWriter writer = WSDLFactory.newInstance().newWSDLWriter(); - writer.writeWSDL(definition, System.out); - } catch (WSDLException e) { - // ignore - } - } - } - -} diff --git a/java/sca-contrib/itest/callablereferences-ws/pom.xml b/java/sca-contrib/itest/callablereferences-ws/pom.xml deleted file mode 100644 index a231c4d741..0000000000 --- a/java/sca-contrib/itest/callablereferences-ws/pom.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - tuscany-itest - 2.0-SNAPSHOT - ../pom.xml - - itest-callablereferences-ws - Apache Tuscany Test for Callable References over Web Services - - - - org.apache.tuscany.sca - tuscany-host-embedded - 2.0-SNAPSHOT - - - - org.apache.tuscany.sca - tuscany-implementation-java-runtime - 2.0-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-binding-ws-axis2 - 2.0-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-host-jetty - 2.0-SNAPSHOT - runtime - - - diff --git a/java/sca-contrib/itest/callablereferences-ws/src/main/java/com/example/ExampleClient.java b/java/sca-contrib/itest/callablereferences-ws/src/main/java/com/example/ExampleClient.java deleted file mode 100644 index ecf1ac27e1..0000000000 --- a/java/sca-contrib/itest/callablereferences-ws/src/main/java/com/example/ExampleClient.java +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.example; - -public interface ExampleClient { - - void runTest(); - - void sayHello(String name); -} diff --git a/java/sca-contrib/itest/callablereferences-ws/src/main/java/com/example/ExampleClientImpl.java b/java/sca-contrib/itest/callablereferences-ws/src/main/java/com/example/ExampleClientImpl.java deleted file mode 100644 index 9a486b3be0..0000000000 --- a/java/sca-contrib/itest/callablereferences-ws/src/main/java/com/example/ExampleClientImpl.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.example; - -import org.oasisopen.sca.CallableReference; -import org.oasisopen.sca.ComponentContext; -import org.oasisopen.sca.ServiceReference; -import org.oasisopen.sca.annotation.Context; -import org.oasisopen.sca.annotation.Reference; -import org.oasisopen.sca.annotation.Scope; -import org.oasisopen.sca.annotation.Service; - -@Service(ExampleClient.class) -@Scope("COMPOSITE") -public class ExampleClientImpl implements ExampleClient { - - private ExampleService myService; - - @Context - protected ComponentContext context; - - @Reference - public void setMyService(ExampleService myService) { - this.myService = myService; - } - - public void runTest() { - ServiceReference ref = context.createSelfReference(ExampleClient.class); - ref.getService().sayHello("Jack"); - CallableReference result = myService.hello("Jill", ref); - if (result != null) { - ((CallableReference)result).getService().sayHello("John"); - } - result = myService.hello("Jane", null); - if (result != null) { - ((CallableReference)result).getService().sayHello("Jim"); - } - } - - public void sayHello(String name) { - System.out.println("Hello, client " + name + "!"); - } -} diff --git a/java/sca-contrib/itest/callablereferences-ws/src/main/java/com/example/ExampleService.java b/java/sca-contrib/itest/callablereferences-ws/src/main/java/com/example/ExampleService.java deleted file mode 100644 index 9264def0dc..0000000000 --- a/java/sca-contrib/itest/callablereferences-ws/src/main/java/com/example/ExampleService.java +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.example; - -import org.oasisopen.sca.CallableReference; -import org.oasisopen.sca.ServiceReference; -import org.oasisopen.sca.annotation.Remotable; - -@Remotable -public interface ExampleService { - - CallableReference hello(String name, ServiceReference ref); - -} diff --git a/java/sca-contrib/itest/callablereferences-ws/src/main/java/com/example/ExampleServiceImpl.java b/java/sca-contrib/itest/callablereferences-ws/src/main/java/com/example/ExampleServiceImpl.java deleted file mode 100644 index 22aecc8b27..0000000000 --- a/java/sca-contrib/itest/callablereferences-ws/src/main/java/com/example/ExampleServiceImpl.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.example; - -import org.oasisopen.sca.CallableReference; -import org.oasisopen.sca.ServiceReference; - -public class ExampleServiceImpl implements ExampleService { - - public CallableReference hello(String name, ServiceReference ref) { - if (ref != null) { - ((ServiceReference)ref).getService().sayHello(name); - } - return (CallableReference)ref; - } - -} diff --git a/java/sca-contrib/itest/callablereferences-ws/src/main/java/org/apache/tuscany/sca/itest/callablerefwsreturn/Alpha.java b/java/sca-contrib/itest/callablereferences-ws/src/main/java/org/apache/tuscany/sca/itest/callablerefwsreturn/Alpha.java deleted file mode 100644 index 6ecf3d662e..0000000000 --- a/java/sca-contrib/itest/callablereferences-ws/src/main/java/org/apache/tuscany/sca/itest/callablerefwsreturn/Alpha.java +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.callablerefwsreturn; - -import org.oasisopen.sca.annotation.Remotable; - -@Remotable -public interface Alpha { - boolean run(); -} diff --git a/java/sca-contrib/itest/callablereferences-ws/src/main/java/org/apache/tuscany/sca/itest/callablerefwsreturn/AlphaImpl.java b/java/sca-contrib/itest/callablereferences-ws/src/main/java/org/apache/tuscany/sca/itest/callablerefwsreturn/AlphaImpl.java deleted file mode 100644 index 64a11f0bf3..0000000000 --- a/java/sca-contrib/itest/callablereferences-ws/src/main/java/org/apache/tuscany/sca/itest/callablerefwsreturn/AlphaImpl.java +++ /dev/null @@ -1,96 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.callablerefwsreturn; - -import org.oasisopen.sca.CallableReference; -import org.oasisopen.sca.ComponentContext; -import org.oasisopen.sca.Conversation; -import org.oasisopen.sca.annotation.Context; -import org.oasisopen.sca.annotation.Reference; -import org.oasisopen.sca.annotation.Scope; -import org.oasisopen.sca.annotation.Service; - -@Service(Alpha.class) -@Scope("COMPOSITE") -public class AlphaImpl implements Alpha { - @Reference - public Beta beta; - - @Context - protected ComponentContext componentContext; - - Object conversationId0 = null; - - public boolean run() { - CallableReference gammaRef = null; - try { - Object conversationId1 = null; - Object conversationId2 = null; - - // it is expected that this call returns a reference to Gamma that - // reuses the established Conversation - gammaRef = beta.getRef(); - - // no Conversation exists - Conversation con = gammaRef.getConversation(); - if (con == null) { - System.out.println("Alpha1: Conversation to gamma is null"); - } else { - System.out - .println("Alpha1: Conversation to gamma exists. conversationId=" - + con.getConversationID()); - conversationId1 = con.getConversationID(); - } - - // this call should reuse a Conversation, but as none exists it - // creates a new conversation - gammaRef.getService().doSomething(); - gammaRef.getService().doSomething(); - gammaRef.getService().doSomething(); - - con = gammaRef.getConversation(); - if (con == null) { - System.out.println("Alpha2: Conversation to gamma is null"); - } else { - System.out - .println("Alpha2: Conversation to gamma exists. conversationId=" - + con.getConversationID()); - conversationId2 = con.getConversationID(); - } - - boolean testPassed = conversationId1.equals(conversationId2); - - if (conversationId0 == null){ - conversationId0 = conversationId1; - return testPassed; - } else { - return testPassed && (!conversationId0.equals(conversationId1)); - } - - } catch (Exception e) { - e.printStackTrace(); - return false; - } finally { - if (gammaRef != null) { - gammaRef.getService().stop(); - } - } - } - -} diff --git a/java/sca-contrib/itest/callablereferences-ws/src/main/java/org/apache/tuscany/sca/itest/callablerefwsreturn/Beta.java b/java/sca-contrib/itest/callablereferences-ws/src/main/java/org/apache/tuscany/sca/itest/callablerefwsreturn/Beta.java deleted file mode 100644 index 9861b0a85e..0000000000 --- a/java/sca-contrib/itest/callablereferences-ws/src/main/java/org/apache/tuscany/sca/itest/callablerefwsreturn/Beta.java +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.callablerefwsreturn; - -import org.oasisopen.sca.CallableReference; -import org.oasisopen.sca.annotation.Remotable; - -@Remotable -public interface Beta { - CallableReference getRef(); -} diff --git a/java/sca-contrib/itest/callablereferences-ws/src/main/java/org/apache/tuscany/sca/itest/callablerefwsreturn/BetaImpl.java b/java/sca-contrib/itest/callablereferences-ws/src/main/java/org/apache/tuscany/sca/itest/callablerefwsreturn/BetaImpl.java deleted file mode 100644 index c870cd87fe..0000000000 --- a/java/sca-contrib/itest/callablereferences-ws/src/main/java/org/apache/tuscany/sca/itest/callablerefwsreturn/BetaImpl.java +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.callablerefwsreturn; - -import org.oasisopen.sca.CallableReference; -import org.oasisopen.sca.ComponentContext; -import org.oasisopen.sca.ServiceReference; -import org.oasisopen.sca.annotation.Context; -import org.oasisopen.sca.annotation.Reference; -import org.oasisopen.sca.annotation.Scope; -import org.oasisopen.sca.annotation.Service; - -@Service(Beta.class) -@Scope("COMPOSITE") -public class BetaImpl implements Beta { - @Context - protected ComponentContext componentContext; - - @Reference - public Gamma gamma; - - public CallableReference getRef() { - ServiceReference gammaRef = componentContext - .getServiceReference(Gamma.class, "gamma"); - Gamma g = gammaRef.getService(); - g.start(); - return gammaRef; - } - -} diff --git a/java/sca-contrib/itest/callablereferences-ws/src/main/java/org/apache/tuscany/sca/itest/callablerefwsreturn/Gamma.java b/java/sca-contrib/itest/callablereferences-ws/src/main/java/org/apache/tuscany/sca/itest/callablerefwsreturn/Gamma.java deleted file mode 100644 index ee9d0f0b26..0000000000 --- a/java/sca-contrib/itest/callablereferences-ws/src/main/java/org/apache/tuscany/sca/itest/callablerefwsreturn/Gamma.java +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.callablerefwsreturn; - -import org.oasisopen.sca.annotation.Conversational; -import org.oasisopen.sca.annotation.EndsConversation; -import org.oasisopen.sca.annotation.Remotable; - -@Remotable -@Conversational -public interface Gamma { - int start(); - - void doSomething(); - - @EndsConversation - void stop(); -} diff --git a/java/sca-contrib/itest/callablereferences-ws/src/main/java/org/apache/tuscany/sca/itest/callablerefwsreturn/GammaImpl.java b/java/sca-contrib/itest/callablereferences-ws/src/main/java/org/apache/tuscany/sca/itest/callablerefwsreturn/GammaImpl.java deleted file mode 100644 index 9a4f31d79d..0000000000 --- a/java/sca-contrib/itest/callablereferences-ws/src/main/java/org/apache/tuscany/sca/itest/callablerefwsreturn/GammaImpl.java +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.callablerefwsreturn; - -import org.oasisopen.sca.annotation.ConversationID; -import org.oasisopen.sca.annotation.Scope; -import org.oasisopen.sca.annotation.Service; - -@Service(Gamma.class) -@Scope("CONVERSATION") -public class GammaImpl implements Gamma { - @ConversationID - protected String conversationId; - - public GammaImpl() { - System.out.println("GammaImpl:GammaImpl(), conversationId=" - + conversationId); - } - - public int start() { - System.out.println("Gamma:start(), conversationId=" + conversationId); - return 1; - } - - public void doSomething() { - System.out.println("Gamma:doSomething(), conversationId=" - + conversationId); - } - - public void stop() { - System.out.println("Gamma:stop(), conversationId=" + conversationId); - } -} diff --git a/java/sca-contrib/itest/callablereferences-ws/src/main/resources/CallableReferenceWsReturnTest.composite b/java/sca-contrib/itest/callablereferences-ws/src/main/resources/CallableReferenceWsReturnTest.composite deleted file mode 100644 index 3d782a0b84..0000000000 --- a/java/sca-contrib/itest/callablereferences-ws/src/main/resources/CallableReferenceWsReturnTest.composite +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/callablereferences-ws/src/main/resources/example.composite b/java/sca-contrib/itest/callablereferences-ws/src/main/resources/example.composite deleted file mode 100644 index ea0819a32e..0000000000 --- a/java/sca-contrib/itest/callablereferences-ws/src/main/resources/example.composite +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/callablereferences-ws/src/test/java/com/example/ExampleTestCase.java b/java/sca-contrib/itest/callablereferences-ws/src/test/java/com/example/ExampleTestCase.java deleted file mode 100644 index 310e31fb02..0000000000 --- a/java/sca-contrib/itest/callablereferences-ws/src/test/java/com/example/ExampleTestCase.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.example; - -import junit.framework.TestCase; - -import org.apache.tuscany.sca.host.embedded.SCADomain; - -public class ExampleTestCase extends TestCase { - - private SCADomain scaDomain; - private ExampleClient client; - - @Override - protected void setUp() throws Exception { - scaDomain = SCADomain.newInstance("example.composite"); - client = scaDomain.getService(ExampleClient.class, "ExampleClientComponent"); - } - - @Override - protected void tearDown() throws Exception { - scaDomain.close(); - } - - public void test() throws Exception { - client.runTest(); - } -} diff --git a/java/sca-contrib/itest/callablereferences-ws/src/test/java/org/apache/tuscany/sca/itest/callablerefws/CallableReferenceReturnTestCase.java b/java/sca-contrib/itest/callablereferences-ws/src/test/java/org/apache/tuscany/sca/itest/callablerefws/CallableReferenceReturnTestCase.java deleted file mode 100644 index 66fb2ef96c..0000000000 --- a/java/sca-contrib/itest/callablereferences-ws/src/test/java/org/apache/tuscany/sca/itest/callablerefws/CallableReferenceReturnTestCase.java +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.callablerefws; - -import org.apache.tuscany.sca.host.embedded.SCADomain; -import org.apache.tuscany.sca.itest.callablerefwsreturn.Alpha; -import org.junit.AfterClass; -import org.junit.Assert; -import org.junit.BeforeClass; -import org.junit.Test; - -public class CallableReferenceReturnTestCase { - private static SCADomain domain; - private static Alpha alpha; - - @BeforeClass - public static void init() throws Exception { - domain = SCADomain.newInstance("CallableReferenceWsReturnTest.composite"); - alpha = domain.getService(Alpha.class, "Alpha"); - } - - @AfterClass - public static void destroy() throws Exception { - domain.close(); - } - - @Test - public void testCallableReferenceReturn() { - Assert.assertTrue(alpha.run()); - Assert.assertTrue(alpha.run()); - } - -} diff --git a/java/sca-contrib/itest/callablereferences/pom.xml b/java/sca-contrib/itest/callablereferences/pom.xml deleted file mode 100644 index ae12f41535..0000000000 --- a/java/sca-contrib/itest/callablereferences/pom.xml +++ /dev/null @@ -1,81 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - tuscany-itest - 2.0-SNAPSHOT - ../pom.xml - - itest-callablereferences - Apache Tuscany SCA Callable References Integration Tests - - - - org.apache.tuscany.sca - tuscany-host-embedded - 2.0-SNAPSHOT - - - - org.apache.tuscany.sca - tuscany-node-impl - 2.0-SNAPSHOT - - - - org.apache.tuscany.sca - tuscany-implementation-java-runtime - 2.0-SNAPSHOT - runtime - - - - - org.apache.tuscany.sca - tuscany-host-jetty - 2.0-SNAPSHOT - test - - - - - org.apache.tuscany.sca - tuscany-binding-ws-axis2 - 2.0-SNAPSHOT - test - - - - org.apache.tuscany.sca - tuscany-binding-sca-axis2 - 2.0-SNAPSHOT - test - - - diff --git a/java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callableref/AComponent.java b/java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callableref/AComponent.java deleted file mode 100644 index 33783be887..0000000000 --- a/java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callableref/AComponent.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.callableref; - -import org.oasisopen.sca.annotation.Remotable; - -@Remotable -public interface AComponent { - String foo(); - - String fooB(); - String fooB1(); - - String fooC(); - String fooC1(); - - String fooStringD(); - String fooD(); - - String fooBC(); - - String invokeDReference(); -} diff --git a/java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callableref/AComponentImpl.java b/java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callableref/AComponentImpl.java deleted file mode 100644 index f99051cd5f..0000000000 --- a/java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callableref/AComponentImpl.java +++ /dev/null @@ -1,114 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.callableref; - -import java.io.ByteArrayOutputStream; -import java.io.ObjectOutputStream; - -import org.apache.tuscany.sca.databinding.impl.XSDDataTypeConverter.Base64Binary; -import org.oasisopen.sca.CallableReference; -import org.oasisopen.sca.ComponentContext; -import org.oasisopen.sca.ServiceReference; -import org.oasisopen.sca.annotation.Context; -import org.oasisopen.sca.annotation.Reference; -import org.oasisopen.sca.annotation.Service; - -@Service(AComponent.class) -public class AComponentImpl implements AComponent { - - @Context - protected ComponentContext componentContext; - - @Reference(name = "bReference") - protected BComponent b; - - @Reference - protected CComponent cReference; - - @Reference - protected ServiceReference cServiceReference; - - @Reference(required=false) - protected DComponent dReference; - - protected DComponent dReference1; - - @Reference(name = "dReference1") - public void setDReference(DComponent dReference) { - this.dReference1 = dReference; - } - - public String foo() { - return "AComponent"; - } - - public String fooB() { - return b.foo(); - } - - public String fooB1() { - CallableReference bRef = componentContext.cast(b); - return bRef.getService().foo(); - } - - public String fooC() { - return cReference.foo(); - } - - public String fooC1() { - return cServiceReference.getService().foo(); - } - - public String fooBC() { - CallableReference cReference = componentContext.getServiceReference(CComponent.class, "cReference"); - return b.fooC(cReference); - } - - public String fooD() { - CallableReference aReference = componentContext.createSelfReference(AComponent.class); - return dReference1.foo(aReference); - } - - /** - * A test case to work out what needs to be done in a transformer to get the - * CallableReference across the wire. Left here for interest in case anyone - * is looking for how to get at the innards of CallableReferences - */ - public String fooStringD() { - CallableReference aReference = componentContext.createSelfReference(AComponent.class); - ByteArrayOutputStream bos = null; - - try { - bos = new ByteArrayOutputStream(); - ObjectOutputStream oos = new ObjectOutputStream(bos); - oos.writeObject(aReference); - } catch (Exception ex) { - System.out.println(ex.toString()); - return null; - } - - String aReferenceString = Base64Binary.encode(bos.toByteArray()); - return dReference1.fooString(aReferenceString); - } - - public String invokeDReference() { - return dReference.foo(null); - } - -} diff --git a/java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callableref/BComponent.java b/java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callableref/BComponent.java deleted file mode 100644 index 1cf3029d82..0000000000 --- a/java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callableref/BComponent.java +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.callableref; - -import org.oasisopen.sca.CallableReference; -import org.oasisopen.sca.annotation.Remotable; - -@Remotable -public interface BComponent { - - String foo(); - - String fooC(CallableReference cComponent); -} diff --git a/java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callableref/BComponentImpl.java b/java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callableref/BComponentImpl.java deleted file mode 100644 index 084572b6e5..0000000000 --- a/java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callableref/BComponentImpl.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.callableref; - -import org.oasisopen.sca.CallableReference; -import org.oasisopen.sca.annotation.Service; - -@Service(BComponent.class) -public class BComponentImpl implements BComponent { - - public BComponentImpl() { - } - - public String foo() { - return "BComponent"; - } - - public String fooC(CallableReference cReference) { - return "B" + cReference.getService().foo(); - } - -} diff --git a/java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callableref/CComponent.java b/java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callableref/CComponent.java deleted file mode 100644 index 059f42c4d3..0000000000 --- a/java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callableref/CComponent.java +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.callableref; - -import org.oasisopen.sca.annotation.Remotable; - -@Remotable -public interface CComponent { - - String foo(); -} diff --git a/java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callableref/CComponentImpl.java b/java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callableref/CComponentImpl.java deleted file mode 100644 index 76fdd61191..0000000000 --- a/java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callableref/CComponentImpl.java +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.callableref; - -import org.oasisopen.sca.annotation.Service; - -@Service(CComponent.class) -public class CComponentImpl implements CComponent { - - public String foo() { - return "CComponent"; - } - -} diff --git a/java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callableref/DComponent.java b/java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callableref/DComponent.java deleted file mode 100644 index 8b2988b700..0000000000 --- a/java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callableref/DComponent.java +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.callableref; - -import org.oasisopen.sca.CallableReference; -import org.oasisopen.sca.annotation.Remotable; - -@Remotable -public interface DComponent { - - String foo(CallableReference aReference); - - String fooString(String aReferenceString); -} diff --git a/java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callableref/DComponentImpl.java b/java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callableref/DComponentImpl.java deleted file mode 100644 index a43b3818c5..0000000000 --- a/java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callableref/DComponentImpl.java +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.callableref; - -import java.io.ByteArrayInputStream; -import java.io.ByteArrayOutputStream; -import java.io.ObjectInputStream; -import java.io.ObjectOutputStream; - -import org.apache.tuscany.sca.databinding.impl.XSDDataTypeConverter.Base64Binary; -import org.oasisopen.sca.CallableReference; -import org.oasisopen.sca.RequestContext; -import org.oasisopen.sca.annotation.Context; -import org.oasisopen.sca.annotation.Service; - -@Service(DComponent.class) -public class DComponentImpl implements DComponent { - - @Context - protected RequestContext requestContext; - - public String foo(CallableReference aReference) { - try { - ByteArrayOutputStream bos = new ByteArrayOutputStream(); - ObjectOutputStream oos = new ObjectOutputStream(bos); - oos.writeObject(aReference); - ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream(bos.toByteArray())); - Object obj = ois.readObject(); - aReference = (CallableReference) obj; - } catch (Exception e) { - e.printStackTrace(); - } - System.out.println("Invoking service: " + requestContext.getServiceName()); - return "D" + aReference.getService().foo(); - } - - public String fooString(String aReferenceString) { - CallableReference aReference = null; - try { - ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream(Base64Binary.decode(aReferenceString))); - Object obj = ois.readObject(); - aReference = (CallableReference) obj; - } catch (Exception e) { - e.printStackTrace(); - } - System.out.println("Invoking service: " + requestContext.getServiceName()); - return "D" + aReference.getService().foo(); - } -} diff --git a/java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callablerefconversational/ConversationalService.java b/java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callablerefconversational/ConversationalService.java deleted file mode 100644 index 33bc49e4d8..0000000000 --- a/java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callablerefconversational/ConversationalService.java +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.callablerefconversational; - -import org.oasisopen.sca.ServiceReference; -import org.oasisopen.sca.annotation.Conversational; - -/** - * Simple conversational Service that is used to testing the method - * ComponentContext.createSelfReference() - * - * @version $Date$ $Revision$ - */ -@Conversational -public interface ConversationalService { - /** - * Default value for the user data - */ - String DEFAULT_USER_DATA = "NOT SET"; - - /** - * Retrieves the conversation ID for this Service - * - * @return The conversation ID for this Service - */ - Object getConversationID(); - - /** - * Creates a self reference to this Service - * - * @return A self reference to this Service - */ - ServiceReference createSelfRef(); - - /** - * Sets some user data on the instance - * - * @param a_Data Some data - * - * @See {@link #getUserData()} - */ - void setUserData(String a_Data); - - /** - * Gets some user data on the instance - * - * @return Some data - * - * @See {@link #setUserData(String)} - */ - String getUserData(); -} diff --git a/java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callablerefconversational/ConversationalServiceImpl.java b/java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callablerefconversational/ConversationalServiceImpl.java deleted file mode 100644 index 36bafba562..0000000000 --- a/java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callablerefconversational/ConversationalServiceImpl.java +++ /dev/null @@ -1,111 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.callablerefconversational; - -import org.oasisopen.sca.ComponentContext; -import org.oasisopen.sca.ServiceReference; -import org.oasisopen.sca.annotation.Context; -import org.oasisopen.sca.annotation.ConversationID; -import org.oasisopen.sca.annotation.Scope; -import org.oasisopen.sca.annotation.Service; - -/** - * Simple conversational Service that is used to testing the method - * ComponentContext.createSelfReference() - * - * @version $Date$ $Revision$ - */ -@Service(ConversationalService.class) -@Scope("CONVERSATION") -public class ConversationalServiceImpl implements ConversationalService { - - /** - * The Conversation ID - */ - private Object m_ConversationID; - - /** - * Reference to the ComponentContext. - */ - @Context - protected ComponentContext m_Ctx; - - /** - * Some user data - */ - private String m_UserData = DEFAULT_USER_DATA; - - /** - * Constructor - */ - public ConversationalServiceImpl() { - System.out.println("New instance of " + this + " created"); - } - - /** - * Used to inject the Conversation ID - * - * @param a_ConversationID the Conversation ID - */ - @ConversationID - public void setConversationID(Object a_ConversationID) { - m_ConversationID = a_ConversationID; - System.out.println("Converstation ID set on " + this + " to " + a_ConversationID); - } - - /** - * Retrieves the conversation ID for this Service - * - * @return The conversation ID for this Service - */ - public Object getConversationID() { - return m_ConversationID; - } - - /** - * Creates a self reference to this Service - * - * @return A self reference to this Service - */ - public ServiceReference createSelfRef() { - return m_Ctx.createSelfReference(ConversationalService.class); - } - - /** - * Sets some user data on the instance - * - * @param a_Data Some data - * - * @See {@link #getUserData()} - */ - public void setUserData(String a_Data) { - m_UserData = a_Data; - } - - /** - * Gets some user data on the instance - * - * @return Some data - * - * @See {@link #setUserData(String)} - */ - public String getUserData() { - return m_UserData; - } -} diff --git a/java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callablerefreturn/Alpha.java b/java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callablerefreturn/Alpha.java deleted file mode 100644 index bf5a2e65cc..0000000000 --- a/java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callablerefreturn/Alpha.java +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.callablerefreturn; - -import org.oasisopen.sca.annotation.Remotable; - -@Remotable -public interface Alpha -{ - boolean run(); -} diff --git a/java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callablerefreturn/AlphaImpl.java b/java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callablerefreturn/AlphaImpl.java deleted file mode 100644 index 59fed12279..0000000000 --- a/java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callablerefreturn/AlphaImpl.java +++ /dev/null @@ -1,86 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.callablerefreturn; - -import org.oasisopen.sca.CallableReference; -import org.oasisopen.sca.ComponentContext; -import org.oasisopen.sca.Conversation; -import org.oasisopen.sca.annotation.Context; -import org.oasisopen.sca.annotation.Reference; -import org.oasisopen.sca.annotation.Scope; - -@Scope("COMPOSITE") -public class AlphaImpl implements Alpha { - @Reference - public Beta beta; - - @Context - protected ComponentContext componentContext; - - public boolean run() { - CallableReference gammaRef = null; - try { - Object conversationId1 = null; - Object conversationId2 = null; - - // it is expected that this call returns a reference to Gamma that - // reuses the established Conversation - gammaRef = beta.getRef(); - - // no Conversation exists - Conversation con = gammaRef.getConversation(); - if (con == null) { - System.out.println("Alpha: Conversation to gamma is null"); - } else { - System.out - .println("Alpha: Conversation to gamma exists. conversationId=" - + con.getConversationID()); - conversationId1 = con.getConversationID(); - } - - // this call should reuse a Conversation, but as none exists it - // creates a new conversation - gammaRef.getService().doSomething(); - con = gammaRef.getConversation(); - if (con == null) { - System.out.println("Alpha: Conversation to gamma is null"); - } else { - System.out - .println("Alpha: Conversation to gamma exists. conversationId=" - + con.getConversationID()); - conversationId2 = con.getConversationID(); - } - - if ((conversationId1 == null) || (conversationId2 == null)) { - return false; - } - - boolean testPassed = conversationId1.equals(conversationId2); - return testPassed; - } catch (Exception e) { - e.printStackTrace(); - return false; - } finally { - if (gammaRef != null) { - gammaRef.getService().stop(); - } - } - } - -} diff --git a/java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callablerefreturn/Beta.java b/java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callablerefreturn/Beta.java deleted file mode 100644 index b8dd1c5640..0000000000 --- a/java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callablerefreturn/Beta.java +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.callablerefreturn; - -import org.oasisopen.sca.CallableReference; -import org.oasisopen.sca.annotation.Remotable; - -@Remotable -public interface Beta -{ - CallableReference getRef(); -} diff --git a/java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callablerefreturn/BetaImpl.java b/java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callablerefreturn/BetaImpl.java deleted file mode 100644 index 8425425c16..0000000000 --- a/java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callablerefreturn/BetaImpl.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.callablerefreturn; - -import org.oasisopen.sca.CallableReference; -import org.oasisopen.sca.ComponentContext; -import org.oasisopen.sca.ServiceReference; -import org.oasisopen.sca.annotation.Context; -import org.oasisopen.sca.annotation.Reference; -import org.oasisopen.sca.annotation.Scope; - -@Scope("COMPOSITE") -public class BetaImpl implements Beta -{ - @Context - protected ComponentContext componentContext; - - @Reference - public Gamma gamma; - - public CallableReference getRef() - { - ServiceReference gammaRef = componentContext.getServiceReference(Gamma.class, "gamma"); - gammaRef.getService().start(); - return gammaRef; - } - -} diff --git a/java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callablerefreturn/Gamma.java b/java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callablerefreturn/Gamma.java deleted file mode 100644 index 445fb7bf7f..0000000000 --- a/java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callablerefreturn/Gamma.java +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.callablerefreturn; - -import org.oasisopen.sca.annotation.Conversational; -import org.oasisopen.sca.annotation.EndsConversation; -import org.oasisopen.sca.annotation.Remotable; - -@Remotable -@Conversational -public interface Gamma -{ - void start(); - - void doSomething(); - - @EndsConversation - void stop(); -} diff --git a/java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callablerefreturn/GammaImpl.java b/java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callablerefreturn/GammaImpl.java deleted file mode 100644 index 0670629bae..0000000000 --- a/java/sca-contrib/itest/callablereferences/src/main/java/org/apache/tuscany/sca/itest/callablerefreturn/GammaImpl.java +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.callablerefreturn; - -import org.oasisopen.sca.annotation.ConversationID; -import org.oasisopen.sca.annotation.Scope; - -@Scope("CONVERSATION") -public class GammaImpl implements Gamma -{ - @ConversationID - protected String conversationId; - - - public void start() - { - System.out.println("Gamma:start(), conversationId=" + conversationId); - } - - - public void doSomething() - { - System.out.println("Gamma:doSomething(), conversationId=" + conversationId); - } - - - public void stop() - { - System.out.println("Gamma:stop(), conversationId=" + conversationId); - } -} diff --git a/java/sca-contrib/itest/callablereferences/src/main/resources/CallableReferenceConversationalTest.composite b/java/sca-contrib/itest/callablereferences/src/main/resources/CallableReferenceConversationalTest.composite deleted file mode 100644 index 0bf8f7ef1e..0000000000 --- a/java/sca-contrib/itest/callablereferences/src/main/resources/CallableReferenceConversationalTest.composite +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/java/sca-contrib/itest/callablereferences/src/main/resources/CallableReferenceReturnTest.composite b/java/sca-contrib/itest/callablereferences/src/main/resources/CallableReferenceReturnTest.composite deleted file mode 100644 index 5b3add1e61..0000000000 --- a/java/sca-contrib/itest/callablereferences/src/main/resources/CallableReferenceReturnTest.composite +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/callablereferences/src/main/resources/CallableReferenceTest.composite b/java/sca-contrib/itest/callablereferences/src/main/resources/CallableReferenceTest.composite deleted file mode 100644 index 49b75f56e4..0000000000 --- a/java/sca-contrib/itest/callablereferences/src/main/resources/CallableReferenceTest.composite +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/java/sca-contrib/itest/callablereferences/src/main/resources/nodeA/CompositeA.composite b/java/sca-contrib/itest/callablereferences/src/main/resources/nodeA/CompositeA.composite deleted file mode 100644 index 9216f44191..0000000000 --- a/java/sca-contrib/itest/callablereferences/src/main/resources/nodeA/CompositeA.composite +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/java/sca-contrib/itest/callablereferences/src/main/resources/nodeA/META-INF/sca-contribution.xml b/java/sca-contrib/itest/callablereferences/src/main/resources/nodeA/META-INF/sca-contribution.xml deleted file mode 100644 index 95021f72a4..0000000000 --- a/java/sca-contrib/itest/callablereferences/src/main/resources/nodeA/META-INF/sca-contribution.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - - \ No newline at end of file diff --git a/java/sca-contrib/itest/callablereferences/src/main/resources/nodeB/CompositeB.composite b/java/sca-contrib/itest/callablereferences/src/main/resources/nodeB/CompositeB.composite deleted file mode 100644 index 42d739564c..0000000000 --- a/java/sca-contrib/itest/callablereferences/src/main/resources/nodeB/CompositeB.composite +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/java/sca-contrib/itest/callablereferences/src/main/resources/nodeB/META-INF/sca-contribution.xml b/java/sca-contrib/itest/callablereferences/src/main/resources/nodeB/META-INF/sca-contribution.xml deleted file mode 100644 index 2edda61601..0000000000 --- a/java/sca-contrib/itest/callablereferences/src/main/resources/nodeB/META-INF/sca-contribution.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - - \ No newline at end of file diff --git a/java/sca-contrib/itest/callablereferences/src/test/java/org/apache/tuscany/sca/itest/callableref/CallableReferenceConversationalTestCase.java b/java/sca-contrib/itest/callablereferences/src/test/java/org/apache/tuscany/sca/itest/callableref/CallableReferenceConversationalTestCase.java deleted file mode 100644 index fb3a5d79b9..0000000000 --- a/java/sca-contrib/itest/callablereferences/src/test/java/org/apache/tuscany/sca/itest/callableref/CallableReferenceConversationalTestCase.java +++ /dev/null @@ -1,109 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.callableref; - -import junit.framework.Assert; - -import org.apache.tuscany.sca.host.embedded.SCADomain; -import org.apache.tuscany.sca.itest.callablerefconversational.ConversationalService; -import org.junit.AfterClass; -import org.junit.BeforeClass; -import org.junit.Test; -import org.oasisopen.sca.ServiceReference; - -/** - * Simple test case that creates a ServiceReference to a Conversational Component - * using ComponentContext.createSelfReference() - *

- * This test case is for TUSCANY-2208 - * - * @version $Date$ $Revision$ - */ -public class CallableReferenceConversationalTestCase { - private static SCADomain domain; - private static ConversationalService acomponent; - - @BeforeClass - public static void init() throws Exception { - domain = SCADomain.newInstance("CallableReferenceConversationalTest.composite"); - Assert.assertNotNull(domain); - acomponent = domain.getService(ConversationalService.class, "ConversationalComponent"); - } - - @AfterClass - public static void destroy() throws Exception { - if (domain != null) { - domain.close(); - } - } - - /** - * This is a dummy test so that this Unit Test has a test so it will build. - * Once TUSCANY-2208 is fixed, this dummy test method can be removed - */ - @Test - public void dummyTestRemoveWhenTuscany2208IsFixed() { - } - - /** - * Tests creating Self References and validate them with Conversation IDs - */ - // Disabled until TUSCANY-2208 is fixed - // @Test - public void testCreateSelfRefUsingConvID() { - Assert.assertNotNull(acomponent); - - final Object origConvID = acomponent.getConversationID(); - Assert.assertNotNull(origConvID); - final ServiceReference ref = acomponent.createSelfRef(); - Assert.assertNotNull(ref); - - final ConversationalService resolvedRef = ref.getService(); - Assert.assertNotNull(resolvedRef); - final Object newConvID = resolvedRef.getConversationID(); - Assert.assertNotNull(newConvID); - - Assert.assertEquals(origConvID, newConvID); - } - - /** - * Tests creating Self References and validate them with user specified data - */ - // Disabled until TUSCANY-2208 is fixed - // @Test - public void testCreateSelfRefUsingUserData() { - Assert.assertNotNull(acomponent); - - final String origUserData = acomponent.getUserData(); - Assert.assertEquals(ConversationalService.DEFAULT_USER_DATA, origUserData); - - final String userData = "Some new user data set at " + System.currentTimeMillis(); - acomponent.setUserData(userData); - - final ServiceReference ref = acomponent.createSelfRef(); - Assert.assertNotNull(ref); - - final ConversationalService resolvedRef = ref.getService(); - Assert.assertNotNull(resolvedRef); - final String newUserData = resolvedRef.getUserData(); - Assert.assertNotNull(newUserData); - - Assert.assertEquals(userData, newUserData); - } -} diff --git a/java/sca-contrib/itest/callablereferences/src/test/java/org/apache/tuscany/sca/itest/callableref/CallableReferenceRemoteTestCase.java b/java/sca-contrib/itest/callablereferences/src/test/java/org/apache/tuscany/sca/itest/callableref/CallableReferenceRemoteTestCase.java deleted file mode 100644 index 927e91a8bc..0000000000 --- a/java/sca-contrib/itest/callablereferences/src/test/java/org/apache/tuscany/sca/itest/callableref/CallableReferenceRemoteTestCase.java +++ /dev/null @@ -1,145 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.callableref; - - -import static junit.framework.Assert.assertEquals; - -import java.io.File; - -import junit.framework.Assert; - -import org.apache.tuscany.sca.node.Client; -import org.apache.tuscany.sca.node.Contribution; -import org.apache.tuscany.sca.node.Node; -import org.apache.tuscany.sca.node.NodeFactory; -import org.junit.AfterClass; -import org.junit.BeforeClass; -import org.junit.Test; - - -/** - * Runs a distributed domain in a single VM by using and in memory - * implementation of the distributed domain - */ -public class CallableReferenceRemoteTestCase { - - private static Node nodeA; - private static Node nodeB; - - private static AComponent acomponent; - - @BeforeClass - public static void init() throws Exception { - - try { - - System.out.println("Setting up nodes"); - - NodeFactory nodeFactory = NodeFactory.newInstance(); - nodeA = nodeFactory.createNode(new File("src/main/resources/nodeA/CompositeA.composite").toURL().toString(), - new Contribution("TestContribution", - new File("src/main/resources/nodeA").toURL().toString())); - - - nodeB = nodeFactory.createNode(new File("src/main/resources/nodeB/CompositeB.composite").toURL().toString(), - new Contribution("TestContribution", - new File("src/main/resources/nodeB").toURL().toString())); - - - nodeA.start(); - nodeB.start(); - - acomponent = ((Client)nodeA).getService(AComponent.class, "AComponent/AComponent"); - - } catch (Throwable ex) { - System.out.println(ex.toString()); - // Print detailed cause information. - ex.printStackTrace(); - StringBuffer sb = new StringBuffer(); - Throwable cause = ex.getCause(); - while ( cause != null ) { - sb.append( " " ); - System.out.println( sb.toString() + "Cause: " + cause ); - if (cause instanceof java.lang.reflect.InvocationTargetException) - System.out.println( sb.toString() + "Target Exception: " + ((java.lang.reflect.InvocationTargetException)cause).getTargetException() ); - cause = cause.getCause(); - } - } - } - - @AfterClass - public static void destroy() throws Exception { - // stop the nodes and hence the domains they contain - nodeA.stop(); - nodeB.stop(); - } - - //@Test - public void testKeepServerRunning1() throws Exception { - System.out.println("press enter to continue"); - System.in.read(); - } - - @Test - public void testBReference() { - assertEquals("BComponent", acomponent.fooB()); - } - - @Test - public void testBCast() { - assertEquals("BComponent", acomponent.fooB1()); - } - - @Test - public void testCReference() { - assertEquals("CComponent", acomponent.fooC()); - } - - @Test - public void testCServiceReference() { - assertEquals("CComponent", acomponent.fooC1()); - } - - @Test - public void testDReferenceString() { - assertEquals("DAComponent", acomponent.fooStringD()); - } - - @Test - public void testDReference() { - assertEquals("DAComponent", acomponent.fooD()); - } - - - @Test - public void testBCReference() { - assertEquals("BCComponent", acomponent.fooBC()); - } - - @Test - public void testRequiredFalseReference() { - try { - acomponent.invokeDReference(); - } catch (Exception e) { - Assert.assertTrue(true); - } - } - -} diff --git a/java/sca-contrib/itest/callablereferences/src/test/java/org/apache/tuscany/sca/itest/callableref/CallableReferenceReturnTestCase.java b/java/sca-contrib/itest/callablereferences/src/test/java/org/apache/tuscany/sca/itest/callableref/CallableReferenceReturnTestCase.java deleted file mode 100644 index f2d8fe5d64..0000000000 --- a/java/sca-contrib/itest/callablereferences/src/test/java/org/apache/tuscany/sca/itest/callableref/CallableReferenceReturnTestCase.java +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.callableref; - -import org.apache.tuscany.sca.host.embedded.SCADomain; -import org.apache.tuscany.sca.itest.callablerefreturn.Alpha; -import org.junit.AfterClass; -import org.junit.Assert; -import org.junit.BeforeClass; -import org.junit.Test; - -public class CallableReferenceReturnTestCase { - private static SCADomain domain; - private static Alpha alpha; - - @BeforeClass - public static void init() throws Exception { - domain = SCADomain.newInstance("CallableReferenceReturnTest.composite"); - alpha = domain.getService(Alpha.class, "Alpha"); - } - - @AfterClass - public static void destroy() throws Exception { - domain.close(); - } - - @Test - public void testCallableReferenceReturn() { - Assert.assertTrue(alpha.run()); - } - -} diff --git a/java/sca-contrib/itest/callablereferences/src/test/java/org/apache/tuscany/sca/itest/callableref/CallableReferenceTestCase.java b/java/sca-contrib/itest/callablereferences/src/test/java/org/apache/tuscany/sca/itest/callableref/CallableReferenceTestCase.java deleted file mode 100644 index d785a6a397..0000000000 --- a/java/sca-contrib/itest/callablereferences/src/test/java/org/apache/tuscany/sca/itest/callableref/CallableReferenceTestCase.java +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.callableref; - -import static junit.framework.Assert.assertEquals; -import junit.framework.Assert; - -import org.apache.tuscany.sca.host.embedded.SCADomain; -import org.junit.AfterClass; -import org.junit.BeforeClass; -import org.junit.Test; - -public class CallableReferenceTestCase { - private static SCADomain domain; - private static AComponent acomponent; - - @BeforeClass - public static void init() throws Exception { - domain = SCADomain.newInstance("CallableReferenceTest.composite"); - acomponent = domain.getService(AComponent.class, "AComponent"); - } - - @AfterClass - public static void destroy() throws Exception { - domain.close(); - } - - @Test - public void testBReference() { - assertEquals("BComponent", acomponent.fooB()); - } - - @Test - public void testBCast() { - assertEquals("BComponent", acomponent.fooB1()); - } - - @Test - public void testCReference() { - assertEquals("CComponent", acomponent.fooC()); - } - - @Test - public void testCServiceReference() { - assertEquals("CComponent", acomponent.fooC1()); - } - - @Test - public void testDReference() { - assertEquals("DAComponent", acomponent.fooD()); - } - - @Test - public void testBCReference() { - assertEquals("BCComponent", acomponent.fooBC()); - } - - @Test - public void testRequiredFalseReference() { - try { - acomponent.invokeDReference(); - } catch (Exception e) { - Assert.assertTrue(true); - } - } - -} diff --git a/java/sca-contrib/itest/contribution-classloader/contribution-classes/build-jar.xml b/java/sca-contrib/itest/contribution-classloader/contribution-classes/build-jar.xml deleted file mode 100644 index 299ce6864f..0000000000 --- a/java/sca-contrib/itest/contribution-classloader/contribution-classes/build-jar.xml +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/contribution-classloader/contribution-classes/pom.xml b/java/sca-contrib/itest/contribution-classloader/contribution-classes/pom.xml deleted file mode 100644 index 55076f0f5e..0000000000 --- a/java/sca-contrib/itest/contribution-classloader/contribution-classes/pom.xml +++ /dev/null @@ -1,203 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - tuscany-itest - 2.0-SNAPSHOT - ../pom.xml - - itest-contribution-classloader-classes - Apache Tuscany Contribution ClassLoader Test : Contribution Classes - - - - org.apache.tuscany.sca - tuscany-host-embedded - 2.0-SNAPSHOT - - - - org.apache.tuscany.sca - tuscany-implementation-java-runtime - 2.0-SNAPSHOT - runtime - - - - junit - junit - 4.5 - test - - - - - - itest-contribution-classloader-classes - - - org.apache.maven.plugins - maven-antrun-plugin - 1.1 - - - - ant - ant-trax - 1.6.5 - - - - - - create-jar - generate-test-sources - - run - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/java/supplychain/customer/Customer.java b/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/java/supplychain/customer/Customer.java deleted file mode 100644 index 8cadb2420e..0000000000 --- a/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/java/supplychain/customer/Customer.java +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package supplychain.customer; - -import org.oasisopen.sca.annotation.OneWay; - -/** - * This is the business interface of the Customer service component. - */ -public interface Customer { - - public void purchaseGoods(); - - @OneWay - public void notifyShipment(String order); - - public int outstandingOrderCount(); - -} diff --git a/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/java/supplychain/customer/JavaCustomerComponentImpl.java b/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/java/supplychain/customer/JavaCustomerComponentImpl.java deleted file mode 100644 index 6a4bb82953..0000000000 --- a/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/java/supplychain/customer/JavaCustomerComponentImpl.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package supplychain.customer; - -import org.oasisopen.sca.annotation.Reference; -import org.oasisopen.sca.annotation.Scope; -import org.oasisopen.sca.annotation.Service; - -import supplychain.retailer.Retailer; - -/** - * This class implements the Customer service component (POJO implementation). - */ -@Service(Customer.class) -@Scope("COMPOSITE") -public class JavaCustomerComponentImpl implements Customer { - - private static int outstandingOrderCount; - - private Retailer retailer; - - public JavaCustomerComponentImpl() { - System.out.println("Created " + this.getClass().getName() + - " using: " + this.getClass().getClassLoader()); - } - - @Reference - public void setRetailer(Retailer retailer) { - this.retailer = retailer; - } - - public void purchaseGoods() { - outstandingOrderCount++; - retailer.submitOrder("Order"); - } - - public void notifyShipment(String order) { - outstandingOrderCount--; - System.out.print("Work thread " + Thread.currentThread() + " - "); - System.out.println(order); - } - - public int outstandingOrderCount() { - return outstandingOrderCount; - } - -} diff --git a/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/java/supplychain/illegal/JavaCustomerComponentImpl.java b/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/java/supplychain/illegal/JavaCustomerComponentImpl.java deleted file mode 100644 index 3c88ac9272..0000000000 --- a/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/java/supplychain/illegal/JavaCustomerComponentImpl.java +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package supplychain.illegal; - -import org.oasisopen.sca.annotation.Reference; -import org.oasisopen.sca.annotation.Scope; -import org.oasisopen.sca.annotation.Service; - -import supplychain.customer.Customer; -import supplychain.retailer.JavaRetailerComponentImpl; -import supplychain.retailer.Retailer; -import supplychain.warehouse.JavaWarehouseComponentImpl; -import supplychain.warehouse.Warehouse; - -/** - * This class implements the Customer service component (POJO implementation). - */ -@Service(Customer.class) -@Scope("COMPOSITE") -public class JavaCustomerComponentImpl implements Customer { - - private static int outstandingOrderCount; - - private Retailer retailer; - - public JavaCustomerComponentImpl() { - System.out.println("Created " + this.getClass().getName() + - " using: " + this.getClass().getClassLoader()); - } - - @Reference - public void setRetailer(Retailer retailer) { - this.retailer = retailer; - } - - public void purchaseGoods() { - - Retailer retailerImpl = new JavaRetailerComponentImpl(); - System.out.println("Created a retailer from Customer " + retailerImpl); - - Warehouse warehouseImpl = new JavaWarehouseComponentImpl(); - System.out.println("Created a warehouse from Customer " + warehouseImpl); - - outstandingOrderCount++; - retailer.submitOrder("Order"); - } - - public void notifyShipment(String order) { - outstandingOrderCount--; - System.out.print("Work thread " + Thread.currentThread() + " - "); - System.out.println(order); - } - - public int outstandingOrderCount() { - return outstandingOrderCount; - } - -} diff --git a/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/java/supplychain/retailer/JavaRetailerComponentImpl.java b/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/java/supplychain/retailer/JavaRetailerComponentImpl.java deleted file mode 100644 index e8342ee7b9..0000000000 --- a/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/java/supplychain/retailer/JavaRetailerComponentImpl.java +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package supplychain.retailer; - - -import org.oasisopen.sca.annotation.Reference; -import org.oasisopen.sca.annotation.Scope; -import org.oasisopen.sca.annotation.Service; - -import supplychain.warehouse.Warehouse; - -/** - * This class implements the Retailer service component (POJO implementation). - */ -@Service(Retailer.class) -@Scope("STATELESS") -public class JavaRetailerComponentImpl implements Retailer { - - private Warehouse warehouse; - - public JavaRetailerComponentImpl() { - System.out.println("Created " + this.getClass().getName() + - " using: " + this.getClass().getClassLoader()); - } - - @Reference - public void setWarehouse(Warehouse warehouse) { - this.warehouse = warehouse; - } - - - public Warehouse getWarehouse() { - return warehouse; - } - - public void submitOrder(String order) { - - warehouse.fulfillOrder(order + ", submitted"); - - } - - - - -} diff --git a/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/java/supplychain/retailer/Retailer.java b/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/java/supplychain/retailer/Retailer.java deleted file mode 100644 index 1e87d59af1..0000000000 --- a/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/java/supplychain/retailer/Retailer.java +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package supplychain.retailer; - -/** - * This is the business interface of the Retailer service component. - */ -public interface Retailer { - - public void submitOrder(String order); - -} diff --git a/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/java/supplychain/shipper/JavaShipperComponentImpl.java b/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/java/supplychain/shipper/JavaShipperComponentImpl.java deleted file mode 100644 index cf016617a6..0000000000 --- a/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/java/supplychain/shipper/JavaShipperComponentImpl.java +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package supplychain.shipper; - - -import org.oasisopen.sca.annotation.Reference; -import org.oasisopen.sca.annotation.Scope; -import org.oasisopen.sca.annotation.Service; - -import supplychain.customer.Customer; - -/** - * This class implements the Shipper service component (POJO implementation). - */ -@Service(Shipper.class) -@Scope("COMPOSITE") -public class JavaShipperComponentImpl implements Shipper { - - private Customer customer; - - public JavaShipperComponentImpl() { - System.out.println("Created " + this.getClass().getCanonicalName() + - " using: " + this.getClass().getClassLoader()); - } - - @Reference - public void setCustomer(Customer customer) { - this.customer = customer; - } - - public void processShipment(String order) { - customer.notifyShipment(order + ", shipped"); - } - - -} diff --git a/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/java/supplychain/shipper/Shipper.java b/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/java/supplychain/shipper/Shipper.java deleted file mode 100644 index 2514928c10..0000000000 --- a/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/java/supplychain/shipper/Shipper.java +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package supplychain.shipper; - -/** - * This is the business interface of the Shipper service component. - */ -public interface Shipper { - - public void processShipment(String order); - -} diff --git a/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/java/supplychain/warehouse/JavaWarehouseComponentImpl.java b/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/java/supplychain/warehouse/JavaWarehouseComponentImpl.java deleted file mode 100644 index e81a11e55a..0000000000 --- a/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/java/supplychain/warehouse/JavaWarehouseComponentImpl.java +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package supplychain.warehouse; - -import org.oasisopen.sca.annotation.Scope; - -import supplychain.shipper.Shipper; - -/** - * This class implements the Warehouse service component (POJO implementation). - */ -@Scope("STATELESS") -public class JavaWarehouseComponentImpl implements Warehouse { - - private Shipper shipper; - - public JavaWarehouseComponentImpl() { - System.out.println("Created " + this.getClass().getCanonicalName() + - " using: " + this.getClass().getClassLoader()); - } - - public void setShipper(Shipper shipper) { - this.shipper = shipper; - } - - public void fulfillOrder(String order) { - shipper.processShipment(order + ", fulfilled"); - } - - -} diff --git a/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/java/supplychain/warehouse/Warehouse.java b/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/java/supplychain/warehouse/Warehouse.java deleted file mode 100644 index 6f1f6b8730..0000000000 --- a/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/java/supplychain/warehouse/Warehouse.java +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package supplychain.warehouse; - -/** - * This is the business interface of the Warehouse service component. - */ -public interface Warehouse { - - public void fulfillOrder(String order); - -} diff --git a/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/resources/META-INF/complete-supplychain-sca-contribution.xml b/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/resources/META-INF/complete-supplychain-sca-contribution.xml deleted file mode 100644 index 714d1826e1..0000000000 --- a/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/resources/META-INF/complete-supplychain-sca-contribution.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - diff --git a/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/resources/META-INF/customer-impl-sca-contribution.xml b/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/resources/META-INF/customer-impl-sca-contribution.xml deleted file mode 100644 index 7f7dc969e2..0000000000 --- a/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/resources/META-INF/customer-impl-sca-contribution.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - diff --git a/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/resources/META-INF/customer-interface-sca-contribution.xml b/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/resources/META-INF/customer-interface-sca-contribution.xml deleted file mode 100644 index 7f7dc969e2..0000000000 --- a/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/resources/META-INF/customer-interface-sca-contribution.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - diff --git a/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/resources/META-INF/customer-sca-contribution.xml b/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/resources/META-INF/customer-sca-contribution.xml deleted file mode 100644 index 8a2bec308f..0000000000 --- a/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/resources/META-INF/customer-sca-contribution.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - diff --git a/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/resources/META-INF/illegal-customer-sca-contribution.xml b/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/resources/META-INF/illegal-customer-sca-contribution.xml deleted file mode 100644 index c77c4c1c7e..0000000000 --- a/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/resources/META-INF/illegal-customer-sca-contribution.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - diff --git a/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/resources/META-INF/illegal1-supplychain-sca-contribution.xml b/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/resources/META-INF/illegal1-supplychain-sca-contribution.xml deleted file mode 100644 index 210a68011f..0000000000 --- a/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/resources/META-INF/illegal1-supplychain-sca-contribution.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - diff --git a/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/resources/META-INF/illegal2-supplychain-sca-contribution.xml b/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/resources/META-INF/illegal2-supplychain-sca-contribution.xml deleted file mode 100644 index d118cceef9..0000000000 --- a/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/resources/META-INF/illegal2-supplychain-sca-contribution.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/resources/META-INF/retailer-sca-contribution.xml b/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/resources/META-INF/retailer-sca-contribution.xml deleted file mode 100644 index d37b6659da..0000000000 --- a/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/resources/META-INF/retailer-sca-contribution.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - diff --git a/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/resources/META-INF/shipper-sca-contribution.xml b/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/resources/META-INF/shipper-sca-contribution.xml deleted file mode 100644 index 77b28d9023..0000000000 --- a/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/resources/META-INF/shipper-sca-contribution.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - diff --git a/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/resources/META-INF/supplychain-sca-contribution.xml b/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/resources/META-INF/supplychain-sca-contribution.xml deleted file mode 100644 index 8ec290a831..0000000000 --- a/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/resources/META-INF/supplychain-sca-contribution.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - diff --git a/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/resources/META-INF/warehouse-sca-contribution.xml b/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/resources/META-INF/warehouse-sca-contribution.xml deleted file mode 100644 index 1398416978..0000000000 --- a/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/resources/META-INF/warehouse-sca-contribution.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - diff --git a/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/resources/supplychain/illegalsupplychain.composite b/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/resources/supplychain/illegalsupplychain.composite deleted file mode 100644 index db1f0d34e7..0000000000 --- a/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/resources/supplychain/illegalsupplychain.composite +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/resources/supplychain/supplychain.composite b/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/resources/supplychain/supplychain.composite deleted file mode 100644 index 5be79b741a..0000000000 --- a/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/resources/supplychain/supplychain.composite +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/resources/supplychain/warehouse/JavaWarehouseComponentImpl.componentType b/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/resources/supplychain/warehouse/JavaWarehouseComponentImpl.componentType deleted file mode 100644 index a76fae8090..0000000000 --- a/java/sca-contrib/itest/contribution-classloader/contribution-classes/src/main/resources/supplychain/warehouse/JavaWarehouseComponentImpl.componentType +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - diff --git a/java/sca-contrib/itest/contribution-classloader/contribution-test/pom.xml b/java/sca-contrib/itest/contribution-classloader/contribution-test/pom.xml deleted file mode 100644 index dfa0efd5d5..0000000000 --- a/java/sca-contrib/itest/contribution-classloader/contribution-test/pom.xml +++ /dev/null @@ -1,53 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - tuscany-itest - 2.0-SNAPSHOT - ../pom.xml - - itest-contribution-classloader-test - Apache Tuscany Contribution Classloader tests - - - - org.apache.tuscany.sca - tuscany-host-embedded - 2.0-SNAPSHOT - - - - org.apache.tuscany.sca - tuscany-implementation-java-runtime - 2.0-SNAPSHOT - runtime - - - - junit - junit - 4.5 - test - - - - diff --git a/java/sca-contrib/itest/contribution-classloader/contribution-test/src/test/java/org/apache/tuscany/sca/test/contribution/ContributionTestCase.java b/java/sca-contrib/itest/contribution-classloader/contribution-test/src/test/java/org/apache/tuscany/sca/test/contribution/ContributionTestCase.java deleted file mode 100644 index 18fc2bbc88..0000000000 --- a/java/sca-contrib/itest/contribution-classloader/contribution-test/src/test/java/org/apache/tuscany/sca/test/contribution/ContributionTestCase.java +++ /dev/null @@ -1,373 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.test.contribution; - - -import java.lang.reflect.InvocationTargetException; -import java.lang.reflect.Method; -import java.net.URLClassLoader; - -import org.apache.tuscany.sca.contribution.Contribution; -import org.apache.tuscany.sca.contribution.processor.ContributionResolveException; -import org.apache.tuscany.sca.contribution.resolver.ClassReference; -import org.junit.After; -import org.junit.Assert; -import org.junit.Before; -import org.junit.Test; - -/* - * - * Contribution ClassLoading integration tests - */ - -public class ContributionTestCase { - - private SupplyChain supplyChain; - - - @Before - public void setUp() throws Exception { - supplyChain = new SupplyChain(); - } - - - @After - public void tearDown() throws Exception { - - supplyChain.tearDown(); - - } - - - /** - * Test static ClassLoading for classes that are visible from contribution - * - * @throws Exception - */ - public void staticClassLoadingTestForVisibleClasses() throws Exception { - - Contribution customerContribution = supplyChain.getContribution("Customer"); - ClassReference customerClassRef = new ClassReference("supplychain.customer.Customer"); - customerClassRef = customerContribution.getModelResolver().resolveModel(ClassReference.class, customerClassRef); - Class customerClass = customerClassRef.getJavaClass(); - - Class customerClassFromContribution = customerContribution.getClassLoader().loadClass("supplychain.customer.Customer"); - Assert.assertEquals(customerClass, customerClassFromContribution); - - Object customer = supplyChain.getCustomer(customerClass); - - Method m = customerClass.getMethod("purchaseGoods"); - m.invoke(customer); - - - m = customerClass.getMethod("outstandingOrderCount"); - - int retries = 10; - int outstandingCount = 1; - while (retries-- > 0) { - - outstandingCount = (int)(Integer)m.invoke(customer); - if (outstandingCount == 0) - break; - else - Thread.sleep(100); - } - Assert.assertEquals(0, outstandingCount); - - - } - - - /** - * Test dynamic ClassLoading for classes that are visible from contribution - * - * @throws Exception - */ - public void dynamicClassLoadingTestForVisibleClasses() throws Exception { - - Contribution customerContribution = supplyChain.getContribution("Customer"); - Contribution retailerContribution = supplyChain.getContribution("Retailer"); - Contribution warehouseContribution = supplyChain.getContribution("Warehouse"); - Contribution shipperContribution = supplyChain.getContribution("Shipper"); - Contribution supplyChainContribution = supplyChain.getContribution("SupplyChain"); - - ClassReference customerClassRef = new ClassReference("supplychain.customer.Customer"); - customerClassRef = customerContribution.getModelResolver().resolveModel(ClassReference.class, customerClassRef); - Class customerClass = customerClassRef.getJavaClass(); - - Class customerClassFromContribution = customerContribution.getClassLoader().loadClass("supplychain.customer.Customer"); - Assert.assertEquals(customerClass, customerClassFromContribution); - - Object customer = supplyChain.getCustomer(customerClass); - Assert.assertTrue(customerClass.isInstance(customer)); - - ClassReference retailerClassRef = new ClassReference("supplychain.retailer.Retailer"); - retailerClassRef = retailerContribution.getModelResolver().resolveModel(ClassReference.class, retailerClassRef); - Class retailerClass = retailerClassRef.getJavaClass(); - - Class retailerClassFromContribution = retailerContribution.getClassLoader().loadClass("supplychain.retailer.Retailer"); - Assert.assertEquals(retailerClass, retailerClassFromContribution); - - Class retailerClassFromCustomer = customerContribution.getClassLoader().loadClass("supplychain.retailer.Retailer"); - Assert.assertEquals(retailerClass, retailerClassFromCustomer); - - ClassReference warehouseClassRef = new ClassReference("supplychain.warehouse.Warehouse"); - warehouseClassRef = warehouseContribution.getModelResolver().resolveModel(ClassReference.class, warehouseClassRef); - Class warehouseClass = warehouseClassRef.getJavaClass(); - - Class warehouseClassFromContribution = warehouseContribution.getClassLoader().loadClass("supplychain.warehouse.Warehouse"); - Assert.assertEquals(warehouseClass, warehouseClassFromContribution); - - Class warehouseClassFromRetailer = retailerContribution.getClassLoader().loadClass("supplychain.warehouse.Warehouse"); - Assert.assertEquals(warehouseClass, warehouseClassFromRetailer); - - ClassReference shipperClassRef = new ClassReference("supplychain.shipper.Shipper"); - shipperClassRef = shipperContribution.getModelResolver().resolveModel(ClassReference.class, shipperClassRef); - Class shipperClass = shipperClassRef.getJavaClass(); - - Class shipperClassFromContribution = shipperContribution.getClassLoader().loadClass("supplychain.shipper.Shipper"); - Assert.assertEquals(shipperClass, shipperClassFromContribution); - - Class shipperClassFromWarehouse = shipperContribution.getClassLoader().loadClass("supplychain.shipper.Shipper"); - Assert.assertEquals(shipperClass, shipperClassFromWarehouse); - - Class customerClassFromShipper = shipperContribution.getClassLoader().loadClass("supplychain.customer.Customer"); - Assert.assertEquals(customerClass, customerClassFromShipper); - - Class customerClassFromSupplyChain = supplyChainContribution.getClassLoader().loadClass("supplychain.customer.Customer"); - Assert.assertEquals(customerClass, customerClassFromSupplyChain); - Class retailerClassFromSupplyChain = supplyChainContribution.getClassLoader().loadClass("supplychain.retailer.Retailer"); - Assert.assertEquals(retailerClass, retailerClassFromSupplyChain); - Class warehouseClassFromSupplyChain = supplyChainContribution.getClassLoader().loadClass("supplychain.warehouse.Warehouse"); - Assert.assertEquals(warehouseClass, warehouseClassFromSupplyChain); - Class shipperClassFromSupplyChain = supplyChainContribution.getClassLoader().loadClass("supplychain.shipper.Shipper"); - Assert.assertEquals(shipperClass, shipperClassFromSupplyChain); - - } - - /** - * Test dynamic ClassLoading for classes that are visible from contribution - * - * @throws Exception - */ - public void dynamicClassLoadingTestForNonImportedClasses() throws Exception { - - Contribution customerContribution = supplyChain.getContribution("Customer"); - Contribution shipperContribution = supplyChain.getContribution("Shipper"); - - Class customerClass = customerContribution.getClassLoader().loadClass("supplychain.customer.Customer"); - Class shipperClass = shipperContribution.getClassLoader().loadClass("supplychain.shipper.Shipper"); - - try { - customerClass.getClassLoader().loadClass("supplychain.warehouse.Warehouse"); - Assert.fail("Non-imported class loaded incorrectly"); - } catch (ClassNotFoundException e) { - } - try { - customerClass.getClassLoader().loadClass("supplychain.shipper.JavaShipperComponentImpl"); - Assert.fail("Non-imported class loaded incorrectly"); - } catch (ClassNotFoundException e) { - } - - try { - Class.forName("supplychain.warehouse.Warehouse", true, customerClass.getClassLoader()); - Assert.fail("Non-imported class loaded incorrectly"); - } catch (ClassNotFoundException e) { - } - try { - Class.forName("supplychain.shipper.JavaShipperComponentImpl", true, customerClass.getClassLoader()); - Assert.fail("Non-imported class loaded incorrectly"); - } catch (ClassNotFoundException e) { - } - - try { - shipperClass.getClassLoader().loadClass("supplychain.warehouse.JavaWarehouseComponentImpl"); - Assert.fail("Non-imported class loaded incorrectly"); - } catch (ClassNotFoundException e) { - } - try { - shipperClass.getClassLoader().loadClass("supplychain.retailer.Retailer"); - Assert.fail("Non-imported class loaded incorrectly"); - } catch (ClassNotFoundException e) { - } - - try { - Class.forName("supplychain.warehouse.JavaWarehouseComponentImpl", true, shipperClass.getClassLoader()); - Assert.fail("Non-imported class loaded incorrectly"); - } catch (ClassNotFoundException e) { - } - try { - Class.forName("supplychain.retailer.Retailer", true, shipperClass.getClassLoader()); - Assert.fail("Non-imported class loaded incorrectly"); - } catch (ClassNotFoundException e) { - } - - - } - - - /** - * This test ensures that classes from imported packages can be statically loaded - * from other contributions even though the classes are not on CLASSPATH or on the - * parent ClassLoader, or the thread context ClassLoader. - * - * @throws Exception - */ - @Test - public void testValidStaticClassLoading() throws Exception { - - supplyChain.setUp(this.getClass().getClassLoader()); - - staticClassLoadingTestForVisibleClasses(); - } - - /** - * This test ensures that all imported classes are loaded from the exporting contributions - * rather than the parent classLoader. If any of the interface classes were incorrectly loaded - * through the parent ClassLoader, LinkageError should result. - * - * @throws Exception - */ - @Test - public void testValidStaticClassLoadingWithContributionsInParentClassLoader() throws Exception { - - - URLClassLoader parentClassLoader = new URLClassLoader( - supplyChain.getContributionURLs(), - this.getClass().getClassLoader()); - - supplyChain.setUp(parentClassLoader); - - staticClassLoadingTestForVisibleClasses(); - } - - - /** - * This test ensures that classes from imported packages can be dynamically loaded from - * other contributions even though the classes are not on CLASSPATH or on the - * parent ClassLoader, or the thread context ClassLoader. - * - * @throws Exception - */ - @Test - public void testValidDynamicClassLoading() throws Exception { - - supplyChain.setUp(this.getClass().getClassLoader()); - - dynamicClassLoadingTestForVisibleClasses(); - } - - /** - * This test ensures that all imported classes are dynamically loaded from the exporting - * contributions rather than the parent classLoader. If any of the interface classes were - * incorrectly loaded through the parent, NoClassDefFoundError or LinkageError should result. - * - * @throws Exception - */ - @Test - public void testValidDynamicClassLoadingWithContributionsInParentClassLoader() throws Exception { - - - URLClassLoader parentClassLoader = new URLClassLoader( - supplyChain.getContributionURLs(), - this.getClass().getClassLoader()); - - supplyChain.setUp(parentClassLoader); - - dynamicClassLoadingTestForVisibleClasses(); - } - - @Test - public void testIllegalStaticClassLoading1() throws Exception { - // FIXME we have commented this code as we are not throwing exceptions anymore - // need to deal with monitor logs to catch the errors. - - /*try { - supplyChain.setUp(this.getClass().getClassLoader(), SupplyChain.SUPPLYCHAIN_ILLEGAL_1); - - Assert.fail("Composite containing unresolved references resolved incorrectly"); - } catch (ContributionResolveException e) { - }*/ - } - - @Test - public void testIllegalStaticClassLoading2() throws Exception { - - supplyChain.setUp(this.getClass().getClassLoader(), SupplyChain.SUPPLYCHAIN_ILLEGAL_2); - - Contribution customerContribution = supplyChain.getContribution("Customer"); - ClassReference customerClassRef = new ClassReference("supplychain.customer.Customer"); - customerClassRef = customerContribution.getModelResolver().resolveModel(ClassReference.class, customerClassRef); - Class customerClass = customerClassRef.getJavaClass(); - - Object customer = supplyChain.getCustomer(customerClass); - - try { - Method m = customerClass.getMethod("purchaseGoods"); - m.invoke(customer); - - Assert.fail("Classloading exception not thrown as expected"); - } catch (InvocationTargetException e) { - - Throwable cause = e.getCause(); - Assert.assertTrue(cause instanceof NoClassDefFoundError); - Assert.assertTrue(cause.getMessage().indexOf("JavaWarehouseComponentImpl") > -1); } - - } - - /** - * This test ensures that classes from imported packages can be dynamically loaded from - * other contributions even though the classes are not on CLASSPATH or on the - * parent ClassLoader, or the thread context ClassLoader. - * - * @throws Exception - */ - @Test - public void testIllegalDynamicClassLoading() throws Exception { - - supplyChain.setUp(this.getClass().getClassLoader()); - - dynamicClassLoadingTestForNonImportedClasses(); - } - - - /** - * Self-contained contribution containing composites, componentType files and implementations - * should not require import/export statements for these files to find each other or for Tuscany - * to load these files. - * @throws Exception - */ - @Test - public void testSelfContainedContribution() throws Exception { - - supplyChain.setUp(this.getClass().getClassLoader(), SupplyChain.SUPPLYCHAIN_SELFCONTAINED); - - staticClassLoadingTestForVisibleClasses(); - } - - @Test - public void testContributionsWithSplitPackage() throws Exception { - - supplyChain.setUp(this.getClass().getClassLoader(), SupplyChain.SUPPLYCHAIN_SPLITPACKAGE); - - staticClassLoadingTestForVisibleClasses(); - - dynamicClassLoadingTestForNonImportedClasses(); - } -} diff --git a/java/sca-contrib/itest/contribution-classloader/contribution-test/src/test/java/org/apache/tuscany/sca/test/contribution/SupplyChain.java b/java/sca-contrib/itest/contribution-classloader/contribution-test/src/test/java/org/apache/tuscany/sca/test/contribution/SupplyChain.java deleted file mode 100644 index 1ec7aaaa3a..0000000000 --- a/java/sca-contrib/itest/contribution-classloader/contribution-test/src/test/java/org/apache/tuscany/sca/test/contribution/SupplyChain.java +++ /dev/null @@ -1,231 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.test.contribution; - - -import java.io.File; -import java.net.URL; -import java.util.Hashtable; - -import org.apache.tuscany.sca.assembly.Composite; -import org.apache.tuscany.sca.contribution.Contribution; -import org.apache.tuscany.sca.contribution.service.ContributionService; -import org.apache.tuscany.sca.host.embedded.impl.EmbeddedSCADomain; -import org.junit.Assert; - -/* - * - * Contribution ClassLoading integration tests - */ - -public class SupplyChain { - - public static final int SUPPLYCHAIN = 0; - public static final int SUPPLYCHAIN_ILLEGAL_1 = 1; - public static final int SUPPLYCHAIN_ILLEGAL_2 = 2; - public static final int SUPPLYCHAIN_SELFCONTAINED = 3; - public static final int SUPPLYCHAIN_SPLITPACKAGE = 4; - - private String folderName = "../contribution-classes/target/classes"; - - private String customerJarName = "Customer"; - private String retailerJarName = "Retailer"; - private String warehouseJarName = "Warehouse"; - private String shipperJarName = "Shipper"; - private String supplychainJarName = "SupplyChain"; - private String illegalSupplyChain1JarName = "IllegalSupplyChain1"; - private String illegalSupplyChain2JarName = "IllegalSupplyChain2"; - private String illegalCustomerJarName = "IllegalCustomer"; - private String completeSupplychainJarName = "CompleteSupplyChain"; - private String customerInterfaceJarName = "CustomerInterface"; - private String customerImplJarName = "CustomerImpl"; - - - private EmbeddedSCADomain domain; - private ContributionService contributionService; - private int supplyChainVersion; - - private Hashtable contributions = new Hashtable(); - - private URL customerContribURL; - private URL retailerContribURL; - private URL warehouseContribURL; - private URL shipperContribURL; - private URL supplyChainContribURL; - private URL illegalSupplyChain1ContribURL; - private URL illegalSupplyChain2ContribURL; - private URL illegalCustomerContribURL; - private URL completeSupplyChainContribURL; - private URL customerInterfaceContribURL; - private URL customerImplContribURL; - - public SupplyChain() throws Exception { - - customerContribURL = new File(folderName + "/" + customerJarName + ".jar").toURI().toURL(); - retailerContribURL = new File(folderName + "/" + retailerJarName + ".jar").toURI().toURL(); - warehouseContribURL = new File(folderName + "/" + warehouseJarName + ".jar").toURI().toURL(); - shipperContribURL = new File(folderName + "/" + shipperJarName + ".jar").toURI().toURL(); - supplyChainContribURL = new File(folderName + "/" + supplychainJarName + ".jar").toURI().toURL(); - illegalSupplyChain1ContribURL = new File(folderName + "/" + illegalSupplyChain1JarName + ".jar").toURI().toURL(); - illegalSupplyChain2ContribURL = new File(folderName + "/" + illegalSupplyChain2JarName + ".jar").toURI().toURL(); - illegalCustomerContribURL = new File(folderName + "/" + illegalCustomerJarName + ".jar").toURI().toURL(); - completeSupplyChainContribURL = new File(folderName + "/" + completeSupplychainJarName + ".jar").toURI().toURL(); - customerInterfaceContribURL = new File(folderName + "/" + customerInterfaceJarName + ".jar").toURI().toURL(); - customerImplContribURL = new File(folderName + "/" + customerImplJarName + ".jar").toURI().toURL(); - } - - public void setUp(ClassLoader parentClassLoader) throws Exception { - this.setUp(parentClassLoader, SUPPLYCHAIN); - } - - public void setUp(ClassLoader parentClassLoader, int supplyChainVersion) throws Exception { - - this.supplyChainVersion = supplyChainVersion; - - Thread.currentThread().setContextClassLoader(parentClassLoader); - - //Create an embedded SCA domain - domain = new EmbeddedSCADomain(parentClassLoader, "http://localhost"); - - //Start the domain - domain.start(); - - this.contributionService = domain.getContributionService(); - - addContributions(supplyChainVersion); - } - - protected void addContributions(int supplyChainVersion) throws Exception { - - Contribution contribution; - - if (supplyChainVersion != SUPPLYCHAIN_SELFCONTAINED) { - contribution = contributionService.contribute("Shipper", shipperContribURL, true); - contributions.put("Shipper", contribution); - contribution = contributionService.contribute("Warehouse", warehouseContribURL, true); - contributions.put("Warehouse", contribution); - contribution = contributionService.contribute("Retailer", retailerContribURL, true); - contributions.put("Retailer", contribution); - } - - switch (supplyChainVersion) { - case SUPPLYCHAIN: - contribution = contributionService.contribute("Customer", customerContribURL, true); - contributions.put("Customer", contribution); - - contribution = contributionService.contribute("SupplyChain", supplyChainContribURL, true); - contributions.put("SupplyChain", contribution); - break; - case SUPPLYCHAIN_ILLEGAL_1: - contribution = contributionService.contribute("Customer", customerContribURL, true); - contributions.put("Customer", contribution); - - contribution = contributionService.contribute("SupplyChain", illegalSupplyChain1ContribURL, true); - contributions.put("SupplyChain", contribution); - break; - case SUPPLYCHAIN_ILLEGAL_2: - contribution = contributionService.contribute("Customer", illegalCustomerContribURL, true); - contributions.put("Customer", contribution); - - contribution = contributionService.contribute("SupplyChain", illegalSupplyChain2ContribURL, true); - contributions.put("SupplyChain", contribution); - break; - case SUPPLYCHAIN_SELFCONTAINED: - contribution = contributionService.contribute("SupplyChain", completeSupplyChainContribURL, true); - contributions.put("SupplyChain", contribution); - break; - case SUPPLYCHAIN_SPLITPACKAGE: - contribution = contributionService.contribute("Customer", customerInterfaceContribURL, true); - contributions.put("Customer", contribution); - - contribution = contributionService.contribute("CustomerImpl", customerImplContribURL, true); - contributions.put("CustomerImpl", contribution); - - contribution = contributionService.contribute("SupplyChain", supplyChainContribURL, true); - contributions.put("SupplyChain", contribution); - break; - } - - // SUPPLYCHAIN_ILLEGAL_1 should throw an exception when the composite is resolved, and hence - // should not get this far. - Assert.assertTrue(supplyChainVersion != SUPPLYCHAIN_ILLEGAL_1); - - - for (Contribution c : contributions.values()) { - - for (Composite deployable : c.getDeployables()) { - domain.getDomainComposite().getIncludes().add(deployable); - domain.buildComposite(deployable); - } - - } - - // Start Components from my composite - for (Composite deployable : contributions.get("SupplyChain").getDeployables() ) { - domain.getCompositeActivator().activate(deployable); - domain.getCompositeActivator().start(deployable); - } - } - - public void tearDown() throws Exception { - - if (domain == null) - return; - - for (String contributionURI : contributions.keySet()) { - contributionService.remove(contributionURI); - } - - - if (contributions.get("SupplyChain") != null) { - // Stop Components from my composite - for (Composite deployable : contributions.get("SupplyChain").getDeployables() ) { - domain.getCompositeActivator().stop(deployable); - domain.getCompositeActivator().deactivate(deployable); - } - } - - domain.stop(); - - domain.close(); - } - - public Contribution getContribution(String uri) { - if (supplyChainVersion == SUPPLYCHAIN_SELFCONTAINED) - return contributions.get("SupplyChain"); - else - return contributions.get(uri); - } - - public Object getCustomer(Class customerClass) { - return domain.getService(customerClass, "CustomerComponent"); - } - - public URL[] getContributionURLs() { - return new URL[] { - customerContribURL, - retailerContribURL, - warehouseContribURL, - shipperContribURL, - supplyChainContribURL - }; - } - - -} diff --git a/java/sca-contrib/itest/contribution-classloader/contribution-test/src/test/java/org/apache/tuscany/sca/test/contribution/TuscanyClassloadingTestCaseFIXME.java b/java/sca-contrib/itest/contribution-classloader/contribution-test/src/test/java/org/apache/tuscany/sca/test/contribution/TuscanyClassloadingTestCaseFIXME.java deleted file mode 100644 index 9918ce8fca..0000000000 --- a/java/sca-contrib/itest/contribution-classloader/contribution-test/src/test/java/org/apache/tuscany/sca/test/contribution/TuscanyClassloadingTestCaseFIXME.java +++ /dev/null @@ -1,381 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.test.contribution; - -import java.io.File; -import java.io.FileNotFoundException; -import java.io.IOException; -import java.lang.reflect.Constructor; -import java.lang.reflect.Method; -import java.net.URL; -import java.net.URLClassLoader; -import java.util.ArrayList; -import java.util.HashSet; -import java.util.List; - -import org.apache.tuscany.sca.assembly.Composite; -import org.apache.tuscany.sca.extensibility.ServiceDiscovery; -import org.apache.tuscany.sca.host.embedded.impl.EmbeddedSCADomain; -import org.junit.After; -import org.junit.Assert; -import org.junit.Before; -import org.junit.Test; -import org.oasisopen.sca.ServiceReference; - -/* - * - * Contribution ClassLoading integration tests - */ - -//FIXME This test case needs some serious rework! -// First it is very dependent on the names of the Tuscany runtime JARs -// and this is going to be difficult to maintain -// Second its usage of reflection requires the Tuscany implementation classes -// to be made public and this breaks isolation between modules. -public class TuscanyClassloadingTestCaseFIXME { - - // private static final int SCA_API = 1; - // private static final int TUSCANY_CORE_SPI = 2; - // private static final int TUSCANY_RUNTIME = 3; - // private static final int TUSCANY_EXTENSIONS = 4; - // private static final int TUSCANY_DEPENDENCIES = 0; - - private static final String[] scaApiJars = {"sca-api"}; - private static final String[] tuscanyCoreSpiJars = - {"core-spi", "interface", "interface-java", "interface-wsdl", "assembly", "policy", "databinding", - "contribution", "definitions"}; - private static final String[] tuscanyRuntimeJars = - { - - "binding-sca-xml", "binding-sca", "assembly-java-dsl", "assembly-xml", "assembly-xsd", "contribution-impl", - "contribution-java", "contribution-namespace", "core-databinding", "core-spring", "core", "definitions-xml", - "domain-api", "domain-impl", "domain", "extension-helper", "host-embedded", "interface-java-xml", - "interface-wsdl-xml", "java2wsdl", "node-api", "node-impl", "node", "osgi-runtime", "policy-logging", - "policy-security", "policy-transaction", "policy-xml", "wsdl2java"}; - private static final String[] tuscanyExtensionJars = - {"binding-dwr", "binding-ejb", "binding-feed", "binding-http", "binding-jms", "binding-jsonrpc", - "binding-notification", "binding-rmi", "binding-sca-axis2", "binding-ws-axis2", "binding-ws-xml", - "binding-ws", "databinding-axiom", "databinding-fastinfoset", "databinding-jaxb", "databinding-json", - "databinding-saxon", "databinding-sdo-axiom", "databinding-sdo", "databinding-xmlbeans", "host-http", - "host-jetty", "host-rmi", "host-tomcat", "host-webapp", "implementation-das.jar", "implementation-data.jar", - "implementation-java-runtime", "implementation-java-xml", "implementation-java", - "implementation-node-runtime", "implementation-node-xml", "implementation-node", - "implementation-notification", "implementation-osgi", "implementation-resource", "implementation-script", - "implementation-spring", "implementation-xquery", "contribution-osgi"}; - - private Class embeddedDomainClass; - Object domain; - - @Before - public void setUp() throws Exception { - - embeddedDomainClass = getEmbeddedDomainClass(); - - Constructor c = embeddedDomainClass.getConstructor(ClassLoader.class, String.class); - // Create an embedded domain - domain = c.newInstance(embeddedDomainClass.getClassLoader(), "http://localhost"); - - // Start the domain - invokeNoArgsMethod(domain, "start"); - - } - - @After - public void tearDown() throws Exception { - - // Stop the domain - invokeNoArgsMethod(domain, "stop"); - - } - - /** - * Create a ClassLoader hierarchy for Tuscany runtime - * Dependencies <- SCA-API <- Core-SPI+ Runtime <- Extensions - * Load the embedded SCA domain class using the runtime ClassLoader - * - * @return embedded SCA domain class - * @throws Exception - */ - private Class getEmbeddedDomainClass() throws Exception { - - URL[] scaApiUrls; - URL[] runtimeUrls; - URL[] extensionUrls; - URL[] dependencyUrls; - - // When the test is run under Eclipse, the ClassLoader for the test is - // sun.misc.Launcher$AppClassLoader. The first code path is taken. - // When the test is run under Maven, the ClassLoader for the test is - // org.apache.maven.surefire.booter.IsolatedClassLoader, which is a subclass - // of URLClassLoader. The second code path is taken. - if (!(this.getClass().getClassLoader() instanceof URLClassLoader)) { - String classPath = System.getProperty("java.class.path"); - String[] classPathEntries = classPath.split(System.getProperty("path.separator")); - HashSet dependentJars = new HashSet(); - for (int i = 0; i < classPathEntries.length; i++) { - dependentJars.add(classPathEntries[i]); - } - - scaApiUrls = getTuscanyClassLoaderURLs(classPathEntries, dependentJars, scaApiJars); - runtimeUrls = - getTuscanyClassLoaderURLs(classPathEntries, dependentJars, tuscanyCoreSpiJars, tuscanyRuntimeJars); - extensionUrls = getTuscanyClassLoaderURLs(classPathEntries, dependentJars, tuscanyExtensionJars); - dependencyUrls = getTuscanyClassLoaderURLs(classPathEntries, dependentJars); - } else { - HashSet dependentJars = new HashSet(); - URL[] classPathEntries = ((URLClassLoader)this.getClass().getClassLoader()).getURLs(); - for (int i = 0; i < classPathEntries.length; i++) { - dependentJars.add(classPathEntries[i]); - } - scaApiUrls = getTuscanyClassLoaderURLs(classPathEntries, dependentJars, scaApiJars); - runtimeUrls = - getTuscanyClassLoaderURLs(classPathEntries, dependentJars, tuscanyCoreSpiJars, tuscanyRuntimeJars); - extensionUrls = getTuscanyClassLoaderURLs(classPathEntries, dependentJars, tuscanyExtensionJars); - dependencyUrls = getTuscanyClassLoaderURLs(classPathEntries, dependentJars); - - } - - boolean useSingleClassLoader = - (scaApiUrls == null || scaApiUrls.length == 0) || (runtimeUrls == null || runtimeUrls.length == 0) - || (extensionUrls == null || extensionUrls.length == 0) - || (dependencyUrls == null || dependencyUrls.length == 0); - - if (useSingleClassLoader) { - return EmbeddedSCADomain.class; - } else { - - ClassLoader dependencyLoader = new URLClassLoader(dependencyUrls, null); - ClassLoader scaApiLoader = new URLClassLoader(scaApiUrls, dependencyLoader); - ClassLoader runtimeClassLoader = new URLClassLoader(runtimeUrls, scaApiLoader); - ClassLoader extensionClassLoader = new URLClassLoader(extensionUrls, runtimeClassLoader); - - Class serviceDiscoveryClass = runtimeClassLoader.loadClass(ServiceDiscovery.class.getName()); - Method getInstanceMethod = serviceDiscoveryClass.getMethod("getInstance"); - Object serviceDiscoveryObj = getInstanceMethod.invoke(null); - Method registerClassLoaderMethod = - serviceDiscoveryClass.getMethod("registerClassLoader", ClassLoader.class); - registerClassLoaderMethod.invoke(serviceDiscoveryObj, extensionClassLoader); - - Thread.currentThread().setContextClassLoader(extensionClassLoader); - - return runtimeClassLoader.loadClass(EmbeddedSCADomain.class.getName()); - - } - - } - - /** - * From the list of entries in the test ClassLoader, match - * Tuscany jars corresponding to a ClassLoader, and return the list - * of matching entries as URLs. - * This method is used when the test is run under eclipse, using CLASSPATH - * based application ClassLoader. - * - * @param classPathEntries List of entries on CLASSPATH - * @param dependentJars Complete set of jars, remove jars corresponding to this - * ClassLoader from the set. - * @param jars List of Tuscany jars corresponding to this ClassLoader - * @return Matching URLs for the ClassLoader - * @throws IOException - */ - private URL[] getTuscanyClassLoaderURLs(String[] classPathEntries, HashSet dependentJars, String[]... jars) - throws IOException { - - String pathSeparator = System.getProperty("file.separator"); - HashSet classPathEntrySet; - - if (jars.length == 0) - classPathEntrySet = dependentJars; - else { - classPathEntrySet = new HashSet(); - - for (int i = 0; i < classPathEntries.length; i++) { - - String classPathEntry = classPathEntries[i]; - for (int j = 0; j < jars.length; j++) { - String[] jarList = jars[j]; - if (jarList != null) { - for (int k = 0; k < jarList.length; k++) { - String jarName = "tuscany-" + jarList[k]; - String alternateJarName = "modules" + pathSeparator + jarList[k]; - if (classPathEntry.indexOf(jarName) >= 0 || classPathEntry.indexOf(alternateJarName) >= 0) { - classPathEntrySet.add(classPathEntry); - dependentJars.remove(classPathEntry); - } - } - } - } - } - - } - ArrayList urls = new ArrayList(); - - for (String fileName : classPathEntrySet) { - File file = new File((String)fileName); - if (!file.exists()) { - throw new FileNotFoundException(fileName); - - } else { - urls.add(file.toURL()); - - } - } - - return (URL[])urls.toArray(new URL[urls.size()]); - } - - /** - * From the list of URLs of the test ClassLoader, match - * Tuscany jars corresponding to a ClassLoader, and return the matching URLs - * This method is used when the test is run under Maven. The test ClassLoader is - * org.apache.maven.surefire.booter.IsolatedClassLoader, which is a subclass - * of URLClassLoader - * - * @param classPathEntries List of URLs from the test ClassLoader - * @param dependentJars Complete set of jars, remove jars corresponding to this - * ClassLoader from the set. - * @param jars List of Tuscany jars corresponding to this ClassLoader - * @return Matching URLs for the ClassLoader - * @throws IOException - */ - private URL[] getTuscanyClassLoaderURLs(URL[] classPathEntries, HashSet dependentJars, String[]... jars) - throws IOException { - - String pathSeparator = System.getProperty("file.separator"); - HashSet classPathEntrySet; - - if (jars.length == 0) - classPathEntrySet = dependentJars; - else { - classPathEntrySet = new HashSet(); - - for (int i = 0; i < classPathEntries.length; i++) { - - URL classPathEntry = classPathEntries[i]; - String classPathEntryStr = classPathEntry.getPath(); - for (int j = 0; j < jars.length; j++) { - String[] jarList = jars[j]; - if (jarList != null) { - for (int k = 0; k < jarList.length; k++) { - String jarName = "tuscany-" + jarList[k]; - String alternateJarName = "modules" + pathSeparator + jarList[k]; - if (classPathEntryStr.indexOf(jarName) >= 0 || classPathEntryStr.indexOf(alternateJarName) >= 0) { - classPathEntrySet.add(classPathEntry); - dependentJars.remove(classPathEntry); - } - } - } - } - } - - } - return (URL[])classPathEntrySet.toArray(new URL[classPathEntrySet.size()]); - } - - private Object invokeNoArgsMethod(Object obj, String methodName) throws Exception { - - return obj.getClass().getMethod(methodName).invoke(obj); - } - - private Object invokeOneArgMethod(Object obj, String methodName, Class argType, Object arg) throws Exception { - - return obj.getClass().getMethod(methodName, argType).invoke(obj, arg); - } - - /** - * - * Load Tuscany runtime using multiple ClassLoaders, and run supplychain - * test. - * - * @throws Exception - */ - @SuppressWarnings("unchecked") - @Test - public void test() throws Exception { - - ClassLoader runtimeClassloader = embeddedDomainClass.getClassLoader(); - - if (runtimeClassloader == this.getClass().getClassLoader()) { - System.out.println("Runtime and test loaded using the same classloader " + runtimeClassloader); - } else { - System.out - .println("Running test using separate Tuscany classloaders, runtime classloader=" + runtimeClassloader); - ClassLoader apiClassLoader = - runtimeClassloader.loadClass(ServiceReference.class.getName()).getClassLoader(); - Assert.assertTrue(apiClassLoader != runtimeClassloader); - - try { - runtimeClassloader.loadClass("org.apache.tuscany.sca.implementation.java.JavaImplementation"); - Assert.fail("Loaded extension class incorrectly from runtimeClassLoader"); - } catch (ClassNotFoundException e) { - } - - } - - // Contribute supplychain (as single contribution) - Object contributionService = invokeNoArgsMethod(domain, "getContributionService"); - Method contributeMethod = - contributionService.getClass().getMethod("contribute", String.class, URL.class, boolean.class); - - String folderName = "../contribution-classes/target/classes"; - String supplychainJarName = "CompleteSupplyChain"; - URL supplyChainContribURL = new File(folderName + "/" + supplychainJarName + ".jar").toURL(); - Object contribution = contributeMethod.invoke(contributionService, "SupplyChain", supplyChainContribURL, true); - - Object composite = ((List)invokeNoArgsMethod(contribution, "getDeployables")).get(0); - Object domainComposite = invokeNoArgsMethod(domain, "getDomainComposite"); - List includes = (List)invokeNoArgsMethod(domainComposite, "getIncludes"); - includes.add(composite); - //Object compositeBuilder = invokeNoArgsMethod(domain, "getCompositeBuilder"); - Object compositeActivator = invokeNoArgsMethod(domain, "getCompositeActivator"); - - Class compositeClass = embeddedDomainClass.getClassLoader().loadClass(Composite.class.getName()); - invokeOneArgMethod(domain, "buildComposite", compositeClass, composite); - invokeOneArgMethod(compositeActivator, "activate", compositeClass, composite); - invokeOneArgMethod(compositeActivator, "start", compositeClass, composite); - - // Get customer service - Method getClassLoaderMethod = contribution.getClass().getMethod("getClassLoader"); - ClassLoader classLoader = (ClassLoader)getClassLoaderMethod.invoke(contribution); - - Class customerClass = classLoader.loadClass("supplychain.customer.Customer"); - Method getServiceMethod = embeddedDomainClass.getMethod("getService", Class.class, String.class); - Object customer = getServiceMethod.invoke(domain, customerClass, "CustomerComponent"); - - // Invoke purchaseGoods - Method m = customerClass.getMethod("purchaseGoods"); - m.invoke(customer); - - m = customerClass.getMethod("outstandingOrderCount"); - - int retries = 10; - int outstandingCount = 1; - while (retries-- > 0) { - - outstandingCount = (int)(Integer)m.invoke(customer); - if (outstandingCount == 0) - break; - else - Thread.sleep(100); - } - Assert.assertEquals(0, outstandingCount); - - } - -} diff --git a/java/sca-contrib/itest/contribution-classloader/pom.xml b/java/sca-contrib/itest/contribution-classloader/pom.xml deleted file mode 100644 index 7e94f897b8..0000000000 --- a/java/sca-contrib/itest/contribution-classloader/pom.xml +++ /dev/null @@ -1,51 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - tuscany-itest - 2.0-SNAPSHOT - ../pom.xml - - itest-contribution-classloader - pom - Apache Tuscany Contribution ClassLoader Integration Tests - - - contribution-classes - contribution-test - - - - - org.apache.tuscany.sca - tuscany-host-embedded - 2.0-SNAPSHOT - - - - org.apache.tuscany.sca - tuscany-contribution-impl - 2.0-SNAPSHOT - - - - diff --git a/java/sca-contrib/itest/contribution-import-export/export-composite/pom.xml b/java/sca-contrib/itest/contribution-import-export/export-composite/pom.xml deleted file mode 100644 index 094987318a..0000000000 --- a/java/sca-contrib/itest/contribution-import-export/export-composite/pom.xml +++ /dev/null @@ -1,67 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - tuscany-itest - 2.0-SNAPSHOT - ../pom.xml - - itest-contribution-export-composite - Apache Tuscany SCA Contribution Export Integration Tests - - - - org.apache.tuscany.sca - tuscany-host-embedded - 2.0-SNAPSHOT - - - - org.apache.tuscany.sca - tuscany-implementation-java-runtime - 2.0-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-binding-ws-axis2 - 2.0-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-host-jetty - 2.0-SNAPSHOT - runtime - - - - junit - junit - 4.5 - test - - - - diff --git a/java/sca-contrib/itest/contribution-import-export/export-composite/src/main/java/hello/Hello.java b/java/sca-contrib/itest/contribution-import-export/export-composite/src/main/java/hello/Hello.java deleted file mode 100644 index 32b024bccb..0000000000 --- a/java/sca-contrib/itest/contribution-import-export/export-composite/src/main/java/hello/Hello.java +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package hello; - -import org.oasisopen.sca.annotation.Remotable; - -/** - * This is the business interface of the Hello service. - */ -@Remotable -public interface Hello { - - public String getGreetings(String name); -} diff --git a/java/sca-contrib/itest/contribution-import-export/export-composite/src/main/java/hello/HelloImpl.java b/java/sca-contrib/itest/contribution-import-export/export-composite/src/main/java/hello/HelloImpl.java deleted file mode 100644 index 0c60e62d35..0000000000 --- a/java/sca-contrib/itest/contribution-import-export/export-composite/src/main/java/hello/HelloImpl.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package hello; - -import org.oasisopen.sca.annotation.Service; - -/** - * This class implements the HelloWorld service. - */ -@Service(Hello.class) -public class HelloImpl implements Hello { - - public String getGreetings(String name) { - return "Hello " + name; - } - -} diff --git a/java/sca-contrib/itest/contribution-import-export/export-composite/src/main/resources/META-INF/sca-contribution.xml b/java/sca-contrib/itest/contribution-import-export/export-composite/src/main/resources/META-INF/sca-contribution.xml deleted file mode 100644 index 3c14560a56..0000000000 --- a/java/sca-contrib/itest/contribution-import-export/export-composite/src/main/resources/META-INF/sca-contribution.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/java/sca-contrib/itest/contribution-import-export/export-composite/src/main/resources/hello.composite b/java/sca-contrib/itest/contribution-import-export/export-composite/src/main/resources/hello.composite deleted file mode 100644 index 636b7111d9..0000000000 --- a/java/sca-contrib/itest/contribution-import-export/export-composite/src/main/resources/hello.composite +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - diff --git a/java/sca-contrib/itest/contribution-import-export/export-composite/src/test/java/org/apache/tuscany/sca/test/contribution/HelloTestCase.java b/java/sca-contrib/itest/contribution-import-export/export-composite/src/test/java/org/apache/tuscany/sca/test/contribution/HelloTestCase.java deleted file mode 100644 index 72b77564d2..0000000000 --- a/java/sca-contrib/itest/contribution-import-export/export-composite/src/test/java/org/apache/tuscany/sca/test/contribution/HelloTestCase.java +++ /dev/null @@ -1,91 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.test.contribution; - -import hello.Hello; - -import java.io.IOException; -import java.net.MalformedURLException; -import java.net.URL; - -import junit.framework.TestCase; - -import org.apache.tuscany.sca.assembly.Composite; -import org.apache.tuscany.sca.contribution.Contribution; -import org.apache.tuscany.sca.contribution.service.ContributionService; -import org.apache.tuscany.sca.host.embedded.impl.EmbeddedSCADomain; - -/** - * Tests that the helloworld server is available - */ -public class HelloTestCase extends TestCase { - private ClassLoader cl; - private EmbeddedSCADomain domain; - - @Override - protected void setUp() throws Exception { - // Create a test embedded SCA domain - cl = getClass().getClassLoader(); - domain = new EmbeddedSCADomain(cl, "http://localhost"); - - // Start the domain - domain.start(); - - // Contribute the SCA contribution - ContributionService contributionService = domain.getContributionService(); - - URL helloURL = getContributionURL(Hello.class); - - // File helloContrib = new File("./target/classes/"); - // URL helloURL = helloContrib.toURL(); - Contribution consumerContribution = - contributionService.contribute("http://import-export/hello", helloURL, false); - Composite consumerComposite = consumerContribution.getDeployables().get(0); - domain.getDomainComposite().getIncludes().add(consumerComposite); - domain.buildComposite(consumerComposite); - - // Start Components from my composite - domain.getCompositeActivator().activate(consumerComposite); - domain.getCompositeActivator().start(consumerComposite); - } - - private URL getContributionURL(Class cls) throws MalformedURLException { - String flag = "/" + cls.getName().replace('.', '/') + ".class"; - URL url = cls.getResource(flag); - String root = url.toExternalForm(); - root = root.substring(0, root.length() - flag.length() + 1); - if (root.startsWith("jar:") && root.endsWith("!/")) { - root = root.substring(4, root.length() - 2); - } - url = new URL(root); - return url; - } - - public void testHello() throws IOException { - Hello hello = domain.getService(Hello.class, "HelloServiceComponent"); - assertNotNull(hello); - assertEquals(hello.getGreetings("lresende"), "Hello lresende"); - } - - @Override - public void tearDown() throws Exception { - domain.close(); - } - -} diff --git a/java/sca-contrib/itest/contribution-import-export/export-java/pom.xml b/java/sca-contrib/itest/contribution-import-export/export-java/pom.xml deleted file mode 100644 index 7050d77a67..0000000000 --- a/java/sca-contrib/itest/contribution-import-export/export-java/pom.xml +++ /dev/null @@ -1,67 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - tuscany-itest - 2.0-SNAPSHOT - ../pom.xml - - itest-contribution-export-java - Apache Tuscany SCA Contribution Java Export Integration Tests - - - - org.apache.tuscany.sca - tuscany-host-embedded - 2.0-SNAPSHOT - - - - org.apache.tuscany.sca - tuscany-implementation-java-runtime - 2.0-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-binding-ws-axis2 - 2.0-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-host-jetty - 2.0-SNAPSHOT - runtime - - - - junit - junit - 4.5 - test - - - - diff --git a/java/sca-contrib/itest/contribution-import-export/export-java/src/main/java/helloworld/HelloWorldService.java b/java/sca-contrib/itest/contribution-import-export/export-java/src/main/java/helloworld/HelloWorldService.java deleted file mode 100644 index 134da7e34b..0000000000 --- a/java/sca-contrib/itest/contribution-import-export/export-java/src/main/java/helloworld/HelloWorldService.java +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package helloworld; - -import org.oasisopen.sca.annotation.Remotable; - -/** - * This is the business interface of the HelloWorld greetings service. - */ -@Remotable -public interface HelloWorldService { - - public String getGreetings(String name); -} diff --git a/java/sca-contrib/itest/contribution-import-export/export-java/src/main/resources/META-INF/sca-contribution.xml b/java/sca-contrib/itest/contribution-import-export/export-java/src/main/resources/META-INF/sca-contribution.xml deleted file mode 100644 index dc33dfa560..0000000000 --- a/java/sca-contrib/itest/contribution-import-export/export-java/src/main/resources/META-INF/sca-contribution.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - \ No newline at end of file diff --git a/java/sca-contrib/itest/contribution-import-export/export-java/src/main/resources/helloworld/HelloWorldImpl.componentType b/java/sca-contrib/itest/contribution-import-export/export-java/src/main/resources/helloworld/HelloWorldImpl.componentType deleted file mode 100644 index 5a14b41650..0000000000 --- a/java/sca-contrib/itest/contribution-import-export/export-java/src/main/resources/helloworld/HelloWorldImpl.componentType +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/java/sca-contrib/itest/contribution-import-export/export-resource/pom.xml b/java/sca-contrib/itest/contribution-import-export/export-resource/pom.xml deleted file mode 100644 index 1202328b00..0000000000 --- a/java/sca-contrib/itest/contribution-import-export/export-resource/pom.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - tuscany-itest - 2.0-SNAPSHOT - ../pom.xml - - itest-contribution-export-resource - Apache Tuscany SCA Contribution Resource Export Integration Tests - - diff --git a/java/sca-contrib/itest/contribution-import-export/export-resource/src/main/resources/META-INF/sca-contribution.xml b/java/sca-contrib/itest/contribution-import-export/export-resource/src/main/resources/META-INF/sca-contribution.xml deleted file mode 100644 index f11eacb416..0000000000 --- a/java/sca-contrib/itest/contribution-import-export/export-resource/src/main/resources/META-INF/sca-contribution.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - \ No newline at end of file diff --git a/java/sca-contrib/itest/contribution-import-export/export-resource/src/main/resources/ufservices/store.html b/java/sca-contrib/itest/contribution-import-export/export-resource/src/main/resources/ufservices/store.html deleted file mode 100644 index 1ff281373a..0000000000 --- a/java/sca-contrib/itest/contribution-import-export/export-resource/src/main/resources/ufservices/store.html +++ /dev/null @@ -1,27 +0,0 @@ - - - -Store - - - -

Sample Store Page

- - diff --git a/java/sca-contrib/itest/contribution-import-export/export-wsdl/pom.xml b/java/sca-contrib/itest/contribution-import-export/export-wsdl/pom.xml deleted file mode 100644 index 51f9efd932..0000000000 --- a/java/sca-contrib/itest/contribution-import-export/export-wsdl/pom.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - tuscany-itest - 2.0-SNAPSHOT - ../pom.xml - - itest-contribution-export-wsdl - Apache Tuscany SCA Contribution WSDL Export Integration Tests - - diff --git a/java/sca-contrib/itest/contribution-import-export/export-wsdl/src/main/resources/META-INF/sca-contribution.xml b/java/sca-contrib/itest/contribution-import-export/export-wsdl/src/main/resources/META-INF/sca-contribution.xml deleted file mode 100644 index b7394ec14b..0000000000 --- a/java/sca-contrib/itest/contribution-import-export/export-wsdl/src/main/resources/META-INF/sca-contribution.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - \ No newline at end of file diff --git a/java/sca-contrib/itest/contribution-import-export/export-wsdl/src/main/resources/helloworld.wsdl b/java/sca-contrib/itest/contribution-import-export/export-wsdl/src/main/resources/helloworld.wsdl deleted file mode 100644 index 9b31363e1a..0000000000 --- a/java/sca-contrib/itest/contribution-import-export/export-wsdl/src/main/resources/helloworld.wsdl +++ /dev/null @@ -1,76 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/contribution-import-export/export-wsdl/src/main/resources/helloworld.xsd b/java/sca-contrib/itest/contribution-import-export/export-wsdl/src/main/resources/helloworld.xsd deleted file mode 100644 index d3c83b08c6..0000000000 --- a/java/sca-contrib/itest/contribution-import-export/export-wsdl/src/main/resources/helloworld.xsd +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/java/sca-contrib/itest/contribution-import-export/import-composite/pom.xml b/java/sca-contrib/itest/contribution-import-export/import-composite/pom.xml deleted file mode 100644 index be3d2f1fb0..0000000000 --- a/java/sca-contrib/itest/contribution-import-export/import-composite/pom.xml +++ /dev/null @@ -1,73 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - tuscany-itest - 2.0-SNAPSHOT - ../pom.xml - - itest-contribution-import-composite - Apache Tuscany SCA Contribution Import Integration Tests - - - - org.apache.tuscany.sca - itest-contribution-export-composite - 2.0-SNAPSHOT - - - - org.apache.tuscany.sca - tuscany-host-embedded - 2.0-SNAPSHOT - - - - org.apache.tuscany.sca - tuscany-implementation-java-runtime - 2.0-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-binding-ws-axis2 - 2.0-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-host-jetty - 2.0-SNAPSHOT - runtime - - - - junit - junit - 4.5 - test - - - - diff --git a/java/sca-contrib/itest/contribution-import-export/import-composite/src/main/java/helloworld/HelloWorldImpl.java b/java/sca-contrib/itest/contribution-import-export/import-composite/src/main/java/helloworld/HelloWorldImpl.java deleted file mode 100644 index 05bd7b7138..0000000000 --- a/java/sca-contrib/itest/contribution-import-export/import-composite/src/main/java/helloworld/HelloWorldImpl.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package helloworld; - -import hello.Hello; - -import org.oasisopen.sca.annotation.Reference; -import org.oasisopen.sca.annotation.Service; - -/** - * This class implements the HelloWorld service. - */ -@Service(HelloWorldService.class) -public class HelloWorldImpl implements HelloWorldService { - @Reference - protected Hello helloServiceRef; - - public String getGreetings(String name) { - return helloServiceRef.getGreetings(name); - } - -} diff --git a/java/sca-contrib/itest/contribution-import-export/import-composite/src/main/java/helloworld/HelloWorldServer.java b/java/sca-contrib/itest/contribution-import-export/import-composite/src/main/java/helloworld/HelloWorldServer.java deleted file mode 100644 index 3d43290380..0000000000 --- a/java/sca-contrib/itest/contribution-import-export/import-composite/src/main/java/helloworld/HelloWorldServer.java +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package helloworld; - -import java.io.IOException; - -import org.apache.tuscany.sca.host.embedded.SCADomain; - -/** - * This server program shows how to create an SCA runtime, and start it which - * activates the helloworld Web service endpoint. - */ -public class HelloWorldServer { - - public static void main(String[] args) { - - SCADomain scaDomain = SCADomain.newInstance("helloworldws.composite"); - - try { - System.out.println("HelloWorld server started (press enter to shutdown)"); - System.in.read(); - } catch (IOException e) { - e.printStackTrace(); - } - - scaDomain.close(); - System.out.println("HelloWorld server stopped"); - } - -} diff --git a/java/sca-contrib/itest/contribution-import-export/import-composite/src/main/java/helloworld/HelloWorldService.java b/java/sca-contrib/itest/contribution-import-export/import-composite/src/main/java/helloworld/HelloWorldService.java deleted file mode 100644 index 134da7e34b..0000000000 --- a/java/sca-contrib/itest/contribution-import-export/import-composite/src/main/java/helloworld/HelloWorldService.java +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package helloworld; - -import org.oasisopen.sca.annotation.Remotable; - -/** - * This is the business interface of the HelloWorld greetings service. - */ -@Remotable -public interface HelloWorldService { - - public String getGreetings(String name); -} diff --git a/java/sca-contrib/itest/contribution-import-export/import-composite/src/main/resources/META-INF/sca-contribution.xml b/java/sca-contrib/itest/contribution-import-export/import-composite/src/main/resources/META-INF/sca-contribution.xml deleted file mode 100644 index 9f3f5be452..0000000000 --- a/java/sca-contrib/itest/contribution-import-export/import-composite/src/main/resources/META-INF/sca-contribution.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/java/sca-contrib/itest/contribution-import-export/import-composite/src/main/resources/helloworld.wsdl b/java/sca-contrib/itest/contribution-import-export/import-composite/src/main/resources/helloworld.wsdl deleted file mode 100644 index 9b31363e1a..0000000000 --- a/java/sca-contrib/itest/contribution-import-export/import-composite/src/main/resources/helloworld.wsdl +++ /dev/null @@ -1,76 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/contribution-import-export/import-composite/src/main/resources/helloworld.xsd b/java/sca-contrib/itest/contribution-import-export/import-composite/src/main/resources/helloworld.xsd deleted file mode 100644 index d3c83b08c6..0000000000 --- a/java/sca-contrib/itest/contribution-import-export/import-composite/src/main/resources/helloworld.xsd +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/java/sca-contrib/itest/contribution-import-export/import-composite/src/main/resources/helloworldws.composite b/java/sca-contrib/itest/contribution-import-export/import-composite/src/main/resources/helloworldws.composite deleted file mode 100644 index e2f852ff7e..0000000000 --- a/java/sca-contrib/itest/contribution-import-export/import-composite/src/main/resources/helloworldws.composite +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/contribution-import-export/import-composite/src/test/java/org/apache/tuscany/test/contribution/HelloWorldServerTestCase.java b/java/sca-contrib/itest/contribution-import-export/import-composite/src/test/java/org/apache/tuscany/test/contribution/HelloWorldServerTestCase.java deleted file mode 100644 index 1176a89143..0000000000 --- a/java/sca-contrib/itest/contribution-import-export/import-composite/src/test/java/org/apache/tuscany/test/contribution/HelloWorldServerTestCase.java +++ /dev/null @@ -1,126 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.test.contribution; - -import hello.Hello; -import helloworld.HelloWorldService; - -import java.io.IOException; -import java.net.MalformedURLException; -import java.net.Socket; -import java.net.URL; - -import junit.framework.TestCase; - -import org.apache.tuscany.sca.assembly.Composite; -import org.apache.tuscany.sca.contribution.Contribution; -import org.apache.tuscany.sca.contribution.service.ContributionService; -import org.apache.tuscany.sca.host.embedded.impl.EmbeddedSCADomain; - -/** - * Tests that the helloworld server is available - */ -public class HelloWorldServerTestCase extends TestCase { - private ClassLoader cl; - private EmbeddedSCADomain domain; - private Contribution helloWorldContribution; - private Contribution compositeContribution; - - @Override - protected void setUp() throws Exception { - //Create a test embedded SCA domain - cl = getClass().getClassLoader(); - domain = new EmbeddedSCADomain(cl, "http://localhost"); - - //Start the domain - domain.start(); - - // Contribute the SCA contribution - ContributionService contributionService = domain.getContributionService(); - - // File compositeContribLocation = new File("../export-composite/target/classes"); - // URL compositeContribURL = compositeContribLocation.toURL(); - URL compositeContribURL = getContributionURL(Hello.class); - compositeContribution = - contributionService.contribute("http://import-export/export-composite", compositeContribURL, false); - for (Composite deployable : compositeContribution.getDeployables()) { - domain.getDomainComposite().getIncludes().add(deployable); - domain.buildComposite(deployable); - } - -// File helloWorldContribLocation = new File("./target/classes/"); -// URL helloWorldContribURL = helloWorldContribLocation.toURL(); - URL helloWorldContribURL = getContributionURL(HelloWorldService.class); - helloWorldContribution = - contributionService.contribute("http://import-export/helloworld", helloWorldContribURL, false); - for (Composite deployable : helloWorldContribution.getDeployables()) { - domain.getDomainComposite().getIncludes().add(deployable); - domain.buildComposite(deployable); - } - - // Start Components from my composite - for (Composite deployable : helloWorldContribution.getDeployables()) { - domain.getCompositeActivator().activate(deployable); - domain.getCompositeActivator().start(deployable); - } - } - - private URL getContributionURL(Class cls) throws MalformedURLException { - String flag = "/" + cls.getName().replace('.', '/') + ".class"; - URL url = cls.getResource(flag); - String root = url.toExternalForm(); - root = root.substring(0, root.length() - flag.length() + 1); - if (root.startsWith("jar:") && root.endsWith("!/")) { - root = root.substring(4, root.length() - 2); - } - url = new URL(root); - return url; - } - - public void testPing() throws IOException { - new Socket("127.0.0.1", 8085); - } - - public void testServiceCall() throws IOException { - HelloWorldService helloWorldService = - domain.getService(HelloWorldService.class, "HelloWorldServiceComponent/HelloWorldService"); - assertNotNull(helloWorldService); - - assertEquals("Hello Smith", helloWorldService.getGreetings("Smith")); - } - - @Override - public void tearDown() throws Exception { - ContributionService contributionService = domain.getContributionService(); - - // Remove the contribution from the in-memory repository - contributionService.remove("http://import-export/helloworld"); - contributionService.remove("http://import-export/export-composite"); - - //Stop Components from my composite - for (Composite deployable : helloWorldContribution.getDeployables()) { - domain.getCompositeActivator().stop(deployable); - domain.getCompositeActivator().deactivate(deployable); - } - - domain.stop(); - domain.close(); - } - -} diff --git a/java/sca-contrib/itest/contribution-import-export/import-java/pom.xml b/java/sca-contrib/itest/contribution-import-export/import-java/pom.xml deleted file mode 100644 index 13d9a7ce58..0000000000 --- a/java/sca-contrib/itest/contribution-import-export/import-java/pom.xml +++ /dev/null @@ -1,73 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - tuscany-itest - 2.0-SNAPSHOT - ../pom.xml - - itest-contribution-import-java - Apache Tuscany SCA Contribution Java Import Java Integration Tests - - - - org.apache.tuscany.sca - itest-contribution-export-java - 2.0-SNAPSHOT - - - - org.apache.tuscany.sca - tuscany-host-embedded - 2.0-SNAPSHOT - - - - org.apache.tuscany.sca - tuscany-implementation-java-runtime - 2.0-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-binding-ws-axis2 - 2.0-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-host-jetty - 2.0-SNAPSHOT - runtime - - - - junit - junit - 4.5 - test - - - - diff --git a/java/sca-contrib/itest/contribution-import-export/import-java/src/main/java/helloworld/HelloWorldImpl.java b/java/sca-contrib/itest/contribution-import-export/import-java/src/main/java/helloworld/HelloWorldImpl.java deleted file mode 100644 index 2186c00e57..0000000000 --- a/java/sca-contrib/itest/contribution-import-export/import-java/src/main/java/helloworld/HelloWorldImpl.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package helloworld; - -import org.oasisopen.sca.annotation.Service; - -/** - * This class implements the HelloWorld service. - */ -@Service(HelloWorldService.class) -public class HelloWorldImpl implements HelloWorldService { - - public String getGreetings(String name) { - return "Hello " + name; - } - -} diff --git a/java/sca-contrib/itest/contribution-import-export/import-java/src/main/resources/META-INF/sca-contribution.xml b/java/sca-contrib/itest/contribution-import-export/import-java/src/main/resources/META-INF/sca-contribution.xml deleted file mode 100644 index 224e2c4d79..0000000000 --- a/java/sca-contrib/itest/contribution-import-export/import-java/src/main/resources/META-INF/sca-contribution.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/java/sca-contrib/itest/contribution-import-export/import-java/src/main/resources/helloworldws.composite b/java/sca-contrib/itest/contribution-import-export/import-java/src/main/resources/helloworldws.composite deleted file mode 100644 index 9b650e4acc..0000000000 --- a/java/sca-contrib/itest/contribution-import-export/import-java/src/main/resources/helloworldws.composite +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - diff --git a/java/sca-contrib/itest/contribution-import-export/import-java/src/test/java/org/apache/tuscany/sca/test/contribution/HelloWorldServerTestCase.java b/java/sca-contrib/itest/contribution-import-export/import-java/src/test/java/org/apache/tuscany/sca/test/contribution/HelloWorldServerTestCase.java deleted file mode 100644 index 431988cc04..0000000000 --- a/java/sca-contrib/itest/contribution-import-export/import-java/src/test/java/org/apache/tuscany/sca/test/contribution/HelloWorldServerTestCase.java +++ /dev/null @@ -1,127 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.test.contribution; - -import helloworld.HelloWorldImpl; -import helloworld.HelloWorldService; - -import java.io.IOException; -import java.net.MalformedURLException; -import java.net.URL; - -import junit.framework.TestCase; - -import org.apache.tuscany.sca.assembly.Composite; -import org.apache.tuscany.sca.contribution.Contribution; -import org.apache.tuscany.sca.contribution.service.ContributionService; -import org.apache.tuscany.sca.host.embedded.impl.EmbeddedSCADomain; - -/** - * Tests that the helloworld server is available - */ -public class HelloWorldServerTestCase extends TestCase { - private ClassLoader cl; - private EmbeddedSCADomain domain; - private Contribution helloWorldContribution; - private Contribution javaContribution; - - @Override - protected void setUp() throws Exception { - //Create a test embedded SCA domain - cl = getClass().getClassLoader(); - domain = new EmbeddedSCADomain(cl, "http://localhost"); - - //Start the domain - domain.start(); - - // Contribute the SCA contribution - ContributionService contributionService = domain.getContributionService(); - - //File javaContribLocation = new File("../export-java/target/classes"); - //URL javaContribURL = javaContribLocation.toURL(); - URL javaContribURL = getContributionURL(HelloWorldService.class); - javaContribution = contributionService.contribute("http://import-export/export-java", javaContribURL, false); - for (Composite deployable : javaContribution.getDeployables()) { - domain.getDomainComposite().getIncludes().add(deployable); - domain.buildComposite(deployable); - } - - //File helloWorldContribLocation = new File("./target/classes/"); - //URL helloWorldContribURL = helloWorldContribLocation.toURL(); - URL helloWorldContribURL = getContributionURL(HelloWorldImpl.class); - helloWorldContribution = contributionService.contribute("http://import-export/helloworld", helloWorldContribURL, false); - for (Composite deployable : helloWorldContribution.getDeployables()) { - domain.getDomainComposite().getIncludes().add(deployable); - domain.buildComposite(deployable); - } - - // Start Components from my composite - for (Composite deployable : helloWorldContribution.getDeployables()) { - domain.getCompositeActivator().activate(deployable); - domain.getCompositeActivator().start(deployable); - } - } - - private URL getContributionURL(Class cls) throws MalformedURLException { - String flag = "/" + cls.getName().replace('.', '/') + ".class"; - URL url = cls.getResource(flag); - String root = url.toExternalForm(); - root = root.substring(0, root.length() - flag.length() + 1); - if (root.startsWith("jar:") && root.endsWith("!/")) { - root = root.substring(4, root.length() - 2); - } - url = new URL(root); - return url; - } - - public void testPing() throws IOException { - HelloWorldService helloWorldService = - domain.getService(HelloWorldService.class, "HelloWorldServiceComponent/HelloWorldService"); - assertNotNull(helloWorldService); - assertEquals("Hello test", helloWorldService.getGreetings("test")); - } - - public void testServiceCall() throws IOException { - HelloWorldService helloWorldService = - domain.getService(HelloWorldService.class, "HelloWorldServiceComponent/HelloWorldService"); - assertNotNull(helloWorldService); - - assertEquals("Hello Smith", helloWorldService.getGreetings("Smith")); - } - - @Override - public void tearDown() throws Exception { - ContributionService contributionService = domain.getContributionService(); - - // Remove the contribution from the in-memory repository - contributionService.remove("http://import-export/helloworld"); - contributionService.remove("http://import-export/export-java"); - - // Stop Components from my composite - for (Composite deployable : helloWorldContribution.getDeployables()) { - domain.getCompositeActivator().stop(deployable); - domain.getCompositeActivator().deactivate(deployable); - } - - domain.stop(); - - domain.close(); - } - -} diff --git a/java/sca-contrib/itest/contribution-import-export/import-resource/pom.xml b/java/sca-contrib/itest/contribution-import-export/import-resource/pom.xml deleted file mode 100644 index 6adf9effe5..0000000000 --- a/java/sca-contrib/itest/contribution-import-export/import-resource/pom.xml +++ /dev/null @@ -1,102 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - tuscany-itest - 2.0-SNAPSHOT - ../pom.xml - - itest-contribution-import-resource - Apache Tuscany SCA Contribution Resource Import Java Integration Tests - - - - - org.apache.tuscany.sca - itest-contribution-export-resource - 2.0-SNAPSHOT - - - - org.apache.tuscany.sca - tuscany-host-embedded - 2.0-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-implementation-java-runtime - 2.0-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-host-http - 2.0-SNAPSHOT - - - - org.apache.tuscany.sca - tuscany-binding-http-runtime - 2.0-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-implementation-resource-runtime - 2.0-SNAPSHOT - test - - - - org.apache.tuscany.sca - tuscany-contribution-resource - 2.0-SNAPSHOT - test - - - - javax.servlet - servlet-api - 2.5 - provided - - - - org.apache.tuscany.sca - tuscany-host-jetty - 2.0-SNAPSHOT - runtime - - - - junit - junit - 4.5 - test - - - - diff --git a/java/sca-contrib/itest/contribution-import-export/import-resource/src/main/resources/META-INF/sca-contribution.xml b/java/sca-contrib/itest/contribution-import-export/import-resource/src/main/resources/META-INF/sca-contribution.xml deleted file mode 100644 index ac6d7becb3..0000000000 --- a/java/sca-contrib/itest/contribution-import-export/import-resource/src/main/resources/META-INF/sca-contribution.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/java/sca-contrib/itest/contribution-import-export/import-resource/src/main/resources/store.composite b/java/sca-contrib/itest/contribution-import-export/import-resource/src/main/resources/store.composite deleted file mode 100644 index bb5a7b764f..0000000000 --- a/java/sca-contrib/itest/contribution-import-export/import-resource/src/main/resources/store.composite +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/contribution-import-export/import-resource/src/test/java/org/apache/tuscany/sca/test/contribution/StoreTestCase.java b/java/sca-contrib/itest/contribution-import-export/import-resource/src/test/java/org/apache/tuscany/sca/test/contribution/StoreTestCase.java deleted file mode 100644 index 1b7542b7d9..0000000000 --- a/java/sca-contrib/itest/contribution-import-export/import-resource/src/test/java/org/apache/tuscany/sca/test/contribution/StoreTestCase.java +++ /dev/null @@ -1,129 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.test.contribution; - -import java.io.IOException; -import java.net.MalformedURLException; -import java.net.Socket; -import java.net.URL; - -import junit.framework.TestCase; - -import org.apache.tuscany.sca.assembly.Composite; -import org.apache.tuscany.sca.contribution.Contribution; -import org.apache.tuscany.sca.contribution.service.ContributionService; -import org.apache.tuscany.sca.host.embedded.impl.EmbeddedSCADomain; - -/** - * Tests that the helloworld server is available - */ -public class StoreTestCase extends TestCase { - private ClassLoader cl; - private EmbeddedSCADomain domain; - private Contribution storeContribution; - private Contribution resourceContribution; - - @Override - protected void setUp() throws Exception { - //Create a test embedded SCA domain - cl = getClass().getClassLoader(); - domain = new EmbeddedSCADomain(cl, "http://localhost"); - - //Start the domain - domain.start(); - - // Contribute the SCA contribution - ContributionService contributionService = domain.getContributionService(); - - URL javaContribURL = getContributionURL(cl, "ufservices/store.html"); - resourceContribution = contributionService.contribute("http://import-export/export-resource", javaContribURL, false); - for (Composite deployable : resourceContribution.getDeployables()) { - domain.getDomainComposite().getIncludes().add(deployable); - domain.buildComposite(deployable); - } - - URL storeContributionURL = getContributionURL(cl, "store.composite"); - - storeContribution = - contributionService.contribute("http://import-export/store", storeContributionURL, false); - for (Composite deployable : storeContribution.getDeployables()) { - domain.getDomainComposite().getIncludes().add(deployable); - domain.buildComposite(deployable); - } - - // Start Components from my composite - for (Composite deployable : storeContribution.getDeployables()) { - domain.getCompositeActivator().activate(deployable); - domain.getCompositeActivator().start(deployable); - } - } - - public void testPing() throws IOException { - new Socket("127.0.0.1", 8085); - } - - - @Override - public void tearDown() throws Exception { - ContributionService contributionService = domain.getContributionService(); - - // Remove the contribution from the in-memory repository - contributionService.remove("http://import-export/store"); - contributionService.remove("http://import-export/export-resource"); - - // Stop Components from my composite - for (Composite deployable : storeContribution.getDeployables()) { - domain.getCompositeActivator().stop(deployable); - domain.getCompositeActivator().deactivate(deployable); - } - - domain.stop(); - - domain.close(); - } - - - /** - * Utility methods - */ - - - private URL getContributionURL(ClassLoader cl, Class cls) throws MalformedURLException { - String flag = "/" + cls.getName().replace('.', '/') + ".class"; - URL url = cl.getResource(flag); - String root = url.toExternalForm(); - root = root.substring(0, root.length() - flag.length() + 1); - if (root.startsWith("jar:") && root.endsWith("!/")) { - root = root.substring(4, root.length() - 2); - } - url = new URL(root); - return url; - } - - private URL getContributionURL(ClassLoader cl, String uri) throws MalformedURLException { - URL url = cl.getResource(uri); - String root = url.toExternalForm(); - root = root.substring(0, root.length() - uri.length()); - if (root.startsWith("jar:") && root.endsWith("!/")) { - root = root.substring(4, root.length() - 2); - } - url = new URL(root); - return url; - } -} diff --git a/java/sca-contrib/itest/contribution-import-export/import-wsdl/pom.xml b/java/sca-contrib/itest/contribution-import-export/import-wsdl/pom.xml deleted file mode 100644 index 265376216b..0000000000 --- a/java/sca-contrib/itest/contribution-import-export/import-wsdl/pom.xml +++ /dev/null @@ -1,73 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - tuscany-itest - 2.0-SNAPSHOT - ../pom.xml - - itest-contribution-import-wsdl - Apache Tuscany SCA Contribution WSDL Import Integration Tests - - - - org.apache.tuscany.sca - itest-contribution-export-wsdl - 2.0-SNAPSHOT - - - - org.apache.tuscany.sca - tuscany-host-embedded - 2.0-SNAPSHOT - - - - org.apache.tuscany.sca - tuscany-implementation-java-runtime - 2.0-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-binding-ws-axis2 - 2.0-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-host-jetty - 2.0-SNAPSHOT - runtime - - - - junit - junit - 4.5 - test - - - - diff --git a/java/sca-contrib/itest/contribution-import-export/import-wsdl/src/main/java/helloworld/HelloWorldImpl.java b/java/sca-contrib/itest/contribution-import-export/import-wsdl/src/main/java/helloworld/HelloWorldImpl.java deleted file mode 100644 index 2186c00e57..0000000000 --- a/java/sca-contrib/itest/contribution-import-export/import-wsdl/src/main/java/helloworld/HelloWorldImpl.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package helloworld; - -import org.oasisopen.sca.annotation.Service; - -/** - * This class implements the HelloWorld service. - */ -@Service(HelloWorldService.class) -public class HelloWorldImpl implements HelloWorldService { - - public String getGreetings(String name) { - return "Hello " + name; - } - -} diff --git a/java/sca-contrib/itest/contribution-import-export/import-wsdl/src/main/java/helloworld/HelloWorldServer.java b/java/sca-contrib/itest/contribution-import-export/import-wsdl/src/main/java/helloworld/HelloWorldServer.java deleted file mode 100644 index 3d43290380..0000000000 --- a/java/sca-contrib/itest/contribution-import-export/import-wsdl/src/main/java/helloworld/HelloWorldServer.java +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package helloworld; - -import java.io.IOException; - -import org.apache.tuscany.sca.host.embedded.SCADomain; - -/** - * This server program shows how to create an SCA runtime, and start it which - * activates the helloworld Web service endpoint. - */ -public class HelloWorldServer { - - public static void main(String[] args) { - - SCADomain scaDomain = SCADomain.newInstance("helloworldws.composite"); - - try { - System.out.println("HelloWorld server started (press enter to shutdown)"); - System.in.read(); - } catch (IOException e) { - e.printStackTrace(); - } - - scaDomain.close(); - System.out.println("HelloWorld server stopped"); - } - -} diff --git a/java/sca-contrib/itest/contribution-import-export/import-wsdl/src/main/java/helloworld/HelloWorldService.java b/java/sca-contrib/itest/contribution-import-export/import-wsdl/src/main/java/helloworld/HelloWorldService.java deleted file mode 100644 index 134da7e34b..0000000000 --- a/java/sca-contrib/itest/contribution-import-export/import-wsdl/src/main/java/helloworld/HelloWorldService.java +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package helloworld; - -import org.oasisopen.sca.annotation.Remotable; - -/** - * This is the business interface of the HelloWorld greetings service. - */ -@Remotable -public interface HelloWorldService { - - public String getGreetings(String name); -} diff --git a/java/sca-contrib/itest/contribution-import-export/import-wsdl/src/main/resources/META-INF/sca-contribution.xml b/java/sca-contrib/itest/contribution-import-export/import-wsdl/src/main/resources/META-INF/sca-contribution.xml deleted file mode 100644 index d46fe0b57c..0000000000 --- a/java/sca-contrib/itest/contribution-import-export/import-wsdl/src/main/resources/META-INF/sca-contribution.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/java/sca-contrib/itest/contribution-import-export/import-wsdl/src/main/resources/helloworldws.composite b/java/sca-contrib/itest/contribution-import-export/import-wsdl/src/main/resources/helloworldws.composite deleted file mode 100644 index 5008a2ea5b..0000000000 --- a/java/sca-contrib/itest/contribution-import-export/import-wsdl/src/main/resources/helloworldws.composite +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/contribution-import-export/import-wsdl/src/test/java/org/apache/tuscany/sca/test/contribution/HelloWorldServerTestCase.java b/java/sca-contrib/itest/contribution-import-export/import-wsdl/src/test/java/org/apache/tuscany/sca/test/contribution/HelloWorldServerTestCase.java deleted file mode 100644 index 5c40606e50..0000000000 --- a/java/sca-contrib/itest/contribution-import-export/import-wsdl/src/test/java/org/apache/tuscany/sca/test/contribution/HelloWorldServerTestCase.java +++ /dev/null @@ -1,137 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.test.contribution; - -import helloworld.HelloWorldService; - -import java.io.IOException; -import java.net.MalformedURLException; -import java.net.Socket; -import java.net.URL; - -import junit.framework.TestCase; - -import org.apache.tuscany.sca.assembly.Composite; -import org.apache.tuscany.sca.contribution.Contribution; -import org.apache.tuscany.sca.contribution.service.ContributionService; -import org.apache.tuscany.sca.host.embedded.impl.EmbeddedSCADomain; - -/** - * Tests that the helloworld server is available - */ -public class HelloWorldServerTestCase extends TestCase { - private ClassLoader cl; - private EmbeddedSCADomain domain; - private Contribution wsdlContribution; - private Contribution consumerContribution; - - @Override - protected void setUp() throws Exception { - // Create a test embedded SCA domain - cl = getClass().getClassLoader(); - domain = new EmbeddedSCADomain(cl, "http://localhost"); - - //Start the domain - domain.start(); - - // Contribute the SCA contribution - ContributionService contributionService = domain.getContributionService(); - - // File wsdlContribLocation = new File("../export-wsdl/target/classes"); - // URL wsdlContribURL = wsdlContribLocation.toURL(); - URL wsdlContribURL = getContributionURL(getClass().getClassLoader(), "helloworld.wsdl"); - wsdlContribution = contributionService.contribute("http://import-export/export-wsdl", wsdlContribURL, false); - for (Composite deployable : wsdlContribution.getDeployables()) { - domain.getDomainComposite().getIncludes().add(deployable); - domain.buildComposite(deployable); - } - - // File helloWorldContribLocation = new File("./target/classes/"); - // URL helloWorldContribURL = helloWorldContribLocation.toURL(); - URL helloWorldContribURL = getContributionURL(HelloWorldService.class); - consumerContribution = - contributionService.contribute("http://import-export/helloworld", helloWorldContribURL, false); - for (Composite deployable : consumerContribution.getDeployables()) { - domain.getDomainComposite().getIncludes().add(deployable); - domain.buildComposite(deployable); - } - - // Start Components from my composite - for (Composite deployable : consumerContribution.getDeployables()) { - domain.getCompositeActivator().activate(deployable); - domain.getCompositeActivator().start(deployable); - } - } - - public void testPing() throws IOException { - new Socket("127.0.0.1", 8085); - } - - private URL getContributionURL(Class cls) throws MalformedURLException { - String flag = "/" + cls.getName().replace('.', '/') + ".class"; - URL url = cls.getResource(flag); - String root = url.toExternalForm(); - root = root.substring(0, root.length() - flag.length() + 1); - if (root.startsWith("jar:") && root.endsWith("!/")) { - root = root.substring(4, root.length() - 2); - } - url = new URL(root); - return url; - } - - private URL getContributionURL(ClassLoader cl, String flag) throws MalformedURLException { - URL url = cl.getResource(flag); - String root = url.toExternalForm(); - root = root.substring(0, root.length() - flag.length()); - if (root.startsWith("jar:") && root.endsWith("!/")) { - root = root.substring(4, root.length() - 2); - } - url = new URL(root); - // System.out.println(url); - return url; - } - - public void testServiceCall() throws IOException { - HelloWorldService helloWorldService = - domain.getService(HelloWorldService.class, "HelloWorldServiceComponent/HelloWorldService"); - assertNotNull(helloWorldService); - - assertEquals("Hello Smith", helloWorldService.getGreetings("Smith")); - } - - @Override - public void tearDown() throws Exception { - ContributionService contributionService = domain.getContributionService(); - - // Remove the contribution from the in-memory repository - contributionService.remove("http://import-export/helloworld"); - contributionService.remove("http://import-export/export-wsdl"); - - // Stop Components from my composite - for (Composite deployable : consumerContribution.getDeployables()) { - domain.getCompositeActivator().stop(deployable); - domain.getCompositeActivator().deactivate(deployable); - } - - domain.stop(); - - domain.close(); - } - -} diff --git a/java/sca-contrib/itest/contribution-import-export/pom.xml b/java/sca-contrib/itest/contribution-import-export/pom.xml deleted file mode 100644 index 36858e953e..0000000000 --- a/java/sca-contrib/itest/contribution-import-export/pom.xml +++ /dev/null @@ -1,56 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - tuscany-itest - 2.0-SNAPSHOT - ../pom.xml - - itest-contribution-import-export - pom - Apache Tuscany SCA Contribution Import/Export Integration Tests - - - export-composite - export-java - export-resource - export-wsdl - import-composite - import-java - import-resource - import-wsdl - - - - - org.apache.tuscany.sca - tuscany-host-embedded - 2.0-SNAPSHOT - - - - org.apache.tuscany.sca - tuscany-contribution-impl - 2.0-SNAPSHOT - - - diff --git a/java/sca-contrib/itest/contribution-multiple/pom.xml b/java/sca-contrib/itest/contribution-multiple/pom.xml deleted file mode 100644 index 5ff78b3d48..0000000000 --- a/java/sca-contrib/itest/contribution-multiple/pom.xml +++ /dev/null @@ -1,51 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - tuscany-itest - 2.0-SNAPSHOT - ../pom.xml - - itest-contribution-multiple - Apache Tuscany SCA Multiple Contribution Integration Tests - - - - org.apache.tuscany.sca - tuscany-host-embedded - 2.0-SNAPSHOT - - - - org.apache.tuscany.sca - tuscany-contribution-impl - 2.0-SNAPSHOT - - - - org.apache.tuscany.sca - tuscany-implementation-java-runtime - 2.0-SNAPSHOT - runtime - - - diff --git a/java/sca-contrib/itest/contribution-multiple/src/test/java/hello/Hello.java b/java/sca-contrib/itest/contribution-multiple/src/test/java/hello/Hello.java deleted file mode 100644 index 7e574a7db3..0000000000 --- a/java/sca-contrib/itest/contribution-multiple/src/test/java/hello/Hello.java +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package hello; - -/** - * This is the business interface of the Hello service. - */ -public interface Hello { - - public String getGreetings(String name); -} diff --git a/java/sca-contrib/itest/contribution-multiple/src/test/java/hello/HelloImpl.java b/java/sca-contrib/itest/contribution-multiple/src/test/java/hello/HelloImpl.java deleted file mode 100644 index 7cd950453d..0000000000 --- a/java/sca-contrib/itest/contribution-multiple/src/test/java/hello/HelloImpl.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package hello; - -import org.oasisopen.sca.annotation.Service; - -/** - * This class implements the HelloWorld service. - */ -@Service(Hello.class) -public class HelloImpl implements Hello { - - public String getGreetings(String name) { - return "Hello " + name; - } - -} diff --git a/java/sca-contrib/itest/contribution-multiple/src/test/java/helloworld/HelloWorldImpl.java b/java/sca-contrib/itest/contribution-multiple/src/test/java/helloworld/HelloWorldImpl.java deleted file mode 100644 index e90d10dc24..0000000000 --- a/java/sca-contrib/itest/contribution-multiple/src/test/java/helloworld/HelloWorldImpl.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package helloworld; - -import hello.Hello; - -import org.oasisopen.sca.annotation.Reference; -import org.oasisopen.sca.annotation.Service; - -/** - * This class implements the HelloWorld service. - */ -@Service(HelloWorldService.class) -public class HelloWorldImpl implements HelloWorldService { - @Reference - protected Hello helloServiceRef; - - public String getGreetings(String name) { - return helloServiceRef.getGreetings(name); - } - -} diff --git a/java/sca-contrib/itest/contribution-multiple/src/test/java/helloworld/HelloWorldService.java b/java/sca-contrib/itest/contribution-multiple/src/test/java/helloworld/HelloWorldService.java deleted file mode 100644 index 5251fc0a45..0000000000 --- a/java/sca-contrib/itest/contribution-multiple/src/test/java/helloworld/HelloWorldService.java +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package helloworld; - - -/** - * This is the business interface of the HelloWorld greetings service. - */ -public interface HelloWorldService { - - public String getGreetings(String name); -} diff --git a/java/sca-contrib/itest/contribution-multiple/src/test/java/test/ContributionCycleTestCaseFIXME.java b/java/sca-contrib/itest/contribution-multiple/src/test/java/test/ContributionCycleTestCaseFIXME.java deleted file mode 100644 index ec5123eb2d..0000000000 --- a/java/sca-contrib/itest/contribution-multiple/src/test/java/test/ContributionCycleTestCaseFIXME.java +++ /dev/null @@ -1,121 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package test; - -import helloworld.HelloWorldService; - -import java.io.IOException; -import java.net.URL; - -import org.apache.tuscany.sca.assembly.Composite; -import org.apache.tuscany.sca.contribution.Contribution; -import org.apache.tuscany.sca.contribution.service.ContributionService; -import org.apache.tuscany.sca.host.embedded.impl.EmbeddedSCADomain; - -import junit.framework.TestCase; - -/** - * Test multiple contributions scenario - * - * FIXME This test case causes a StackOverflowException instead of - * reporting an error when a composite is not found, as there's a - * dependency cycle in the test contributions and the model resolvers - * do not handle import cycles properly. - * - */ -public class ContributionCycleTestCaseFIXME extends TestCase { - - private String helloContribution_dir = "target/test-classes/contribution-cycle-export"; - private String helloWorldContribution_one_dir = "target/test-classes/contribution-cycle-import"; - - private ClassLoader cl; - private EmbeddedSCADomain domain; - private Contribution helloContribution; - private Contribution helloWorldContribution_one; - - protected void setUp() throws Exception { - URL helloContribution_URL = new java.io.File(helloContribution_dir).toURI().toURL(); - URL helloWorldContribution_one_URL = new java.io.File(helloWorldContribution_one_dir).toURI().toURL(); - - // Create a test embedded SCA domain - cl = getClass().getClassLoader(); - domain = new EmbeddedSCADomain(cl, "http://localhost"); - - // Start the domain - domain.start(); - - // Contribute the SCA contribution - ContributionService contributionService = domain.getContributionService(); - - helloContribution = - contributionService.contribute("http://contribution-multiple/helloworld", helloContribution_URL, false); - - for (Composite deployable : helloContribution.getDeployables()) { - domain.getDomainComposite().getIncludes().add(deployable); - domain.buildComposite(deployable); - } - for (Composite deployable : helloContribution.getDeployables()) { - domain.getCompositeActivator().activate(deployable); - domain.getCompositeActivator().start(deployable); - } - - helloWorldContribution_one = - contributionService.contribute("http://contribution-multiple/helloworld_one", helloWorldContribution_one_URL, false); - for (Composite deployable : helloWorldContribution_one.getDeployables()) { - domain.getDomainComposite().getIncludes().add(deployable); - domain.buildComposite(deployable); - } - - for (Composite deployable : helloWorldContribution_one.getDeployables()) { - domain.getCompositeActivator().activate(deployable); - domain.getCompositeActivator().start(deployable); - } - - } - - public void testServiceCall() throws IOException { - HelloWorldService helloWorldService_one = - domain.getService(HelloWorldService.class, "HelloWorldServiceComponent_one/HelloWorldService"); - assertNotNull(helloWorldService_one); - - assertEquals("Hello Smith", helloWorldService_one.getGreetings("Smith")); - - } - - public void tearDown() throws Exception { - ContributionService contributionService = domain.getContributionService(); - - // Remove the contribution from the in-memory repository - contributionService.remove("http://contribution-multiple/helloworld"); - contributionService.remove("http://contribution-multiple/helloworld_one"); - - // Stop Components from my composite - for (Composite deployable : helloWorldContribution_one.getDeployables()) { - domain.getCompositeActivator().stop(deployable); - domain.getCompositeActivator().deactivate(deployable); - } - for (Composite deployable : helloContribution.getDeployables()) { - domain.getCompositeActivator().stop(deployable); - domain.getCompositeActivator().deactivate(deployable); - } - // domain.stop(); - domain.close(); - } - -} diff --git a/java/sca-contrib/itest/contribution-multiple/src/test/java/test/ContributionMultipleTestCaseFIXME.java b/java/sca-contrib/itest/contribution-multiple/src/test/java/test/ContributionMultipleTestCaseFIXME.java deleted file mode 100644 index 133c98f357..0000000000 --- a/java/sca-contrib/itest/contribution-multiple/src/test/java/test/ContributionMultipleTestCaseFIXME.java +++ /dev/null @@ -1,131 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package test; - -import helloworld.HelloWorldService; - -import java.io.IOException; -import java.net.URL; - -import org.apache.tuscany.sca.assembly.Composite; -import org.apache.tuscany.sca.contribution.Contribution; -import org.apache.tuscany.sca.contribution.service.ContributionService; -import org.apache.tuscany.sca.host.embedded.impl.EmbeddedSCADomain; - -import junit.framework.TestCase; - -/** - * Test multiple contribution scenario - * Contributed by TUSCANY-1718 - */ -public class ContributionMultipleTestCaseFIXME extends TestCase { - - private String helloContribution_dir = "target/test-classes/contribution-export"; - private String helloWorldContribution_one_dir = "target/test-classes/contribution-import-one"; - private String helloWorldContribution_two_dir = "target/test-classes/contribution-import-two"; - - private ClassLoader cl; - private EmbeddedSCADomain domain; - private Contribution helloContribution; - private Contribution helloWorldContribution_one; - private Contribution helloWorldContribution_two; - - protected void setUp() throws Exception { - URL helloContribution_URL = new java.io.File(helloContribution_dir).toURI().toURL(); - URL helloWorldContribution_one_URL = new java.io.File(helloWorldContribution_one_dir).toURI().toURL(); - URL helloWorldContribution_two_URL = new java.io.File(helloWorldContribution_two_dir).toURI().toURL(); - - // Create a test embedded SCA domain - cl = getClass().getClassLoader(); - domain = new EmbeddedSCADomain(cl, "http://localhost"); - - // Start the domain - domain.start(); - - // Contribute the SCA contribution - ContributionService contributionService = domain.getContributionService(); - - helloContribution = - contributionService.contribute("http://contribution-multiple/helloworld", helloContribution_URL, false); - - helloWorldContribution_one = - contributionService.contribute("http://contribution-multiple/helloworld_one", helloWorldContribution_one_URL, false); - - helloWorldContribution_two = - contributionService.contribute("http://contribution-multiple/helloworld_two", helloWorldContribution_two_URL, false); - - for (Composite deployable : helloContribution.getDeployables()) { - domain.getDomainComposite().getIncludes().add(deployable); - } - - for (Composite deployable : helloWorldContribution_one.getDeployables()) { - domain.getDomainComposite().getIncludes().add(deployable); - } - - for (Composite deployable : helloWorldContribution_two.getDeployables()) { - domain.getDomainComposite().getIncludes().add(deployable); - } - - domain.buildComposite(domain.getDomainComposite()); - domain.getCompositeActivator().activate(domain.getDomainComposite()); - domain.getCompositeActivator().start(domain.getDomainComposite()); - - } - - public void testServiceCall() throws IOException { - HelloWorldService helloWorldService_one = - domain.getService(HelloWorldService.class, "HelloWorldServiceComponent_one/HelloWorldService"); - assertNotNull(helloWorldService_one); - - assertEquals("Hello Smith", helloWorldService_one.getGreetings("Smith")); - - HelloWorldService helloWorldService_two = - domain.getService(HelloWorldService.class, "HelloWorldServiceComponent_two/HelloWorldService"); - assertNotNull(helloWorldService_two); - - assertEquals("Hello Smith", helloWorldService_two.getGreetings("Smith")); - - } - - public void tearDown() throws Exception { - ContributionService contributionService = domain.getContributionService(); - - // Remove the contribution from the in-memory repository - contributionService.remove("http://contribution-multiple/helloworld"); - contributionService.remove("http://contribution-multiple/helloworld_one"); - contributionService.remove("http://contribution-multiple/helloworld_two"); - - // Stop Components from my composite - for (Composite deployable : helloWorldContribution_two.getDeployables()) { - domain.getCompositeActivator().stop(deployable); - domain.getCompositeActivator().deactivate(deployable); - } - for (Composite deployable : helloWorldContribution_one.getDeployables()) { - domain.getCompositeActivator().stop(deployable); - domain.getCompositeActivator().deactivate(deployable); - } - for (Composite deployable : helloContribution.getDeployables()) { - domain.getCompositeActivator().stop(deployable); - domain.getCompositeActivator().deactivate(deployable); - } - // domain.stop(); - domain.close(); - } - -} diff --git a/java/sca-contrib/itest/contribution-multiple/src/test/java/test/ContributionTestCase.java b/java/sca-contrib/itest/contribution-multiple/src/test/java/test/ContributionTestCase.java deleted file mode 100644 index 790b6fed98..0000000000 --- a/java/sca-contrib/itest/contribution-multiple/src/test/java/test/ContributionTestCase.java +++ /dev/null @@ -1,145 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package test; - -import helloworld.HelloWorldService; - -import java.io.IOException; -import java.net.URL; - -import org.apache.tuscany.sca.assembly.Composite; -import org.apache.tuscany.sca.contribution.Contribution; -import org.apache.tuscany.sca.contribution.service.ContributionService; -import org.apache.tuscany.sca.host.embedded.impl.EmbeddedSCADomain; - -import junit.framework.TestCase; - -/** - * Test multiple contribution scenario - * Contributed by TUSCANY-1756 - */ -public class ContributionTestCase extends TestCase { - - private String helloContribution_dir = "target/test-classes/contribution-export"; - //private String helloWorldContribution_one_dir = "target/test-classes/contribution-import-one"; - private String helloWorldContribution_two_dir = "target/test-classes/contribution-import-two"; - - private ClassLoader cl; - private EmbeddedSCADomain domain; - private Contribution helloContribution; - //private Contribution helloWorldContribution_one; - private Contribution helloWorldContribution_two; - - protected void setUp() throws Exception { - URL helloContribution_URL = new java.io.File(helloContribution_dir).toURI().toURL(); - //URL helloWorldContribution_one_URL = new java.io.File(helloWorldContribution_one_dir).toURI().toURL(); - URL helloWorldContribution_two_URL = new java.io.File(helloWorldContribution_two_dir).toURI().toURL(); - - // Create a test embedded SCA domain - cl = getClass().getClassLoader(); - domain = new EmbeddedSCADomain(cl, "http://localhost"); - - // Start the domain - domain.start(); - - // Contribute the SCA contribution - ContributionService contributionService = domain.getContributionService(); - - helloContribution = - contributionService.contribute("http://contribution-multiple/helloworld", helloContribution_URL, false); - - //helloWorldContribution_one = - // contributionService.contribute("http://contribution-multiple/helloworld_one", helloWorldContribution_one_URL, false); - - helloWorldContribution_two = - contributionService.contribute("http://contribution-multiple/helloworld_two", helloWorldContribution_two_URL, false); - - for (Composite deployable : helloContribution.getDeployables()) { - domain.getDomainComposite().getIncludes().add(deployable); - domain.buildComposite(deployable); - } - - //for (Composite deployable : helloWorldContribution_one.getDeployables()) { - // domain.getDomainComposite().getIncludes().add(deployable); - // domain.buildComposite(deployable); - //} - - for (Composite deployable : helloWorldContribution_two.getDeployables()) { - domain.getDomainComposite().getIncludes().add(deployable); - domain.buildComposite(deployable); - } - - for (Composite deployable : helloContribution.getDeployables()) { - domain.getCompositeActivator().activate(deployable); - domain.getCompositeActivator().start(deployable); - } - - //for (Composite deployable : helloWorldContribution_one.getDeployables()) { - // domain.getCompositeActivator().activate(deployable); - // domain.getCompositeActivator().start(deployable); - //} - - for (Composite deployable : helloWorldContribution_two.getDeployables()) { - domain.getCompositeActivator().activate(deployable); - domain.getCompositeActivator().start(deployable); - } - - } - - public void testServiceCall() throws IOException { - //HelloWorldService helloWorldService_one = - //domain.getService(HelloWorldService.class, "HelloWorldServiceComponent_one/HelloWorldService"); - //assertNotNull(helloWorldService_one); - - //assertEquals("Hello Smith", helloWorldService_one.getGreetings("Smith")); - - HelloWorldService helloWorldService_two = - domain.getService(HelloWorldService.class, "HelloWorldServiceComponent_two/HelloWorldService"); - assertNotNull(helloWorldService_two); - - assertEquals("Hello Smith", helloWorldService_two.getGreetings("Smith")); - - } - - public void tearDown() throws Exception { - ContributionService contributionService = domain.getContributionService(); - - // Remove the contribution from the in-memory repository - contributionService.remove("http://contribution-multiple/helloworld"); - //contributionService.remove("http://contribution-multiple/helloworld_one"); - contributionService.remove("http://contribution-multiple/helloworld_two"); - - // Stop Components from my composite - for (Composite deployable : helloWorldContribution_two.getDeployables()) { - domain.getCompositeActivator().stop(deployable); - domain.getCompositeActivator().deactivate(deployable); - } - //for (Composite deployable : helloWorldContribution_one.getDeployables()) { - // domain.getCompositeActivator().stop(deployable); - // domain.getCompositeActivator().deactivate(deployable); - //} - for (Composite deployable : helloContribution.getDeployables()) { - domain.getCompositeActivator().stop(deployable); - domain.getCompositeActivator().deactivate(deployable); - } - // domain.stop(); - domain.close(); - } - -} diff --git a/java/sca-contrib/itest/contribution-multiple/src/test/resources/contribution-cycle-export/META-INF/sca-contribution.xml b/java/sca-contrib/itest/contribution-multiple/src/test/resources/contribution-cycle-export/META-INF/sca-contribution.xml deleted file mode 100644 index 8b76783c3d..0000000000 --- a/java/sca-contrib/itest/contribution-multiple/src/test/resources/contribution-cycle-export/META-INF/sca-contribution.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/java/sca-contrib/itest/contribution-multiple/src/test/resources/contribution-cycle-export/hello.composite b/java/sca-contrib/itest/contribution-multiple/src/test/resources/contribution-cycle-export/hello.composite deleted file mode 100644 index aeeab337fa..0000000000 --- a/java/sca-contrib/itest/contribution-multiple/src/test/resources/contribution-cycle-export/hello.composite +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - diff --git a/java/sca-contrib/itest/contribution-multiple/src/test/resources/contribution-cycle-import/META-INF/sca-contribution.xml b/java/sca-contrib/itest/contribution-multiple/src/test/resources/contribution-cycle-import/META-INF/sca-contribution.xml deleted file mode 100644 index bfbf74373a..0000000000 --- a/java/sca-contrib/itest/contribution-multiple/src/test/resources/contribution-cycle-import/META-INF/sca-contribution.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/java/sca-contrib/itest/contribution-multiple/src/test/resources/contribution-cycle-import/helloworld_one.composite b/java/sca-contrib/itest/contribution-multiple/src/test/resources/contribution-cycle-import/helloworld_one.composite deleted file mode 100644 index 7a8003577e..0000000000 --- a/java/sca-contrib/itest/contribution-multiple/src/test/resources/contribution-cycle-import/helloworld_one.composite +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/contribution-multiple/src/test/resources/contribution-export/META-INF/sca-contribution.xml b/java/sca-contrib/itest/contribution-multiple/src/test/resources/contribution-export/META-INF/sca-contribution.xml deleted file mode 100644 index bea6f39932..0000000000 --- a/java/sca-contrib/itest/contribution-multiple/src/test/resources/contribution-export/META-INF/sca-contribution.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/java/sca-contrib/itest/contribution-multiple/src/test/resources/contribution-export/hello.composite b/java/sca-contrib/itest/contribution-multiple/src/test/resources/contribution-export/hello.composite deleted file mode 100644 index aeeab337fa..0000000000 --- a/java/sca-contrib/itest/contribution-multiple/src/test/resources/contribution-export/hello.composite +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - diff --git a/java/sca-contrib/itest/contribution-multiple/src/test/resources/contribution-import-one/META-INF/sca-contribution.xml b/java/sca-contrib/itest/contribution-multiple/src/test/resources/contribution-import-one/META-INF/sca-contribution.xml deleted file mode 100644 index bfbf74373a..0000000000 --- a/java/sca-contrib/itest/contribution-multiple/src/test/resources/contribution-import-one/META-INF/sca-contribution.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/java/sca-contrib/itest/contribution-multiple/src/test/resources/contribution-import-one/helloworld_one.composite b/java/sca-contrib/itest/contribution-multiple/src/test/resources/contribution-import-one/helloworld_one.composite deleted file mode 100644 index 45cb504ea4..0000000000 --- a/java/sca-contrib/itest/contribution-multiple/src/test/resources/contribution-import-one/helloworld_one.composite +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/contribution-multiple/src/test/resources/contribution-import-two/META-INF/sca-contribution.xml b/java/sca-contrib/itest/contribution-multiple/src/test/resources/contribution-import-two/META-INF/sca-contribution.xml deleted file mode 100644 index cbabdcd4fc..0000000000 --- a/java/sca-contrib/itest/contribution-multiple/src/test/resources/contribution-import-two/META-INF/sca-contribution.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/java/sca-contrib/itest/contribution-multiple/src/test/resources/contribution-import-two/helloworld_two.composite b/java/sca-contrib/itest/contribution-multiple/src/test/resources/contribution-import-two/helloworld_two.composite deleted file mode 100644 index 4c9225de34..0000000000 --- a/java/sca-contrib/itest/contribution-multiple/src/test/resources/contribution-import-two/helloworld_two.composite +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/contribution/pom.xml b/java/sca-contrib/itest/contribution/pom.xml deleted file mode 100644 index 1fe5207ad5..0000000000 --- a/java/sca-contrib/itest/contribution/pom.xml +++ /dev/null @@ -1,52 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - tuscany-itest - 2.0-SNAPSHOT - ../pom.xml - - itest-contribution - Apache Tuscany SCA Contribution Integration Tests - - - - org.apache.tuscany.sca - tuscany-host-embedded - 2.0-SNAPSHOT - - - - org.apache.tuscany.sca - tuscany-implementation-java-runtime - 2.0-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-contribution-impl - 2.0-SNAPSHOT - - - - diff --git a/java/sca-contrib/itest/contribution/src/main/java/calculator/AddService.java b/java/sca-contrib/itest/contribution/src/main/java/calculator/AddService.java deleted file mode 100644 index 4e72f92fda..0000000000 --- a/java/sca-contrib/itest/contribution/src/main/java/calculator/AddService.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package calculator; - -/** - * It is an Interface which has method declarations. Methods which are to be accessed as a service are declared in this - * interface. Implementation for these methods is provided in AddServiceImpl Class - */ -public interface AddService { - - /** - * This is an add method which takes 2 parameters of double type and returns the sum of two parameters - */ - double add(double n1, double n2); - -} diff --git a/java/sca-contrib/itest/contribution/src/main/java/calculator/AddServiceImpl.java b/java/sca-contrib/itest/contribution/src/main/java/calculator/AddServiceImpl.java deleted file mode 100644 index e9c635e3c8..0000000000 --- a/java/sca-contrib/itest/contribution/src/main/java/calculator/AddServiceImpl.java +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package calculator; - -/** - * An implementation of the Add service - */ -public class AddServiceImpl implements AddService { - - public double add(double n1, double n2) { - return n1 + n2; - } - -} diff --git a/java/sca-contrib/itest/contribution/src/main/java/calculator/CalculatorClient.java b/java/sca-contrib/itest/contribution/src/main/java/calculator/CalculatorClient.java deleted file mode 100644 index 719ad69eef..0000000000 --- a/java/sca-contrib/itest/contribution/src/main/java/calculator/CalculatorClient.java +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package calculator; - -import org.apache.tuscany.sca.host.embedded.SCADomain; - -/** - * This client program shows how to create an SCA runtime, start it, - * and locate and invoke a SCA component - */ -public class CalculatorClient { - public static void main(String[] args) throws Exception { - - SCADomain domain = SCADomain.newInstance("calculator/Calculator.composite"); - - CalculatorService calculatorService = domain.getService(CalculatorService.class, - "CalculatorServiceComponent"); - - // Calculate - System.out.println("3 + 2=" + calculatorService.add(3, 2)); - System.out.println("3 - 2=" + calculatorService.subtract(3, 2)); - System.out.println("3 * 2=" + calculatorService.multiply(3, 2)); - System.out.println("3 / 2=" + calculatorService.divide(3, 2)); - - domain.close(); - - } - -} \ No newline at end of file diff --git a/java/sca-contrib/itest/contribution/src/main/java/calculator/CalculatorService.java b/java/sca-contrib/itest/contribution/src/main/java/calculator/CalculatorService.java deleted file mode 100644 index f288af0174..0000000000 --- a/java/sca-contrib/itest/contribution/src/main/java/calculator/CalculatorService.java +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package calculator; - -/** - * This is a Calculator service interface. All the methods which are to be accessed as a service are declared in this - * interface but not the implementation of those methods. - */ -public interface CalculatorService { - - double add(double n1, double n2); - - double subtract(double n1, double n2); - - double multiply(double n1, double n2); - - double divide(double n1, double n2); - -} diff --git a/java/sca-contrib/itest/contribution/src/main/java/calculator/CalculatorServiceImpl.java b/java/sca-contrib/itest/contribution/src/main/java/calculator/CalculatorServiceImpl.java deleted file mode 100644 index d3fa7a8f41..0000000000 --- a/java/sca-contrib/itest/contribution/src/main/java/calculator/CalculatorServiceImpl.java +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package calculator; - -import org.oasisopen.sca.annotation.Reference; - - -/** - * An implementation of the Calculator service. - */ -public class CalculatorServiceImpl implements CalculatorService { - - private AddService addService; - private SubtractService subtractService; - private MultiplyService multiplyService; - private DivideService divideService; - - @Reference - public void setAddService(AddService addService) { - this.addService = addService; - } - - @Reference - public void setSubtractService(SubtractService subtractService) { - this.subtractService = subtractService; - } - - @Reference - public void setDivideService(DivideService divideService) { - this.divideService = divideService; - } - - @Reference - public void setMultiplyService(MultiplyService multiplyService) { - this.multiplyService = multiplyService; - } - - public double add(double n1, double n2) { - return addService.add(n1, n2); - } - - public double subtract(double n1, double n2) { - return subtractService.subtract(n1, n2); - } - - public double multiply(double n1, double n2) { - return multiplyService.multiply(n1, n2); - } - - public double divide(double n1, double n2) { - return divideService.divide(n1, n2); - } - -} diff --git a/java/sca-contrib/itest/contribution/src/main/java/calculator/DivideService.java b/java/sca-contrib/itest/contribution/src/main/java/calculator/DivideService.java deleted file mode 100644 index ad99418f5b..0000000000 --- a/java/sca-contrib/itest/contribution/src/main/java/calculator/DivideService.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package calculator; - -/** - * This is an interface for Divide Service which has divide method declared which is implemented in DivideServiceImpl - * class - */ -public interface DivideService { - - /** - * This is a divide method which takes 2 parameters of double type and returns the result of division - */ - double divide(double n1, double n2); - -} diff --git a/java/sca-contrib/itest/contribution/src/main/java/calculator/DivideServiceImpl.java b/java/sca-contrib/itest/contribution/src/main/java/calculator/DivideServiceImpl.java deleted file mode 100644 index 8c33862f6d..0000000000 --- a/java/sca-contrib/itest/contribution/src/main/java/calculator/DivideServiceImpl.java +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package calculator; - -/** - * An implementation of the Divide service. - */ -public class DivideServiceImpl implements DivideService { - - public double divide(double n1, double n2) { - return n1 / n2; - } - -} diff --git a/java/sca-contrib/itest/contribution/src/main/java/calculator/MultiplyService.java b/java/sca-contrib/itest/contribution/src/main/java/calculator/MultiplyService.java deleted file mode 100644 index 3987b0a54f..0000000000 --- a/java/sca-contrib/itest/contribution/src/main/java/calculator/MultiplyService.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package calculator; - -/** - * This is an interface for Multiply Service which has multiply method declared which is implemented in - * MultiplyServiceImpl class - */ -public interface MultiplyService { - - /** - * This is a multiply method which takes 2 parameters of double type and returns the result of multiplication of the - * two parameters - */ - double multiply(double n1, double n2); - -} diff --git a/java/sca-contrib/itest/contribution/src/main/java/calculator/MultiplyServiceImpl.java b/java/sca-contrib/itest/contribution/src/main/java/calculator/MultiplyServiceImpl.java deleted file mode 100644 index c7fbc73c00..0000000000 --- a/java/sca-contrib/itest/contribution/src/main/java/calculator/MultiplyServiceImpl.java +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package calculator; - -/** - * An implementation of the Multiply service. - */ -public class MultiplyServiceImpl implements MultiplyService { - - public double multiply(double n1, double n2) { - return n1 * n2; - } - -} diff --git a/java/sca-contrib/itest/contribution/src/main/java/calculator/SubtractService.java b/java/sca-contrib/itest/contribution/src/main/java/calculator/SubtractService.java deleted file mode 100644 index 25e0ed6ca7..0000000000 --- a/java/sca-contrib/itest/contribution/src/main/java/calculator/SubtractService.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package calculator; - -/** - * This is an interface for Subtract Service which has subtract method declared which is implemented in - * SubtractServiceImpl class - */ - -public interface SubtractService { - - /** - * This is a subtract method which takes 2 parameters of double type and returns the result of subtraction. - */ - double subtract(double n1, double n2); - -} diff --git a/java/sca-contrib/itest/contribution/src/main/java/calculator/SubtractServiceImpl.java b/java/sca-contrib/itest/contribution/src/main/java/calculator/SubtractServiceImpl.java deleted file mode 100644 index 1a7f145ad8..0000000000 --- a/java/sca-contrib/itest/contribution/src/main/java/calculator/SubtractServiceImpl.java +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package calculator; - -/** - * An implementation of the subtract service. - */ -public class SubtractServiceImpl implements SubtractService { - - public double subtract(double n1, double n2) { - return n1 - n2; - } - -} diff --git a/java/sca-contrib/itest/contribution/src/main/resources/ContributionTest.composite b/java/sca-contrib/itest/contribution/src/main/resources/ContributionTest.composite deleted file mode 100644 index d814e439e2..0000000000 --- a/java/sca-contrib/itest/contribution/src/main/resources/ContributionTest.composite +++ /dev/null @@ -1,24 +0,0 @@ - - - - - diff --git a/java/sca-contrib/itest/contribution/src/main/resources/calculator/Calculator.composite b/java/sca-contrib/itest/contribution/src/main/resources/calculator/Calculator.composite deleted file mode 100644 index 657a2f95d8..0000000000 --- a/java/sca-contrib/itest/contribution/src/main/resources/calculator/Calculator.composite +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/contribution/src/main/resources/calculator/sca-contribution.xml b/java/sca-contrib/itest/contribution/src/main/resources/calculator/sca-contribution.xml deleted file mode 100644 index e95796d83a..0000000000 --- a/java/sca-contrib/itest/contribution/src/main/resources/calculator/sca-contribution.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - \ No newline at end of file diff --git a/java/sca-contrib/itest/contribution/src/test/java/org/apache/tuscany/sca/test/contribution/ContributionServiceTestCase.java b/java/sca-contrib/itest/contribution/src/test/java/org/apache/tuscany/sca/test/contribution/ContributionServiceTestCase.java deleted file mode 100644 index 97b2e5d6ed..0000000000 --- a/java/sca-contrib/itest/contribution/src/test/java/org/apache/tuscany/sca/test/contribution/ContributionServiceTestCase.java +++ /dev/null @@ -1,218 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.contribution; - -import java.io.File; -import java.io.IOException; -import java.io.InputStream; -import java.net.URL; -import java.security.AccessController; -import java.security.PrivilegedAction; -import java.security.PrivilegedActionException; -import java.security.PrivilegedExceptionAction; -import java.util.List; - -import javax.xml.namespace.QName; - -import junit.framework.TestCase; - -import org.apache.tuscany.sca.assembly.Composite; -import org.apache.tuscany.sca.assembly.DefaultAssemblyFactory; -import org.apache.tuscany.sca.contribution.Artifact; -import org.apache.tuscany.sca.contribution.Contribution; -import org.apache.tuscany.sca.contribution.service.ContributionService; -import org.apache.tuscany.sca.contribution.service.util.FileHelper; -import org.apache.tuscany.sca.contribution.service.util.IOHelper; -import org.apache.tuscany.sca.host.embedded.impl.EmbeddedSCADomain; - -/** - * This is more intended to be a integration test then a unit test. * - */ -public class ContributionServiceTestCase extends TestCase { - private static final String CONTRIBUTION_001_ID = "contribution001/"; - private static final String CONTRIBUTION_002_ID = "contribution002/"; - private static final String JAR_CONTRIBUTION = "/repository/sample-calculator.jar"; - private static final String FOLDER_CONTRIBUTION = "target/classes/"; - - private ClassLoader cl; - private EmbeddedSCADomain domain; - private ContributionService contributionService; - - /** - * setUp() is a method in JUnit Frame Work which is executed before all others methods in the class extending - * unit.framework.TestCase. So this method is used to create a test Embedded SCA Domain, to start the SCA Domain and - * to get a reference to the contribution service - */ - - @Override - protected void setUp() throws Exception { - //Create a test embedded SCA domain - cl = getClass().getClassLoader(); - domain = new EmbeddedSCADomain(cl, "http://localhost"); - - //Start the domain - domain.start(); - - //get a reference to the contribution service - contributionService = domain.getContributionService(); - } - - /** - * Method prefixed with 'test' is a test method where testing logic is written using various assert methods. This - * test verifies the string assigned to contrututionId with the value retrieved from the SCA runtime. - */ - public void testContributeJAR() throws Exception { - URL contributionLocation = getClass().getResource(JAR_CONTRIBUTION); - //URL contributionLocation = new URL("file:/D:/dev/Opensource/Apache/Tuscany/source/java/sca/samples/calculator/target/sample-calculator.jar"); - String contributionId = CONTRIBUTION_001_ID; - contributionService.contribute(contributionId, contributionLocation, false); - assertNotNull(contributionService.getContribution(contributionId)); - } - - /** - * Method prefixed with 'test' is a test method where testing logic is written using various assert methods. This - * test verifies the string assigned to contrututionId with the value retrieved from the SCA runtime using - * contributionService. - */ - public void testStoreContributionPackageInRepository() throws Exception { - URL contributionLocation = getClass().getResource(JAR_CONTRIBUTION); - String contributionId = CONTRIBUTION_001_ID; - contributionService.contribute(contributionId, contributionLocation, true); - - assertTrue(FileHelper.toFile(new URL(contributionService.getContribution(contributionId).getLocation())) - .exists()); - - assertNotNull(contributionId); - - Contribution contributionModel = contributionService.getContribution(contributionId); - - File contributionFile = FileHelper.toFile(new URL(contributionModel.getLocation())); - assertTrue(contributionFile.exists()); - } - - /** - * Method prefixed with 'test' is a test method where testing logic is written using various assert methods. This - * test verifies the string assigned to contrututionId with the value retrieved from the SCA runtime using - * contributionService. - */ - public void testStoreContributionStreamInRepository() throws Exception { - URL contributionLocation = getClass().getResource(JAR_CONTRIBUTION); - String contributionId = CONTRIBUTION_001_ID; - - InputStream contributionStream = contributionLocation.openStream(); - try { - contributionService.contribute(contributionId, contributionLocation, contributionStream); - } finally { - IOHelper.closeQuietly(contributionStream); - } - - assertTrue(FileHelper.toFile(new URL(contributionService.getContribution(contributionId).getLocation())) - .exists()); - - assertNotNull(contributionId); - - Contribution contributionModel = contributionService.getContribution(contributionId); - - File contributionFile = FileHelper.toFile(new URL(contributionModel.getLocation())); - assertTrue(contributionFile.exists()); - } - - /** - * Method prefixed with 'test' is a test method where testing logic is written using various assert methods. This - * test verifies the string assigned to contributionId1,contributionId2 with the value retrieved from the SCA - * runtime using contributionService. - */ - public void testStoreDuplicatedContributionInRepository() throws Exception { - URL contributionLocation = getClass().getResource(JAR_CONTRIBUTION); - String contributionId1 = CONTRIBUTION_001_ID; - contributionService.contribute(contributionId1, contributionLocation, true); - assertNotNull(contributionService.getContribution(contributionId1)); - String contributionId2 = CONTRIBUTION_002_ID; - contributionService.contribute(contributionId2, contributionLocation, true); - assertNotNull(contributionService.getContribution(contributionId2)); - } - - /** - * Method prefixed with 'test' is a test method where testing logic is written using various assert methods. This - * test verifies the string assigned to contributionId with the value retrieved from the SCA runtime using - * contributionService. - */ - public void testContributeFolder() throws Exception { - final File rootContributionFolder = new File(FOLDER_CONTRIBUTION); - String contributionId = CONTRIBUTION_001_ID; - //first rename the sca-contribution metadata file - //File calculatorMetadataFile = new File("target/classes/calculator/sca-contribution.xml"); - //File metadataDirectory = new File("target/classes/META-INF/"); - //if (!metadataDirectory.exists()) { - // FileHelper.forceMkdir(metadataDirectory); - //} - //FileHelper.copyFileToDirectory(calculatorMetadataFile, metadataDirectory); - - // Requires permission to read user.dir property. Requires PropertyPermision in security policy. - URL contributionFolderURL; - try { - contributionFolderURL = AccessController.doPrivileged(new PrivilegedExceptionAction() { - public URL run() throws IOException { - return rootContributionFolder.toURL(); - } - }); - } catch (PrivilegedActionException e) { - throw (IOException)e.getException(); - } - contributionService.contribute(contributionId, contributionFolderURL, false); - assertNotNull(contributionService.getContribution(contributionId)); - } - - /** - * Method prefixed with 'test' is a test method where testing logic is written using various assert methods. This - * test verifies the string assigned to contributionId, artifactId with the value retrieved from the SCA runtime - * using contributionService. - */ - public void testAddDeploymentComposites() throws Exception { - URL contributionLocation = getClass().getResource(JAR_CONTRIBUTION); - String contributionId = CONTRIBUTION_001_ID; - Contribution contribution = contributionService.contribute(contributionId, contributionLocation, false); - assertNotNull(contributionService.getContribution(contributionId)); - - String artifactId = "contributionComposite.composite"; - Composite composite = (new DefaultAssemblyFactory()).createComposite(); - composite.setName(new QName(null, "contributionComposite")); - composite.setURI("contributionComposite.composite"); - - contributionService.addDeploymentComposite(contribution, composite); - - List deployables = contributionService.getContribution(contributionId).getDeployables(); - Composite composite1 = (Composite)deployables.get(deployables.size() - 1); - assertEquals("contributionComposite", composite1.getName().toString()); - - Artifact artifact = null; - contribution = contributionService.getContribution(contributionId); - String id = artifactId.toString(); - for (Artifact a : contribution.getArtifacts()) { - if (id.equals(a.getURI())) { - artifact = a; - break; - } - } - Composite composite2 = (Composite)artifact.getModel(); - assertEquals("contributionComposite", composite2.getName().toString()); - } - -} diff --git a/java/sca-contrib/itest/contribution/src/test/resources/deployables/sample-calculator.jar b/java/sca-contrib/itest/contribution/src/test/resources/deployables/sample-calculator.jar deleted file mode 100644 index 0ca3a1b781..0000000000 Binary files a/java/sca-contrib/itest/contribution/src/test/resources/deployables/sample-calculator.jar and /dev/null differ diff --git a/java/sca-contrib/itest/contribution/src/test/resources/repository/sample-calculator.jar b/java/sca-contrib/itest/contribution/src/test/resources/repository/sample-calculator.jar deleted file mode 100644 index 0ca3a1b781..0000000000 Binary files a/java/sca-contrib/itest/contribution/src/test/resources/repository/sample-calculator.jar and /dev/null differ diff --git a/java/sca-contrib/itest/conversations-ws/pom.xml b/java/sca-contrib/itest/conversations-ws/pom.xml deleted file mode 100644 index 2789d3eee7..0000000000 --- a/java/sca-contrib/itest/conversations-ws/pom.xml +++ /dev/null @@ -1,60 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - tuscany-itest - 2.0-SNAPSHOT - ../pom.xml - - itest-conversations-ws - Apache Tuscany SCA Conversations Over binding.ws Integration Tests - - - - - - org.apache.tuscany.sca - tuscany-node-impl - 2.0-SNAPSHOT - - - - org.apache.tuscany.sca - tuscany-binding-ws-axis2 - 2.0-SNAPSHOT - - - - org.apache.tuscany.sca - tuscany-host-jetty - 2.0-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-implementation-java-runtime - 2.0-SNAPSHOT - runtime - - - diff --git a/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/BusinessException.java b/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/BusinessException.java deleted file mode 100644 index 9cd88620e3..0000000000 --- a/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/BusinessException.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.conversational; - -public class BusinessException extends Exception { - - private String message; - - public BusinessException() { - super(); - } - - public BusinessException(String message) { - super(message); - setMessage(message); - } - - public String getMessage() { - return message; - } - - public void setMessage(String message) { - this.message = message; - } -} diff --git a/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/ConversationIdService.java b/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/ConversationIdService.java deleted file mode 100644 index b6c694c8a9..0000000000 --- a/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/ConversationIdService.java +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.itest.conversational; - -import org.oasisopen.sca.annotation.Conversational; - -@Conversational -public interface ConversationIdService { - - String getCIDField(); - String getCIDSetter(); -} diff --git a/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/ConversationalCallback.java b/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/ConversationalCallback.java deleted file mode 100644 index b6645aec23..0000000000 --- a/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/ConversationalCallback.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.conversational; - -import org.oasisopen.sca.annotation.Conversational; -import org.oasisopen.sca.annotation.EndsConversation; -import org.oasisopen.sca.annotation.Remotable; - - -/** - * The callback interface used when testing conversational callbacks - * - * @version $Rev: 537240 $ $Date: 2007-05-11 18:35:03 +0100 (Fri, 11 May 2007) $ - */ -@Remotable -@Conversational -public interface ConversationalCallback { - - // public void init(); - - // public void destroy(); - - public void initializeCount(int count); - - public void incrementCount(); - - public int retrieveCount(); - - public void businessException() throws BusinessException; - - @EndsConversation - public String endConversation(); - -} diff --git a/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/ConversationalClient.java b/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/ConversationalClient.java deleted file mode 100644 index 772602568c..0000000000 --- a/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/ConversationalClient.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.conversational; - -import org.oasisopen.sca.annotation.Remotable; - -/** - * The client for the conversational itest. Is implemented by clients - * offering both stateless and stateful callbacks - * - * @version $Rev: 537240 $ $Date: 2007-05-11 18:35:03 +0100 (Fri, 11 May 2007) $ - */ - -@Remotable -public interface ConversationalClient { - - public int runConversationFromInjectedReference(); - public int runConversationFromInjectedReference2(); - public int runConversationFromServiceReference(); - public int runConversationWithUserDefinedConversationId(); - public String runConversationCheckUserDefinedConversationId(); - public int runConversationCheckingScope(); - public int runConversationWithCallback(); - public int runConversationHavingPassedReference(); - public String runConversationBusinessException(); - public String runConversationBusinessExceptionCallback(); - public int runConversationCallingEndedConversation(); - public int runConversationCallingEndedConversationCallback(); - public String runConversationCallingEndedConversationCheckConversationId(); - public String runConversationCallingEndedConversationCallbackCheckConversationId(); - public int runConversationAgeTimeout(); - public int runConversationIdleTimeout(); - public int runConversationPrincipleError(); -} diff --git a/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/ConversationalReferenceClient.java b/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/ConversationalReferenceClient.java deleted file mode 100644 index 481ed7b388..0000000000 --- a/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/ConversationalReferenceClient.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.conversational; - -import org.oasisopen.sca.CallableReference; -import org.oasisopen.sca.annotation.Remotable; - -/** - * The client that calls into an existing conversation by accepting - * a reference to that conversation - * - * @version $Rev: 537240 $ $Date: 2007-05-11 18:35:03 +0100 (Fri, 11 May 2007) $ - */ - -@Remotable -public interface ConversationalReferenceClient { - - public void incrementCount(CallableReference conversationalService); - -} diff --git a/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/ConversationalService.java b/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/ConversationalService.java deleted file mode 100644 index c9d46b9072..0000000000 --- a/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/ConversationalService.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.conversational; - -import org.oasisopen.sca.annotation.Callback; -import org.oasisopen.sca.annotation.Conversational; -import org.oasisopen.sca.annotation.EndsConversation; -import org.oasisopen.sca.annotation.Remotable; - - -/** - * The service interface used when testing conversations - * - * @version $Rev: 537240 $ $Date: 2007-05-11 18:35:03 +0100 (Fri, 11 May 2007) $ - */ -@Remotable -@Conversational -@Callback(ConversationalCallback.class) -public interface ConversationalService { - - public void initializeCount(int count); - - public void incrementCount(); - - public int retrieveCount(); - - //public void businessException() throws BusinessException; - - public void initializeCountCallback(int count); - - public void incrementCountCallback(); - - public int retrieveCountCallback(); - - //public void businessExceptionCallback() throws BusinessException; - - @EndsConversation - public String endConversation(); - - public String endConversationCallback(); - -} diff --git a/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/ConversationalServiceNonConversationalCallback.java b/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/ConversationalServiceNonConversationalCallback.java deleted file mode 100644 index b46cb831df..0000000000 --- a/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/ConversationalServiceNonConversationalCallback.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.conversational; - -import org.oasisopen.sca.annotation.Callback; -import org.oasisopen.sca.annotation.Conversational; -import org.oasisopen.sca.annotation.EndsConversation; -import org.oasisopen.sca.annotation.Remotable; - - -/** - * The service interface used when testing conversations - * - * @version $Rev: 537240 $ $Date: 2007-05-11 18:35:03 +0100 (Fri, 11 May 2007) $ - */ -@Remotable -@Conversational -@Callback(NonConversationalCallback.class) -public interface ConversationalServiceNonConversationalCallback { - - - public void initializeCount(int count); - - public void incrementCount(); - - public int retrieveCount(); - - public void businessException() throws BusinessException; - - public void initializeCountCallback(int count); - - public void incrementCountCallback(); - - public int retrieveCountCallback(); - - public void businessExceptionCallback() throws BusinessException; - - @EndsConversation - public String endConversation(); - - public String endConversationCallback(); - -} diff --git a/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/NonConversationalCallback.java b/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/NonConversationalCallback.java deleted file mode 100644 index 4c3809676c..0000000000 --- a/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/NonConversationalCallback.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.conversational; - -import org.oasisopen.sca.annotation.Remotable; - - -/** - * The callback interface used when testing conversational callbacks - * - * @version $Rev: 537240 $ $Date: 2007-05-11 18:35:03 +0100 (Fri, 11 May 2007) $ - */ -@Remotable -public interface NonConversationalCallback { - - public void initializeCount(int count); - - public void incrementCount(); - - public int retrieveCount(); - - public void businessException() throws BusinessException; - - public String endConversation(); - -} diff --git a/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/impl/ConversationAgeComponentImpl.java b/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/impl/ConversationAgeComponentImpl.java deleted file mode 100644 index 2d048a76b5..0000000000 --- a/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/impl/ConversationAgeComponentImpl.java +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.itest.conversational.impl; - -import org.apache.tuscany.sca.itest.conversational.BusinessException; -import org.apache.tuscany.sca.itest.conversational.ConversationalService; -import org.oasisopen.sca.annotation.ConversationAttributes; -import org.oasisopen.sca.annotation.Scope; -import org.oasisopen.sca.annotation.Service; - -@Service(ConversationalService.class) -@Scope("CONVERSATION") -@ConversationAttributes(maxAge="1 seconds") -public class ConversationAgeComponentImpl implements ConversationalService { - - private int count; - - public void businessException() throws BusinessException { - } - - public void businessExceptionCallback() throws BusinessException { - } - - public void destroy() { - } - - public String endConversation() { - return null; - } - - public String endConversationCallback() { - return null; - } - - public void incrementCount() { - } - - public void incrementCountCallback() { - } - - public void init() { - } - - public void initializeCount(int count) { - this.count = count; - } - - public void initializeCountCallback(int count) { - } - - public int retrieveCount() { - return count; - } - - public int retrieveCountCallback() { - return 0; - } - -} diff --git a/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/impl/ConversationIdComponentImpl.java b/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/impl/ConversationIdComponentImpl.java deleted file mode 100644 index 34b8fbe9d0..0000000000 --- a/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/impl/ConversationIdComponentImpl.java +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.itest.conversational.impl; - -import org.apache.tuscany.sca.itest.conversational.ConversationIdService; -import org.oasisopen.sca.annotation.ConversationID; -import org.oasisopen.sca.annotation.Scope; -import org.oasisopen.sca.annotation.Service; - -@Service(ConversationIdService.class) -@Scope("CONVERSATION") -public class ConversationIdComponentImpl implements ConversationIdService { - - @ConversationID - public String cid; - - private String setterCid; - - public String getCIDField() { - return cid; - } - public String getCIDSetter() { - return setterCid; - } - - - @ConversationID - public void setCID(String cid) { - this.setterCid = cid; - } -} diff --git a/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/impl/ConversationMaxIdleComponentImpl.java b/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/impl/ConversationMaxIdleComponentImpl.java deleted file mode 100644 index 0d3ca8d350..0000000000 --- a/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/impl/ConversationMaxIdleComponentImpl.java +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.itest.conversational.impl; - -import org.apache.tuscany.sca.itest.conversational.BusinessException; -import org.apache.tuscany.sca.itest.conversational.ConversationalService; -import org.oasisopen.sca.annotation.ConversationAttributes; -import org.oasisopen.sca.annotation.Scope; -import org.oasisopen.sca.annotation.Service; - -@Service(ConversationalService.class) -@Scope("CONVERSATION") -@ConversationAttributes(maxIdleTime="1 seconds") -public class ConversationMaxIdleComponentImpl implements ConversationalService { - - private int count; - - public void businessException() throws BusinessException { - } - - public void businessExceptionCallback() throws BusinessException { - } - - public void destroy() { - } - - public String endConversation() { - return null; - } - - public String endConversationCallback() { - return null; - } - - public void incrementCount() { - } - - public void incrementCountCallback() { - } - - public void init() { - } - - public void initializeCount(int count) { - this.count = count; - } - - public void initializeCountCallback(int count) { - } - - public int retrieveCount() { - return count; - } - - public int retrieveCountCallback() { - return 0; - } - -} diff --git a/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/impl/ConversationalClientStatefulImpl.java b/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/impl/ConversationalClientStatefulImpl.java deleted file mode 100644 index db3bcabe02..0000000000 --- a/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/impl/ConversationalClientStatefulImpl.java +++ /dev/null @@ -1,322 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.conversational.impl; - -import org.apache.tuscany.sca.itest.conversational.BusinessException; -import org.apache.tuscany.sca.itest.conversational.ConversationalCallback; -import org.apache.tuscany.sca.itest.conversational.ConversationalClient; -import org.apache.tuscany.sca.itest.conversational.ConversationalReferenceClient; -import org.apache.tuscany.sca.itest.conversational.ConversationalService; -import org.oasisopen.sca.ComponentContext; -import org.oasisopen.sca.ServiceReference; -import org.oasisopen.sca.annotation.Context; -import org.oasisopen.sca.annotation.ConversationAttributes; -import org.oasisopen.sca.annotation.Destroy; -import org.oasisopen.sca.annotation.Init; -import org.oasisopen.sca.annotation.Reference; -import org.oasisopen.sca.annotation.Scope; -import org.oasisopen.sca.annotation.Service; - -/** - * The client for the conversational itest which presents a stateful - * callback interface - * - * @version $Rev: 537240 $ $Date: 2007-05-11 18:35:03 +0100 (Fri, 11 May 2007) $ - */ - -@Service(interfaces={ConversationalClient.class}) -@Scope("CONVERSATION") -@ConversationAttributes(maxAge="10 minutes", - maxIdleTime="5 minutes", - singlePrincipal=false) -public class ConversationalClientStatefulImpl implements ConversationalClient, ConversationalCallback { - - @Context - protected ComponentContext componentContext; - - @Reference - protected ConversationalService conversationalService; - - @Reference - protected ConversationalService conversationalService2; - - @Reference - protected ConversationalReferenceClient conversationalReferenceClient; - - private int clientCount = 0; - private int callbackCount = 0; - - - // a static member variable that records the number of times this service is called - public static StringBuffer calls = new StringBuffer(); - - // From ConversationalClient - public int runConversationFromInjectedReference(){ - calls.append("runConversationFromInjectedReference,"); - conversationalService.initializeCount(1); - conversationalService.incrementCount(); - clientCount = conversationalService.retrieveCount(); - conversationalService.endConversation(); - - return clientCount; - } - public int runConversationFromInjectedReference2(){ - calls.append("runConversationFromInjectedReference2,"); - - conversationalService2.initializeCount(1); - conversationalService2.incrementCount(); - - // stick in a call to the first reference to - // make sure the two references don't clash - conversationalService.initializeCount(1); - - clientCount = conversationalService2.retrieveCount(); - conversationalService2.endConversation(); - - // end the conversation through the first reference - conversationalService.endConversation(); - - return clientCount; - } - public int runConversationFromServiceReference(){ - calls.append("runConversationFromServiceReference,"); - ServiceReference serviceReference = componentContext.getServiceReference(ConversationalService.class, - "conversationalService"); - ConversationalService callableReference = serviceReference.getService(); - - callableReference.initializeCount(1); - callableReference.incrementCount(); - clientCount = callableReference.retrieveCount(); - callableReference.endConversation(); - - // serviceReference.getConversation().end(); - - return clientCount; - } - public int runConversationWithUserDefinedConversationId(){ - calls.append("runConversationWithUserDefinedConversationId,"); - ServiceReference serviceReference = componentContext.getServiceReference(ConversationalService.class, - "conversationalService"); - serviceReference.setConversationID("MyConversation1"); - - ConversationalService callableReference = serviceReference.getService(); - - callableReference.initializeCount(1); - callableReference.incrementCount(); - clientCount = callableReference.retrieveCount(); - callableReference.endConversation(); - - // serviceReference.getConversation().end(); - - return clientCount; - } - public String runConversationCheckUserDefinedConversationId(){ - calls.append("runConversationCheckUserDefinedConversationId,"); - ServiceReference serviceReference = componentContext.getServiceReference(ConversationalService.class, - "conversationalService"); - serviceReference.setConversationID("MyConversation2"); - - ConversationalService callableReference = serviceReference.getService(); - - callableReference.initializeCount(1); - callableReference.incrementCount(); - clientCount = callableReference.retrieveCount(); - - String clientConversationId = serviceReference.getConversationID().toString(); - String serverConversationId = callableReference.endConversation(); - - if (clientConversationId.equals("MyConversation2") && - serverConversationId.equals("MyConversation2") ) { - return clientConversationId; - } else { - return "client = " + clientConversationId + - "server = " + serverConversationId; - } - - } - public int runConversationCheckingScope(){ - calls.append("runConversationCheckingScope,"); - // run a conversation - return runConversationFromInjectedReference(); - - // test will then use a static method to find out how many times - // init/destroy were called - } - public int runConversationWithCallback(){ - calls.append("runConversationWithCallback,"); - callbackCount = 2; - conversationalService.initializeCountCallback(1); - conversationalService.incrementCountCallback(); - clientCount = conversationalService.retrieveCountCallback(); - conversationalService.endConversationCallback(); - - return clientCount; - } - public int runConversationHavingPassedReference(){ - calls.append("runConversationHavingPassedReference,"); - ServiceReference serviceReference = componentContext.getServiceReference(ConversationalService.class, - "conversationalService"); - ConversationalService callableReference = serviceReference.getService(); - - callableReference.initializeCount(1); - callableReference.incrementCount(); - conversationalReferenceClient.incrementCount(serviceReference); - clientCount = callableReference.retrieveCount(); - callableReference.endConversation(); - - serviceReference.getConversation().end(); - - return clientCount; - } - public String runConversationBusinessException(){ - calls.append("runConversationbusinessException,"); - try { - conversationalService.initializeCount(1); -// conversationalService.businessException(); - clientCount = conversationalService.retrieveCount(); - conversationalService.endConversation(); - } catch(Exception ex) { - return ex.getMessage(); - } - - return "No Exception Returned"; - } - - public String runConversationBusinessExceptionCallback(){ - calls.append("runConversationbusinessExceptionCallback,"); - try { - conversationalService.initializeCountCallback(1); -// conversationalService.businessExceptionCallback(); - clientCount = conversationalService.retrieveCountCallback(); - conversationalService.endConversationCallback(); - } catch(Exception ex) { - return ex.getMessage(); - } - - return "No Exception Returned"; - } - - public int runConversationCallingEndedConversation(){ - calls.append("runConversationCallingEndedConversation,"); - conversationalService.initializeCount(1); - conversationalService.endConversation(); - return conversationalService.retrieveCount(); - } - - public int runConversationCallingEndedConversationCallback(){ - calls.append("runConversationCallingEndedConversationCallback,"); - conversationalService.initializeCountCallback(1); - conversationalService.endConversationCallback(); - return conversationalService.retrieveCountCallback(); - } - - public String runConversationCallingEndedConversationCheckConversationId(){ - calls.append("runConversationCallingEndedConversationCheckConversationId,"); - ServiceReference serviceReference = componentContext.getServiceReference(ConversationalService.class, - "conversationalService"); - serviceReference.setConversationID("MyConversation3"); - - ConversationalService callableReference = serviceReference.getService(); - - callableReference.initializeCount(1); - callableReference.incrementCount(); - clientCount = callableReference.retrieveCount(); - callableReference.endConversation(); - - if (serviceReference.getConversation() ==null ) { - return null; - } else { - return serviceReference.getConversation().getConversationID().toString(); - } - } - - public String runConversationCallingEndedConversationCallbackCheckConversationId(){ - calls.append("runConversationCallingEndedConversationCallbackCheckConversationId,"); - ServiceReference serviceReference = componentContext.getServiceReference(ConversationalService.class, - "conversationalService"); - serviceReference.setConversationID("MyConversation3"); - - ConversationalService callableReference = serviceReference.getService(); - - callableReference.initializeCount(1); - callableReference.incrementCount(); - clientCount = callableReference.retrieveCount(); - callableReference.endConversationCallback(); - - if (serviceReference.getConversation() ==null ) { - return null; - } else { - return serviceReference.getConversation().getConversationID().toString(); - } - } - - public int runConversationAgeTimeout(){ - calls.append("runConversationAgeTimeout,"); - // done in other testing - return clientCount; - } - public int runConversationIdleTimeout(){ - calls.append("runConversationIdleTimeout,"); - // done in other testing - return clientCount; - } - public int runConversationPrincipleError(){ - calls.append("runConversationPrincipleError,"); - // TODO - when policy framework is done - return clientCount; - } - - - // From ConversationalCallback - @Init - public void init(){ - calls.append("init,"); - } - - @Destroy - public void destroy(){ - calls.append("destroy,"); - } - - public void initializeCount(int count){ - calls.append("initializeCount,"); - callbackCount += count; - } - - public void incrementCount(){ - calls.append("incrementCount,"); - callbackCount++; - } - - public int retrieveCount(){ - calls.append("retrieveCount,"); - return callbackCount; - } - - public void businessException() throws BusinessException { - throw new BusinessException("Business Exception"); - } - - public String endConversation(){ - calls.append("endConversation,"); - callbackCount = 0; - return null; - } - -} diff --git a/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/impl/ConversationalClientStatefulNonConversationalCallbackImpl.java b/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/impl/ConversationalClientStatefulNonConversationalCallbackImpl.java deleted file mode 100644 index e25f367cf6..0000000000 --- a/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/impl/ConversationalClientStatefulNonConversationalCallbackImpl.java +++ /dev/null @@ -1,311 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.conversational.impl; - -import org.apache.tuscany.sca.itest.conversational.BusinessException; -import org.apache.tuscany.sca.itest.conversational.ConversationalClient; -import org.apache.tuscany.sca.itest.conversational.ConversationalReferenceClient; -import org.apache.tuscany.sca.itest.conversational.ConversationalService; -import org.apache.tuscany.sca.itest.conversational.NonConversationalCallback; -import org.oasisopen.sca.ComponentContext; -import org.oasisopen.sca.ServiceReference; -import org.oasisopen.sca.annotation.Context; -import org.oasisopen.sca.annotation.ConversationAttributes; -import org.oasisopen.sca.annotation.Destroy; -import org.oasisopen.sca.annotation.Init; -import org.oasisopen.sca.annotation.Reference; -import org.oasisopen.sca.annotation.Scope; -import org.oasisopen.sca.annotation.Service; - -/** - * The client for the conversational itest which presents a stateful - * callback interface - * - * @version $Rev: 537240 $ $Date: 2007-05-11 18:35:03 +0100 (Fri, 11 May 2007) $ - */ - -@Service(interfaces={ConversationalClient.class}) -@Scope("CONVERSATION") -@ConversationAttributes(maxAge="10 minutes", - maxIdleTime="5 minutes", - singlePrincipal=false) -public class ConversationalClientStatefulNonConversationalCallbackImpl implements ConversationalClient, NonConversationalCallback { - - @Context - protected ComponentContext componentContext; - - @Reference - protected ConversationalService conversationalService; - - @Reference - protected ConversationalService conversationalService2; - - @Reference - protected ConversationalReferenceClient conversationalReferenceClient; - - private int clientCount = 0; - private int callbackCount = 0; - - - // a static member variable that records the number of times this service is called - public static StringBuffer calls = new StringBuffer(); - - // From ConversationalClient - public int runConversationFromInjectedReference(){ - calls.append("runConversationFromInjectedReference,"); - conversationalService.initializeCount(1); - conversationalService.incrementCount(); - clientCount = conversationalService.retrieveCount(); - conversationalService.endConversation(); - - return clientCount; - } - public int runConversationFromInjectedReference2(){ - calls.append("runConversationFromInjectedReference2,"); - - conversationalService2.initializeCount(1); - conversationalService2.incrementCount(); - - // stick in a call to the first reference to - // make sure the two references don't clash - conversationalService.initializeCount(1); - - clientCount = conversationalService2.retrieveCount(); - conversationalService2.endConversation(); - - // end the conversation through the first reference - conversationalService.endConversation(); - - return clientCount; - } - public int runConversationFromServiceReference(){ - calls.append("runConversationFromServiceReference,"); - ServiceReference serviceReference = componentContext.getServiceReference(ConversationalService.class, - "conversationalService"); - ConversationalService callableReference = serviceReference.getService(); - - callableReference.initializeCount(1); - callableReference.incrementCount(); - clientCount = callableReference.retrieveCount(); - callableReference.endConversation(); - - // serviceReference.getConversation().end(); - - return clientCount; - } - public int runConversationWithUserDefinedConversationId(){ - calls.append("runConversationWithUserDefinedConversationId,"); - ServiceReference serviceReference = componentContext.getServiceReference(ConversationalService.class, - "conversationalService"); - serviceReference.setConversationID("MyConversation1"); - - ConversationalService callableReference = serviceReference.getService(); - - callableReference.initializeCount(1); - callableReference.incrementCount(); - clientCount = callableReference.retrieveCount(); - callableReference.endConversation(); - - // serviceReference.getConversation().end(); - - return clientCount; - } - public String runConversationCheckUserDefinedConversationId(){ - calls.append("runConversationCheckUserDefinedConversationId,"); - ServiceReference serviceReference = componentContext.getServiceReference(ConversationalService.class, - "conversationalService"); - serviceReference.setConversationID("MyConversation2"); - - ConversationalService callableReference = serviceReference.getService(); - - callableReference.initializeCount(1); - callableReference.incrementCount(); - clientCount = callableReference.retrieveCount(); - return callableReference.endConversation(); - - } - public int runConversationCheckingScope(){ - calls.append("runConversationCheckingScope,"); - // run a conversation - return runConversationFromInjectedReference(); - - // test will then use a static method to find out how many times - // init/destroy were called - } - public int runConversationWithCallback(){ - calls.append("runConversationWithCallback,"); - callbackCount = 2; - conversationalService.initializeCountCallback(1); - conversationalService.incrementCountCallback(); - clientCount = conversationalService.retrieveCountCallback(); - conversationalService.endConversationCallback(); - - return clientCount; - } - public int runConversationHavingPassedReference(){ - calls.append("runConversationHavingPassedReference,"); - ServiceReference serviceReference = componentContext.getServiceReference(ConversationalService.class, - "conversationalService"); - ConversationalService callableReference = serviceReference.getService(); - - callableReference.initializeCount(1); - callableReference.incrementCount(); - conversationalReferenceClient.incrementCount(serviceReference); - clientCount = callableReference.retrieveCount(); - callableReference.endConversation(); - - // serviceReference.getConversation().end(); - - return clientCount; - } - public String runConversationBusinessException(){ - calls.append("runConversationbusinessException,"); - try { - conversationalService.initializeCount(1); -// conversationalService.businessException(); - clientCount = conversationalService.retrieveCount(); - conversationalService.endConversation(); - } catch(Exception ex) { - return ex.getMessage(); - } - - return "No Exception Returned"; - } - - public String runConversationBusinessExceptionCallback(){ - calls.append("runConversationbusinessExceptionCallback,"); - try { - conversationalService.initializeCountCallback(1); -// conversationalService.businessExceptionCallback(); - clientCount = conversationalService.retrieveCountCallback(); - conversationalService.endConversationCallback(); - } catch(Exception ex) { - return ex.getMessage(); - } - - return "No Exception Returned"; - } - - public String runConversationCallingEndedConversationCheckConversationId(){ - calls.append("runConversationCallingEndedConversationCheckConversationId,"); - ServiceReference serviceReference = componentContext.getServiceReference(ConversationalService.class, - "conversationalService"); - serviceReference.setConversationID("MyConversation3"); - - ConversationalService callableReference = serviceReference.getService(); - - callableReference.initializeCount(1); - callableReference.incrementCount(); - clientCount = callableReference.retrieveCount(); - callableReference.endConversation(); - - if (serviceReference.getConversation() ==null ) { - return null; - } else { - return serviceReference.getConversation().getConversationID().toString(); - } - } - - public String runConversationCallingEndedConversationCallbackCheckConversationId(){ - calls.append("runConversationCallingEndedConversationCallbackCheckConversationId,"); - ServiceReference serviceReference = componentContext.getServiceReference(ConversationalService.class, - "conversationalService"); - serviceReference.setConversationID("MyConversation3"); - - ConversationalService callableReference = serviceReference.getService(); - - callableReference.initializeCount(1); - callableReference.incrementCount(); - clientCount = callableReference.retrieveCount(); - callableReference.endConversationCallback(); - - if (serviceReference.getConversation() ==null ) { - return null; - } else { - return serviceReference.getConversation().getConversationID().toString(); - } - } - - public int runConversationCallingEndedConversation(){ - calls.append("runConversationCallingEndedConversation,"); - conversationalService.initializeCount(1); - conversationalService.endConversation(); - return conversationalService.retrieveCount(); - } - - public int runConversationCallingEndedConversationCallback(){ - calls.append("runConversationCallingEndedConversationCallback,"); - conversationalService.initializeCountCallback(1); - conversationalService.endConversationCallback(); - return conversationalService.retrieveCountCallback(); - } - - public int runConversationAgeTimeout(){ - calls.append("runConversationAgeTimeout,"); - // done in other testing - return clientCount; - } - public int runConversationIdleTimeout(){ - calls.append("runConversationIdleTimeout,"); - // done in other testing - return clientCount; - } - public int runConversationPrincipleError(){ - calls.append("runConversationPrincipleError,"); - // TODO - when policy framework is done - return clientCount; - } - - - // From ConversationalCallback - @Init - public void init(){ - calls.append("init,"); - } - - @Destroy - public void destroy(){ - calls.append("destroy,"); - } - - public void initializeCount(int count){ - calls.append("initializeCount,"); - callbackCount += count; - } - - public void incrementCount(){ - calls.append("incrementCount,"); - callbackCount++; - } - - public int retrieveCount(){ - calls.append("retrieveCount,"); - return callbackCount; - } - - public void businessException() throws BusinessException { - throw new BusinessException("Business Exception"); - } - - public String endConversation(){ - calls.append("endConversation,"); - return null; - } - -} diff --git a/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/impl/ConversationalClientStatelessImpl.java b/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/impl/ConversationalClientStatelessImpl.java deleted file mode 100644 index 3ac259ed7c..0000000000 --- a/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/impl/ConversationalClientStatelessImpl.java +++ /dev/null @@ -1,318 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.conversational.impl; - -import org.apache.tuscany.sca.itest.conversational.BusinessException; -import org.apache.tuscany.sca.itest.conversational.ConversationalCallback; -import org.apache.tuscany.sca.itest.conversational.ConversationalClient; -import org.apache.tuscany.sca.itest.conversational.ConversationalReferenceClient; -import org.apache.tuscany.sca.itest.conversational.ConversationalService; -import org.oasisopen.sca.ComponentContext; -import org.oasisopen.sca.ServiceReference; -import org.oasisopen.sca.annotation.Context; -import org.oasisopen.sca.annotation.Destroy; -import org.oasisopen.sca.annotation.Init; -import org.oasisopen.sca.annotation.Reference; -import org.oasisopen.sca.annotation.Service; - -/** - * The client for the conversational itest which presents a stateful - * callback interface - * - * @version $Rev: 537240 $ $Date: 2007-05-11 18:35:03 +0100 (Fri, 11 May 2007) $ - */ - -@Service(interfaces={ConversationalClient.class}) -public class ConversationalClientStatelessImpl implements ConversationalClient, ConversationalCallback { - - @Context - protected ComponentContext componentContext; - - @Reference - protected ConversationalService conversationalService; - - @Reference - protected ConversationalService conversationalService2; - - @Reference - protected ConversationalReferenceClient conversationalReferenceClient; - - private int clientCount = 0; - private int callbackCount = 0; - - // a static member variable that records the number of times this service is called - public static StringBuffer calls = new StringBuffer(); - - // From ConversationalClient - public int runConversationFromInjectedReference(){ - calls.append("runConversationFromInjectedReference,"); - conversationalService.initializeCount(1); - conversationalService.incrementCount(); - clientCount = conversationalService.retrieveCount(); - conversationalService.endConversation(); - - return clientCount; - } - public int runConversationFromInjectedReference2(){ - calls.append("runConversationFromInjectedReference2,"); - - // now test the second reference - conversationalService2.initializeCount(1); - conversationalService2.incrementCount(); - - // stick in a call to the first reference to - // make sure the two references don't clash - conversationalService.initializeCount(1); - - clientCount = conversationalService2.retrieveCount(); - conversationalService2.endConversation(); - - // end the conversation through the first reference - conversationalService.endConversation(); - - return clientCount; - } - public int runConversationFromServiceReference(){ - calls.append("runConversationFromServiceReference,"); - ServiceReference serviceReference = componentContext.getServiceReference(ConversationalService.class, - "conversationalService"); - ConversationalService callableReference = serviceReference.getService(); - - callableReference.initializeCount(1); - callableReference.incrementCount(); - clientCount = callableReference.retrieveCount(); - callableReference.endConversation(); - - // serviceReference.getConversation().end(); - - return clientCount; - } - public int runConversationWithUserDefinedConversationId(){ - calls.append("runConversationWithUserDefinedConversationId,"); - ServiceReference serviceReference = componentContext.getServiceReference(ConversationalService.class, - "conversationalService"); - serviceReference.setConversationID("MyConversation1"); - - ConversationalService callableReference = serviceReference.getService(); - - callableReference.initializeCount(1); - callableReference.incrementCount(); - clientCount = callableReference.retrieveCount(); - callableReference.endConversation(); - - // serviceReference.getConversation().end(); - - return clientCount; - } - public String runConversationCheckUserDefinedConversationId(){ - calls.append("runConversationCheckUserDefinedConversationId,"); - ServiceReference serviceReference = componentContext.getServiceReference(ConversationalService.class, - "conversationalService"); - serviceReference.setConversationID("MyConversation2"); - - ConversationalService callableReference = serviceReference.getService(); - - callableReference.initializeCount(1); - callableReference.incrementCount(); - clientCount = callableReference.retrieveCount(); - - String clientConversationId = serviceReference.getConversationID().toString(); - String serverConfersationId = callableReference.endConversation(); - - if (clientConversationId.equals("MyConversation2") && - serverConfersationId.equals("MyConversation2") ) { - return clientConversationId; - } else { - return "client = " + clientConversationId + - "server = " + serverConfersationId; - } - } - public int runConversationCheckingScope(){ - calls.append("runConversationCheckingScope,"); - // run a conversation - return runConversationFromInjectedReference(); - - // test will then use a static method to find out how many times - // init/destroy were called - } - public int runConversationWithCallback(){ - calls.append("runConversationWithCallback,"); - conversationalService.initializeCountCallback(1); - conversationalService.incrementCountCallback(); - clientCount = conversationalService.retrieveCountCallback(); - conversationalService.endConversationCallback(); - - return clientCount; - } - - public int runConversationHavingPassedReference(){ - calls.append("runConversationHavingPassedReference,"); - ServiceReference serviceReference = componentContext.getServiceReference(ConversationalService.class, - "conversationalService"); - ConversationalService callableReference = serviceReference.getService(); - - callableReference.initializeCount(1); - callableReference.incrementCount(); - conversationalReferenceClient.incrementCount(serviceReference); - clientCount = callableReference.retrieveCount(); - callableReference.endConversation(); - - serviceReference.getConversation().end(); - - return clientCount; - } - - public String runConversationBusinessException(){ - calls.append("runConversationbusinessException,"); - try { - conversationalService.initializeCount(1); -// conversationalService.businessException(); - clientCount = conversationalService.retrieveCount(); - conversationalService.endConversation(); - } catch(Exception ex) { - return ex.getMessage(); - } - - return "No Exception Returned"; - } - - public String runConversationBusinessExceptionCallback(){ - calls.append("runConversationbusinessExceptionCallback,"); - try { - conversationalService.initializeCountCallback(1); -// conversationalService.businessExceptionCallback(); - clientCount = conversationalService.retrieveCountCallback(); - conversationalService.endConversationCallback(); - } catch(Exception ex) { - return ex.getMessage(); - } - - return "No Exception Returned"; - } - - public int runConversationCallingEndedConversation(){ - calls.append("runConversationCallingEndedConversation,"); - conversationalService.initializeCount(1); - conversationalService.endConversation(); - return conversationalService.retrieveCount(); - } - - public int runConversationCallingEndedConversationCallback(){ - calls.append("runConversationCallingEndedConversationCallback,"); - conversationalService.initializeCountCallback(1); - conversationalService.endConversationCallback(); - return conversationalService.retrieveCountCallback(); - } - - public String runConversationCallingEndedConversationCheckConversationId(){ - calls.append("runConversationCallingEndedConversationCheckConversationId,"); - ServiceReference serviceReference = componentContext.getServiceReference(ConversationalService.class, - "conversationalService"); - serviceReference.setConversationID("MyConversation3"); - - ConversationalService callableReference = serviceReference.getService(); - - callableReference.initializeCount(1); - callableReference.incrementCount(); - clientCount = callableReference.retrieveCount(); - callableReference.endConversation(); - - if (serviceReference.getConversation() ==null ) { - return null; - } else { - return serviceReference.getConversation().getConversationID().toString(); - } - } - - public String runConversationCallingEndedConversationCallbackCheckConversationId(){ - calls.append("runConversationCallingEndedConversationCallbackCheckConversationId,"); - ServiceReference serviceReference = componentContext.getServiceReference(ConversationalService.class, - "conversationalService"); - serviceReference.setConversationID("MyConversation3"); - - ConversationalService callableReference = serviceReference.getService(); - - callableReference.initializeCount(1); - callableReference.incrementCount(); - clientCount = callableReference.retrieveCount(); - callableReference.endConversationCallback(); - - if (serviceReference.getConversation() ==null ) { - return null; - } else { - return serviceReference.getConversation().getConversationID().toString(); - } - } - - public int runConversationAgeTimeout(){ - calls.append("runConversationAgeTimeout,"); - // done in other testing - return clientCount; - } - public int runConversationIdleTimeout(){ - calls.append("runConversationIdleTimeout,"); - // done in other testing - return clientCount; - } - public int runConversationPrincipleError(){ - calls.append("runConversationPrincipleError,"); - // TODO - when policy framework is done - return clientCount; - } - - - // From ConversationalCallback - @Init - public void init(){ - calls.append("init,"); - - } - - @Destroy - public void destroy(){ - calls.append("destroy,"); - - } - - public void initializeCount(int count){ - calls.append("initializeCount,"); - callbackCount = 0; - } - - public void incrementCount(){ - calls.append("incrementCount,"); - callbackCount++; - } - - public int retrieveCount(){ - calls.append("retrieveCount,"); - return callbackCount; - } - - public void businessException() throws BusinessException { - throw new BusinessException("Business Exception"); - } - - public String endConversation(){ - calls.append("endConversation,"); - callbackCount = 0; - return null; - } - -} diff --git a/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/impl/ConversationalReferenceClientImpl.java b/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/impl/ConversationalReferenceClientImpl.java deleted file mode 100644 index 1abe9e51c3..0000000000 --- a/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/impl/ConversationalReferenceClientImpl.java +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.conversational.impl; - -import org.apache.tuscany.sca.itest.conversational.ConversationalReferenceClient; -import org.apache.tuscany.sca.itest.conversational.ConversationalService; -import org.oasisopen.sca.CallableReference; -import org.oasisopen.sca.annotation.Service; - -/** - * A client component that accepts a reference to an ongoing conversation - * and takes part in that conversation - * - * @version $Rev: 537240 $ $Date: 2007-05-11 18:35:03 +0100 (Fri, 11 May 2007) $ - */ - -@Service(interfaces={ConversationalReferenceClient.class}) -public class ConversationalReferenceClientImpl implements ConversationalReferenceClient{ - - public void incrementCount(CallableReference conversationalService){ - ConversationalService callableReference = conversationalService.getService(); - - callableReference.incrementCount(); - } - - -} diff --git a/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/impl/ConversationalServiceRequestImpl.java b/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/impl/ConversationalServiceRequestImpl.java deleted file mode 100644 index fc485b6c4b..0000000000 --- a/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/impl/ConversationalServiceRequestImpl.java +++ /dev/null @@ -1,124 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.conversational.impl; - -import java.util.HashMap; - -import org.apache.tuscany.sca.itest.conversational.BusinessException; -import org.apache.tuscany.sca.itest.conversational.ConversationalCallback; -import org.apache.tuscany.sca.itest.conversational.ConversationalService; -import org.oasisopen.sca.annotation.Callback; -import org.oasisopen.sca.annotation.ConversationID; -import org.oasisopen.sca.annotation.Destroy; -import org.oasisopen.sca.annotation.Init; -import org.oasisopen.sca.annotation.Scope; -import org.oasisopen.sca.annotation.Service; - - -/** - * The service used when testing stateful conversations - * - * @version $Rev: 537240 $ $Date: 2007-05-11 18:35:03 +0100 (Fri, 11 May 2007) $ - */ -@Service(ConversationalService.class) -@Scope("REQUEST") -public class ConversationalServiceRequestImpl implements ConversationalService { - - @ConversationID - protected String conversationId; - - @Callback - protected ConversationalCallback conversationalCallback; - - // static area in which to hold conversational data - private static HashMap conversationalState = new HashMap(); - - // a static member variable that records the number of times this service is called - public static StringBuffer calls = new StringBuffer(); - - @Init - public void init(){ - calls.append("init,"); - } - - @Destroy - public void destroy(){ - calls.append("destroy,"); - } - - public void initializeCount(int count){ - calls.append("initializeCount,"); - Integer conversationalCount = new Integer(count); - conversationalState.put(conversationId, conversationalCount); - } - - public void incrementCount(){ - calls.append("incrementCount,"); - Integer conversationalCount = conversationalState.get(conversationId); - conversationalCount++; - conversationalState.put(conversationId, conversationalCount); - } - - public int retrieveCount(){ - calls.append("retrieveCount,"); - Integer count = conversationalState.get(conversationId); - if (count != null){ - return count.intValue(); - } else { - return -999; - } - } - - public void businessException() throws BusinessException { - throw new BusinessException("Business Exception"); - } - - public void initializeCountCallback(int count){ - calls.append("initializeCountCallback,"); - initializeCount(count); - conversationalCallback.initializeCount(count); - } - - public void incrementCountCallback(){ - calls.append("incrementCountCallback,"); - incrementCount(); - conversationalCallback.incrementCount(); - } - - public int retrieveCountCallback(){ - calls.append("retrieveCountCallback,"); - return conversationalCallback.retrieveCount(); - } - - public void businessExceptionCallback() throws BusinessException { - calls.append("businessExceptionCallback,"); - conversationalCallback.businessException(); - } - - public String endConversation(){ - calls.append("endConversation,"); - conversationalState.remove(conversationId); - return conversationId; - } - - public String endConversationCallback(){ - calls.append("endConversationCallback,"); - return conversationalCallback.endConversation(); - } -} diff --git a/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/impl/ConversationalServiceStatefulImpl.java b/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/impl/ConversationalServiceStatefulImpl.java deleted file mode 100644 index a783e79cae..0000000000 --- a/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/impl/ConversationalServiceStatefulImpl.java +++ /dev/null @@ -1,119 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.conversational.impl; - -import org.apache.tuscany.sca.itest.conversational.BusinessException; -import org.apache.tuscany.sca.itest.conversational.ConversationalCallback; -import org.apache.tuscany.sca.itest.conversational.ConversationalService; -import org.oasisopen.sca.annotation.Callback; -import org.oasisopen.sca.annotation.ConversationAttributes; -import org.oasisopen.sca.annotation.ConversationID; -import org.oasisopen.sca.annotation.Destroy; -import org.oasisopen.sca.annotation.Init; -import org.oasisopen.sca.annotation.Scope; -import org.oasisopen.sca.annotation.Service; - - -/** - * The service used when testing stateful conversations - * - * @version $Rev: 537240 $ $Date: 2007-05-11 18:35:03 +0100 (Fri, 11 May 2007) $ - */ -@Service(ConversationalService.class) -@Scope("CONVERSATION") -@ConversationAttributes(maxAge="10 minutes", - maxIdleTime="5 minutes", - singlePrincipal=false) -public class ConversationalServiceStatefulImpl implements ConversationalService { - - @ConversationID - protected String conversationId; - - @Callback - protected ConversationalCallback conversationalCallback; - - // local count - accumulates during the conversation - private int count = 0; - - // a static member variable that records the number of times this service is called - public static StringBuffer calls = new StringBuffer(); - - @Init - public void init(){ - calls.append("init,"); - } - - @Destroy - public void destroy(){ - calls.append("destroy,"); - } - - public void initializeCount(int count){ - calls.append("initializeCount,"); - this.count = count; - } - - public void incrementCount(){ - calls.append("incrementCount,"); - count++; - } - - public int retrieveCount(){ - calls.append("retrieveCount,"); - return count; - } - - public void businessException() throws BusinessException { - calls.append("businessException,"); - throw new BusinessException("Business Exception"); - } - - public void initializeCountCallback(int count){ - calls.append("initializeCountCallback,"); - this.count = count; - conversationalCallback.initializeCount(count); - } - - public void incrementCountCallback(){ - calls.append("incrementCountCallback,"); - count++; - conversationalCallback.incrementCount(); - } - - public int retrieveCountCallback(){ - calls.append("retrieveCountCallback,"); - return conversationalCallback.retrieveCount(); - } - - public void businessExceptionCallback() throws BusinessException { - calls.append("businessExceptionCallback,"); - conversationalCallback.businessException(); - } - - public String endConversation(){ - calls.append("endConversation,"); - count = 0; - return conversationId; - } - - public String endConversationCallback(){ - calls.append("endConversationCallback,"); - return conversationalCallback.endConversation(); - } -} diff --git a/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/impl/ConversationalServiceStatefulNonConversationalCallbackImpl.java b/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/impl/ConversationalServiceStatefulNonConversationalCallbackImpl.java deleted file mode 100644 index 5f34de66b3..0000000000 --- a/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/impl/ConversationalServiceStatefulNonConversationalCallbackImpl.java +++ /dev/null @@ -1,118 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.conversational.impl; - -import org.apache.tuscany.sca.itest.conversational.BusinessException; -import org.apache.tuscany.sca.itest.conversational.ConversationalServiceNonConversationalCallback; -import org.apache.tuscany.sca.itest.conversational.NonConversationalCallback; -import org.oasisopen.sca.annotation.Callback; -import org.oasisopen.sca.annotation.ConversationAttributes; -import org.oasisopen.sca.annotation.ConversationID; -import org.oasisopen.sca.annotation.Destroy; -import org.oasisopen.sca.annotation.Init; -import org.oasisopen.sca.annotation.Scope; -import org.oasisopen.sca.annotation.Service; - - -/** - * The service used when testing stateful conversations - * - * @version $Rev: 537240 $ $Date: 2007-05-11 18:35:03 +0100 (Fri, 11 May 2007) $ - */ -@Service(ConversationalServiceNonConversationalCallback.class) -@Scope("CONVERSATION") -@ConversationAttributes(maxAge="10 minutes", - maxIdleTime="5 minutes", - singlePrincipal=false) -public class ConversationalServiceStatefulNonConversationalCallbackImpl implements ConversationalServiceNonConversationalCallback { - - @ConversationID - protected String conversationId; - - @Callback - protected NonConversationalCallback nonConversationalCallback; - - // local count - accumulates during the conversation - private int count = 0; - - // a static member variable that records the number of times this service is called - public static StringBuffer calls = new StringBuffer(); - - @Init - public void init(){ - calls.append("init,"); - } - - @Destroy - public void destroy(){ - calls.append("destroy,"); - } - - public void initializeCount(int count){ - calls.append("initializeCount,"); - this.count = count; - } - - public void incrementCount(){ - calls.append("incrementCount,"); - count++; - } - - public int retrieveCount(){ - calls.append("retrieveCount,"); - return count; - } - - public void businessException() throws BusinessException { - throw new BusinessException("Business Exception"); - } - - public void initializeCountCallback(int count){ - calls.append("initializeCountCallback,"); - this.count = count; - nonConversationalCallback.initializeCount(count); - } - - public void incrementCountCallback(){ - calls.append("incrementCountCallback,"); - count++; - nonConversationalCallback.incrementCount(); - } - - public int retrieveCountCallback(){ - calls.append("retrieveCountCallback,"); - return nonConversationalCallback.retrieveCount(); - } - - public void businessExceptionCallback() throws BusinessException { - calls.append("businessExceptionCallback,"); - nonConversationalCallback.businessException(); - } - - public String endConversation(){ - calls.append("endConversation,"); - count = 0; - return conversationId; - } - - public String endConversationCallback(){ - calls.append("endConversationCallback,"); - return nonConversationalCallback.endConversation(); - } -} diff --git a/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/impl/ConversationalServiceStatelessImpl.java b/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/impl/ConversationalServiceStatelessImpl.java deleted file mode 100644 index 02a2fb1d4d..0000000000 --- a/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/impl/ConversationalServiceStatelessImpl.java +++ /dev/null @@ -1,122 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.conversational.impl; - -import java.util.HashMap; - -import org.apache.tuscany.sca.itest.conversational.BusinessException; -import org.apache.tuscany.sca.itest.conversational.ConversationalCallback; -import org.apache.tuscany.sca.itest.conversational.ConversationalService; -import org.oasisopen.sca.annotation.Callback; -import org.oasisopen.sca.annotation.ConversationID; -import org.oasisopen.sca.annotation.Destroy; -import org.oasisopen.sca.annotation.Init; -import org.oasisopen.sca.annotation.Service; - - -/** - * The service used when testing stateful conversations - * - * @version $Rev: 537240 $ $Date: 2007-05-11 18:35:03 +0100 (Fri, 11 May 2007) $ - */ -@Service(ConversationalService.class) -public class ConversationalServiceStatelessImpl implements ConversationalService { - - @ConversationID - protected String conversationId; - - @Callback - protected ConversationalCallback conversationalCallback; - - // static area in which to hold conversational data - private static HashMap conversationalState = new HashMap(); - - // a static member variable that records the number of times this service is called - public static StringBuffer calls = new StringBuffer(); - - @Init - public void init(){ - calls.append("init,"); - } - - @Destroy - public void destroy(){ - calls.append("destroy,"); - } - - public void initializeCount(int count){ - calls.append("initializeCount,"); - Integer conversationalCount = new Integer(count); - conversationalState.put(conversationId, conversationalCount); - } - - public void incrementCount(){ - calls.append("incrementCount,"); - Integer conversationalCount = conversationalState.get(conversationId); - conversationalCount++; - conversationalState.put(conversationId, conversationalCount); - } - - public int retrieveCount(){ - calls.append("retrieveCount,"); - Integer count = conversationalState.get(conversationId); - if (count != null){ - return count.intValue(); - } else { - return -999; - } - } - - public void businessException() throws BusinessException { - throw new BusinessException("Business Exception"); - } - - public void initializeCountCallback(int count){ - calls.append("initializeCountCallback,"); - initializeCount(count); - conversationalCallback.initializeCount(count); - } - - public void incrementCountCallback(){ - calls.append("incrementCountCallback,"); - incrementCount(); - conversationalCallback.incrementCount(); - } - - public int retrieveCountCallback(){ - calls.append("retrieveCountCallback,"); - return conversationalCallback.retrieveCount(); - } - - public void businessExceptionCallback() throws BusinessException { - calls.append("businessExceptionCallback,"); - conversationalCallback.businessException(); - } - - public String endConversation(){ - calls.append("endConversation,"); - conversationalState.remove(conversationId); - return conversationId; - } - - public String endConversationCallback(){ - calls.append("endConversationCallback,"); - return conversationalCallback.endConversation(); - } -} diff --git a/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/impl/ConversationalServiceStatelessScopeImpl.java b/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/impl/ConversationalServiceStatelessScopeImpl.java deleted file mode 100644 index 4550e3eaa1..0000000000 --- a/java/sca-contrib/itest/conversations-ws/src/main/java/org/apache/tuscany/sca/itest/conversational/impl/ConversationalServiceStatelessScopeImpl.java +++ /dev/null @@ -1,94 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.itest.conversational.impl; - -import java.util.HashMap; -import java.util.Map; - -import org.apache.tuscany.sca.itest.conversational.BusinessException; -import org.apache.tuscany.sca.itest.conversational.ConversationalService; -import org.oasisopen.sca.annotation.ConversationID; -import org.oasisopen.sca.annotation.Service; - -@Service(ConversationalService.class) -public class ConversationalServiceStatelessScopeImpl implements ConversationalService { - - @ConversationID - protected String cid; - - static Map state = new HashMap(); - - public void destroy() { - // TODO Auto-generated method stub - - } - - public String endConversation() { - state.remove(cid); - return cid; - } - - public String endConversationCallback() { - // TODO Auto-generated method stub - return null; - - } - - public void incrementCount() { - state.put(cid, Integer.valueOf(state.get(cid)+1)); - } - - public void businessException() throws BusinessException { - throw new BusinessException("Business Exception"); - } - - public void incrementCountCallback() { - // TODO Auto-generated method stub - - } - - public void init() { - // TODO Auto-generated method stub - - } - - public void initializeCount(int count) { - state.put(cid, Integer.valueOf(count)); - } - - public void initializeCountCallback(int count) { - // TODO Auto-generated method stub - - } - - public void businessExceptionCallback() throws BusinessException { - throw new BusinessException("Business Exception"); - } - - public int retrieveCount() { - return state.get(cid); - } - - public int retrieveCountCallback() { - // TODO Auto-generated method stub - return 0; - } - -} diff --git a/java/sca-contrib/itest/conversations-ws/src/main/resources/Conversational/META-INF/sca-contribution.xml b/java/sca-contrib/itest/conversations-ws/src/main/resources/Conversational/META-INF/sca-contribution.xml deleted file mode 100644 index d5a1ff7410..0000000000 --- a/java/sca-contrib/itest/conversations-ws/src/main/resources/Conversational/META-INF/sca-contribution.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - - \ No newline at end of file diff --git a/java/sca-contrib/itest/conversations-ws/src/main/resources/Conversational/conversational.composite b/java/sca-contrib/itest/conversations-ws/src/main/resources/Conversational/conversational.composite deleted file mode 100644 index c4da99145d..0000000000 --- a/java/sca-contrib/itest/conversations-ws/src/main/resources/Conversational/conversational.composite +++ /dev/null @@ -1,169 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/conversations-ws/src/main/resources/ConversationalWSDL/ConversationalServiceStateful.wsdl b/java/sca-contrib/itest/conversations-ws/src/main/resources/ConversationalWSDL/ConversationalServiceStateful.wsdl deleted file mode 100644 index 20a92c9dc7..0000000000 --- a/java/sca-contrib/itest/conversations-ws/src/main/resources/ConversationalWSDL/ConversationalServiceStateful.wsdl +++ /dev/null @@ -1,383 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/conversations-ws/src/main/resources/ConversationalWSDL/META-INF/sca-contribution.xml b/java/sca-contrib/itest/conversations-ws/src/main/resources/ConversationalWSDL/META-INF/sca-contribution.xml deleted file mode 100644 index 73d078674c..0000000000 --- a/java/sca-contrib/itest/conversations-ws/src/main/resources/ConversationalWSDL/META-INF/sca-contribution.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - - \ No newline at end of file diff --git a/java/sca-contrib/itest/conversations-ws/src/main/resources/ConversationalWSDL/conversationalWSDL.composite b/java/sca-contrib/itest/conversations-ws/src/main/resources/ConversationalWSDL/conversationalWSDL.composite deleted file mode 100644 index 9c6b0a2b34..0000000000 --- a/java/sca-contrib/itest/conversations-ws/src/main/resources/ConversationalWSDL/conversationalWSDL.composite +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/conversations-ws/src/test/java/org/apache/tuscany/sca/itest/conversational/ConversationWSDLTestCase.java b/java/sca-contrib/itest/conversations-ws/src/test/java/org/apache/tuscany/sca/itest/conversational/ConversationWSDLTestCase.java deleted file mode 100644 index 6c3cbe462c..0000000000 --- a/java/sca-contrib/itest/conversations-ws/src/test/java/org/apache/tuscany/sca/itest/conversational/ConversationWSDLTestCase.java +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.itest.conversational; - - -import java.io.File; - - -import org.apache.tuscany.sca.itest.conversational.impl.ConversationalClientStatelessImpl; -import org.apache.tuscany.sca.node.Client; -import org.apache.tuscany.sca.node.Contribution; -import org.apache.tuscany.sca.node.Node; -import org.apache.tuscany.sca.node.NodeFactory; -import org.junit.After; -import org.junit.Assert; -import org.junit.Before; -import org.junit.Test; - -public class ConversationWSDLTestCase { - - private Node node; - private ConversationalClient conversationalStatelessClientStatefulService; - - @Before - public void setUp() throws Exception { - NodeFactory nodeFactory = NodeFactory.newInstance(); - node = nodeFactory.createNode(new File("src/main/resources/ConversationalWSDL/conversationalWSDL.composite").toURL().toString(), - new Contribution("TestContribution", - new File("src/main/resources/ConversationalWSDL").toURL().toString())); - - - node.start(); - - conversationalStatelessClientStatefulService = ((Client)node).getService(ConversationalClient.class, "ConversationalStatelessClientStatefulService"); - - - ConversationalClientStatelessImpl.calls = new StringBuffer(); - } - - @After - public void tearDown() throws Exception { - node.stop(); - conversationalStatelessClientStatefulService = null; - } - - @Test - public void testStatelessStatefulConversationFromInjectedReference() { - int count = conversationalStatelessClientStatefulService.runConversationFromInjectedReference(); - Assert.assertEquals(2, count); - } - - //@Test - public void testKeepServerRunning() throws Exception { - System.out.println("press enter to continue"); - System.in.read(); - } - -} diff --git a/java/sca-contrib/itest/conversations-ws/src/test/java/org/apache/tuscany/sca/itest/conversational/NonConversationalCallbackTestCase.java b/java/sca-contrib/itest/conversations-ws/src/test/java/org/apache/tuscany/sca/itest/conversational/NonConversationalCallbackTestCase.java deleted file mode 100644 index 051b6b9fc1..0000000000 --- a/java/sca-contrib/itest/conversations-ws/src/test/java/org/apache/tuscany/sca/itest/conversational/NonConversationalCallbackTestCase.java +++ /dev/null @@ -1,198 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.itest.conversational; - -import java.io.File; - -import junit.framework.Assert; - -import org.apache.tuscany.sca.itest.conversational.impl.ConversationalClientStatefulImpl; -import org.apache.tuscany.sca.itest.conversational.impl.ConversationalClientStatefulNonConversationalCallbackImpl; -import org.apache.tuscany.sca.itest.conversational.impl.ConversationalClientStatelessImpl; -import org.apache.tuscany.sca.itest.conversational.impl.ConversationalServiceStatefulImpl; -import org.apache.tuscany.sca.itest.conversational.impl.ConversationalServiceStatefulNonConversationalCallbackImpl; -import org.apache.tuscany.sca.itest.conversational.impl.ConversationalServiceStatelessImpl; -import org.apache.tuscany.sca.node.Client; -import org.apache.tuscany.sca.node.Contribution; -import org.apache.tuscany.sca.node.Node; -import org.apache.tuscany.sca.node.NodeFactory; -import org.junit.AfterClass; -import org.junit.BeforeClass; -import org.junit.Test; - -public class NonConversationalCallbackTestCase { - - private static Node node; - private static ConversationalClient conversationalStatelessClientStatelessService; - private static ConversationalClient conversationalStatelessClientStatefulService; - private static ConversationalClient conversationalStatefulClientStatelessService; - private static ConversationalClient conversationalStatefulClientStatefulService; - private static ConversationalClient conversationalStatelessClientRequestService; - private static ConversationalClient conversationalStatefulClientNonConversationalCallbackStatelessService; - - @BeforeClass - public static void setUp() throws Exception { - try { - NodeFactory nodeFactory = NodeFactory.newInstance(); - node = nodeFactory.createNode(new File("src/main/resources/Conversational/conversational.composite").toURL().toString(), - new Contribution("TestContribution", - new File("src/main/resources/Conversational").toURL().toString())); - - - node.start(); - - conversationalStatelessClientStatelessService = ((Client)node).getService(ConversationalClient.class, - "ConversationalStatelessClientStatelessService"); - - conversationalStatelessClientStatefulService = ((Client)node).getService(ConversationalClient.class, - "ConversationalStatelessClientStatefulService"); - - conversationalStatefulClientStatelessService = ((Client)node).getService(ConversationalClient.class, - "ConversationalStatefulClientStatelessService"); - - conversationalStatefulClientStatefulService = ((Client)node).getService(ConversationalClient.class, - "ConversationalStatefulClientStatefulService"); - conversationalStatelessClientRequestService = ((Client)node).getService(ConversationalClient.class, - "ConversationalStatelessClientRequestService"); - conversationalStatefulClientNonConversationalCallbackStatelessService = ((Client)node).getService(ConversationalClient.class, - "ConversationalStatefulClientNonConversationalCallbackStatefulService"); - - // reset the place where we record the sequence of calls passing - // through each component instance - ConversationalServiceStatelessImpl.calls = new StringBuffer(); - ConversationalServiceStatefulImpl.calls = new StringBuffer(); - ConversationalClientStatelessImpl.calls = new StringBuffer(); - ConversationalClientStatefulImpl.calls = new StringBuffer(); - - } catch(Exception ex) { - System.err.println(ex.toString()); - } - - } - - @AfterClass - public static void tearDown() throws Exception { - node.stop(); - conversationalStatelessClientStatelessService = null; - conversationalStatelessClientStatefulService = null; - conversationalStatefulClientStatelessService = null; - conversationalStatefulClientStatefulService = null; - conversationalStatelessClientRequestService = null; - conversationalStatefulClientNonConversationalCallbackStatelessService = null; - } - - private static void resetCallStack() { - - // reset the place where we record the sequence of calls passing - // through each component instance - ConversationalServiceStatelessImpl.calls = new StringBuffer(); - ConversationalServiceStatefulImpl.calls = new StringBuffer(); - ConversationalClientStatelessImpl.calls = new StringBuffer(); - ConversationalClientStatefulImpl.calls = new StringBuffer(); - ConversationalClientStatefulNonConversationalCallbackImpl.calls = new StringBuffer(); - - } - - // stateful client non conversational callback stateful service tests - // ================================================================== - - @Test - public void testStatefulNonConversationalCallbackStatefulConversationFromInjectedReference() { - int count = conversationalStatefulClientNonConversationalCallbackStatelessService.runConversationFromInjectedReference(); - Assert.assertEquals(2, count); - } - - @Test - public void testStatefulNonConversationalCallbackStatefulConversationFromInjectedReference2() { - int count = conversationalStatefulClientNonConversationalCallbackStatelessService.runConversationFromInjectedReference2(); - Assert.assertEquals(2, count); - } - - @Test - public void testStatefulNonConversationalCallbackStatefulConversationFromServiceReference() { - int count = conversationalStatefulClientNonConversationalCallbackStatelessService.runConversationFromServiceReference(); - Assert.assertEquals(2, count); - } - - @Test - public void testStatefulNonConversationalCallbackStatefulConversationWithUserDefinedConversationId() { - int count = conversationalStatefulClientNonConversationalCallbackStatelessService.runConversationWithUserDefinedConversationId(); - Assert.assertEquals(2, count); - } - - @Test - public void testStatefulNonConversationalCallbackStatefulConversationCheckUserDefinedConversationId() { - String conversationId = conversationalStatefulClientNonConversationalCallbackStatelessService.runConversationCheckUserDefinedConversationId(); - Assert.assertEquals("MyConversation2", conversationId); - } - - @Test - public void testStatefulNonConversationalCallbackStatefulConversationCheckingScope() { - resetCallStack(); - ConversationalServiceStatefulNonConversationalCallbackImpl.calls = new StringBuffer(); - conversationalStatefulClientNonConversationalCallbackStatelessService.runConversationCheckingScope(); - Assert.assertEquals("init,initializeCount,incrementCount,retrieveCount,endConversation,destroy,", - ConversationalServiceStatefulNonConversationalCallbackImpl.calls.toString()); - } - - //@Test - public void testStatefulNonConversationalCallbackStatefulConversationWithCallback() { - resetCallStack(); - ConversationalClientStatefulNonConversationalCallbackImpl.calls = new StringBuffer(); - int count = conversationalStatefulClientNonConversationalCallbackStatelessService.runConversationWithCallback(); - Assert.assertEquals(0, count); - - Assert.assertEquals("init,runConversationWithCallback,init,initializeCount,destroy,init,incrementCount,destroy,init,retrieveCount,destroy,init,endConversation,destroy,", - ConversationalClientStatefulNonConversationalCallbackImpl.calls.toString()); - } - - //@Test - public void testStatefulNonConversationalCallbackStatefulConversationHavingPassedReference() { - int count = conversationalStatefulClientNonConversationalCallbackStatelessService.runConversationHavingPassedReference(); - Assert.assertEquals(0, count); - } - - @Test - public void testStatefulNonConversationalCallbackStatefulConversationCallingEndedConversation() { - int count = conversationalStatefulClientNonConversationalCallbackStatelessService.runConversationCallingEndedConversation(); - Assert.assertEquals(0, count); - } - - //@Test - public void testStatefulNonConversationalCallbackStatefulConversationCallingEndedConversationCallback() { - int count = conversationalStatefulClientNonConversationalCallbackStatelessService.runConversationCallingEndedConversationCallback(); - Assert.assertEquals(0, count); - } - - @Test - public void testStatefulNonConversationalCallbackStatefulConversationCallingEndedConversationCheckConversationId() { - String id = conversationalStatefulClientNonConversationalCallbackStatelessService.runConversationCallingEndedConversationCheckConversationId(); - Assert.assertEquals(null, id); - } - - //@Test - public void testStatefulNonConversationalCallbackStatefulConversationCallingEndedConversationCallbackCheckConversationId() { - String id = conversationalStatefulClientNonConversationalCallbackStatelessService.runConversationCallingEndedConversationCallbackCheckConversationId(); - Assert.assertEquals("MyConversation3", id); - } - - - -} diff --git a/java/sca-contrib/itest/conversations-ws/src/test/java/org/apache/tuscany/sca/itest/conversational/RequestScopeTestCase.java b/java/sca-contrib/itest/conversations-ws/src/test/java/org/apache/tuscany/sca/itest/conversational/RequestScopeTestCase.java deleted file mode 100644 index b9530c132b..0000000000 --- a/java/sca-contrib/itest/conversations-ws/src/test/java/org/apache/tuscany/sca/itest/conversational/RequestScopeTestCase.java +++ /dev/null @@ -1,209 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.itest.conversational; - -import java.io.File; - - -import junit.framework.Assert; - -import org.apache.tuscany.sca.itest.conversational.impl.ConversationalClientStatefulImpl; -import org.apache.tuscany.sca.itest.conversational.impl.ConversationalClientStatefulNonConversationalCallbackImpl; -import org.apache.tuscany.sca.itest.conversational.impl.ConversationalClientStatelessImpl; -import org.apache.tuscany.sca.itest.conversational.impl.ConversationalServiceRequestImpl; -import org.apache.tuscany.sca.itest.conversational.impl.ConversationalServiceStatefulImpl; -import org.apache.tuscany.sca.itest.conversational.impl.ConversationalServiceStatelessImpl; -import org.apache.tuscany.sca.node.Client; -import org.apache.tuscany.sca.node.Contribution; -import org.apache.tuscany.sca.node.Node; -import org.apache.tuscany.sca.node.NodeFactory; -import org.junit.AfterClass; -import org.junit.BeforeClass; -import org.junit.Test; - -public class RequestScopeTestCase { - - private static Node node; - private static ConversationalClient conversationalStatelessClientStatelessService; - private static ConversationalClient conversationalStatelessClientStatefulService; - private static ConversationalClient conversationalStatefulClientStatelessService; - private static ConversationalClient conversationalStatefulClientStatefulService; - private static ConversationalClient conversationalStatelessClientRequestService; - private static ConversationalClient conversationalStatefulClientNonConversationalCallbackStatelessService; - - @BeforeClass - public static void setUp() throws Exception { - try { - NodeFactory nodeFactory = NodeFactory.newInstance(); - node = nodeFactory.createNode(new File("src/main/resources/Conversational/conversational.composite").toURL().toString(), - new Contribution("TestContribution", - new File("src/main/resources/Conversational").toURL().toString())); - - - node.start(); - - conversationalStatelessClientStatelessService = ((Client)node).getService(ConversationalClient.class, - "ConversationalStatelessClientStatelessService"); - - conversationalStatelessClientStatefulService = ((Client)node).getService(ConversationalClient.class, - "ConversationalStatelessClientStatefulService"); - - conversationalStatefulClientStatelessService = ((Client)node).getService(ConversationalClient.class, - "ConversationalStatefulClientStatelessService"); - - conversationalStatefulClientStatefulService = ((Client)node).getService(ConversationalClient.class, - "ConversationalStatefulClientStatefulService"); - conversationalStatelessClientRequestService = ((Client)node).getService(ConversationalClient.class, - "ConversationalStatelessClientRequestService"); - conversationalStatefulClientNonConversationalCallbackStatelessService = ((Client)node).getService(ConversationalClient.class, - "ConversationalStatefulClientNonConversationalCallbackStatefulService"); - - // reset the place where we record the sequence of calls passing - // through each component instance - ConversationalServiceStatelessImpl.calls = new StringBuffer(); - ConversationalServiceStatefulImpl.calls = new StringBuffer(); - ConversationalClientStatelessImpl.calls = new StringBuffer(); - ConversationalClientStatefulImpl.calls = new StringBuffer(); - - } catch(Exception ex) { - System.err.println(ex.toString()); - } - - } - - @AfterClass - public static void tearDown() throws Exception { - node.stop(); - conversationalStatelessClientStatelessService = null; - conversationalStatelessClientStatefulService = null; - conversationalStatefulClientStatelessService = null; - conversationalStatefulClientStatefulService = null; - conversationalStatelessClientRequestService = null; - conversationalStatefulClientNonConversationalCallbackStatelessService = null; - } - - private static void resetCallStack() { - - // reset the place where we record the sequence of calls passing - // through each component instance - ConversationalServiceStatelessImpl.calls = new StringBuffer(); - ConversationalServiceStatefulImpl.calls = new StringBuffer(); - ConversationalClientStatelessImpl.calls = new StringBuffer(); - ConversationalClientStatefulImpl.calls = new StringBuffer(); - ConversationalClientStatefulNonConversationalCallbackImpl.calls = new StringBuffer(); - - } - - // stateless client request scope service tests - // ============================================ - @Test - public void testStatelessRequestConversationFromInjectedReference() { - int count = conversationalStatelessClientRequestService.runConversationFromInjectedReference(); - Assert.assertEquals(2, count); - } - - //@Test - public void testStatelessRequestConversationFromInjectedReference2() { - int count = conversationalStatelessClientRequestService.runConversationFromInjectedReference2(); - Assert.assertEquals(1, count); - } - - @Test - public void testStatelessRequestConversationFromServiceReference() { - int count = conversationalStatelessClientRequestService.runConversationFromServiceReference(); - Assert.assertEquals(2, count); - } - - @Test - public void testStatelessRequestConversationWithUserDefinedConversationId() { - int count = conversationalStatelessClientRequestService.runConversationWithUserDefinedConversationId(); - Assert.assertEquals(2, count); - } - - //@Test - public void testStatelessRequestConversationCheckUserDefinedConversationId() { - String conversationId = conversationalStatelessClientRequestService.runConversationCheckUserDefinedConversationId(); - Assert.assertEquals("MyConversation2", conversationId); - } - - //@Test - public void testStatelessRequestConversationCheckingScope() { - resetCallStack(); - ConversationalServiceRequestImpl.calls = new StringBuffer(); - conversationalStatelessClientRequestService.runConversationCheckingScope(); - Assert.assertEquals("init,initializeCount,incrementCount,retrieveCount,endConversation,", - ConversationalServiceRequestImpl.calls.toString()); - //init,initializeCount,init,incrementCount,init,retrieveCount,init,endConversation, - } - - @Test - public void testStatelessRequestConversationWithCallback() { - resetCallStack(); - ConversationalClientStatelessImpl.calls = new StringBuffer(); - int count = conversationalStatelessClientRequestService.runConversationWithCallback(); - Assert.assertEquals(0, count); - - Assert.assertEquals("init,runConversationWithCallback,init,initializeCount,destroy,init,incrementCount,destroy,init,retrieveCount,destroy,init,endConversation,destroy,destroy,", - ConversationalClientStatelessImpl.calls.toString()); - } - - //@Test - public void testStatelessRequestConversationHavingPassedReference() { - int count = conversationalStatelessClientRequestService.runConversationHavingPassedReference(); - Assert.assertEquals(3, count); - } - - //@Test - public void testStatelessRequestConversationBusinessException() { - String message = conversationalStatelessClientRequestService.runConversationBusinessException(); - Assert.assertEquals("Business Exception", message); - } - - //@Test - public void testStatelessRequestConversationBusinessExceptionCallback() { - String message = conversationalStatelessClientRequestService.runConversationBusinessExceptionCallback(); - Assert.assertEquals("Business Exception", message); - } - - @Test - public void testStatelessRequestConversationCallingEndedConversation() { - int count = conversationalStatelessClientRequestService.runConversationCallingEndedConversation(); - Assert.assertEquals(-999, count); - } - - @Test - public void testStatelessRequestConversationCallingEndedConversationCallback() { - int count = conversationalStatelessClientRequestService.runConversationCallingEndedConversationCallback(); - Assert.assertEquals(0, count); - } - - @Test - public void testStatelessRequestConversationCallingEndedConversationCheckConversationId() { - String id = conversationalStatelessClientRequestService.runConversationCallingEndedConversationCheckConversationId(); - Assert.assertEquals(null, id); - } - - //@Test - public void testStatelessRequestConversationCallingEndedConversationCallbackCheckConversationId() { - String id = conversationalStatelessClientRequestService.runConversationCallingEndedConversationCallbackCheckConversationId(); - Assert.assertEquals(null, id); - } - -} diff --git a/java/sca-contrib/itest/conversations-ws/src/test/java/org/apache/tuscany/sca/itest/conversational/StatefulStatefulTestCase.java b/java/sca-contrib/itest/conversations-ws/src/test/java/org/apache/tuscany/sca/itest/conversational/StatefulStatefulTestCase.java deleted file mode 100644 index 1e5f6adcf1..0000000000 --- a/java/sca-contrib/itest/conversations-ws/src/test/java/org/apache/tuscany/sca/itest/conversational/StatefulStatefulTestCase.java +++ /dev/null @@ -1,193 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.itest.conversational; - -import java.io.File; - - -import junit.framework.Assert; - -import org.apache.tuscany.sca.itest.conversational.impl.ConversationalClientStatefulImpl; -import org.apache.tuscany.sca.itest.conversational.impl.ConversationalClientStatefulNonConversationalCallbackImpl; -import org.apache.tuscany.sca.itest.conversational.impl.ConversationalClientStatelessImpl; -import org.apache.tuscany.sca.itest.conversational.impl.ConversationalServiceStatefulImpl; -import org.apache.tuscany.sca.itest.conversational.impl.ConversationalServiceStatelessImpl; -import org.apache.tuscany.sca.node.Client; -import org.apache.tuscany.sca.node.Contribution; -import org.apache.tuscany.sca.node.Node; -import org.apache.tuscany.sca.node.NodeFactory; -import org.junit.AfterClass; -import org.junit.BeforeClass; -import org.junit.Test; - -public class StatefulStatefulTestCase { - - private static Node node; - private static ConversationalClient conversationalStatelessClientStatelessService; - private static ConversationalClient conversationalStatelessClientStatefulService; - private static ConversationalClient conversationalStatefulClientStatelessService; - private static ConversationalClient conversationalStatefulClientStatefulService; - private static ConversationalClient conversationalStatelessClientRequestService; - private static ConversationalClient conversationalStatefulClientNonConversationalCallbackStatelessService; - - @BeforeClass - public static void setUp() throws Exception { - try { - NodeFactory nodeFactory = NodeFactory.newInstance(); - node = nodeFactory.createNode(new File("src/main/resources/Conversational/conversational.composite").toURL().toString(), - new Contribution("TestContribution", - new File("src/main/resources/Conversational").toURL().toString())); - - - node.start(); - - conversationalStatelessClientStatelessService = ((Client)node).getService(ConversationalClient.class, - "ConversationalStatelessClientStatelessService"); - - conversationalStatelessClientStatefulService = ((Client)node).getService(ConversationalClient.class, - "ConversationalStatelessClientStatefulService"); - - conversationalStatefulClientStatelessService = ((Client)node).getService(ConversationalClient.class, - "ConversationalStatefulClientStatelessService"); - - conversationalStatefulClientStatefulService = ((Client)node).getService(ConversationalClient.class, - "ConversationalStatefulClientStatefulService"); - conversationalStatelessClientRequestService = ((Client)node).getService(ConversationalClient.class, - "ConversationalStatelessClientRequestService"); - conversationalStatefulClientNonConversationalCallbackStatelessService = ((Client)node).getService(ConversationalClient.class, - "ConversationalStatefulClientNonConversationalCallbackStatefulService"); - - // reset the place where we record the sequence of calls passing - // through each component instance - ConversationalServiceStatelessImpl.calls = new StringBuffer(); - ConversationalServiceStatefulImpl.calls = new StringBuffer(); - ConversationalClientStatelessImpl.calls = new StringBuffer(); - ConversationalClientStatefulImpl.calls = new StringBuffer(); - - } catch(Exception ex) { - System.err.println(ex.toString()); - } - - } - - @AfterClass - public static void tearDown() throws Exception { - node.stop(); - conversationalStatelessClientStatelessService = null; - conversationalStatelessClientStatefulService = null; - conversationalStatefulClientStatelessService = null; - conversationalStatefulClientStatefulService = null; - conversationalStatelessClientRequestService = null; - conversationalStatefulClientNonConversationalCallbackStatelessService = null; - } - - private static void resetCallStack() { - - // reset the place where we record the sequence of calls passing - // through each component instance - ConversationalServiceStatelessImpl.calls = new StringBuffer(); - ConversationalServiceStatefulImpl.calls = new StringBuffer(); - ConversationalClientStatelessImpl.calls = new StringBuffer(); - ConversationalClientStatefulImpl.calls = new StringBuffer(); - ConversationalClientStatefulNonConversationalCallbackImpl.calls = new StringBuffer(); - - } - - // stateful client stateful service tests - // ====================================== - @Test - public void testStatefulStatefulConversationFromInjectedReference() { - int count = conversationalStatefulClientStatefulService.runConversationFromInjectedReference(); - Assert.assertEquals(2, count); - } - - @Test - public void testStatefulStatefulConversationFromInjectedReference2() { - int count = conversationalStatefulClientStatefulService.runConversationFromInjectedReference2(); - Assert.assertEquals(2, count); - } - - @Test - public void testStatefulStatefulConversationFromServiceReference() { - int count = conversationalStatefulClientStatefulService.runConversationFromServiceReference(); - Assert.assertEquals(2, count); - } - - @Test - public void testStatefulStatefulConversationWithUserDefinedConversationId() { - int count = conversationalStatefulClientStatefulService.runConversationWithUserDefinedConversationId(); - Assert.assertEquals(2, count); - } - - @Test - public void testStatefulStatefulConversationCheckUserDefinedConversationId() { - String conversationId = conversationalStatefulClientStatefulService.runConversationCheckUserDefinedConversationId(); - Assert.assertEquals("MyConversation2", conversationId); - } - - @Test - public void testStatefulStatefulConversationCheckingScope() { - resetCallStack(); - conversationalStatefulClientStatefulService.runConversationCheckingScope(); - Assert.assertEquals("init,initializeCount,incrementCount,retrieveCount,endConversation,destroy,", - ConversationalServiceStatefulImpl.calls.toString()); - } - - @Test - public void testStatefulStatefulConversationWithCallback() { - resetCallStack(); - int count = conversationalStatefulClientStatefulService.runConversationWithCallback(); - Assert.assertEquals(4, count); - - Assert.assertEquals("init,runConversationWithCallback,initializeCount,incrementCount,retrieveCount,endConversation,destroy,", - ConversationalClientStatefulImpl.calls.toString()); - } - - //@Test - public void testStatefulStatefulConversationHavingPassedReference() { - int count = conversationalStatefulClientStatefulService.runConversationHavingPassedReference(); - Assert.assertEquals(3, count); - } - - @Test - public void testStatefulStatefulConversationCallingEndedConversation() { - int count = conversationalStatefulClientStatefulService.runConversationCallingEndedConversation(); - Assert.assertEquals(0, count); - } - - @Test - public void testStatefulStatefulConversationCallingEndedConversationCallback() { - int count = conversationalStatefulClientStatefulService.runConversationCallingEndedConversationCallback(); - Assert.assertEquals(0, count); - } - - @Test - public void testStatefulStatefulConversationCallingEndedConversationCheckConversationId() { - String id = conversationalStatefulClientStatefulService.runConversationCallingEndedConversationCheckConversationId(); - Assert.assertEquals(null, id); - } - - @Test - public void testStatefulStatefulConversationCallingEndedConversationCallbackCheckConversationId() { - String id = conversationalStatefulClientStatefulService.runConversationCallingEndedConversationCallbackCheckConversationId(); - Assert.assertEquals(null, id); - } - -} diff --git a/java/sca-contrib/itest/conversations-ws/src/test/java/org/apache/tuscany/sca/itest/conversational/StatefulStatelessTestCase.java b/java/sca-contrib/itest/conversations-ws/src/test/java/org/apache/tuscany/sca/itest/conversational/StatefulStatelessTestCase.java deleted file mode 100644 index 8a110477b5..0000000000 --- a/java/sca-contrib/itest/conversations-ws/src/test/java/org/apache/tuscany/sca/itest/conversational/StatefulStatelessTestCase.java +++ /dev/null @@ -1,193 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.itest.conversational; - -import java.io.File; - - -import junit.framework.Assert; - -import org.apache.tuscany.sca.itest.conversational.impl.ConversationalClientStatefulImpl; -import org.apache.tuscany.sca.itest.conversational.impl.ConversationalClientStatefulNonConversationalCallbackImpl; -import org.apache.tuscany.sca.itest.conversational.impl.ConversationalClientStatelessImpl; -import org.apache.tuscany.sca.itest.conversational.impl.ConversationalServiceStatefulImpl; -import org.apache.tuscany.sca.itest.conversational.impl.ConversationalServiceStatelessImpl; -import org.apache.tuscany.sca.node.Client; -import org.apache.tuscany.sca.node.Contribution; -import org.apache.tuscany.sca.node.Node; -import org.apache.tuscany.sca.node.NodeFactory; -import org.junit.AfterClass; -import org.junit.BeforeClass; -import org.junit.Test; - -public class StatefulStatelessTestCase { - - private static Node node; - private static ConversationalClient conversationalStatelessClientStatelessService; - private static ConversationalClient conversationalStatelessClientStatefulService; - private static ConversationalClient conversationalStatefulClientStatelessService; - private static ConversationalClient conversationalStatefulClientStatefulService; - private static ConversationalClient conversationalStatelessClientRequestService; - private static ConversationalClient conversationalStatefulClientNonConversationalCallbackStatelessService; - - @BeforeClass - public static void setUp() throws Exception { - try { - NodeFactory nodeFactory = NodeFactory.newInstance(); - node = nodeFactory.createNode(new File("src/main/resources/Conversational/conversational.composite").toURL().toString(), - new Contribution("TestContribution", - new File("src/main/resources/Conversational").toURL().toString())); - - - node.start(); - - conversationalStatelessClientStatelessService = ((Client)node).getService(ConversationalClient.class, - "ConversationalStatelessClientStatelessService"); - - conversationalStatelessClientStatefulService = ((Client)node).getService(ConversationalClient.class, - "ConversationalStatelessClientStatefulService"); - - conversationalStatefulClientStatelessService = ((Client)node).getService(ConversationalClient.class, - "ConversationalStatefulClientStatelessService"); - - conversationalStatefulClientStatefulService = ((Client)node).getService(ConversationalClient.class, - "ConversationalStatefulClientStatefulService"); - conversationalStatelessClientRequestService = ((Client)node).getService(ConversationalClient.class, - "ConversationalStatelessClientRequestService"); - conversationalStatefulClientNonConversationalCallbackStatelessService = ((Client)node).getService(ConversationalClient.class, - "ConversationalStatefulClientNonConversationalCallbackStatefulService"); - - // reset the place where we record the sequence of calls passing - // through each component instance - ConversationalServiceStatelessImpl.calls = new StringBuffer(); - ConversationalServiceStatefulImpl.calls = new StringBuffer(); - ConversationalClientStatelessImpl.calls = new StringBuffer(); - ConversationalClientStatefulImpl.calls = new StringBuffer(); - - } catch(Exception ex) { - System.err.println(ex.toString()); - } - - } - - @AfterClass - public static void tearDown() throws Exception { - node.stop(); - conversationalStatelessClientStatelessService = null; - conversationalStatelessClientStatefulService = null; - conversationalStatefulClientStatelessService = null; - conversationalStatefulClientStatefulService = null; - conversationalStatelessClientRequestService = null; - conversationalStatefulClientNonConversationalCallbackStatelessService = null; - } - - private static void resetCallStack() { - - // reset the place where we record the sequence of calls passing - // through each component instance - ConversationalServiceStatelessImpl.calls = new StringBuffer(); - ConversationalServiceStatefulImpl.calls = new StringBuffer(); - ConversationalClientStatelessImpl.calls = new StringBuffer(); - ConversationalClientStatefulImpl.calls = new StringBuffer(); - ConversationalClientStatefulNonConversationalCallbackImpl.calls = new StringBuffer(); - - } - - // stateful client stateless service tests - // ======================================= - @Test - public void testStatefulStatelessConversationFromInjectedReference() { - int count = conversationalStatefulClientStatelessService.runConversationFromInjectedReference(); - Assert.assertEquals(2, count); - } - - @Test - public void testStatefulStatelessConversationFromInjectedReference2() { - int count = conversationalStatefulClientStatelessService.runConversationFromInjectedReference2(); - Assert.assertEquals(2, count); - } - - @Test - public void testStatefulStatelessConversationFromServiceReference() { - int count = conversationalStatefulClientStatelessService.runConversationFromServiceReference(); - Assert.assertEquals(2, count); - } - - @Test - public void testStatefulStatelessConversationWithUserDefinedConversationId() { - int count = conversationalStatefulClientStatelessService.runConversationWithUserDefinedConversationId(); - Assert.assertEquals(2, count); - } - - @Test - public void testStatefulStatelessConversationCheckUserDefinedConversationId() { - String conversationId = conversationalStatefulClientStatelessService.runConversationCheckUserDefinedConversationId(); - Assert.assertEquals("MyConversation2", conversationId); - } - - @Test - public void testStatefulStatelessConversationCheckingScope() { - resetCallStack(); - conversationalStatefulClientStatelessService.runConversationCheckingScope(); - Assert.assertEquals("init,initializeCount,destroy,init,incrementCount,destroy,init,retrieveCount,destroy,init,endConversation,destroy,", - ConversationalServiceStatelessImpl.calls.toString()); - } - - @Test - public void testStatefulStatelessConversationWithCallback() { - resetCallStack(); - int count = conversationalStatefulClientStatelessService.runConversationWithCallback(); - Assert.assertEquals(4, count); - - Assert.assertEquals("init,runConversationWithCallback,initializeCount,incrementCount,retrieveCount,endConversation,destroy,", - ConversationalClientStatefulImpl.calls.toString()); - } - - //@Test - public void testStatefulStatelessConversationHavingPassedReference() { - int count = conversationalStatefulClientStatelessService.runConversationHavingPassedReference(); - Assert.assertEquals(3, count); - } - - @Test - public void testStatefulStatelessConversationCallingEndedConversation() { - int count = conversationalStatefulClientStatelessService.runConversationCallingEndedConversation(); - Assert.assertEquals(-999, count); - } - - @Test - public void testStatefulStatelessConversationCallingEndedConversationCallback() { - int count = conversationalStatefulClientStatelessService.runConversationCallingEndedConversationCallback(); - Assert.assertEquals(0, count); - } - - @Test - public void testStatefulStatelessConversationCallingEndedConversationCheckConversationId() { - String id = conversationalStatefulClientStatelessService.runConversationCallingEndedConversationCheckConversationId(); - Assert.assertEquals(null, id); - } - - @Test - public void testStatefulStatelessConversationCallingEndedConversationCallbackCheckConversationId() { - String id = conversationalStatefulClientStatelessService.runConversationCallingEndedConversationCallbackCheckConversationId(); - Assert.assertEquals(null, id); - } - -} diff --git a/java/sca-contrib/itest/conversations-ws/src/test/java/org/apache/tuscany/sca/itest/conversational/StatelessStatefulTestCase.java b/java/sca-contrib/itest/conversations-ws/src/test/java/org/apache/tuscany/sca/itest/conversational/StatelessStatefulTestCase.java deleted file mode 100644 index 79ac9262c6..0000000000 --- a/java/sca-contrib/itest/conversations-ws/src/test/java/org/apache/tuscany/sca/itest/conversational/StatelessStatefulTestCase.java +++ /dev/null @@ -1,205 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.itest.conversational; - -import java.io.File; - -import junit.framework.Assert; - -import org.apache.tuscany.sca.itest.conversational.impl.ConversationalClientStatefulImpl; -import org.apache.tuscany.sca.itest.conversational.impl.ConversationalClientStatefulNonConversationalCallbackImpl; -import org.apache.tuscany.sca.itest.conversational.impl.ConversationalClientStatelessImpl; -import org.apache.tuscany.sca.itest.conversational.impl.ConversationalServiceStatefulImpl; -import org.apache.tuscany.sca.itest.conversational.impl.ConversationalServiceStatelessImpl; -import org.apache.tuscany.sca.node.Client; -import org.apache.tuscany.sca.node.Contribution; -import org.apache.tuscany.sca.node.Node; -import org.apache.tuscany.sca.node.NodeFactory; -import org.junit.AfterClass; -import org.junit.BeforeClass; -import org.junit.Test; - -public class StatelessStatefulTestCase { - - private static Node node; - private static ConversationalClient conversationalStatelessClientStatelessService; - private static ConversationalClient conversationalStatelessClientStatefulService; - private static ConversationalClient conversationalStatefulClientStatelessService; - private static ConversationalClient conversationalStatefulClientStatefulService; - private static ConversationalClient conversationalStatelessClientRequestService; - private static ConversationalClient conversationalStatefulClientNonConversationalCallbackStatelessService; - - @BeforeClass - public static void setUp() throws Exception { - try { - NodeFactory nodeFactory = NodeFactory.newInstance(); - node = nodeFactory.createNode(new File("src/main/resources/Conversational/conversational.composite").toURL().toString(), - new Contribution("TestContribution", - new File("src/main/resources/Conversational").toURL().toString())); - - - node.start(); - - conversationalStatelessClientStatelessService = ((Client)node).getService(ConversationalClient.class, - "ConversationalStatelessClientStatelessService"); - - conversationalStatelessClientStatefulService = ((Client)node).getService(ConversationalClient.class, - "ConversationalStatelessClientStatefulService"); - - conversationalStatefulClientStatelessService = ((Client)node).getService(ConversationalClient.class, - "ConversationalStatefulClientStatelessService"); - - conversationalStatefulClientStatefulService = ((Client)node).getService(ConversationalClient.class, - "ConversationalStatefulClientStatefulService"); - conversationalStatelessClientRequestService = ((Client)node).getService(ConversationalClient.class, - "ConversationalStatelessClientRequestService"); - conversationalStatefulClientNonConversationalCallbackStatelessService = ((Client)node).getService(ConversationalClient.class, - "ConversationalStatefulClientNonConversationalCallbackStatefulService"); - - // reset the place where we record the sequence of calls passing - // through each component instance - ConversationalServiceStatelessImpl.calls = new StringBuffer(); - ConversationalServiceStatefulImpl.calls = new StringBuffer(); - ConversationalClientStatelessImpl.calls = new StringBuffer(); - ConversationalClientStatefulImpl.calls = new StringBuffer(); - - } catch(Exception ex) { - System.err.println(ex.toString()); - } - - } - - @AfterClass - public static void tearDown() throws Exception { - node.stop(); - conversationalStatelessClientStatelessService = null; - conversationalStatelessClientStatefulService = null; - conversationalStatefulClientStatelessService = null; - conversationalStatefulClientStatefulService = null; - conversationalStatelessClientRequestService = null; - conversationalStatefulClientNonConversationalCallbackStatelessService = null; - } - - private static void resetCallStack() { - - // reset the place where we record the sequence of calls passing - // through each component instance - ConversationalServiceStatelessImpl.calls = new StringBuffer(); - ConversationalServiceStatefulImpl.calls = new StringBuffer(); - ConversationalClientStatelessImpl.calls = new StringBuffer(); - ConversationalClientStatefulImpl.calls = new StringBuffer(); - ConversationalClientStatefulNonConversationalCallbackImpl.calls = new StringBuffer(); - - } - - // stateless client stateful service tests - // ======================================= - @Test - public void testStatelessStatefulConversationFromInjectedReference() { - int count = conversationalStatelessClientStatefulService.runConversationFromInjectedReference(); - Assert.assertEquals(2, count); - } - - @Test - public void testStatelessStatefulConversationFromInjectedReference2() { - int count = conversationalStatelessClientStatefulService.runConversationFromInjectedReference2(); - Assert.assertEquals(2, count); - } - - @Test - public void testStatelessStatefulConversationFromServiceReference() { - int count = conversationalStatelessClientStatefulService.runConversationFromServiceReference(); - Assert.assertEquals(2, count); - } - - @Test - public void testStatelessStatefulConversationWithUserDefinedConversationId() { - int count = conversationalStatelessClientStatefulService.runConversationWithUserDefinedConversationId(); - Assert.assertEquals(2, count); - } - - @Test - public void testStatelessStatefulConversationCheckUserDefinedConversationId() { - String conversationId = conversationalStatelessClientStatefulService.runConversationCheckUserDefinedConversationId(); - Assert.assertEquals("MyConversation2", conversationId); - } - - @Test - public void testStatelessStatefulConversationCheckingScope() { - resetCallStack(); - conversationalStatelessClientStatefulService.runConversationCheckingScope(); - Assert.assertEquals("init,initializeCount,incrementCount,retrieveCount,endConversation,destroy,", - ConversationalServiceStatefulImpl.calls.toString()); - } - - @Test - public void testStatelessStatefulConversationWithCallback() { - resetCallStack(); - int count = conversationalStatelessClientStatefulService.runConversationWithCallback(); - Assert.assertEquals(0, count); - - Assert.assertEquals("init,runConversationWithCallback,init,initializeCount,destroy,init,incrementCount,destroy,init,retrieveCount,destroy,init,endConversation,destroy,destroy,", - ConversationalClientStatelessImpl.calls.toString()); - } - - //@Test - public void testStatelessStatefulConversationHavingPassedReference() { - int count = conversationalStatelessClientStatefulService.runConversationHavingPassedReference(); - Assert.assertEquals(3, count); - } - - //@Test - public void testStatelessStatefulConversationBusinessException() { - String message = conversationalStatelessClientStatefulService.runConversationBusinessException(); - Assert.assertEquals("Business Exception", message); - } - - //@Test - public void testStatelessStatefulConversationBusinessExceptionCallback() { - String message = conversationalStatelessClientStatefulService.runConversationBusinessExceptionCallback(); - Assert.assertEquals("Business Exception", message); - } - - @Test - public void testStatelessStatefulConversationCallingEndedConversation() { - int count = conversationalStatelessClientStatefulService.runConversationCallingEndedConversation(); - Assert.assertEquals(0, count); - } - - @Test - public void testStatelessStatefulConversationCallingEndedConversationCallback() { - int count = conversationalStatelessClientStatefulService.runConversationCallingEndedConversationCallback(); - Assert.assertEquals(0, count); - } - - @Test - public void testStatelessStatefulConversationCallingEndedConversationCheckConversationId() { - String id = conversationalStatelessClientStatefulService.runConversationCallingEndedConversationCheckConversationId(); - Assert.assertEquals(null, id); - } - - //@Test - public void testStatelessStatefulConversationCallingEndedConversationCallbackCheckConversationId() { - String id = conversationalStatelessClientStatefulService.runConversationCallingEndedConversationCallbackCheckConversationId(); - Assert.assertEquals(null, id); - } - - -} diff --git a/java/sca-contrib/itest/conversations-ws/src/test/java/org/apache/tuscany/sca/itest/conversational/StatelessStatelessTestCase.java b/java/sca-contrib/itest/conversations-ws/src/test/java/org/apache/tuscany/sca/itest/conversational/StatelessStatelessTestCase.java deleted file mode 100644 index 9aebae9ced..0000000000 --- a/java/sca-contrib/itest/conversations-ws/src/test/java/org/apache/tuscany/sca/itest/conversational/StatelessStatelessTestCase.java +++ /dev/null @@ -1,192 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.itest.conversational; - -import java.io.File; - -import junit.framework.Assert; - -import org.apache.tuscany.sca.itest.conversational.impl.ConversationalClientStatefulImpl; -import org.apache.tuscany.sca.itest.conversational.impl.ConversationalClientStatefulNonConversationalCallbackImpl; -import org.apache.tuscany.sca.itest.conversational.impl.ConversationalClientStatelessImpl; -import org.apache.tuscany.sca.itest.conversational.impl.ConversationalServiceStatefulImpl; -import org.apache.tuscany.sca.itest.conversational.impl.ConversationalServiceStatelessImpl; -import org.apache.tuscany.sca.node.Client; -import org.apache.tuscany.sca.node.Contribution; -import org.apache.tuscany.sca.node.Node; -import org.apache.tuscany.sca.node.NodeFactory; -import org.junit.AfterClass; -import org.junit.BeforeClass; -import org.junit.Test; - -public class StatelessStatelessTestCase { - - private static Node node; - private static ConversationalClient conversationalStatelessClientStatelessService; - private static ConversationalClient conversationalStatelessClientStatefulService; - private static ConversationalClient conversationalStatefulClientStatelessService; - private static ConversationalClient conversationalStatefulClientStatefulService; - private static ConversationalClient conversationalStatelessClientRequestService; - private static ConversationalClient conversationalStatefulClientNonConversationalCallbackStatelessService; - - @BeforeClass - public static void setUp() throws Exception { - try { - NodeFactory nodeFactory = NodeFactory.newInstance(); - node = nodeFactory.createNode(new File("src/main/resources/Conversational/conversational.composite").toURL().toString(), - new Contribution("TestContribution", - new File("src/main/resources/Conversational").toURL().toString())); - - - node.start(); - - conversationalStatelessClientStatelessService = ((Client)node).getService(ConversationalClient.class, - "ConversationalStatelessClientStatelessService"); - - conversationalStatelessClientStatefulService = ((Client)node).getService(ConversationalClient.class, - "ConversationalStatelessClientStatefulService"); - - conversationalStatefulClientStatelessService = ((Client)node).getService(ConversationalClient.class, - "ConversationalStatefulClientStatelessService"); - - conversationalStatefulClientStatefulService = ((Client)node).getService(ConversationalClient.class, - "ConversationalStatefulClientStatefulService"); - conversationalStatelessClientRequestService = ((Client)node).getService(ConversationalClient.class, - "ConversationalStatelessClientRequestService"); - conversationalStatefulClientNonConversationalCallbackStatelessService = ((Client)node).getService(ConversationalClient.class, - "ConversationalStatefulClientNonConversationalCallbackStatefulService"); - - // reset the place where we record the sequence of calls passing - // through each component instance - ConversationalServiceStatelessImpl.calls = new StringBuffer(); - ConversationalServiceStatefulImpl.calls = new StringBuffer(); - ConversationalClientStatelessImpl.calls = new StringBuffer(); - ConversationalClientStatefulImpl.calls = new StringBuffer(); - - } catch(Exception ex) { - System.err.println(ex.toString()); - } - - } - - @AfterClass - public static void tearDown() throws Exception { - node.stop(); - conversationalStatelessClientStatelessService = null; - conversationalStatelessClientStatefulService = null; - conversationalStatefulClientStatelessService = null; - conversationalStatefulClientStatefulService = null; - conversationalStatelessClientRequestService = null; - conversationalStatefulClientNonConversationalCallbackStatelessService = null; - } - - private static void resetCallStack() { - - // reset the place where we record the sequence of calls passing - // through each component instance - ConversationalServiceStatelessImpl.calls = new StringBuffer(); - ConversationalServiceStatefulImpl.calls = new StringBuffer(); - ConversationalClientStatelessImpl.calls = new StringBuffer(); - ConversationalClientStatefulImpl.calls = new StringBuffer(); - ConversationalClientStatefulNonConversationalCallbackImpl.calls = new StringBuffer(); - - } - - - // stateless client stateless service tests - // ======================================== - - @Test - public void testStatelessStatelessConversationFromInjectedReference() { - int count = conversationalStatelessClientStatelessService.runConversationFromInjectedReference(); - Assert.assertEquals(2, count); - } - - @Test - public void testStatelessStatelessConversationFromInjectedReference2() { - int count = conversationalStatelessClientStatelessService.runConversationFromInjectedReference2(); - Assert.assertEquals(2, count); - } - - @Test - public void testStatelessStatelessConversationFromServiceReference() { - int count = conversationalStatelessClientStatelessService.runConversationFromServiceReference(); - Assert.assertEquals(2, count); - } - - @Test - public void testStatelessStatelessConversationWithUserDefinedConversationId() { - int count = conversationalStatelessClientStatelessService.runConversationWithUserDefinedConversationId(); - Assert.assertEquals(2, count); - } - @Test - public void testStatelessStatelessConversationCheckUserDefinedConversationId() { - String conversationId = conversationalStatelessClientStatelessService.runConversationCheckUserDefinedConversationId(); - Assert.assertEquals("MyConversation2", conversationId); - } - - @Test - public void testStatelessStatelessConversationCheckingScope() { - resetCallStack(); - conversationalStatelessClientStatelessService.runConversationCheckingScope(); - Assert.assertEquals("init,initializeCount,destroy,init,incrementCount,destroy,init,retrieveCount,destroy,init,endConversation,destroy,", - ConversationalServiceStatelessImpl.calls.toString()); - } - - @Test - public void testStatelessStatelessConversationWithCallback() { - resetCallStack(); - int count = conversationalStatelessClientStatelessService.runConversationWithCallback(); - Assert.assertEquals(0, count); - - Assert.assertEquals("init,runConversationWithCallback,init,initializeCount,destroy,init,incrementCount,destroy,init,retrieveCount,destroy,init,endConversation,destroy,destroy,", - ConversationalClientStatelessImpl.calls.toString()); - } - //@Test - public void testStatelessStatelessConversationHavingPassedReference() { - int count = conversationalStatelessClientStatelessService.runConversationHavingPassedReference(); - Assert.assertEquals(3, count); - } - - @Test - public void testStatelessStatelessConversationCallingEndedConversation() { - int count = conversationalStatelessClientStatelessService.runConversationCallingEndedConversation(); - Assert.assertEquals(-999, count); - } - - @Test - public void testStatelessStatelessConversationCallingEndedConversationCallback() { - int count = conversationalStatelessClientStatelessService.runConversationCallingEndedConversationCallback(); - Assert.assertEquals(0, count); - } - - @Test - public void testStatelessStatelessConversationCallingEndedConversationCheckConversationId() { - String id = conversationalStatelessClientStatelessService.runConversationCallingEndedConversationCheckConversationId(); - Assert.assertEquals(null, id); - } - - //@Test - public void testStatelessStatelessConversationCallingEndedConversationCallbackCheckConversationId() { - String id = conversationalStatelessClientStatelessService.runConversationCallingEndedConversationCallbackCheckConversationId(); - Assert.assertEquals(null, id); - } - -} diff --git a/java/sca-contrib/itest/corba/pom.xml b/java/sca-contrib/itest/corba/pom.xml deleted file mode 100644 index f1dd2a9187..0000000000 --- a/java/sca-contrib/itest/corba/pom.xml +++ /dev/null @@ -1,169 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - tuscany-itest - 2.0-SNAPSHOT - ../pom.xml - - itest-corba-binding - Apache Tuscany SCA CORBA Binding Integration Tests - - - - org.apache.tuscany.sca - tuscany-host-embedded - 2.0-SNAPSHOT - - - - org.apache.tuscany.sca - tuscany-implementation-java-runtime - 2.0-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-binding-corba-runtime - 2.0-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-host-corba-jse - 2.0-SNAPSHOT - test - - - - org.apache.tuscany.sca - tuscany-host-corba-jse-tns - 2.0-SNAPSHOT - test - - - - org.apache.tuscany.sca - tuscany-binding-sca - 2.0-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-binding-sca-corba - 2.0-SNAPSHOT - runtime - - - - - - org.apache.tuscany.sca - tuscany-databinding-axiom - 2.0-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-databinding-sdo - 2.0-SNAPSHOT - compile - - - - junit - junit - 4.5 - compile - - - - - - - org.codehaus.mojo - build-helper-maven-plugin - 1.0 - - - add-source - generate-sources - - add-test-source - - - - target/sdo-source - - - - - - - org.apache.tuscany.sdo - tuscany-sdo-plugin - 1.1.1 - - - generate-scenariofour-sdo - generate-sources - - - ${basedir}/src/test/resources/scenariofour.xsd - - - org.apache.tuscany.sca.test.corba.scenariofour - - ScenarioFour - true - true - true - - - generate - - - - - - - diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/ScenarioFiveTestCase.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/ScenarioFiveTestCase.java deleted file mode 100644 index 46e214eac3..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/ScenarioFiveTestCase.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba; - -import static org.junit.Assert.fail; - -import org.apache.tuscany.sca.host.corba.jse.tns.TnsDefaultCorbaHost; -import org.apache.tuscany.sca.host.embedded.SCADomain; -import org.apache.tuscany.sca.test.corba.types.ScenarioFive; -import org.apache.tuscany.sca.test.corba.types.ScenarioFiveComponent; -import org.junit.Test; - -/** - * @version $Rev$ $Date$ - * Tests usage of TNS JSE Corba host - */ -public class ScenarioFiveTestCase { - - @Test - public void test_providedNameServer() { - TestCorbaHost.setCorbaHost(new TnsDefaultCorbaHost()); - try { - // just make sure we can obtain and use the reference with success - SCADomain domain = SCADomain.newInstance("ScenarioFive.composite"); - ScenarioFive scenarioFive = - domain.getService(ScenarioFiveComponent.class, "ScenarioFive").getScenarioFive(); - scenarioFive.doNothing(); - } catch (Exception e) { - e.printStackTrace(); - fail(); - } - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/ScenarioFourTestCase.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/ScenarioFourTestCase.java deleted file mode 100644 index cba8c823e8..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/ScenarioFourTestCase.java +++ /dev/null @@ -1,149 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba; - -import static org.junit.Assert.assertTrue; -import static org.junit.Assert.fail; -import junit.framework.Assert; - -import org.apache.tuscany.sca.host.corba.jse.DefaultCorbaHost; -import org.apache.tuscany.sca.host.corba.naming.TransientNameServer; -import org.apache.tuscany.sca.host.corba.naming.TransientNameService; -import org.apache.tuscany.sca.host.embedded.SCADomain; -import org.apache.tuscany.sca.test.corba.scenariofour.ScenarioFourFactory; -import org.apache.tuscany.sca.test.corba.scenariofour.ScenarioFourSdo; -import org.apache.tuscany.sca.test.corba.types.ScenarioFour; -import org.apache.tuscany.sca.test.corba.types.ScenarioFourComponent; -import org.apache.tuscany.sca.test.corba.types.ScenarioFourException; -import org.apache.tuscany.sca.test.corba.types.ScenarioFourStruct; -import org.junit.AfterClass; -import org.junit.BeforeClass; -import org.junit.Test; - -/** - * @version $Rev$ $Date$ - * Tests SCA default binding over CORBA binding - */ -public class ScenarioFourTestCase { - - // note that those values are also used in resources/*.composite file - private static SCADomain domain; - private static ScenarioFourComponent scenarioFourComponent; - private static ScenarioFour scenarioFour; - private static TransientNameServer server; - private static final int ORB_INITIAL_PORT = 5080; - - /** - * Initial configuration - */ - @BeforeClass - public static void setUp() { - TestCorbaHost.setCorbaHost(new DefaultCorbaHost()); - try { - server = new TransientNameServer("localhost", ORB_INITIAL_PORT, TransientNameService.DEFAULT_SERVICE_NAME); - Thread t = server.start(); - if (t == null) { - Assert.fail("The naming server cannot be started"); - } - // obtain domain - domain = SCADomain.newInstance("ScenarioFour.composite"); - scenarioFourComponent = domain.getService(ScenarioFourComponent.class, "ScenarioFour"); - scenarioFour = scenarioFourComponent.getScenarioFour(); - } catch (Exception e) { - e.printStackTrace(); - } - } - - /** - * Test cleanup - */ - @AfterClass - public static void tearDown() { - server.stop(); - } - - /** - * General tests for passing JAXB objects - */ - @Test - public void test_generalJAXB() { - try { - ScenarioFourStruct input = new ScenarioFourStruct(); - input.field1 = "Test"; - input.field2 = 1; - input.field3 = new double[1]; - ScenarioFourStruct output = scenarioFour.setStruct(input); - assertTrue(input.equals(output)); - } catch (Exception e) { - e.printStackTrace(); - Assert.fail(e.getMessage()); - } - } - - /** - * Test for JAXB exceptions - */ - @Test - public void test_exceptionsJAXB() { - try { - scenarioFour.exceptionTest(); - fail(); - } catch (ScenarioFourException e) { - assertTrue(ScenarioFourException.DEFAULT_CONTENT.equals(e.getContent())); - } catch (Exception e) { - e.printStackTrace(); - fail(); - } - } - - /** - * General test for passing SDO objects - */ - @Test - public void test_generalSDO() { - try { - ScenarioFourSdo scenarioFourSdo = ScenarioFourFactory.INSTANCE.createScenarioFourSdo(); - scenarioFourSdo.setMessage("Test1"); - scenarioFourSdo.setSymbol("Test2"); - ScenarioFourSdo result = scenarioFour.passScenarioFourStruct(scenarioFourSdo); - assertTrue(scenarioFourSdo.getMessage().equals(result.getMessage()) && scenarioFourSdo.getSymbol() - .equals(result.getSymbol())); - } catch (Exception e) { - e.printStackTrace(); - fail(); - } - } - - /** - * Tests reusing local name server with multiple bindings - */ - @Test - public void test_nameServerReuse() { - try { - ScenarioFour scenarioFour = - domain.getService(ScenarioFourComponent.class, "ScenarioFourReuse").getScenarioFour(); - ScenarioFourStruct struct = new ScenarioFourStruct(); - scenarioFour.setStruct(struct); - } catch (Exception e) { - e.printStackTrace(); - fail(); - } - } -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/ScenarioOneTestCase.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/ScenarioOneTestCase.java deleted file mode 100644 index 0135c04495..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/ScenarioOneTestCase.java +++ /dev/null @@ -1,371 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba; - -import static org.junit.Assert.assertTrue; -import static org.junit.Assert.fail; -import junit.framework.Assert; - -import org.apache.tuscany.sca.host.corba.jse.DefaultCorbaHost; -import org.apache.tuscany.sca.host.corba.naming.TransientNameServer; -import org.apache.tuscany.sca.host.corba.naming.TransientNameService; -import org.apache.tuscany.sca.host.embedded.SCADomain; -import org.apache.tuscany.sca.test.corba.generated.Color; -import org.apache.tuscany.sca.test.corba.generated.InnerStruct; -import org.apache.tuscany.sca.test.corba.generated.RichStruct; -import org.apache.tuscany.sca.test.corba.generated.ScenarioOne; -import org.apache.tuscany.sca.test.corba.generated.ScenarioOneHelper; -import org.apache.tuscany.sca.test.corba.generated.ScenarioOneOperations; -import org.apache.tuscany.sca.test.corba.generated.UnexpectedException; -import org.apache.tuscany.sca.test.corba.generated.WrongColor; -import org.apache.tuscany.sca.test.corba.types.ScenarioOneServant; -import org.apache.tuscany.sca.test.corba.types.TColor; -import org.apache.tuscany.sca.test.corba.types.TInnerStruct; -import org.apache.tuscany.sca.test.corba.types.TRichStruct; -import org.apache.tuscany.sca.test.corba.types.TScenarioOne; -import org.junit.AfterClass; -import org.junit.BeforeClass; -import org.junit.Test; -import org.omg.CORBA.ORB; -import org.omg.CosNaming.NameComponent; -import org.omg.CosNaming.NamingContext; -import org.omg.CosNaming.NamingContextHelper; - -/** - * @version $Rev$ $Date$ - * This test class contains three main tests:
- * 1. Tuscany is being used as a consumer of some non-Tuscany CORBA service
- * 2. Tuscany is being used as a service provider, which will be consumed by - * non-Tuscany CORBA client
- * 3. Tuscany is being used as a service provider, which will be consumed by - * Tuscany client
- * But that's not all, there are some other variations. Tuscany CORBA binding - * supports using Java interface generated by IDLJ, also it supports interfaces - * provided by user - I combined those cases in each test.
- */ -public class ScenarioOneTestCase { - - // note that those values are also used in resources/*.composite file - private static int ORB_INITIAL_PORT = 5060; - private static String SERVICE_NAME = "ScenarioOne"; - - private static SCADomain domain; - - private static TransientNameServer server; - private static ORB orb; - - /** - * Sets up name service, creates and registers traditional CORBA service, - * obtains SCADomain - */ - @BeforeClass - public static void setUp() { - TestCorbaHost.setCorbaHost(new DefaultCorbaHost()); - try { - try { - server = - new TransientNameServer("localhost", ORB_INITIAL_PORT, TransientNameService.DEFAULT_SERVICE_NAME); - Thread t = server.start(); - if (t == null) { - Assert.fail("The naming server cannot be started"); - } - orb = server.getORB(); - } catch (Throwable e) { - e.printStackTrace(); - Assert.fail(e.getMessage()); - } - org.omg.CORBA.Object objRef = orb.resolve_initial_references("NameService"); - NamingContext ncRef = NamingContextHelper.narrow(objRef); - NameComponent nc = new NameComponent(SERVICE_NAME, ""); - NameComponent path[] = {nc}; - ScenarioOne scenarioOne = new ScenarioOneServant(); - ncRef.rebind(path, scenarioOne); - // obtain domain - domain = SCADomain.newInstance("ScenarioOne.composite"); - } catch (Exception e) { - e.printStackTrace(); - } - } - - /** - * Kills previously spawned name service. - */ - @AfterClass - public static void tearDown() { - server.stop(); - } - - /** - * Creates nicely filled structure for user provided interface. - * - * @return - */ - private static TRichStruct getTRichStruct() { - int[][] intArr = new int[][] { {1, 2}, {3, 4}}; - TInnerStruct innerStruct = new TInnerStruct(intArr, "Test", TColor.green); - String[] strSeq = {"i", "Test"}; - return new TRichStruct(innerStruct, strSeq, 1); - - } - - /** - * Creates nicely filled structure for generated interface. - * - * @return - */ - private static RichStruct getRichStruct() { - int[][] intArr = new int[][] { {1, 2}, {3, 4}}; - InnerStruct innerStruct2 = new InnerStruct(intArr, "Test", Color.green); - String[] strSeq = {"i", "Test"}; - return new RichStruct(innerStruct2, strSeq, 1); - } - - /** - * Compares String arrays - * - * @param arg1 - * @param arg2 - * @return - */ - private boolean areSrringArraysEqual(String[] arg1, String[] arg2) { - try { - for (int i = 0; i < arg1.length; i++) { - if (!arg1[i].equals(arg2[i])) { - return false; - } - } - } catch (Exception e) { - return false; - } - return true; - } - - /** - * Compares two dimensional int arrays - * - * @param arg1 - * @param arg2 - * @return - */ - private boolean areTwoDimIntArraysEqual(int[][] arg1, int[][] arg2) { - try { - for (int i = 0; i < arg1.length; i++) { - for (int j = 0; j < arg1[i].length; j++) { - if (arg1[i][j] != arg2[i][j]) { - return false; - } - } - } - } catch (Exception e) { - return false; - } - return true; - } - - private boolean equalTo(TInnerStruct arg1, TInnerStruct arg2) { - return (arg1.color.value() == arg2.color.value() && arg1.stringField.equals(arg2.stringField) && areTwoDimIntArraysEqual(arg1.twoDimLongSequence, - arg2.twoDimLongSequence)); - } - - private boolean equalTo(InnerStruct arg1, InnerStruct arg2) { - return (arg1.color.value() == arg2.color.value() && arg1.stringField.equals(arg2.stringField) && areTwoDimIntArraysEqual(arg1.twoDimLongSequence, - arg2.twoDimLongSequence)); - } - - private boolean equalTo(TRichStruct arg1, TRichStruct arg2) { - return (equalTo(arg1.innerStruct, arg2.innerStruct) && arg2.longField == arg1.longField && areSrringArraysEqual(arg1.stringSequence, - arg2.stringSequence)); - } - - private boolean equalTo(RichStruct arg1, RichStruct arg2) { - return (equalTo(arg1.innerStruct, arg2.innerStruct) && arg2.longField == arg1.longField && areSrringArraysEqual(arg1.stringSequence, - arg2.stringSequence)); - } - - /** - * Helper method used several times for various components. Executes several - * tests using Tuscany reference binding. This helper uses generated Java - * interface. - * - * @param componentName - */ - private void testClientUsingGeneratedInterface(String componentName) { - ScenarioOneOperations component = domain.getService(ScenarioOneOperations.class, componentName); - RichStruct richStruct = getRichStruct(); - - try { - RichStruct result = component.setRichStruct(richStruct); - assertTrue(equalTo(result, richStruct)); - } catch (Exception e) { - e.printStackTrace(); - fail(); - } - - try { - richStruct.longField = 0; - component.setRichStruct(richStruct); - fail(); - } catch (Exception e) { - assertTrue(e instanceof UnexpectedException); - } - - try { - richStruct.longField = 1; - richStruct.innerStruct.color = Color.red; - component.setRichStruct(richStruct); - } catch (Exception e) { - assertTrue(e instanceof WrongColor); - } - } - - /** - * Helper method used several times for various components. Executes several - * tests using Tuscany reference binding. This helper uses user provided - * Java interface. - * - * @param componentName - */ - private void testClientUsingUserProvidedInterface(String componentName) { - TScenarioOne component = domain.getService(TScenarioOne.class, componentName); - TRichStruct tRichStruct = getTRichStruct(); - - try { - TRichStruct result = component.setRichStruct(tRichStruct); - assertTrue(equalTo(result, tRichStruct)); - } catch (Exception e) { - fail(); - } - - try { - tRichStruct.longField = 0; - component.setRichStruct(tRichStruct); - fail(); - } catch (Exception e) { - assertTrue(e instanceof UnexpectedException); - } - - try { - tRichStruct.longField = 1; - tRichStruct.innerStruct.color = TColor.red; - component.setRichStruct(tRichStruct); - } catch (Exception e) { - assertTrue(e instanceof WrongColor); - } - } - - public void testServiceUsingGeneratedClient(String serviceName) { - try { - org.omg.CORBA.Object objRef = orb.resolve_initial_references("NameService"); - NamingContext ncRef = NamingContextHelper.narrow(objRef); - NameComponent nc = new NameComponent(serviceName, ""); - NameComponent path[] = {nc}; - ScenarioOne so = ScenarioOneHelper.narrow(ncRef.resolve(path)); - - RichStruct richStruct = getRichStruct(); - RichStruct result = so.setRichStruct(richStruct); - assertTrue(equalTo(result, richStruct)); - - try { - richStruct.innerStruct.color = Color.red; - result = so.setRichStruct(richStruct); - fail(); - } catch (Exception e) { - assertTrue(e instanceof WrongColor); - } - - try { - richStruct.innerStruct.color = Color.green; - richStruct.longField = 0; - result = so.setRichStruct(richStruct); - fail(); - } catch (Exception e) { - assertTrue(e instanceof UnexpectedException); - } - - } catch (Exception e) { - e.printStackTrace(); - fail(); - } - } - - /** - * Service is exposed in traditional way (using CORBA API from JDK). - * Reference is obtained from Tuscany. - */ - @Test - public void test_TraditionalService_TuscanyClient() { - - // Client is using user provided interface - testClientUsingUserProvidedInterface("ScenarioOne"); - - // Client is using generated interface - testClientUsingGeneratedInterface("ScenarioOneGenerated"); - } - - /** - * Service is exposed by Tuscany. Reference is obtained in traditional way. - * (using CORBA API from JDK) - * - * @throws Exception - */ - @Test - public void test_TuscanyService_TraditionalClient() throws Exception { - - // tests service which uses user provided interface - testServiceUsingGeneratedClient("ScenarioOneTuscany"); - - // tests service which uses generated interface - testServiceUsingGeneratedClient("ScenarioOneTuscanyGenerated"); - } - - /** - * Service is exposed by Tuscany. Reference is obtained from Tuscany. There - * are 4 combinations (basing on if we are using generated or user provided - * interfaces, both on service and reference side). - */ - @Test - public void test_TuscanyService_TuscanyClient() { - - // Client is using user provided interface, service is using user - // provided interface. - testClientUsingUserProvidedInterface("TU2TS1"); - - // Client is using user provided interface, service is using generated - // interface. - testClientUsingUserProvidedInterface("TU2TS2"); - - // Client is using generated interface, service is using user provided - // interface. - testClientUsingGeneratedInterface("TG2TS1"); - - // Client is using generated interface, service is using generated - // interface. - testClientUsingGeneratedInterface("TG2TS2"); - } - - /** - * Tests using reference obtained by corbaname URI - */ - @Test - public void test_serviceAndReferenceByURI() { - testClientUsingUserProvidedInterface("UriBinding"); - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/ScenarioSixTestCase.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/ScenarioSixTestCase.java deleted file mode 100644 index b7309d68a0..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/ScenarioSixTestCase.java +++ /dev/null @@ -1,228 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba; - -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertTrue; -import static org.junit.Assert.fail; -import junit.framework.Assert; - -import org.apache.tuscany.sca.host.corba.jse.DefaultCorbaHost; -import org.apache.tuscany.sca.host.corba.naming.TransientNameServer; -import org.apache.tuscany.sca.host.corba.naming.TransientNameService; -import org.apache.tuscany.sca.host.embedded.SCADomain; -import org.apache.tuscany.sca.test.corba.generated.AnnotatedStruct; -import org.apache.tuscany.sca.test.corba.generated.InnerUnion; -import org.apache.tuscany.sca.test.corba.generated.RichUnion; -import org.apache.tuscany.sca.test.corba.generated.ScenarioSix; -import org.apache.tuscany.sca.test.corba.generated.ScenarioSixHelper; -import org.apache.tuscany.sca.test.corba.types.ScenarioSixServant; -import org.apache.tuscany.sca.test.corba.types.TAnnotatedStruct; -import org.apache.tuscany.sca.test.corba.types.TInnerUnion; -import org.apache.tuscany.sca.test.corba.types.TRichUnion; -import org.apache.tuscany.sca.test.corba.types.TScenarioSix; -import org.apache.tuscany.sca.test.corba.types.TScenarioSixComponent; -import org.junit.AfterClass; -import org.junit.BeforeClass; -import org.junit.Test; -import org.omg.CORBA.ORB; -import org.omg.CosNaming.NameComponent; -import org.omg.CosNaming.NamingContext; -import org.omg.CosNaming.NamingContextHelper; - -/** - * Tests using enhanced Java interfaces (annotations) - * - * @version $Rev$ $Date$ - */ -public class ScenarioSixTestCase { - - // note that those values are also used in resources/*.composite file - private static int ORB_INITIAL_PORT = 5050; - private static String SERVICE_NAME = "ScenarioSix"; - private static String TUSCANY_SERVICE_NAME = "ScenarioSixTuscany"; - - private static SCADomain domain; - - private static TransientNameServer server; - private static ORB orb; - - /** - * Sets up name service, creates and registers traditional CORBA service, - * obtains SCADomain - */ - @BeforeClass - public static void setUp() { - TestCorbaHost.setCorbaHost(new DefaultCorbaHost()); - try { - try { - server = - new TransientNameServer("localhost", ORB_INITIAL_PORT, TransientNameService.DEFAULT_SERVICE_NAME); - Thread t = server.start(); - if (t == null) { - Assert.fail("The naming server cannot be started"); - } - orb = server.getORB(); - } catch (Throwable e) { - e.printStackTrace(); - Assert.fail(e.getMessage()); - } - org.omg.CORBA.Object objRef = orb.resolve_initial_references("NameService"); - NamingContext ncRef = NamingContextHelper.narrow(objRef); - NameComponent nc = new NameComponent(SERVICE_NAME, ""); - NameComponent path[] = {nc}; - ScenarioSix scenarioSix = new ScenarioSixServant(); - ncRef.rebind(path, scenarioSix); - // obtain domain - domain = SCADomain.newInstance("ScenarioSix.composite"); - } catch (Exception e) { - e.printStackTrace(); - } - } - - /** - * Kills previously spawned name service. - */ - @AfterClass - public static void tearDown() { - server.stop(); - } - - private boolean areArraysEqual(String[][] arr1, String[][] arr2) { - for (int i = 0; i < arr1.length; i++) { - for (int j = 0; j < arr1[i].length; j++) { - if (!arr1[i][j].equals(arr2[i][j])) { - return false; - } - } - } - return true; - } - - private String[][] getStringArray() { - String[][] result = { {"Hello", "World"}, {"Hi", "Again"}}; - return result; - } - - /** - * Tests passing arrays. Tuscany acts as a client, servant object is served - * in a traditional way - */ - @Test - public void test_arraysPassing_tuscanyAsClient() { - try { - TScenarioSix ref = domain.getService(TScenarioSixComponent.class, "ScenarioSix").getScenarioSix(); - String[][] arrayArg = getStringArray(); - String[][] arrayRes = ref.passStringArray(arrayArg); - assertTrue(areArraysEqual(arrayArg, arrayRes)); - TAnnotatedStruct structArg = new TAnnotatedStruct(); - structArg.stringArray = getStringArray(); - TAnnotatedStruct structRes = ref.passAnnotatedStruct(structArg); - assertTrue(areArraysEqual(structArg.stringArray, structRes.stringArray)); - } catch (Exception e) { - e.printStackTrace(); - fail(); - } - } - - /** - * Tests passing arrays. Servant object is served by Tuscany and it is - * accessed by traditional Corba client - */ - @Test - public void test_arraysPassing_tuscanyAsService() { - try { - org.omg.CORBA.Object objRef = orb.resolve_initial_references("NameService"); - NamingContext ncRef = NamingContextHelper.narrow(objRef); - NameComponent nc = new NameComponent(TUSCANY_SERVICE_NAME, ""); - NameComponent path[] = {nc}; - ScenarioSix ref = ScenarioSixHelper.narrow(ncRef.resolve(path)); - String[][] stringArg = getStringArray(); - String[][] stringRes = ref.passStringArray(stringArg); - assertTrue(areArraysEqual(stringArg, stringRes)); - AnnotatedStruct structArg = new AnnotatedStruct(); - structArg.stringArray = getStringArray(); - AnnotatedStruct structRes = ref.passAnnotatedStruct(structArg); - assertTrue(areArraysEqual(structArg.stringArray, structRes.stringArray)); - } catch (Exception e) { - e.printStackTrace(); - fail(); - } - } - - /** - * Tests passing unions. Tuscany acts as a client, servant object is served - * in a traditional way - */ - @Test - public void test_unionsPassing_tuscanyAsClient() { - try { - TScenarioSix ref = domain.getService(TScenarioSixComponent.class, "ScenarioSix").getScenarioSix(); - TRichUnion arg = new TRichUnion(); - TInnerUnion inner = new TInnerUnion(); - inner.setY(10f); - arg.setIu(inner); - TRichUnion result = ref.passRichUnion(arg); - assertEquals(arg.getIu().getY(), result.getIu().getY(), 0.0f); - } catch (Exception e) { - e.printStackTrace(); - fail(); - } - try { - TScenarioSix ref = domain.getService(TScenarioSixComponent.class, "ScenarioSix").getScenarioSix(); - TRichUnion arg = new TRichUnion(); - arg.setY(15f); - TRichUnion result = ref.passRichUnion(arg); - assertEquals(arg.getY(), result.getY(), 0.0f); - } catch (Exception e) { - e.printStackTrace(); - fail(); - } - } - - /** - * Tests passing unions. Servant object is served by Tuscany and it is - * accessed by traditional Corba client - */ - @Test - public void test_unionsPassing_tuscanyAsService() { - try { - org.omg.CORBA.Object objRef = orb.resolve_initial_references("NameService"); - NamingContext ncRef = NamingContextHelper.narrow(objRef); - NameComponent nc = new NameComponent(TUSCANY_SERVICE_NAME, ""); - NameComponent path[] = {nc}; - ScenarioSix ref = ScenarioSixHelper.narrow(ncRef.resolve(path)); - RichUnion arg = new RichUnion(); - InnerUnion inner = new InnerUnion(); - inner.y(20f); - arg.iu(inner); - RichUnion result = ref.passRichUnion(arg); - assertEquals(arg.iu().y(), result.iu().y(), 0.0f); - arg = new RichUnion(); - arg.y(15f); - result = ref.passRichUnion(arg); - assertEquals(arg.y(), result.y(), 0.0f); - } catch (Exception e) { - e.printStackTrace(); - fail(); - } - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/ScenarioThreeTestCase.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/ScenarioThreeTestCase.java deleted file mode 100644 index a738c6f211..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/ScenarioThreeTestCase.java +++ /dev/null @@ -1,130 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba; - -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.fail; -import junit.framework.Assert; - -import org.apache.tuscany.sca.host.corba.jse.DefaultCorbaHost; -import org.apache.tuscany.sca.host.corba.naming.TransientNameServer; -import org.apache.tuscany.sca.host.corba.naming.TransientNameService; -import org.apache.tuscany.sca.host.embedded.SCADomain; -import org.apache.tuscany.sca.test.corba.types.TScenarioThree; -import org.apache.tuscany.sca.test.corba.types.TScenarioThreeComponent; -import org.junit.AfterClass; -import org.junit.BeforeClass; -import org.junit.Test; - -/** - * @version $Rev$ $Date$ - * Tests various mapping scenarios. - */ -public class ScenarioThreeTestCase { - - // note that those values are also used in resources/*.composite file - private static int ORB_INITIAL_PORT = 5060; - private static SCADomain domain; - private static TransientNameServer server; - - /** - * Sets up name service, creates and registers traditional CORBA service, - * obtains SCADomain - */ - @BeforeClass - public static void setUp() { - TestCorbaHost.setCorbaHost(new DefaultCorbaHost()); - try { - try { - server = - new TransientNameServer("localhost", ORB_INITIAL_PORT, TransientNameService.DEFAULT_SERVICE_NAME); - Thread t = server.start(); - if (t == null) { - Assert.fail("The naming server cannot be started"); - } - } catch (Throwable e) { - e.printStackTrace(); - Assert.fail(e.getMessage()); - } - // obtain domain - domain = SCADomain.newInstance("ScenarioThree.composite"); - } catch (Exception e) { - e.printStackTrace(); - } - } - - /** - * Kills previously spawned name service. - */ - @AfterClass - public static void tearDown() { - server.stop(); - } - - /** - * Tests mapping for getters and setters - */ - @Test - public void test_getterSetter() { - try { - TScenarioThree ref = - domain.getService(TScenarioThreeComponent.class, "ScenarioThreeReference").getScenarioThree(); - ref.getIntField(); - ref.setIntField(1); - } catch (Exception e) { - e.printStackTrace(); - fail(); - } - } - - /** - * Tests mapping the same operation names but with different cases - */ - @Test - public void test_nameCase() { - try { - TScenarioThree ref = - domain.getService(TScenarioThreeComponent.class, "ScenarioThreeReference").getScenarioThree(); - assertEquals(0, ref.caseDifferent()); - assertEquals(1, ref.CaseDifferent()); - } catch (Exception e) { - e.printStackTrace(); - fail(); - } - } - - /** - * Tests mappings for operations with overloaded names - */ - @Test - public void test_overloadedNames() { - try { - TScenarioThree ref = - domain.getService(TScenarioThreeComponent.class, "ScenarioThreeReference").getScenarioThree(); - ref.overloadedName(); - ref.overloadedName(""); - ref.overloadedName("", 0); - } catch (Exception e) { - e.printStackTrace(); - fail(); - } - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/ScenarioTwoTestCase.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/ScenarioTwoTestCase.java deleted file mode 100644 index 008212bdbe..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/ScenarioTwoTestCase.java +++ /dev/null @@ -1,139 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba; - -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.fail; -import junit.framework.Assert; - -import org.apache.tuscany.sca.host.corba.jse.DefaultCorbaHost; -import org.apache.tuscany.sca.host.corba.naming.TransientNameServer; -import org.apache.tuscany.sca.host.corba.naming.TransientNameService; -import org.apache.tuscany.sca.host.embedded.SCADomain; -import org.apache.tuscany.sca.test.corba.generated.ScenarioTwo; -import org.apache.tuscany.sca.test.corba.generated.ScenarioTwoHelper; -import org.apache.tuscany.sca.test.corba.types.ScenarioTwoServant; -import org.apache.tuscany.sca.test.corba.types.TScenarioTwo; -import org.apache.tuscany.sca.test.corba.types.TScenarioTwoComponent; -import org.junit.AfterClass; -import org.junit.BeforeClass; -import org.junit.Test; -import org.omg.CORBA.ORB; -import org.omg.CosNaming.NameComponent; -import org.omg.CosNaming.NamingContext; -import org.omg.CosNaming.NamingContextHelper; - -/** - * @version $Rev$ $Date$ - * Tests attribute get/set mapping using cooperation between traditional CORBA - * and Tuscany CORBA - */ -public class ScenarioTwoTestCase { - - // note that those values are also used in resources/*.composite file - private static int ORB_INITIAL_PORT = 5060; - - private static SCADomain domain; - - private static TransientNameServer server; - private static ORB orb; - private static String TUSCANY_SERVICE_NAME = "ScenarioTwo"; - private static String GENERATED_SERVICE_NAME = "ScenarioTwoGenerated"; - - /** - * Sets up name service, creates and registers traditional CORBA service, - * obtains SCADomain - */ - @BeforeClass - public static void setUp() { - TestCorbaHost.setCorbaHost(new DefaultCorbaHost()); - try { - try { - server = - new TransientNameServer("localhost", ORB_INITIAL_PORT, TransientNameService.DEFAULT_SERVICE_NAME); - Thread t = server.start(); - if (t == null) { - Assert.fail("The naming server cannot be started"); - } - orb = server.getORB(); - org.omg.CORBA.Object objRef = orb.resolve_initial_references("NameService"); - NamingContext ncRef = NamingContextHelper.narrow(objRef); - NameComponent nc = new NameComponent(GENERATED_SERVICE_NAME, ""); - NameComponent path[] = {nc}; - ScenarioTwo scenarioTwo = new ScenarioTwoServant(); - ncRef.rebind(path, scenarioTwo); - } catch (Throwable e) { - e.printStackTrace(); - Assert.fail(e.getMessage()); - } - // obtain domain - domain = SCADomain.newInstance("ScenarioTwo.composite"); - } catch (Exception e) { - e.printStackTrace(); - } - } - - /** - * Kills previously spawned name service. - */ - @AfterClass - public static void tearDown() { - server.stop(); - } - - /** - * Tests using objects attribute (which is server in traditional way) by - * Tuscany CORBA binding - */ - @Test - public void test_tuscanyGetSetAttribute() { - try { - TScenarioTwo ref = domain.getService(TScenarioTwoComponent.class, "ScenarioTwo").getScenarioTwo(); - String strVal = "Whatever"; - ref.setStringField(strVal); - assertEquals(strVal, ref.getStringField()); - } catch (Exception e) { - e.printStackTrace(); - fail(); - } - } - - /** - * Tests using objects attribute (which is served by Tuscany) in traditional - * way (by idlj generated code) - */ - @Test - public void test_getneratedGetSetAttribute() { - try { - orb = server.getORB(); - org.omg.CORBA.Object objRef = orb.resolve_initial_references("NameService"); - NamingContext ncRef = NamingContextHelper.narrow(objRef); - NameComponent nc = new NameComponent(TUSCANY_SERVICE_NAME, ""); - NameComponent path[] = {nc}; - ScenarioTwo st = ScenarioTwoHelper.narrow(ncRef.resolve(path)); - st.stringField(""); - assertEquals("", st.stringField()); - } catch (Exception e) { - e.printStackTrace(); - fail(); - } - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/TestCorbaHost.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/TestCorbaHost.java deleted file mode 100644 index bd1ce8cb49..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/TestCorbaHost.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba; - -import org.apache.tuscany.sca.host.corba.CorbaHost; -import org.apache.tuscany.sca.host.corba.CorbaHostException; -import org.apache.tuscany.sca.host.corba.jse.DefaultCorbaHost; -import org.omg.CORBA.Object; - -/** - * @version $Rev$ $Date$ - * Mock Corba host which proxies to configured Corba host - */ -public class TestCorbaHost implements CorbaHost { - - private static CorbaHost corbaHost = new DefaultCorbaHost(); - - /** - * Configures environment to use given Corba host - * - * @param corbaHost Corba host to use - */ - public static void setCorbaHost(CorbaHost corbaHost) { - TestCorbaHost.corbaHost = corbaHost; - } - - public Object lookup(String arg0) throws CorbaHostException { - return TestCorbaHost.corbaHost.lookup(arg0); - } - - public void registerServant(String arg0, Object arg1) throws CorbaHostException { - TestCorbaHost.corbaHost.registerServant(arg0, arg1); - } - - public void unregisterServant(String arg0) throws CorbaHostException { - TestCorbaHost.corbaHost.unregisterServant(arg0); - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/TestCorbaHostModuleActivator.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/TestCorbaHostModuleActivator.java deleted file mode 100644 index c25372c837..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/TestCorbaHostModuleActivator.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba; - -import org.apache.tuscany.sca.core.ExtensionPointRegistry; -import org.apache.tuscany.sca.core.ModuleActivator; -import org.apache.tuscany.sca.host.corba.CorbaHostExtensionPoint; - -/** - * @version $Rev$ $Date$ - * Registers TestCorbaHost as a Corba host extension. - */ -public class TestCorbaHostModuleActivator implements ModuleActivator { - - public void start(ExtensionPointRegistry extensionPointRegistry) { - CorbaHostExtensionPoint chep = extensionPointRegistry.getExtensionPoint(CorbaHostExtensionPoint.class); - chep.getCorbaHosts().add(0, new TestCorbaHost()); - } - - public void stop(ExtensionPointRegistry extensionPointRegistry) { - - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/AnnotatedStruct.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/AnnotatedStruct.java deleted file mode 100644 index abcec43d0e..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/AnnotatedStruct.java +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.generated; - - -/** -* org/apache/tuscany/sca/test/corba/generated/AnnotatedStruct.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from itest_scenario.idl -* sobota, 16 sierpieñ 2008 15:31:35 CEST -*/ - -public final class AnnotatedStruct implements org.omg.CORBA.portable.IDLEntity -{ - public String stringArray[][] = null; - - public AnnotatedStruct () - { - } // ctor - - public AnnotatedStruct (String[][] _stringArray) - { - stringArray = _stringArray; - } // ctor - -} // class AnnotatedStruct diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/AnnotatedStructHelper.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/AnnotatedStructHelper.java deleted file mode 100644 index 171a7919a2..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/AnnotatedStructHelper.java +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.generated; - - -/** -* org/apache/tuscany/sca/test/corba/generated/AnnotatedStructHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from itest_scenario.idl -* sobota, 16 sierpieñ 2008 15:31:35 CEST -*/ - -abstract public class AnnotatedStructHelper -{ - private static String _id = "IDL:org/apache/tuscany/sca/test/corba/generated/AnnotatedStruct/AnnotatedStruct:1.0"; - - public static void insert (org.omg.CORBA.Any a, org.apache.tuscany.sca.test.corba.generated.AnnotatedStruct that) - { - org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); - a.type (type ()); - write (out, that); - a.read_value (out.create_input_stream (), type ()); - } - - public static org.apache.tuscany.sca.test.corba.generated.AnnotatedStruct extract (org.omg.CORBA.Any a) - { - return read (a.create_input_stream ()); - } - - private static org.omg.CORBA.TypeCode __typeCode = null; - private static boolean __active = false; - synchronized public static org.omg.CORBA.TypeCode type () - { - if (__typeCode == null) - { - synchronized (org.omg.CORBA.TypeCode.class) - { - if (__typeCode == null) - { - if (__active) - { - return org.omg.CORBA.ORB.init().create_recursive_tc ( _id ); - } - __active = true; - org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [1]; - org.omg.CORBA.TypeCode _tcOf_members0 = null; - _tcOf_members0 = org.omg.CORBA.ORB.init ().create_string_tc (0); - _tcOf_members0 = org.omg.CORBA.ORB.init ().create_array_tc (2, _tcOf_members0 ); - _tcOf_members0 = org.omg.CORBA.ORB.init ().create_array_tc (2, _tcOf_members0 ); - _tcOf_members0 = org.omg.CORBA.ORB.init ().create_alias_tc (org.apache.tuscany.sca.test.corba.generated.StringArrayHelper.id (), "StringArray", _tcOf_members0); - _members0[0] = new org.omg.CORBA.StructMember ( - "stringArray", - _tcOf_members0, - null); - __typeCode = org.omg.CORBA.ORB.init ().create_struct_tc (org.apache.tuscany.sca.test.corba.generated.AnnotatedStructHelper.id (), "AnnotatedStruct", _members0); - __active = false; - } - } - } - return __typeCode; - } - - public static String id () - { - return _id; - } - - public static org.apache.tuscany.sca.test.corba.generated.AnnotatedStruct read (org.omg.CORBA.portable.InputStream istream) - { - org.apache.tuscany.sca.test.corba.generated.AnnotatedStruct value = new org.apache.tuscany.sca.test.corba.generated.AnnotatedStruct (); - value.stringArray = org.apache.tuscany.sca.test.corba.generated.StringArrayHelper.read (istream); - return value; - } - - public static void write (org.omg.CORBA.portable.OutputStream ostream, org.apache.tuscany.sca.test.corba.generated.AnnotatedStruct value) - { - org.apache.tuscany.sca.test.corba.generated.StringArrayHelper.write (ostream, value.stringArray); - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/AnnotatedStructHolder.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/AnnotatedStructHolder.java deleted file mode 100644 index 5f2dc56033..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/AnnotatedStructHolder.java +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.generated; - -/** -* org/apache/tuscany/sca/test/corba/generated/AnnotatedStructHolder.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from itest_scenario.idl -* sobota, 16 sierpieñ 2008 15:31:35 CEST -*/ - -public final class AnnotatedStructHolder implements org.omg.CORBA.portable.Streamable -{ - public org.apache.tuscany.sca.test.corba.generated.AnnotatedStruct value = null; - - public AnnotatedStructHolder () - { - } - - public AnnotatedStructHolder (org.apache.tuscany.sca.test.corba.generated.AnnotatedStruct initialValue) - { - value = initialValue; - } - - public void _read (org.omg.CORBA.portable.InputStream i) - { - value = org.apache.tuscany.sca.test.corba.generated.AnnotatedStructHelper.read (i); - } - - public void _write (org.omg.CORBA.portable.OutputStream o) - { - org.apache.tuscany.sca.test.corba.generated.AnnotatedStructHelper.write (o, value); - } - - public org.omg.CORBA.TypeCode _type () - { - return org.apache.tuscany.sca.test.corba.generated.AnnotatedStructHelper.type (); - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/Color.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/Color.java deleted file mode 100644 index 24a628d406..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/Color.java +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.generated; - - -/** -* org/apache/tuscany/sca/test/corba/generated/Color.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from itest_scenario.idl -* pi±tek, 27 czerwiec 2008 20:40:03 CEST -*/ - -public class Color implements org.omg.CORBA.portable.IDLEntity -{ - private int __value; - private static int __size = 3; - private static org.apache.tuscany.sca.test.corba.generated.Color[] __array = new org.apache.tuscany.sca.test.corba.generated.Color [__size]; - - public static final int _red = 0; - public static final org.apache.tuscany.sca.test.corba.generated.Color red = new org.apache.tuscany.sca.test.corba.generated.Color(_red); - public static final int _yellow = 1; - public static final org.apache.tuscany.sca.test.corba.generated.Color yellow = new org.apache.tuscany.sca.test.corba.generated.Color(_yellow); - public static final int _green = 2; - public static final org.apache.tuscany.sca.test.corba.generated.Color green = new org.apache.tuscany.sca.test.corba.generated.Color(_green); - - public int value () - { - return __value; - } - - public static org.apache.tuscany.sca.test.corba.generated.Color from_int (int value) - { - if (value >= 0 && value < __size) - return __array[value]; - else - throw new org.omg.CORBA.BAD_PARAM (); - } - - protected Color (int value) - { - __value = value; - __array[__value] = this; - } -} // class Color diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/ColorHelper.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/ColorHelper.java deleted file mode 100644 index da37f28e39..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/ColorHelper.java +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.generated; - - -/** -* org/apache/tuscany/sca/test/corba/generated/ColorHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from itest_scenario.idl -* pi±tek, 27 czerwiec 2008 20:40:03 CEST -*/ - -abstract public class ColorHelper -{ - private static String _id = "IDL:org/apache/tuscany/sca/test/corba/generated/Color:1.0"; - - public static void insert (org.omg.CORBA.Any a, org.apache.tuscany.sca.test.corba.generated.Color that) - { - org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); - a.type (type ()); - write (out, that); - a.read_value (out.create_input_stream (), type ()); - } - - public static org.apache.tuscany.sca.test.corba.generated.Color extract (org.omg.CORBA.Any a) - { - return read (a.create_input_stream ()); - } - - private static org.omg.CORBA.TypeCode __typeCode = null; - synchronized public static org.omg.CORBA.TypeCode type () - { - if (__typeCode == null) - { - __typeCode = org.omg.CORBA.ORB.init ().create_enum_tc (org.apache.tuscany.sca.test.corba.generated.ColorHelper.id (), "Color", new String[] { "red", "yellow", "green"} ); - } - return __typeCode; - } - - public static String id () - { - return _id; - } - - public static org.apache.tuscany.sca.test.corba.generated.Color read (org.omg.CORBA.portable.InputStream istream) - { - return org.apache.tuscany.sca.test.corba.generated.Color.from_int (istream.read_long ()); - } - - public static void write (org.omg.CORBA.portable.OutputStream ostream, org.apache.tuscany.sca.test.corba.generated.Color value) - { - ostream.write_long (value.value ()); - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/ColorHolder.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/ColorHolder.java deleted file mode 100644 index 7b2466f791..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/ColorHolder.java +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.generated; - -/** -* org/apache/tuscany/sca/test/corba/generated/ColorHolder.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from itest_scenario.idl -* pi±tek, 27 czerwiec 2008 20:40:03 CEST -*/ - -public final class ColorHolder implements org.omg.CORBA.portable.Streamable -{ - public org.apache.tuscany.sca.test.corba.generated.Color value = null; - - public ColorHolder () - { - } - - public ColorHolder (org.apache.tuscany.sca.test.corba.generated.Color initialValue) - { - value = initialValue; - } - - public void _read (org.omg.CORBA.portable.InputStream i) - { - value = org.apache.tuscany.sca.test.corba.generated.ColorHelper.read (i); - } - - public void _write (org.omg.CORBA.portable.OutputStream o) - { - org.apache.tuscany.sca.test.corba.generated.ColorHelper.write (o, value); - } - - public org.omg.CORBA.TypeCode _type () - { - return org.apache.tuscany.sca.test.corba.generated.ColorHelper.type (); - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/InnerStruct.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/InnerStruct.java deleted file mode 100644 index 27052a1549..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/InnerStruct.java +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.generated; - - -/** -* org/apache/tuscany/sca/test/corba/generated/InnerStruct.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from itest_scenario.idl -* pi±tek, 27 czerwiec 2008 20:40:03 CEST -*/ - -public final class InnerStruct implements org.omg.CORBA.portable.IDLEntity -{ - public int twoDimLongSequence[][] = null; - public String stringField = null; - public org.apache.tuscany.sca.test.corba.generated.Color color = null; - - public InnerStruct () - { - } // ctor - - public InnerStruct (int[][] _twoDimLongSequence, String _stringField, org.apache.tuscany.sca.test.corba.generated.Color _color) - { - twoDimLongSequence = _twoDimLongSequence; - stringField = _stringField; - color = _color; - } // ctor - -} // class InnerStruct diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/InnerStructHelper.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/InnerStructHelper.java deleted file mode 100644 index 57daa51f42..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/InnerStructHelper.java +++ /dev/null @@ -1,112 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.generated; - - -/** -* org/apache/tuscany/sca/test/corba/generated/InnerStructHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from itest_scenario.idl -* pi±tek, 27 czerwiec 2008 20:40:03 CEST -*/ - -abstract public class InnerStructHelper -{ - private static String _id = "IDL:org/apache/tuscany/sca/test/corba/generated/InnerStruct/InnerStruct:1.0"; - - public static void insert (org.omg.CORBA.Any a, org.apache.tuscany.sca.test.corba.generated.InnerStruct that) - { - org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); - a.type (type ()); - write (out, that); - a.read_value (out.create_input_stream (), type ()); - } - - public static org.apache.tuscany.sca.test.corba.generated.InnerStruct extract (org.omg.CORBA.Any a) - { - return read (a.create_input_stream ()); - } - - private static org.omg.CORBA.TypeCode __typeCode = null; - private static boolean __active = false; - synchronized public static org.omg.CORBA.TypeCode type () - { - if (__typeCode == null) - { - synchronized (org.omg.CORBA.TypeCode.class) - { - if (__typeCode == null) - { - if (__active) - { - return org.omg.CORBA.ORB.init().create_recursive_tc ( _id ); - } - __active = true; - org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [3]; - org.omg.CORBA.TypeCode _tcOf_members0 = null; - _tcOf_members0 = org.omg.CORBA.ORB.init ().get_primitive_tc (org.omg.CORBA.TCKind.tk_long); - _tcOf_members0 = org.omg.CORBA.ORB.init ().create_sequence_tc (0, _tcOf_members0); - _tcOf_members0 = org.omg.CORBA.ORB.init ().create_alias_tc (org.apache.tuscany.sca.test.corba.generated.LongSequenceHelper.id (), "LongSequence", _tcOf_members0); - _tcOf_members0 = org.omg.CORBA.ORB.init ().create_sequence_tc (0, _tcOf_members0); - _tcOf_members0 = org.omg.CORBA.ORB.init ().create_alias_tc (org.apache.tuscany.sca.test.corba.generated.TwoDimLongSequenceHelper.id (), "TwoDimLongSequence", _tcOf_members0); - _members0[0] = new org.omg.CORBA.StructMember ( - "twoDimLongSequence", - _tcOf_members0, - null); - _tcOf_members0 = org.omg.CORBA.ORB.init ().create_string_tc (0); - _members0[1] = new org.omg.CORBA.StructMember ( - "stringField", - _tcOf_members0, - null); - _tcOf_members0 = org.apache.tuscany.sca.test.corba.generated.ColorHelper.type (); - _members0[2] = new org.omg.CORBA.StructMember ( - "color", - _tcOf_members0, - null); - __typeCode = org.omg.CORBA.ORB.init ().create_struct_tc (org.apache.tuscany.sca.test.corba.generated.InnerStructHelper.id (), "InnerStruct", _members0); - __active = false; - } - } - } - return __typeCode; - } - - public static String id () - { - return _id; - } - - public static org.apache.tuscany.sca.test.corba.generated.InnerStruct read (org.omg.CORBA.portable.InputStream istream) - { - org.apache.tuscany.sca.test.corba.generated.InnerStruct value = new org.apache.tuscany.sca.test.corba.generated.InnerStruct (); - value.twoDimLongSequence = org.apache.tuscany.sca.test.corba.generated.TwoDimLongSequenceHelper.read (istream); - value.stringField = istream.read_string (); - value.color = org.apache.tuscany.sca.test.corba.generated.ColorHelper.read (istream); - return value; - } - - public static void write (org.omg.CORBA.portable.OutputStream ostream, org.apache.tuscany.sca.test.corba.generated.InnerStruct value) - { - org.apache.tuscany.sca.test.corba.generated.TwoDimLongSequenceHelper.write (ostream, value.twoDimLongSequence); - ostream.write_string (value.stringField); - org.apache.tuscany.sca.test.corba.generated.ColorHelper.write (ostream, value.color); - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/InnerStructHolder.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/InnerStructHolder.java deleted file mode 100644 index 88fef0b4fb..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/InnerStructHolder.java +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.generated; - -/** -* org/apache/tuscany/sca/test/corba/generated/InnerStructHolder.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from itest_scenario.idl -* pi±tek, 27 czerwiec 2008 20:40:03 CEST -*/ - -public final class InnerStructHolder implements org.omg.CORBA.portable.Streamable -{ - public org.apache.tuscany.sca.test.corba.generated.InnerStruct value = null; - - public InnerStructHolder () - { - } - - public InnerStructHolder (org.apache.tuscany.sca.test.corba.generated.InnerStruct initialValue) - { - value = initialValue; - } - - public void _read (org.omg.CORBA.portable.InputStream i) - { - value = org.apache.tuscany.sca.test.corba.generated.InnerStructHelper.read (i); - } - - public void _write (org.omg.CORBA.portable.OutputStream o) - { - org.apache.tuscany.sca.test.corba.generated.InnerStructHelper.write (o, value); - } - - public org.omg.CORBA.TypeCode _type () - { - return org.apache.tuscany.sca.test.corba.generated.InnerStructHelper.type (); - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/InnerUnion.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/InnerUnion.java deleted file mode 100644 index 40c017dd29..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/InnerUnion.java +++ /dev/null @@ -1,112 +0,0 @@ -package org.apache.tuscany.sca.test.corba.generated; - - -/** -* org/apache/tuscany/sca/test/corba/generated/InnerUnion.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from itest_scenario.idl -* niedziela, 17 sierpieñ 2008 19:07:14 CEST -*/ - -public final class InnerUnion implements org.omg.CORBA.portable.IDLEntity -{ - private int ___x; - private float ___y; - private int __discriminator; - private boolean __uninitialized = true; - - public InnerUnion () - { - } - - public int discriminator () - { - if (__uninitialized) - throw new org.omg.CORBA.BAD_OPERATION (); - return __discriminator; - } - - public int x () - { - if (__uninitialized) - throw new org.omg.CORBA.BAD_OPERATION (); - verifyx (__discriminator); - return ___x; - } - - public void x (int value) - { - __discriminator = 1; - ___x = value; - __uninitialized = false; - } - - public void x (int discriminator, int value) - { - verifyx (discriminator); - __discriminator = discriminator; - ___x = value; - __uninitialized = false; - } - - private void verifyx (int discriminator) - { - if (discriminator != 1) - throw new org.omg.CORBA.BAD_OPERATION (); - } - - public float y () - { - if (__uninitialized) - throw new org.omg.CORBA.BAD_OPERATION (); - verifyy (__discriminator); - return ___y; - } - - public void y (float value) - { - __discriminator = 2; - ___y = value; - __uninitialized = false; - } - - public void y (int discriminator, float value) - { - verifyy (discriminator); - __discriminator = discriminator; - ___y = value; - __uninitialized = false; - } - - private void verifyy (int discriminator) - { - if (discriminator != 2) - throw new org.omg.CORBA.BAD_OPERATION (); - } - - public void _default () - { - __discriminator = -2147483648; - __uninitialized = false; - } - - public void _default (int discriminator) - { - verifyDefault( discriminator ) ; - __discriminator = discriminator ; - __uninitialized = false; - } - - private void verifyDefault( int value ) - { - switch (value) { - case 1: - case 2: - throw new org.omg.CORBA.BAD_OPERATION() ; - - default: - return; - } - } - -} // class InnerUnion diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/InnerUnionHelper.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/InnerUnionHelper.java deleted file mode 100644 index 6ec067521e..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/InnerUnionHelper.java +++ /dev/null @@ -1,106 +0,0 @@ -package org.apache.tuscany.sca.test.corba.generated; - - -/** -* org/apache/tuscany/sca/test/corba/generated/InnerUnionHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from itest_scenario.idl -* niedziela, 17 sierpieñ 2008 19:07:14 CEST -*/ - -abstract public class InnerUnionHelper -{ - private static String _id = "IDL:org/apache/tuscany/sca/test/corba/generated/InnerUnion/InnerUnion:1.0"; - - public static void insert (org.omg.CORBA.Any a, org.apache.tuscany.sca.test.corba.generated.InnerUnion that) - { - org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); - a.type (type ()); - write (out, that); - a.read_value (out.create_input_stream (), type ()); - } - - public static org.apache.tuscany.sca.test.corba.generated.InnerUnion extract (org.omg.CORBA.Any a) - { - return read (a.create_input_stream ()); - } - - private static org.omg.CORBA.TypeCode __typeCode = null; - synchronized public static org.omg.CORBA.TypeCode type () - { - if (__typeCode == null) - { - org.omg.CORBA.TypeCode _disTypeCode0; - _disTypeCode0 = org.omg.CORBA.ORB.init ().get_primitive_tc (org.omg.CORBA.TCKind.tk_long); - org.omg.CORBA.UnionMember[] _members0 = new org.omg.CORBA.UnionMember [2]; - org.omg.CORBA.TypeCode _tcOf_members0; - org.omg.CORBA.Any _anyOf_members0; - - // Branch for x (case label 1) - _anyOf_members0 = org.omg.CORBA.ORB.init ().create_any (); - _anyOf_members0.insert_long ((int)1); - _tcOf_members0 = org.omg.CORBA.ORB.init ().get_primitive_tc (org.omg.CORBA.TCKind.tk_long); - _members0[0] = new org.omg.CORBA.UnionMember ( - "x", - _anyOf_members0, - _tcOf_members0, - null); - - // Branch for y (case label 2) - _anyOf_members0 = org.omg.CORBA.ORB.init ().create_any (); - _anyOf_members0.insert_long ((int)2); - _tcOf_members0 = org.omg.CORBA.ORB.init ().get_primitive_tc (org.omg.CORBA.TCKind.tk_float); - _members0[1] = new org.omg.CORBA.UnionMember ( - "y", - _anyOf_members0, - _tcOf_members0, - null); - __typeCode = org.omg.CORBA.ORB.init ().create_union_tc (org.apache.tuscany.sca.test.corba.generated.InnerUnionHelper.id (), "InnerUnion", _disTypeCode0, _members0); - } - return __typeCode; - } - - public static String id () - { - return _id; - } - - public static org.apache.tuscany.sca.test.corba.generated.InnerUnion read (org.omg.CORBA.portable.InputStream istream) - { - org.apache.tuscany.sca.test.corba.generated.InnerUnion value = new org.apache.tuscany.sca.test.corba.generated.InnerUnion (); - int _dis0 = (int)0; - _dis0 = istream.read_long (); - switch (_dis0) - { - case 1: - int _x = (int)0; - _x = istream.read_long (); - value.x (_x); - break; - case 2: - float _y = (float)0; - _y = istream.read_float (); - value.y (_y); - break; - default: - value._default( _dis0 ) ; - break; - } - return value; - } - - public static void write (org.omg.CORBA.portable.OutputStream ostream, org.apache.tuscany.sca.test.corba.generated.InnerUnion value) - { - ostream.write_long (value.discriminator ()); - switch (value.discriminator ()) - { - case 1: - ostream.write_long (value.x ()); - break; - case 2: - ostream.write_float (value.y ()); - break; - } - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/InnerUnionHolder.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/InnerUnionHolder.java deleted file mode 100644 index 8955f81694..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/InnerUnionHolder.java +++ /dev/null @@ -1,38 +0,0 @@ -package org.apache.tuscany.sca.test.corba.generated; - -/** -* org/apache/tuscany/sca/test/corba/generated/InnerUnionHolder.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from itest_scenario.idl -* niedziela, 17 sierpieñ 2008 19:07:14 CEST -*/ - -public final class InnerUnionHolder implements org.omg.CORBA.portable.Streamable -{ - public org.apache.tuscany.sca.test.corba.generated.InnerUnion value = null; - - public InnerUnionHolder () - { - } - - public InnerUnionHolder (org.apache.tuscany.sca.test.corba.generated.InnerUnion initialValue) - { - value = initialValue; - } - - public void _read (org.omg.CORBA.portable.InputStream i) - { - value = org.apache.tuscany.sca.test.corba.generated.InnerUnionHelper.read (i); - } - - public void _write (org.omg.CORBA.portable.OutputStream o) - { - org.apache.tuscany.sca.test.corba.generated.InnerUnionHelper.write (o, value); - } - - public org.omg.CORBA.TypeCode _type () - { - return org.apache.tuscany.sca.test.corba.generated.InnerUnionHelper.type (); - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/LongSequenceHelper.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/LongSequenceHelper.java deleted file mode 100644 index 940b391499..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/LongSequenceHelper.java +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.generated; - - -/** -* org/apache/tuscany/sca/test/corba/generated/LongSequenceHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from itest_scenario.idl -* pi±tek, 27 czerwiec 2008 20:40:03 CEST -*/ - -abstract public class LongSequenceHelper -{ - private static String _id = "IDL:org/apache/tuscany/sca/test/corba/generated/LongSequence:1.0"; - - public static void insert (org.omg.CORBA.Any a, int[] that) - { - org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); - a.type (type ()); - write (out, that); - a.read_value (out.create_input_stream (), type ()); - } - - public static int[] extract (org.omg.CORBA.Any a) - { - return read (a.create_input_stream ()); - } - - private static org.omg.CORBA.TypeCode __typeCode = null; - synchronized public static org.omg.CORBA.TypeCode type () - { - if (__typeCode == null) - { - __typeCode = org.omg.CORBA.ORB.init ().get_primitive_tc (org.omg.CORBA.TCKind.tk_long); - __typeCode = org.omg.CORBA.ORB.init ().create_sequence_tc (0, __typeCode); - __typeCode = org.omg.CORBA.ORB.init ().create_alias_tc (org.apache.tuscany.sca.test.corba.generated.LongSequenceHelper.id (), "LongSequence", __typeCode); - } - return __typeCode; - } - - public static String id () - { - return _id; - } - - public static int[] read (org.omg.CORBA.portable.InputStream istream) - { - int value[] = null; - int _len0 = istream.read_long (); - value = new int[_len0]; - istream.read_long_array (value, 0, _len0); - return value; - } - - public static void write (org.omg.CORBA.portable.OutputStream ostream, int[] value) - { - ostream.write_long (value.length); - ostream.write_long_array (value, 0, value.length); - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/LongSequenceHolder.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/LongSequenceHolder.java deleted file mode 100644 index 63a11dc56a..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/LongSequenceHolder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.generated; - - -/** -* org/apache/tuscany/sca/test/corba/generated/LongSequenceHolder.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from itest_scenario.idl -* pi±tek, 27 czerwiec 2008 20:40:03 CEST -*/ - -public final class LongSequenceHolder implements org.omg.CORBA.portable.Streamable -{ - public int value[] = null; - - public LongSequenceHolder () - { - } - - public LongSequenceHolder (int[] initialValue) - { - value = initialValue; - } - - public void _read (org.omg.CORBA.portable.InputStream i) - { - value = org.apache.tuscany.sca.test.corba.generated.LongSequenceHelper.read (i); - } - - public void _write (org.omg.CORBA.portable.OutputStream o) - { - org.apache.tuscany.sca.test.corba.generated.LongSequenceHelper.write (o, value); - } - - public org.omg.CORBA.TypeCode _type () - { - return org.apache.tuscany.sca.test.corba.generated.LongSequenceHelper.type (); - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/RichStruct.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/RichStruct.java deleted file mode 100644 index 8c0bfc9e39..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/RichStruct.java +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.generated; - - -/** -* org/apache/tuscany/sca/test/corba/generated/RichStruct.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from itest_scenario.idl -* pi±tek, 27 czerwiec 2008 20:40:03 CEST -*/ - -public final class RichStruct implements org.omg.CORBA.portable.IDLEntity -{ - public org.apache.tuscany.sca.test.corba.generated.InnerStruct innerStruct = null; - public String stringSequence[] = null; - public int longField = (int)0; - - public RichStruct () - { - } // ctor - - public RichStruct (org.apache.tuscany.sca.test.corba.generated.InnerStruct _innerStruct, String[] _stringSequence, int _longField) - { - innerStruct = _innerStruct; - stringSequence = _stringSequence; - longField = _longField; - } // ctor - -} // class RichStruct diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/RichStructHelper.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/RichStructHelper.java deleted file mode 100644 index 72ff55a711..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/RichStructHelper.java +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.generated; - - -/** -* org/apache/tuscany/sca/test/corba/generated/RichStructHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from itest_scenario.idl -* pi±tek, 27 czerwiec 2008 20:40:03 CEST -*/ - -abstract public class RichStructHelper -{ - private static String _id = "IDL:org/apache/tuscany/sca/test/corba/generated/RichStruct/RichStruct:1.0"; - - public static void insert (org.omg.CORBA.Any a, org.apache.tuscany.sca.test.corba.generated.RichStruct that) - { - org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); - a.type (type ()); - write (out, that); - a.read_value (out.create_input_stream (), type ()); - } - - public static org.apache.tuscany.sca.test.corba.generated.RichStruct extract (org.omg.CORBA.Any a) - { - return read (a.create_input_stream ()); - } - - private static org.omg.CORBA.TypeCode __typeCode = null; - private static boolean __active = false; - synchronized public static org.omg.CORBA.TypeCode type () - { - if (__typeCode == null) - { - synchronized (org.omg.CORBA.TypeCode.class) - { - if (__typeCode == null) - { - if (__active) - { - return org.omg.CORBA.ORB.init().create_recursive_tc ( _id ); - } - __active = true; - org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [3]; - org.omg.CORBA.TypeCode _tcOf_members0 = null; - _tcOf_members0 = org.apache.tuscany.sca.test.corba.generated.InnerStructHelper.type (); - _members0[0] = new org.omg.CORBA.StructMember ( - "innerStruct", - _tcOf_members0, - null); - _tcOf_members0 = org.omg.CORBA.ORB.init ().create_string_tc (0); - _tcOf_members0 = org.omg.CORBA.ORB.init ().create_sequence_tc (0, _tcOf_members0); - _tcOf_members0 = org.omg.CORBA.ORB.init ().create_alias_tc (org.apache.tuscany.sca.test.corba.generated.StringSequenceHelper.id (), "StringSequence", _tcOf_members0); - _members0[1] = new org.omg.CORBA.StructMember ( - "stringSequence", - _tcOf_members0, - null); - _tcOf_members0 = org.omg.CORBA.ORB.init ().get_primitive_tc (org.omg.CORBA.TCKind.tk_long); - _members0[2] = new org.omg.CORBA.StructMember ( - "longField", - _tcOf_members0, - null); - __typeCode = org.omg.CORBA.ORB.init ().create_struct_tc (org.apache.tuscany.sca.test.corba.generated.RichStructHelper.id (), "RichStruct", _members0); - __active = false; - } - } - } - return __typeCode; - } - - public static String id () - { - return _id; - } - - public static org.apache.tuscany.sca.test.corba.generated.RichStruct read (org.omg.CORBA.portable.InputStream istream) - { - org.apache.tuscany.sca.test.corba.generated.RichStruct value = new org.apache.tuscany.sca.test.corba.generated.RichStruct (); - value.innerStruct = org.apache.tuscany.sca.test.corba.generated.InnerStructHelper.read (istream); - value.stringSequence = org.apache.tuscany.sca.test.corba.generated.StringSequenceHelper.read (istream); - value.longField = istream.read_long (); - return value; - } - - public static void write (org.omg.CORBA.portable.OutputStream ostream, org.apache.tuscany.sca.test.corba.generated.RichStruct value) - { - org.apache.tuscany.sca.test.corba.generated.InnerStructHelper.write (ostream, value.innerStruct); - org.apache.tuscany.sca.test.corba.generated.StringSequenceHelper.write (ostream, value.stringSequence); - ostream.write_long (value.longField); - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/RichStructHolder.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/RichStructHolder.java deleted file mode 100644 index 8a063b8b9d..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/RichStructHolder.java +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.generated; - -/** -* org/apache/tuscany/sca/test/corba/generated/RichStructHolder.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from itest_scenario.idl -* pi±tek, 27 czerwiec 2008 20:40:03 CEST -*/ - -public final class RichStructHolder implements org.omg.CORBA.portable.Streamable -{ - public org.apache.tuscany.sca.test.corba.generated.RichStruct value = null; - - public RichStructHolder () - { - } - - public RichStructHolder (org.apache.tuscany.sca.test.corba.generated.RichStruct initialValue) - { - value = initialValue; - } - - public void _read (org.omg.CORBA.portable.InputStream i) - { - value = org.apache.tuscany.sca.test.corba.generated.RichStructHelper.read (i); - } - - public void _write (org.omg.CORBA.portable.OutputStream o) - { - org.apache.tuscany.sca.test.corba.generated.RichStructHelper.write (o, value); - } - - public org.omg.CORBA.TypeCode _type () - { - return org.apache.tuscany.sca.test.corba.generated.RichStructHelper.type (); - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/RichUnion.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/RichUnion.java deleted file mode 100644 index 4a3376c476..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/RichUnion.java +++ /dev/null @@ -1,177 +0,0 @@ -package org.apache.tuscany.sca.test.corba.generated; - - -/** -* org/apache/tuscany/sca/test/corba/generated/RichUnion.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from itest_scenario.idl -* niedziela, 17 sierpieñ 2008 19:07:14 CEST -*/ - -public final class RichUnion implements org.omg.CORBA.portable.IDLEntity -{ - private int ___x; - private float ___y; - private String ___z; - private org.apache.tuscany.sca.test.corba.generated.InnerUnion ___iu; - private boolean ___a; - private int __discriminator; - private boolean __uninitialized = true; - - public RichUnion () - { - } - - public int discriminator () - { - if (__uninitialized) - throw new org.omg.CORBA.BAD_OPERATION (); - return __discriminator; - } - - public int x () - { - if (__uninitialized) - throw new org.omg.CORBA.BAD_OPERATION (); - verifyx (__discriminator); - return ___x; - } - - public void x (int value) - { - __discriminator = 1; - ___x = value; - __uninitialized = false; - } - - public void x (int discriminator, int value) - { - verifyx (discriminator); - __discriminator = discriminator; - ___x = value; - __uninitialized = false; - } - - private void verifyx (int discriminator) - { - if (discriminator != 1) - throw new org.omg.CORBA.BAD_OPERATION (); - } - - public float y () - { - if (__uninitialized) - throw new org.omg.CORBA.BAD_OPERATION (); - verifyy (__discriminator); - return ___y; - } - - public void y (float value) - { - __discriminator = 2; - ___y = value; - __uninitialized = false; - } - - public void y (int discriminator, float value) - { - verifyy (discriminator); - __discriminator = discriminator; - ___y = value; - __uninitialized = false; - } - - private void verifyy (int discriminator) - { - if (discriminator != 2) - throw new org.omg.CORBA.BAD_OPERATION (); - } - - public String z () - { - if (__uninitialized) - throw new org.omg.CORBA.BAD_OPERATION (); - verifyz (__discriminator); - return ___z; - } - - public void z (String value) - { - __discriminator = 3; - ___z = value; - __uninitialized = false; - } - - public void z (int discriminator, String value) - { - verifyz (discriminator); - __discriminator = discriminator; - ___z = value; - __uninitialized = false; - } - - private void verifyz (int discriminator) - { - if (discriminator != 3) - throw new org.omg.CORBA.BAD_OPERATION (); - } - - public org.apache.tuscany.sca.test.corba.generated.InnerUnion iu () - { - if (__uninitialized) - throw new org.omg.CORBA.BAD_OPERATION (); - verifyiu (__discriminator); - return ___iu; - } - - public void iu (org.apache.tuscany.sca.test.corba.generated.InnerUnion value) - { - __discriminator = 4; - ___iu = value; - __uninitialized = false; - } - - public void iu (int discriminator, org.apache.tuscany.sca.test.corba.generated.InnerUnion value) - { - verifyiu (discriminator); - __discriminator = discriminator; - ___iu = value; - __uninitialized = false; - } - - private void verifyiu (int discriminator) - { - if (discriminator != 4) - throw new org.omg.CORBA.BAD_OPERATION (); - } - - public boolean a () - { - if (__uninitialized) - throw new org.omg.CORBA.BAD_OPERATION (); - verifya (__discriminator); - return ___a; - } - - public void a (boolean value) - { - __discriminator = -2147483648; - ___a = value; - __uninitialized = false; - } - - public void a (int discriminator, boolean value) - { - verifya (discriminator); - __discriminator = discriminator; - ___a = value; - __uninitialized = false; - } - - private void verifya (int discriminator) - { - if (discriminator == 1 || discriminator == 2 || discriminator == 3 || discriminator == 4) - throw new org.omg.CORBA.BAD_OPERATION (); - } - -} // class RichUnion diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/RichUnionHelper.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/RichUnionHelper.java deleted file mode 100644 index 9b89d7f98a..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/RichUnionHelper.java +++ /dev/null @@ -1,157 +0,0 @@ -package org.apache.tuscany.sca.test.corba.generated; - - -/** -* org/apache/tuscany/sca/test/corba/generated/RichUnionHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from itest_scenario.idl -* niedziela, 17 sierpieñ 2008 19:07:14 CEST -*/ - -abstract public class RichUnionHelper -{ - private static String _id = "IDL:org/apache/tuscany/sca/test/corba/generated/RichUnion/RichUnion:1.0"; - - public static void insert (org.omg.CORBA.Any a, org.apache.tuscany.sca.test.corba.generated.RichUnion that) - { - org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); - a.type (type ()); - write (out, that); - a.read_value (out.create_input_stream (), type ()); - } - - public static org.apache.tuscany.sca.test.corba.generated.RichUnion extract (org.omg.CORBA.Any a) - { - return read (a.create_input_stream ()); - } - - private static org.omg.CORBA.TypeCode __typeCode = null; - synchronized public static org.omg.CORBA.TypeCode type () - { - if (__typeCode == null) - { - org.omg.CORBA.TypeCode _disTypeCode0; - _disTypeCode0 = org.omg.CORBA.ORB.init ().get_primitive_tc (org.omg.CORBA.TCKind.tk_long); - org.omg.CORBA.UnionMember[] _members0 = new org.omg.CORBA.UnionMember [5]; - org.omg.CORBA.TypeCode _tcOf_members0; - org.omg.CORBA.Any _anyOf_members0; - - // Branch for x (case label 1) - _anyOf_members0 = org.omg.CORBA.ORB.init ().create_any (); - _anyOf_members0.insert_long ((int)1); - _tcOf_members0 = org.omg.CORBA.ORB.init ().get_primitive_tc (org.omg.CORBA.TCKind.tk_long); - _members0[0] = new org.omg.CORBA.UnionMember ( - "x", - _anyOf_members0, - _tcOf_members0, - null); - - // Branch for y (case label 2) - _anyOf_members0 = org.omg.CORBA.ORB.init ().create_any (); - _anyOf_members0.insert_long ((int)2); - _tcOf_members0 = org.omg.CORBA.ORB.init ().get_primitive_tc (org.omg.CORBA.TCKind.tk_float); - _members0[1] = new org.omg.CORBA.UnionMember ( - "y", - _anyOf_members0, - _tcOf_members0, - null); - - // Branch for z (case label 3) - _anyOf_members0 = org.omg.CORBA.ORB.init ().create_any (); - _anyOf_members0.insert_long ((int)3); - _tcOf_members0 = org.omg.CORBA.ORB.init ().create_string_tc (0); - _members0[2] = new org.omg.CORBA.UnionMember ( - "z", - _anyOf_members0, - _tcOf_members0, - null); - - // Branch for iu (case label 4) - _anyOf_members0 = org.omg.CORBA.ORB.init ().create_any (); - _anyOf_members0.insert_long ((int)4); - _tcOf_members0 = org.apache.tuscany.sca.test.corba.generated.InnerUnionHelper.type (); - _members0[3] = new org.omg.CORBA.UnionMember ( - "iu", - _anyOf_members0, - _tcOf_members0, - null); - - // Branch for a (Default case) - _anyOf_members0 = org.omg.CORBA.ORB.init ().create_any (); - _anyOf_members0.insert_octet ((byte)0); // default member label - _tcOf_members0 = org.omg.CORBA.ORB.init ().get_primitive_tc (org.omg.CORBA.TCKind.tk_boolean); - _members0[4] = new org.omg.CORBA.UnionMember ( - "a", - _anyOf_members0, - _tcOf_members0, - null); - __typeCode = org.omg.CORBA.ORB.init ().create_union_tc (org.apache.tuscany.sca.test.corba.generated.RichUnionHelper.id (), "RichUnion", _disTypeCode0, _members0); - } - return __typeCode; - } - - public static String id () - { - return _id; - } - - public static org.apache.tuscany.sca.test.corba.generated.RichUnion read (org.omg.CORBA.portable.InputStream istream) - { - org.apache.tuscany.sca.test.corba.generated.RichUnion value = new org.apache.tuscany.sca.test.corba.generated.RichUnion (); - int _dis0 = (int)0; - _dis0 = istream.read_long (); - switch (_dis0) - { - case 1: - int _x = (int)0; - _x = istream.read_long (); - value.x (_x); - break; - case 2: - float _y = (float)0; - _y = istream.read_float (); - value.y (_y); - break; - case 3: - String _z = null; - _z = istream.read_string (); - value.z (_z); - break; - case 4: - org.apache.tuscany.sca.test.corba.generated.InnerUnion _iu = null; - _iu = org.apache.tuscany.sca.test.corba.generated.InnerUnionHelper.read (istream); - value.iu (_iu); - break; - default: - boolean _a = false; - _a = istream.read_boolean (); - value.a (_dis0, _a); - break; - } - return value; - } - - public static void write (org.omg.CORBA.portable.OutputStream ostream, org.apache.tuscany.sca.test.corba.generated.RichUnion value) - { - ostream.write_long (value.discriminator ()); - switch (value.discriminator ()) - { - case 1: - ostream.write_long (value.x ()); - break; - case 2: - ostream.write_float (value.y ()); - break; - case 3: - ostream.write_string (value.z ()); - break; - case 4: - org.apache.tuscany.sca.test.corba.generated.InnerUnionHelper.write (ostream, value.iu ()); - break; - default: - ostream.write_boolean (value.a ()); - break; - } - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/RichUnionHolder.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/RichUnionHolder.java deleted file mode 100644 index 3c1a1c9a83..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/RichUnionHolder.java +++ /dev/null @@ -1,38 +0,0 @@ -package org.apache.tuscany.sca.test.corba.generated; - -/** -* org/apache/tuscany/sca/test/corba/generated/RichUnionHolder.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from itest_scenario.idl -* niedziela, 17 sierpieñ 2008 19:07:14 CEST -*/ - -public final class RichUnionHolder implements org.omg.CORBA.portable.Streamable -{ - public org.apache.tuscany.sca.test.corba.generated.RichUnion value = null; - - public RichUnionHolder () - { - } - - public RichUnionHolder (org.apache.tuscany.sca.test.corba.generated.RichUnion initialValue) - { - value = initialValue; - } - - public void _read (org.omg.CORBA.portable.InputStream i) - { - value = org.apache.tuscany.sca.test.corba.generated.RichUnionHelper.read (i); - } - - public void _write (org.omg.CORBA.portable.OutputStream o) - { - org.apache.tuscany.sca.test.corba.generated.RichUnionHelper.write (o, value); - } - - public org.omg.CORBA.TypeCode _type () - { - return org.apache.tuscany.sca.test.corba.generated.RichUnionHelper.type (); - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/ScenarioOne.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/ScenarioOne.java deleted file mode 100644 index 13f294b871..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/ScenarioOne.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.generated; - - -/** -* org/apache/tuscany/sca/test/corba/generated/ScenarioOne.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from itest_scenario.idl -* pi±tek, 27 czerwiec 2008 20:40:03 CEST -*/ - -public interface ScenarioOne extends ScenarioOneOperations, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity -{ -} // interface ScenarioOne diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/ScenarioOneHelper.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/ScenarioOneHelper.java deleted file mode 100644 index 66cc1d1e82..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/ScenarioOneHelper.java +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.generated; - - -/** -* org/apache/tuscany/sca/test/corba/generated/ScenarioOneHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from itest_scenario.idl -* pi±tek, 27 czerwiec 2008 20:40:03 CEST -*/ - -abstract public class ScenarioOneHelper -{ - private static String _id = "IDL:org/apache/tuscany/sca/test/corba/generated/ScenarioOne:1.0"; - - public static void insert (org.omg.CORBA.Any a, org.apache.tuscany.sca.test.corba.generated.ScenarioOne that) - { - org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); - a.type (type ()); - write (out, that); - a.read_value (out.create_input_stream (), type ()); - } - - public static org.apache.tuscany.sca.test.corba.generated.ScenarioOne extract (org.omg.CORBA.Any a) - { - return read (a.create_input_stream ()); - } - - private static org.omg.CORBA.TypeCode __typeCode = null; - synchronized public static org.omg.CORBA.TypeCode type () - { - if (__typeCode == null) - { - __typeCode = org.omg.CORBA.ORB.init ().create_interface_tc (org.apache.tuscany.sca.test.corba.generated.ScenarioOneHelper.id (), "ScenarioOne"); - } - return __typeCode; - } - - public static String id () - { - return _id; - } - - public static org.apache.tuscany.sca.test.corba.generated.ScenarioOne read (org.omg.CORBA.portable.InputStream istream) - { - return narrow (istream.read_Object (_ScenarioOneStub.class)); - } - - public static void write (org.omg.CORBA.portable.OutputStream ostream, org.apache.tuscany.sca.test.corba.generated.ScenarioOne value) - { - ostream.write_Object ((org.omg.CORBA.Object) value); - } - - public static org.apache.tuscany.sca.test.corba.generated.ScenarioOne narrow (org.omg.CORBA.Object obj) - { - if (obj == null) - return null; - else if (obj instanceof org.apache.tuscany.sca.test.corba.generated.ScenarioOne) - return (org.apache.tuscany.sca.test.corba.generated.ScenarioOne)obj; - else if (!obj._is_a (id ())) - throw new org.omg.CORBA.BAD_PARAM (); - else - { - org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate (); - org.apache.tuscany.sca.test.corba.generated._ScenarioOneStub stub = new org.apache.tuscany.sca.test.corba.generated._ScenarioOneStub (); - stub._set_delegate(delegate); - return stub; - } - } - - public static org.apache.tuscany.sca.test.corba.generated.ScenarioOne unchecked_narrow (org.omg.CORBA.Object obj) - { - if (obj == null) - return null; - else if (obj instanceof org.apache.tuscany.sca.test.corba.generated.ScenarioOne) - return (org.apache.tuscany.sca.test.corba.generated.ScenarioOne)obj; - else - { - org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate (); - org.apache.tuscany.sca.test.corba.generated._ScenarioOneStub stub = new org.apache.tuscany.sca.test.corba.generated._ScenarioOneStub (); - stub._set_delegate(delegate); - return stub; - } - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/ScenarioOneHolder.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/ScenarioOneHolder.java deleted file mode 100644 index f14394b400..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/ScenarioOneHolder.java +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.generated; - -/** -* org/apache/tuscany/sca/test/corba/generated/ScenarioOneHolder.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from itest_scenario.idl -* pi±tek, 27 czerwiec 2008 20:40:03 CEST -*/ - -public final class ScenarioOneHolder implements org.omg.CORBA.portable.Streamable -{ - public org.apache.tuscany.sca.test.corba.generated.ScenarioOne value = null; - - public ScenarioOneHolder () - { - } - - public ScenarioOneHolder (org.apache.tuscany.sca.test.corba.generated.ScenarioOne initialValue) - { - value = initialValue; - } - - public void _read (org.omg.CORBA.portable.InputStream i) - { - value = org.apache.tuscany.sca.test.corba.generated.ScenarioOneHelper.read (i); - } - - public void _write (org.omg.CORBA.portable.OutputStream o) - { - org.apache.tuscany.sca.test.corba.generated.ScenarioOneHelper.write (o, value); - } - - public org.omg.CORBA.TypeCode _type () - { - return org.apache.tuscany.sca.test.corba.generated.ScenarioOneHelper.type (); - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/ScenarioOneOperations.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/ScenarioOneOperations.java deleted file mode 100644 index 56388624d7..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/ScenarioOneOperations.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.generated; - - -/** -* org/apache/tuscany/sca/test/corba/generated/ScenarioOneOperations.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from itest_scenario.idl -* pi±tek, 27 czerwiec 2008 20:40:03 CEST -*/ - -public interface ScenarioOneOperations -{ - org.apache.tuscany.sca.test.corba.generated.RichStruct setRichStruct (org.apache.tuscany.sca.test.corba.generated.RichStruct richStruct) throws org.apache.tuscany.sca.test.corba.generated.WrongColor, org.apache.tuscany.sca.test.corba.generated.UnexpectedException; -} // interface ScenarioOneOperations diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/ScenarioSix.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/ScenarioSix.java deleted file mode 100644 index 1897d0682c..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/ScenarioSix.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.generated; - - -/** -* org/apache/tuscany/sca/test/corba/generated/ScenarioSix.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from itest_scenario.idl -* sobota, 16 sierpieñ 2008 15:31:35 CEST -*/ - -public interface ScenarioSix extends ScenarioSixOperations, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity -{ -} // interface ScenarioSix diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/ScenarioSixHelper.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/ScenarioSixHelper.java deleted file mode 100644 index c8c88ef91d..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/ScenarioSixHelper.java +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.generated; - - -/** -* org/apache/tuscany/sca/test/corba/generated/ScenarioSixHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from itest_scenario.idl -* sobota, 16 sierpieñ 2008 15:31:35 CEST -*/ - -abstract public class ScenarioSixHelper -{ - private static String _id = "IDL:org/apache/tuscany/sca/test/corba/generated/ScenarioSix:1.0"; - - public static void insert (org.omg.CORBA.Any a, org.apache.tuscany.sca.test.corba.generated.ScenarioSix that) - { - org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); - a.type (type ()); - write (out, that); - a.read_value (out.create_input_stream (), type ()); - } - - public static org.apache.tuscany.sca.test.corba.generated.ScenarioSix extract (org.omg.CORBA.Any a) - { - return read (a.create_input_stream ()); - } - - private static org.omg.CORBA.TypeCode __typeCode = null; - synchronized public static org.omg.CORBA.TypeCode type () - { - if (__typeCode == null) - { - __typeCode = org.omg.CORBA.ORB.init ().create_interface_tc (org.apache.tuscany.sca.test.corba.generated.ScenarioSixHelper.id (), "ScenarioSix"); - } - return __typeCode; - } - - public static String id () - { - return _id; - } - - public static org.apache.tuscany.sca.test.corba.generated.ScenarioSix read (org.omg.CORBA.portable.InputStream istream) - { - return narrow (istream.read_Object (_ScenarioSixStub.class)); - } - - public static void write (org.omg.CORBA.portable.OutputStream ostream, org.apache.tuscany.sca.test.corba.generated.ScenarioSix value) - { - ostream.write_Object ((org.omg.CORBA.Object) value); - } - - public static org.apache.tuscany.sca.test.corba.generated.ScenarioSix narrow (org.omg.CORBA.Object obj) - { - if (obj == null) - return null; - else if (obj instanceof org.apache.tuscany.sca.test.corba.generated.ScenarioSix) - return (org.apache.tuscany.sca.test.corba.generated.ScenarioSix)obj; - else if (!obj._is_a (id ())) - throw new org.omg.CORBA.BAD_PARAM (); - else - { - org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate (); - org.apache.tuscany.sca.test.corba.generated._ScenarioSixStub stub = new org.apache.tuscany.sca.test.corba.generated._ScenarioSixStub (); - stub._set_delegate(delegate); - return stub; - } - } - - public static org.apache.tuscany.sca.test.corba.generated.ScenarioSix unchecked_narrow (org.omg.CORBA.Object obj) - { - if (obj == null) - return null; - else if (obj instanceof org.apache.tuscany.sca.test.corba.generated.ScenarioSix) - return (org.apache.tuscany.sca.test.corba.generated.ScenarioSix)obj; - else - { - org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate (); - org.apache.tuscany.sca.test.corba.generated._ScenarioSixStub stub = new org.apache.tuscany.sca.test.corba.generated._ScenarioSixStub (); - stub._set_delegate(delegate); - return stub; - } - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/ScenarioSixHolder.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/ScenarioSixHolder.java deleted file mode 100644 index 5540b98c21..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/ScenarioSixHolder.java +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.generated; - -/** -* org/apache/tuscany/sca/test/corba/generated/ScenarioSixHolder.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from itest_scenario.idl -* sobota, 16 sierpieñ 2008 15:31:35 CEST -*/ - -public final class ScenarioSixHolder implements org.omg.CORBA.portable.Streamable -{ - public org.apache.tuscany.sca.test.corba.generated.ScenarioSix value = null; - - public ScenarioSixHolder () - { - } - - public ScenarioSixHolder (org.apache.tuscany.sca.test.corba.generated.ScenarioSix initialValue) - { - value = initialValue; - } - - public void _read (org.omg.CORBA.portable.InputStream i) - { - value = org.apache.tuscany.sca.test.corba.generated.ScenarioSixHelper.read (i); - } - - public void _write (org.omg.CORBA.portable.OutputStream o) - { - org.apache.tuscany.sca.test.corba.generated.ScenarioSixHelper.write (o, value); - } - - public org.omg.CORBA.TypeCode _type () - { - return org.apache.tuscany.sca.test.corba.generated.ScenarioSixHelper.type (); - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/ScenarioSixOperations.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/ScenarioSixOperations.java deleted file mode 100644 index 648144299c..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/ScenarioSixOperations.java +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.generated; - - -/** -* org/apache/tuscany/sca/test/corba/generated/ScenarioSixOperations.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from itest_scenario.idl -* niedziela, 17 sierpieñ 2008 19:07:14 CEST -*/ - -public interface ScenarioSixOperations -{ - String[][] passStringArray (String[][] arg); - org.apache.tuscany.sca.test.corba.generated.AnnotatedStruct passAnnotatedStruct (org.apache.tuscany.sca.test.corba.generated.AnnotatedStruct arg); - org.apache.tuscany.sca.test.corba.generated.RichUnion passRichUnion (org.apache.tuscany.sca.test.corba.generated.RichUnion arg); -} // interface ScenarioSixOperations diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/ScenarioTwo.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/ScenarioTwo.java deleted file mode 100644 index b57e098a56..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/ScenarioTwo.java +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.generated; - - -/** -* org/apache/tuscany/sca/test/corba/generated/ScenarioTwo.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from itest_scenario.idl -* wtorek, 15 lipiec 2008 13:36:31 CEST -*/ - - -// objects for ScenarioTwo -public interface ScenarioTwo extends ScenarioTwoOperations, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity -{ -} // interface ScenarioTwo diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/ScenarioTwoHelper.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/ScenarioTwoHelper.java deleted file mode 100644 index 8ddfa10575..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/ScenarioTwoHelper.java +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.generated; - - -/** -* org/apache/tuscany/sca/test/corba/generated/ScenarioTwoHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from itest_scenario.idl -* wtorek, 15 lipiec 2008 13:36:31 CEST -*/ - - -// objects for ScenarioTwo -abstract public class ScenarioTwoHelper -{ - private static String _id = "IDL:org/apache/tuscany/sca/test/corba/generated/ScenarioTwo:1.0"; - - public static void insert (org.omg.CORBA.Any a, org.apache.tuscany.sca.test.corba.generated.ScenarioTwo that) - { - org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); - a.type (type ()); - write (out, that); - a.read_value (out.create_input_stream (), type ()); - } - - public static org.apache.tuscany.sca.test.corba.generated.ScenarioTwo extract (org.omg.CORBA.Any a) - { - return read (a.create_input_stream ()); - } - - private static org.omg.CORBA.TypeCode __typeCode = null; - synchronized public static org.omg.CORBA.TypeCode type () - { - if (__typeCode == null) - { - __typeCode = org.omg.CORBA.ORB.init ().create_interface_tc (org.apache.tuscany.sca.test.corba.generated.ScenarioTwoHelper.id (), "ScenarioTwo"); - } - return __typeCode; - } - - public static String id () - { - return _id; - } - - public static org.apache.tuscany.sca.test.corba.generated.ScenarioTwo read (org.omg.CORBA.portable.InputStream istream) - { - return narrow (istream.read_Object (_ScenarioTwoStub.class)); - } - - public static void write (org.omg.CORBA.portable.OutputStream ostream, org.apache.tuscany.sca.test.corba.generated.ScenarioTwo value) - { - ostream.write_Object ((org.omg.CORBA.Object) value); - } - - public static org.apache.tuscany.sca.test.corba.generated.ScenarioTwo narrow (org.omg.CORBA.Object obj) - { - if (obj == null) - return null; - else if (obj instanceof org.apache.tuscany.sca.test.corba.generated.ScenarioTwo) - return (org.apache.tuscany.sca.test.corba.generated.ScenarioTwo)obj; - else if (!obj._is_a (id ())) - throw new org.omg.CORBA.BAD_PARAM (); - else - { - org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate (); - org.apache.tuscany.sca.test.corba.generated._ScenarioTwoStub stub = new org.apache.tuscany.sca.test.corba.generated._ScenarioTwoStub (); - stub._set_delegate(delegate); - return stub; - } - } - - public static org.apache.tuscany.sca.test.corba.generated.ScenarioTwo unchecked_narrow (org.omg.CORBA.Object obj) - { - if (obj == null) - return null; - else if (obj instanceof org.apache.tuscany.sca.test.corba.generated.ScenarioTwo) - return (org.apache.tuscany.sca.test.corba.generated.ScenarioTwo)obj; - else - { - org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate (); - org.apache.tuscany.sca.test.corba.generated._ScenarioTwoStub stub = new org.apache.tuscany.sca.test.corba.generated._ScenarioTwoStub (); - stub._set_delegate(delegate); - return stub; - } - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/ScenarioTwoHolder.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/ScenarioTwoHolder.java deleted file mode 100644 index 9717629711..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/ScenarioTwoHolder.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.generated; - -/** -* org/apache/tuscany/sca/test/corba/generated/ScenarioTwoHolder.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from itest_scenario.idl -* wtorek, 15 lipiec 2008 13:36:31 CEST -*/ - - -// objects for ScenarioTwo -public final class ScenarioTwoHolder implements org.omg.CORBA.portable.Streamable -{ - public org.apache.tuscany.sca.test.corba.generated.ScenarioTwo value = null; - - public ScenarioTwoHolder () - { - } - - public ScenarioTwoHolder (org.apache.tuscany.sca.test.corba.generated.ScenarioTwo initialValue) - { - value = initialValue; - } - - public void _read (org.omg.CORBA.portable.InputStream i) - { - value = org.apache.tuscany.sca.test.corba.generated.ScenarioTwoHelper.read (i); - } - - public void _write (org.omg.CORBA.portable.OutputStream o) - { - org.apache.tuscany.sca.test.corba.generated.ScenarioTwoHelper.write (o, value); - } - - public org.omg.CORBA.TypeCode _type () - { - return org.apache.tuscany.sca.test.corba.generated.ScenarioTwoHelper.type (); - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/ScenarioTwoOperations.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/ScenarioTwoOperations.java deleted file mode 100644 index 1247b4618d..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/ScenarioTwoOperations.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.generated; - - -/** -* org/apache/tuscany/sca/test/corba/generated/ScenarioTwoOperations.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from itest_scenario.idl -* wtorek, 15 lipiec 2008 13:36:31 CEST -*/ - - -// objects for ScenarioTwo -public interface ScenarioTwoOperations -{ - String stringField (); - void stringField (String newStringField); -} // interface ScenarioTwoOperations diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/StringArrayHelper.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/StringArrayHelper.java deleted file mode 100644 index f2cc3adad5..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/StringArrayHelper.java +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.generated; - - -/** -* org/apache/tuscany/sca/test/corba/generated/StringArrayHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from itest_scenario.idl -* sobota, 16 sierpieñ 2008 15:31:35 CEST -*/ - -abstract public class StringArrayHelper -{ - private static String _id = "IDL:org/apache/tuscany/sca/test/corba/generated/StringArray:1.0"; - - public static void insert (org.omg.CORBA.Any a, String[][] that) - { - org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); - a.type (type ()); - write (out, that); - a.read_value (out.create_input_stream (), type ()); - } - - public static String[][] extract (org.omg.CORBA.Any a) - { - return read (a.create_input_stream ()); - } - - private static org.omg.CORBA.TypeCode __typeCode = null; - synchronized public static org.omg.CORBA.TypeCode type () - { - if (__typeCode == null) - { - __typeCode = org.omg.CORBA.ORB.init ().create_string_tc (0); - __typeCode = org.omg.CORBA.ORB.init ().create_array_tc (2, __typeCode ); - __typeCode = org.omg.CORBA.ORB.init ().create_array_tc (2, __typeCode ); - __typeCode = org.omg.CORBA.ORB.init ().create_alias_tc (org.apache.tuscany.sca.test.corba.generated.StringArrayHelper.id (), "StringArray", __typeCode); - } - return __typeCode; - } - - public static String id () - { - return _id; - } - - public static String[][] read (org.omg.CORBA.portable.InputStream istream) - { - String value[][] = null; - value = new String[2][]; - for (int _o0 = 0;_o0 < (2); ++_o0) - { - value[_o0] = new String[2]; - for (int _o1 = 0;_o1 < (2); ++_o1) - { - value[_o0][_o1] = istream.read_string (); - } - } - return value; - } - - public static void write (org.omg.CORBA.portable.OutputStream ostream, String[][] value) - { - if (value.length != (2)) - throw new org.omg.CORBA.MARSHAL (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE); - for (int _i0 = 0;_i0 < (2); ++_i0) - { - if (value[_i0].length != (2)) - throw new org.omg.CORBA.MARSHAL (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE); - for (int _i1 = 0;_i1 < (2); ++_i1) - { - ostream.write_string (value[_i0][_i1]); - } - } - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/StringArrayHolder.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/StringArrayHolder.java deleted file mode 100644 index dbad550222..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/StringArrayHolder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.generated; - - -/** -* org/apache/tuscany/sca/test/corba/generated/StringArrayHolder.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from itest_scenario.idl -* sobota, 16 sierpieñ 2008 15:31:35 CEST -*/ - -public final class StringArrayHolder implements org.omg.CORBA.portable.Streamable -{ - public String value[][] = null; - - public StringArrayHolder () - { - } - - public StringArrayHolder (String[][] initialValue) - { - value = initialValue; - } - - public void _read (org.omg.CORBA.portable.InputStream i) - { - value = org.apache.tuscany.sca.test.corba.generated.StringArrayHelper.read (i); - } - - public void _write (org.omg.CORBA.portable.OutputStream o) - { - org.apache.tuscany.sca.test.corba.generated.StringArrayHelper.write (o, value); - } - - public org.omg.CORBA.TypeCode _type () - { - return org.apache.tuscany.sca.test.corba.generated.StringArrayHelper.type (); - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/StringSequenceHelper.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/StringSequenceHelper.java deleted file mode 100644 index d29129236c..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/StringSequenceHelper.java +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.generated; - - -/** -* org/apache/tuscany/sca/test/corba/generated/StringSequenceHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from itest_scenario.idl -* pi±tek, 27 czerwiec 2008 20:40:03 CEST -*/ - -abstract public class StringSequenceHelper -{ - private static String _id = "IDL:org/apache/tuscany/sca/test/corba/generated/StringSequence:1.0"; - - public static void insert (org.omg.CORBA.Any a, String[] that) - { - org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); - a.type (type ()); - write (out, that); - a.read_value (out.create_input_stream (), type ()); - } - - public static String[] extract (org.omg.CORBA.Any a) - { - return read (a.create_input_stream ()); - } - - private static org.omg.CORBA.TypeCode __typeCode = null; - synchronized public static org.omg.CORBA.TypeCode type () - { - if (__typeCode == null) - { - __typeCode = org.omg.CORBA.ORB.init ().create_string_tc (0); - __typeCode = org.omg.CORBA.ORB.init ().create_sequence_tc (0, __typeCode); - __typeCode = org.omg.CORBA.ORB.init ().create_alias_tc (org.apache.tuscany.sca.test.corba.generated.StringSequenceHelper.id (), "StringSequence", __typeCode); - } - return __typeCode; - } - - public static String id () - { - return _id; - } - - public static String[] read (org.omg.CORBA.portable.InputStream istream) - { - String value[] = null; - int _len0 = istream.read_long (); - value = new String[_len0]; - for (int _o1 = 0;_o1 < value.length; ++_o1) - value[_o1] = istream.read_string (); - return value; - } - - public static void write (org.omg.CORBA.portable.OutputStream ostream, String[] value) - { - ostream.write_long (value.length); - for (int _i0 = 0;_i0 < value.length; ++_i0) - ostream.write_string (value[_i0]); - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/StringSequenceHolder.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/StringSequenceHolder.java deleted file mode 100644 index 837ba04cea..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/StringSequenceHolder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.generated; - - -/** -* org/apache/tuscany/sca/test/corba/generated/StringSequenceHolder.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from itest_scenario.idl -* pi±tek, 27 czerwiec 2008 20:40:03 CEST -*/ - -public final class StringSequenceHolder implements org.omg.CORBA.portable.Streamable -{ - public String value[] = null; - - public StringSequenceHolder () - { - } - - public StringSequenceHolder (String[] initialValue) - { - value = initialValue; - } - - public void _read (org.omg.CORBA.portable.InputStream i) - { - value = org.apache.tuscany.sca.test.corba.generated.StringSequenceHelper.read (i); - } - - public void _write (org.omg.CORBA.portable.OutputStream o) - { - org.apache.tuscany.sca.test.corba.generated.StringSequenceHelper.write (o, value); - } - - public org.omg.CORBA.TypeCode _type () - { - return org.apache.tuscany.sca.test.corba.generated.StringSequenceHelper.type (); - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/TwoDimLongSequenceHelper.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/TwoDimLongSequenceHelper.java deleted file mode 100644 index 0b24056642..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/TwoDimLongSequenceHelper.java +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.generated; - - -/** -* org/apache/tuscany/sca/test/corba/generated/TwoDimLongSequenceHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from itest_scenario.idl -* pi±tek, 27 czerwiec 2008 20:40:03 CEST -*/ - -abstract public class TwoDimLongSequenceHelper -{ - private static String _id = "IDL:org/apache/tuscany/sca/test/corba/generated/TwoDimLongSequence:1.0"; - - public static void insert (org.omg.CORBA.Any a, int[][] that) - { - org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); - a.type (type ()); - write (out, that); - a.read_value (out.create_input_stream (), type ()); - } - - public static int[][] extract (org.omg.CORBA.Any a) - { - return read (a.create_input_stream ()); - } - - private static org.omg.CORBA.TypeCode __typeCode = null; - synchronized public static org.omg.CORBA.TypeCode type () - { - if (__typeCode == null) - { - __typeCode = org.omg.CORBA.ORB.init ().get_primitive_tc (org.omg.CORBA.TCKind.tk_long); - __typeCode = org.omg.CORBA.ORB.init ().create_sequence_tc (0, __typeCode); - __typeCode = org.omg.CORBA.ORB.init ().create_alias_tc (org.apache.tuscany.sca.test.corba.generated.LongSequenceHelper.id (), "LongSequence", __typeCode); - __typeCode = org.omg.CORBA.ORB.init ().create_sequence_tc (0, __typeCode); - __typeCode = org.omg.CORBA.ORB.init ().create_alias_tc (org.apache.tuscany.sca.test.corba.generated.TwoDimLongSequenceHelper.id (), "TwoDimLongSequence", __typeCode); - } - return __typeCode; - } - - public static String id () - { - return _id; - } - - public static int[][] read (org.omg.CORBA.portable.InputStream istream) - { - int value[][] = null; - int _len0 = istream.read_long (); - value = new int[_len0][]; - for (int _o1 = 0;_o1 < value.length; ++_o1) - value[_o1] = org.apache.tuscany.sca.test.corba.generated.LongSequenceHelper.read (istream); - return value; - } - - public static void write (org.omg.CORBA.portable.OutputStream ostream, int[][] value) - { - ostream.write_long (value.length); - for (int _i0 = 0;_i0 < value.length; ++_i0) - org.apache.tuscany.sca.test.corba.generated.LongSequenceHelper.write (ostream, value[_i0]); - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/TwoDimLongSequenceHolder.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/TwoDimLongSequenceHolder.java deleted file mode 100644 index e2ed1ab037..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/TwoDimLongSequenceHolder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.generated; - - -/** -* org/apache/tuscany/sca/test/corba/generated/TwoDimLongSequenceHolder.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from itest_scenario.idl -* pi±tek, 27 czerwiec 2008 20:40:03 CEST -*/ - -public final class TwoDimLongSequenceHolder implements org.omg.CORBA.portable.Streamable -{ - public int value[][] = null; - - public TwoDimLongSequenceHolder () - { - } - - public TwoDimLongSequenceHolder (int[][] initialValue) - { - value = initialValue; - } - - public void _read (org.omg.CORBA.portable.InputStream i) - { - value = org.apache.tuscany.sca.test.corba.generated.TwoDimLongSequenceHelper.read (i); - } - - public void _write (org.omg.CORBA.portable.OutputStream o) - { - org.apache.tuscany.sca.test.corba.generated.TwoDimLongSequenceHelper.write (o, value); - } - - public org.omg.CORBA.TypeCode _type () - { - return org.apache.tuscany.sca.test.corba.generated.TwoDimLongSequenceHelper.type (); - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/UnexpectedException.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/UnexpectedException.java deleted file mode 100644 index 46888399ed..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/UnexpectedException.java +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.generated; - - -/** -* org/apache/tuscany/sca/test/corba/generated/UnexpectedException.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from itest_scenario.idl -* pi±tek, 27 czerwiec 2008 20:40:03 CEST -*/ - -public final class UnexpectedException extends org.omg.CORBA.UserException -{ - public String info = null; - - public UnexpectedException () - { - super(UnexpectedExceptionHelper.id()); - } // ctor - - public UnexpectedException (String _info) - { - super(UnexpectedExceptionHelper.id()); - info = _info; - } // ctor - - - public UnexpectedException (String $reason, String _info) - { - super(UnexpectedExceptionHelper.id() + " " + $reason); - info = _info; - } // ctor - -} // class UnexpectedException diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/UnexpectedExceptionHelper.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/UnexpectedExceptionHelper.java deleted file mode 100644 index c276038050..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/UnexpectedExceptionHelper.java +++ /dev/null @@ -1,98 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.generated; - - -/** -* org/apache/tuscany/sca/test/corba/generated/UnexpectedExceptionHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from itest_scenario.idl -* pi±tek, 27 czerwiec 2008 20:40:03 CEST -*/ - -abstract public class UnexpectedExceptionHelper -{ - private static String _id = "IDL:org/apache/tuscany/sca/test/corba/generated/UnexpectedException:1.0"; - - public static void insert (org.omg.CORBA.Any a, org.apache.tuscany.sca.test.corba.generated.UnexpectedException that) - { - org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); - a.type (type ()); - write (out, that); - a.read_value (out.create_input_stream (), type ()); - } - - public static org.apache.tuscany.sca.test.corba.generated.UnexpectedException extract (org.omg.CORBA.Any a) - { - return read (a.create_input_stream ()); - } - - private static org.omg.CORBA.TypeCode __typeCode = null; - private static boolean __active = false; - synchronized public static org.omg.CORBA.TypeCode type () - { - if (__typeCode == null) - { - synchronized (org.omg.CORBA.TypeCode.class) - { - if (__typeCode == null) - { - if (__active) - { - return org.omg.CORBA.ORB.init().create_recursive_tc ( _id ); - } - __active = true; - org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [1]; - org.omg.CORBA.TypeCode _tcOf_members0 = null; - _tcOf_members0 = org.omg.CORBA.ORB.init ().create_string_tc (0); - _members0[0] = new org.omg.CORBA.StructMember ( - "info", - _tcOf_members0, - null); - __typeCode = org.omg.CORBA.ORB.init ().create_exception_tc (org.apache.tuscany.sca.test.corba.generated.UnexpectedExceptionHelper.id (), "UnexpectedException", _members0); - __active = false; - } - } - } - return __typeCode; - } - - public static String id () - { - return _id; - } - - public static org.apache.tuscany.sca.test.corba.generated.UnexpectedException read (org.omg.CORBA.portable.InputStream istream) - { - org.apache.tuscany.sca.test.corba.generated.UnexpectedException value = new org.apache.tuscany.sca.test.corba.generated.UnexpectedException (); - // read and discard the repository ID - istream.read_string (); - value.info = istream.read_string (); - return value; - } - - public static void write (org.omg.CORBA.portable.OutputStream ostream, org.apache.tuscany.sca.test.corba.generated.UnexpectedException value) - { - // write the repository ID - ostream.write_string (id ()); - ostream.write_string (value.info); - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/UnexpectedExceptionHolder.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/UnexpectedExceptionHolder.java deleted file mode 100644 index 079a56b446..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/UnexpectedExceptionHolder.java +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.generated; - -/** -* org/apache/tuscany/sca/test/corba/generated/UnexpectedExceptionHolder.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from itest_scenario.idl -* pi±tek, 27 czerwiec 2008 20:40:03 CEST -*/ - -public final class UnexpectedExceptionHolder implements org.omg.CORBA.portable.Streamable -{ - public org.apache.tuscany.sca.test.corba.generated.UnexpectedException value = null; - - public UnexpectedExceptionHolder () - { - } - - public UnexpectedExceptionHolder (org.apache.tuscany.sca.test.corba.generated.UnexpectedException initialValue) - { - value = initialValue; - } - - public void _read (org.omg.CORBA.portable.InputStream i) - { - value = org.apache.tuscany.sca.test.corba.generated.UnexpectedExceptionHelper.read (i); - } - - public void _write (org.omg.CORBA.portable.OutputStream o) - { - org.apache.tuscany.sca.test.corba.generated.UnexpectedExceptionHelper.write (o, value); - } - - public org.omg.CORBA.TypeCode _type () - { - return org.apache.tuscany.sca.test.corba.generated.UnexpectedExceptionHelper.type (); - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/WrongColor.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/WrongColor.java deleted file mode 100644 index 0407184598..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/WrongColor.java +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.generated; - - -/** -* org/apache/tuscany/sca/test/corba/generated/WrongColor.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from itest_scenario.idl -* pi±tek, 27 czerwiec 2008 20:40:03 CEST -*/ - -public final class WrongColor extends org.omg.CORBA.UserException -{ - public org.apache.tuscany.sca.test.corba.generated.Color givenColor = null; - public org.apache.tuscany.sca.test.corba.generated.Color correctColor = null; - - public WrongColor () - { - super(WrongColorHelper.id()); - } // ctor - - public WrongColor (org.apache.tuscany.sca.test.corba.generated.Color _givenColor, org.apache.tuscany.sca.test.corba.generated.Color _correctColor) - { - super(WrongColorHelper.id()); - givenColor = _givenColor; - correctColor = _correctColor; - } // ctor - - - public WrongColor (String $reason, org.apache.tuscany.sca.test.corba.generated.Color _givenColor, org.apache.tuscany.sca.test.corba.generated.Color _correctColor) - { - super(WrongColorHelper.id() + " " + $reason); - givenColor = _givenColor; - correctColor = _correctColor; - } // ctor - -} // class WrongColor diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/WrongColorHelper.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/WrongColorHelper.java deleted file mode 100644 index 16e099cfa3..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/WrongColorHelper.java +++ /dev/null @@ -1,105 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.generated; - - -/** -* org/apache/tuscany/sca/test/corba/generated/WrongColorHelper.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from itest_scenario.idl -* pi±tek, 27 czerwiec 2008 20:40:03 CEST -*/ - -abstract public class WrongColorHelper -{ - private static String _id = "IDL:org/apache/tuscany/sca/test/corba/generated/WrongColor:1.0"; - - public static void insert (org.omg.CORBA.Any a, org.apache.tuscany.sca.test.corba.generated.WrongColor that) - { - org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); - a.type (type ()); - write (out, that); - a.read_value (out.create_input_stream (), type ()); - } - - public static org.apache.tuscany.sca.test.corba.generated.WrongColor extract (org.omg.CORBA.Any a) - { - return read (a.create_input_stream ()); - } - - private static org.omg.CORBA.TypeCode __typeCode = null; - private static boolean __active = false; - synchronized public static org.omg.CORBA.TypeCode type () - { - if (__typeCode == null) - { - synchronized (org.omg.CORBA.TypeCode.class) - { - if (__typeCode == null) - { - if (__active) - { - return org.omg.CORBA.ORB.init().create_recursive_tc ( _id ); - } - __active = true; - org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [2]; - org.omg.CORBA.TypeCode _tcOf_members0 = null; - _tcOf_members0 = org.apache.tuscany.sca.test.corba.generated.ColorHelper.type (); - _members0[0] = new org.omg.CORBA.StructMember ( - "givenColor", - _tcOf_members0, - null); - _tcOf_members0 = org.apache.tuscany.sca.test.corba.generated.ColorHelper.type (); - _members0[1] = new org.omg.CORBA.StructMember ( - "correctColor", - _tcOf_members0, - null); - __typeCode = org.omg.CORBA.ORB.init ().create_exception_tc (org.apache.tuscany.sca.test.corba.generated.WrongColorHelper.id (), "WrongColor", _members0); - __active = false; - } - } - } - return __typeCode; - } - - public static String id () - { - return _id; - } - - public static org.apache.tuscany.sca.test.corba.generated.WrongColor read (org.omg.CORBA.portable.InputStream istream) - { - org.apache.tuscany.sca.test.corba.generated.WrongColor value = new org.apache.tuscany.sca.test.corba.generated.WrongColor (); - // read and discard the repository ID - istream.read_string (); - value.givenColor = org.apache.tuscany.sca.test.corba.generated.ColorHelper.read (istream); - value.correctColor = org.apache.tuscany.sca.test.corba.generated.ColorHelper.read (istream); - return value; - } - - public static void write (org.omg.CORBA.portable.OutputStream ostream, org.apache.tuscany.sca.test.corba.generated.WrongColor value) - { - // write the repository ID - ostream.write_string (id ()); - org.apache.tuscany.sca.test.corba.generated.ColorHelper.write (ostream, value.givenColor); - org.apache.tuscany.sca.test.corba.generated.ColorHelper.write (ostream, value.correctColor); - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/WrongColorHolder.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/WrongColorHolder.java deleted file mode 100644 index b4883cb35c..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/WrongColorHolder.java +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.generated; - -/** -* org/apache/tuscany/sca/test/corba/generated/WrongColorHolder.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from itest_scenario.idl -* pi±tek, 27 czerwiec 2008 20:40:03 CEST -*/ - -public final class WrongColorHolder implements org.omg.CORBA.portable.Streamable -{ - public org.apache.tuscany.sca.test.corba.generated.WrongColor value = null; - - public WrongColorHolder () - { - } - - public WrongColorHolder (org.apache.tuscany.sca.test.corba.generated.WrongColor initialValue) - { - value = initialValue; - } - - public void _read (org.omg.CORBA.portable.InputStream i) - { - value = org.apache.tuscany.sca.test.corba.generated.WrongColorHelper.read (i); - } - - public void _write (org.omg.CORBA.portable.OutputStream o) - { - org.apache.tuscany.sca.test.corba.generated.WrongColorHelper.write (o, value); - } - - public org.omg.CORBA.TypeCode _type () - { - return org.apache.tuscany.sca.test.corba.generated.WrongColorHelper.type (); - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/_ScenarioOneImplBase.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/_ScenarioOneImplBase.java deleted file mode 100644 index c96fb61204..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/_ScenarioOneImplBase.java +++ /dev/null @@ -1,91 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.generated; - - -/** -* org/apache/tuscany/sca/test/corba/generated/_ScenarioOneImplBase.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from itest_scenario.idl -* pi±tek, 27 czerwiec 2008 20:40:03 CEST -*/ - -public abstract class _ScenarioOneImplBase extends org.omg.CORBA.portable.ObjectImpl - implements org.apache.tuscany.sca.test.corba.generated.ScenarioOne, org.omg.CORBA.portable.InvokeHandler -{ - - // Constructors - public _ScenarioOneImplBase () - { - } - - private static java.util.Hashtable _methods = new java.util.Hashtable (); - static - { - _methods.put ("setRichStruct", new java.lang.Integer (0)); - } - - public org.omg.CORBA.portable.OutputStream _invoke (String $method, - org.omg.CORBA.portable.InputStream in, - org.omg.CORBA.portable.ResponseHandler $rh) - { - org.omg.CORBA.portable.OutputStream out = null; - java.lang.Integer __method = (java.lang.Integer)_methods.get ($method); - if (__method == null) - throw new org.omg.CORBA.BAD_OPERATION (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE); - - switch (__method.intValue ()) - { - case 0: // org/apache/tuscany/sca/test/corba/generated/ScenarioOne/setRichStruct - { - try { - org.apache.tuscany.sca.test.corba.generated.RichStruct richStruct = org.apache.tuscany.sca.test.corba.generated.RichStructHelper.read (in); - org.apache.tuscany.sca.test.corba.generated.RichStruct $result = null; - $result = this.setRichStruct (richStruct); - out = $rh.createReply(); - org.apache.tuscany.sca.test.corba.generated.RichStructHelper.write (out, $result); - } catch (org.apache.tuscany.sca.test.corba.generated.WrongColor $ex) { - out = $rh.createExceptionReply (); - org.apache.tuscany.sca.test.corba.generated.WrongColorHelper.write (out, $ex); - } catch (org.apache.tuscany.sca.test.corba.generated.UnexpectedException $ex) { - out = $rh.createExceptionReply (); - org.apache.tuscany.sca.test.corba.generated.UnexpectedExceptionHelper.write (out, $ex); - } - break; - } - - default: - throw new org.omg.CORBA.BAD_OPERATION (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE); - } - - return out; - } // _invoke - - // Type-specific CORBA::Object operations - private static String[] __ids = { - "IDL:org/apache/tuscany/sca/test/corba/generated/ScenarioOne:1.0"}; - - public String[] _ids () - { - return (String[])__ids.clone (); - } - - -} // class _ScenarioOneImplBase diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/_ScenarioOneStub.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/_ScenarioOneStub.java deleted file mode 100644 index 3427c127ec..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/_ScenarioOneStub.java +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.generated; - - -/** -* org/apache/tuscany/sca/test/corba/generated/_ScenarioOneStub.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from itest_scenario.idl -* pi±tek, 27 czerwiec 2008 20:40:03 CEST -*/ - -public class _ScenarioOneStub extends org.omg.CORBA.portable.ObjectImpl implements org.apache.tuscany.sca.test.corba.generated.ScenarioOne -{ - - public org.apache.tuscany.sca.test.corba.generated.RichStruct setRichStruct (org.apache.tuscany.sca.test.corba.generated.RichStruct richStruct) throws org.apache.tuscany.sca.test.corba.generated.WrongColor, org.apache.tuscany.sca.test.corba.generated.UnexpectedException - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("setRichStruct", true); - org.apache.tuscany.sca.test.corba.generated.RichStructHelper.write ($out, richStruct); - $in = _invoke ($out); - org.apache.tuscany.sca.test.corba.generated.RichStruct $result = org.apache.tuscany.sca.test.corba.generated.RichStructHelper.read ($in); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - if (_id.equals ("IDL:org/apache/tuscany/sca/test/corba/generated/WrongColor:1.0")) - throw org.apache.tuscany.sca.test.corba.generated.WrongColorHelper.read ($in); - else if (_id.equals ("IDL:org/apache/tuscany/sca/test/corba/generated/UnexpectedException:1.0")) - throw org.apache.tuscany.sca.test.corba.generated.UnexpectedExceptionHelper.read ($in); - else - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return setRichStruct (richStruct ); - } finally { - _releaseReply ($in); - } - } // setRichStruct - - // Type-specific CORBA::Object operations - private static String[] __ids = { - "IDL:org/apache/tuscany/sca/test/corba/generated/ScenarioOne:1.0"}; - - public String[] _ids () - { - return (String[])__ids.clone (); - } - - private void readObject (java.io.ObjectInputStream s) throws java.io.IOException - { - String str = s.readUTF (); - String[] args = null; - java.util.Properties props = null; - org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str); - org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate (); - _set_delegate (delegate); - } - - private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException - { - String[] args = null; - java.util.Properties props = null; - String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this); - s.writeUTF (str); - } -} // class _ScenarioOneStub diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/_ScenarioSixImplBase.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/_ScenarioSixImplBase.java deleted file mode 100644 index 78464fe40d..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/_ScenarioSixImplBase.java +++ /dev/null @@ -1,105 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.generated; - - -/** -* org/apache/tuscany/sca/test/corba/generated/_ScenarioSixImplBase.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from itest_scenario.idl -* niedziela, 17 sierpieñ 2008 23:35:36 CEST -*/ - -public abstract class _ScenarioSixImplBase extends org.omg.CORBA.portable.ObjectImpl - implements org.apache.tuscany.sca.test.corba.generated.ScenarioSix, org.omg.CORBA.portable.InvokeHandler -{ - - // Constructors - public _ScenarioSixImplBase () - { - } - - private static java.util.Hashtable _methods = new java.util.Hashtable (); - static - { - _methods.put ("passStringArray", new java.lang.Integer (0)); - _methods.put ("passAnnotatedStruct", new java.lang.Integer (1)); - _methods.put ("passRichUnion", new java.lang.Integer (2)); - } - - public org.omg.CORBA.portable.OutputStream _invoke (String $method, - org.omg.CORBA.portable.InputStream in, - org.omg.CORBA.portable.ResponseHandler $rh) - { - org.omg.CORBA.portable.OutputStream out = null; - java.lang.Integer __method = (java.lang.Integer)_methods.get ($method); - if (__method == null) - throw new org.omg.CORBA.BAD_OPERATION (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE); - - switch (__method.intValue ()) - { - case 0: // org/apache/tuscany/sca/test/corba/generated/ScenarioSix/passStringArray - { - String arg[][] = org.apache.tuscany.sca.test.corba.generated.StringArrayHelper.read (in); - String $result[][] = null; - $result = this.passStringArray (arg); - out = $rh.createReply(); - org.apache.tuscany.sca.test.corba.generated.StringArrayHelper.write (out, $result); - break; - } - - case 1: // org/apache/tuscany/sca/test/corba/generated/ScenarioSix/passAnnotatedStruct - { - org.apache.tuscany.sca.test.corba.generated.AnnotatedStruct arg = org.apache.tuscany.sca.test.corba.generated.AnnotatedStructHelper.read (in); - org.apache.tuscany.sca.test.corba.generated.AnnotatedStruct $result = null; - $result = this.passAnnotatedStruct (arg); - out = $rh.createReply(); - org.apache.tuscany.sca.test.corba.generated.AnnotatedStructHelper.write (out, $result); - break; - } - - case 2: // org/apache/tuscany/sca/test/corba/generated/ScenarioSix/passRichUnion - { - org.apache.tuscany.sca.test.corba.generated.RichUnion arg = org.apache.tuscany.sca.test.corba.generated.RichUnionHelper.read (in); - org.apache.tuscany.sca.test.corba.generated.RichUnion $result = null; - $result = this.passRichUnion (arg); - out = $rh.createReply(); - org.apache.tuscany.sca.test.corba.generated.RichUnionHelper.write (out, $result); - break; - } - - default: - throw new org.omg.CORBA.BAD_OPERATION (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE); - } - - return out; - } // _invoke - - // Type-specific CORBA::Object operations - private static String[] __ids = { - "IDL:org/apache/tuscany/sca/test/corba/generated/ScenarioSix:1.0"}; - - public String[] _ids () - { - return (String[])__ids.clone (); - } - - -} // class _ScenarioSixImplBase diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/_ScenarioSixStub.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/_ScenarioSixStub.java deleted file mode 100644 index faff36c2a4..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/_ScenarioSixStub.java +++ /dev/null @@ -1,119 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.generated; - - -/** -* org/apache/tuscany/sca/test/corba/generated/_ScenarioSixStub.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from itest_scenario.idl -* niedziela, 17 sierpieñ 2008 19:07:14 CEST -*/ - -public class _ScenarioSixStub extends org.omg.CORBA.portable.ObjectImpl implements org.apache.tuscany.sca.test.corba.generated.ScenarioSix -{ - - public String[][] passStringArray (String[][] arg) - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("passStringArray", true); - org.apache.tuscany.sca.test.corba.generated.StringArrayHelper.write ($out, arg); - $in = _invoke ($out); - String $result[][] = org.apache.tuscany.sca.test.corba.generated.StringArrayHelper.read ($in); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return passStringArray (arg ); - } finally { - _releaseReply ($in); - } - } // passStringArray - - public org.apache.tuscany.sca.test.corba.generated.AnnotatedStruct passAnnotatedStruct (org.apache.tuscany.sca.test.corba.generated.AnnotatedStruct arg) - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("passAnnotatedStruct", true); - org.apache.tuscany.sca.test.corba.generated.AnnotatedStructHelper.write ($out, arg); - $in = _invoke ($out); - org.apache.tuscany.sca.test.corba.generated.AnnotatedStruct $result = org.apache.tuscany.sca.test.corba.generated.AnnotatedStructHelper.read ($in); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return passAnnotatedStruct (arg ); - } finally { - _releaseReply ($in); - } - } // passAnnotatedStruct - - public org.apache.tuscany.sca.test.corba.generated.RichUnion passRichUnion (org.apache.tuscany.sca.test.corba.generated.RichUnion arg) - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("passRichUnion", true); - org.apache.tuscany.sca.test.corba.generated.RichUnionHelper.write ($out, arg); - $in = _invoke ($out); - org.apache.tuscany.sca.test.corba.generated.RichUnion $result = org.apache.tuscany.sca.test.corba.generated.RichUnionHelper.read ($in); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return passRichUnion (arg ); - } finally { - _releaseReply ($in); - } - } // passRichUnion - - // Type-specific CORBA::Object operations - private static String[] __ids = { - "IDL:org/apache/tuscany/sca/test/corba/generated/ScenarioSix:1.0"}; - - public String[] _ids () - { - return (String[])__ids.clone (); - } - - private void readObject (java.io.ObjectInputStream s) throws java.io.IOException - { - String str = s.readUTF (); - String[] args = null; - java.util.Properties props = null; - org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str); - org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate (); - _set_delegate (delegate); - } - - private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException - { - String[] args = null; - java.util.Properties props = null; - String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this); - s.writeUTF (str); - } -} // class _ScenarioSixStub diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/_ScenarioTwoImplBase.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/_ScenarioTwoImplBase.java deleted file mode 100644 index 750006cec6..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/_ScenarioTwoImplBase.java +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.generated; - - -/** -* org/apache/tuscany/sca/test/corba/generated/_ScenarioTwoImplBase.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from itest_scenario.idl -* wtorek, 15 lipiec 2008 13:36:31 CEST -*/ - - -// objects for ScenarioTwo -public abstract class _ScenarioTwoImplBase extends org.omg.CORBA.portable.ObjectImpl - implements org.apache.tuscany.sca.test.corba.generated.ScenarioTwo, org.omg.CORBA.portable.InvokeHandler -{ - - // Constructors - public _ScenarioTwoImplBase () - { - } - - private static java.util.Hashtable _methods = new java.util.Hashtable (); - static - { - _methods.put ("_get_stringField", new java.lang.Integer (0)); - _methods.put ("_set_stringField", new java.lang.Integer (1)); - } - - public org.omg.CORBA.portable.OutputStream _invoke (String $method, - org.omg.CORBA.portable.InputStream in, - org.omg.CORBA.portable.ResponseHandler $rh) - { - org.omg.CORBA.portable.OutputStream out = null; - java.lang.Integer __method = (java.lang.Integer)_methods.get ($method); - if (__method == null) - throw new org.omg.CORBA.BAD_OPERATION (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE); - - switch (__method.intValue ()) - { - case 0: // org/apache/tuscany/sca/test/corba/generated/ScenarioTwo/_get_stringField - { - String $result = null; - $result = this.stringField (); - out = $rh.createReply(); - out.write_string ($result); - break; - } - - case 1: // org/apache/tuscany/sca/test/corba/generated/ScenarioTwo/_set_stringField - { - String newStringField = in.read_string (); - this.stringField (newStringField); - out = $rh.createReply(); - break; - } - - default: - throw new org.omg.CORBA.BAD_OPERATION (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE); - } - - return out; - } // _invoke - - // Type-specific CORBA::Object operations - private static String[] __ids = { - "IDL:org/apache/tuscany/sca/test/corba/generated/ScenarioTwo:1.0"}; - - public String[] _ids () - { - return (String[])__ids.clone (); - } - - -} // class _ScenarioTwoImplBase diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/_ScenarioTwoStub.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/_ScenarioTwoStub.java deleted file mode 100644 index ef9f561d1b..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/generated/_ScenarioTwoStub.java +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.generated; - - -/** -* org/apache/tuscany/sca/test/corba/generated/_ScenarioTwoStub.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from itest_scenario.idl -* wtorek, 15 lipiec 2008 13:36:31 CEST -*/ - - -// objects for ScenarioTwo -public class _ScenarioTwoStub extends org.omg.CORBA.portable.ObjectImpl implements org.apache.tuscany.sca.test.corba.generated.ScenarioTwo -{ - - public String stringField () - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("_get_stringField", true); - $in = _invoke ($out); - String $result = $in.read_string (); - return $result; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - return stringField ( ); - } finally { - _releaseReply ($in); - } - } // stringField - - public void stringField (String newStringField) - { - org.omg.CORBA.portable.InputStream $in = null; - try { - org.omg.CORBA.portable.OutputStream $out = _request ("_set_stringField", true); - $out.write_string (newStringField); - $in = _invoke ($out); - return; - } catch (org.omg.CORBA.portable.ApplicationException $ex) { - $in = $ex.getInputStream (); - String _id = $ex.getId (); - throw new org.omg.CORBA.MARSHAL (_id); - } catch (org.omg.CORBA.portable.RemarshalException $rm) { - stringField (newStringField ); - } finally { - _releaseReply ($in); - } - } // stringField - - // Type-specific CORBA::Object operations - private static String[] __ids = { - "IDL:org/apache/tuscany/sca/test/corba/generated/ScenarioTwo:1.0"}; - - public String[] _ids () - { - return (String[])__ids.clone (); - } - - private void readObject (java.io.ObjectInputStream s) throws java.io.IOException - { - String str = s.readUTF (); - String[] args = null; - java.util.Properties props = null; - org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str); - org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate (); - _set_delegate (delegate); - } - - private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException - { - String[] args = null; - java.util.Properties props = null; - String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this); - s.writeUTF (str); - } -} // class _ScenarioTwoStub diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/ScenarioFive.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/ScenarioFive.java deleted file mode 100644 index 1bc2156183..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/ScenarioFive.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.types; - -import org.oasisopen.sca.annotation.Remotable; - -/** - * @version $Rev$ $Date$ - * Operations for scenario five - */ -@Remotable -public interface ScenarioFive { - - void doNothing(); - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/ScenarioFiveComponent.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/ScenarioFiveComponent.java deleted file mode 100644 index a198eaf646..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/ScenarioFiveComponent.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.types; - -import org.oasisopen.sca.annotation.Reference; - -/** - * @version $Rev$ $Date$ - * Component for obtaining ScenarioFive reference - */ -public class ScenarioFiveComponent { - - private ScenarioFive scenarioFive; - - @Reference - public void setScenarioFive(ScenarioFive scenarioFive) { - this.scenarioFive = scenarioFive; - } - - public ScenarioFive getScenarioFive() { - return scenarioFive; - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/ScenarioFiveImpl.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/ScenarioFiveImpl.java deleted file mode 100644 index dc752a2aea..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/ScenarioFiveImpl.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.types; - -/** - * @version $Rev$ $Date$ - * Implementation of ScenarioFive service - */ -public class ScenarioFiveImpl implements ScenarioFive { - - public void doNothing() { - // does nothing - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/ScenarioFour.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/ScenarioFour.java deleted file mode 100644 index aa2f06909b..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/ScenarioFour.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.types; - -import org.apache.tuscany.sca.test.corba.scenariofour.ScenarioFourSdo; -import org.oasisopen.sca.annotation.Remotable; - -/** - * @version $Rev$ $Date$ - * Operations for ScenarioFour - */ -@Remotable -public interface ScenarioFour { - - ScenarioFourStruct setStruct(ScenarioFourStruct struct); - - void exceptionTest() throws ScenarioFourException; - - ScenarioFourSdo passScenarioFourStruct(ScenarioFourSdo scenarioFourSdo); - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/ScenarioFourComponent.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/ScenarioFourComponent.java deleted file mode 100644 index c7569720f0..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/ScenarioFourComponent.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.types; - -import org.oasisopen.sca.annotation.Reference; - -/** - * @version $Rev$ $Date$ - * Component for obtaining ScenarioFour reference - */ -public class ScenarioFourComponent { - - private ScenarioFour scenarioFour; - - @Reference - public void setScenarioFour(ScenarioFour scenarioFour) { - this.scenarioFour = scenarioFour; - } - - public ScenarioFour getScenarioFour() { - return scenarioFour; - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/ScenarioFourException.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/ScenarioFourException.java deleted file mode 100644 index bc76373633..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/ScenarioFourException.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.types; - -/** - * @version $Rev$ $Date$ - * Exception for ScenarioFour tests - */ -public class ScenarioFourException extends Exception { - - public static final String DEFAULT_CONTENT = "Test"; - - private static final long serialVersionUID = 1L; - private String content; - - public String getContent() { - return content; - } - - public void setContent(String content) { - this.content = content; - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/ScenarioFourImpl.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/ScenarioFourImpl.java deleted file mode 100644 index 2f10177bd0..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/ScenarioFourImpl.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.types; - -import org.apache.tuscany.sca.test.corba.scenariofour.ScenarioFourSdo; - -/** - * @version $Rev$ $Date$ - * Implementation of ScenarioFour service - */ -public class ScenarioFourImpl implements ScenarioFour { - - public ScenarioFourStruct setStruct(ScenarioFourStruct struct) { - return struct; - } - - public void exceptionTest() throws ScenarioFourException { - ScenarioFourException exception = new ScenarioFourException(); - exception.setContent(ScenarioFourException.DEFAULT_CONTENT); - throw exception; - } - - public ScenarioFourSdo passScenarioFourStruct(ScenarioFourSdo scenarioFourSdo) { - return scenarioFourSdo; - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/ScenarioFourStruct.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/ScenarioFourStruct.java deleted file mode 100644 index de8624455f..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/ScenarioFourStruct.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.types; - -/** - * @version $Rev$ $Date$ - * Type for ScenarioFour test - */ -public class ScenarioFourStruct { - - public String field1; - public int field2; - public double[] field3; - - public boolean equals(ScenarioFourStruct arg) { - return (field1 != null && arg.field1 != null - && field1.equals(arg.field1) - && field2 == arg.field2 - && field3 != null - && arg.field3 != null && field3.length == arg.field3.length); - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/ScenarioOneComponent.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/ScenarioOneComponent.java deleted file mode 100644 index 1813de4e67..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/ScenarioOneComponent.java +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.types; - -import org.apache.tuscany.sca.test.corba.generated.RichStruct; -import org.apache.tuscany.sca.test.corba.generated.ScenarioOne; -import org.apache.tuscany.sca.test.corba.generated.ScenarioOneOperations; -import org.apache.tuscany.sca.test.corba.generated.UnexpectedException; -import org.apache.tuscany.sca.test.corba.generated.WrongColor; -import org.oasisopen.sca.annotation.Reference; - -/** - * @version $Rev$ $Date$ - * Component for reference using generated interface. - */ -public class ScenarioOneComponent implements ScenarioOneOperations { - - private ScenarioOne scenarionOne; - - @Reference - public void setScenarioOne(ScenarioOne scenarioOne) { - this.scenarionOne = scenarioOne; - } - - public RichStruct setRichStruct(RichStruct richStruct) throws WrongColor, UnexpectedException { - return scenarionOne.setRichStruct(richStruct); - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/ScenarioOneServant.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/ScenarioOneServant.java deleted file mode 100644 index 9b49adbfbb..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/ScenarioOneServant.java +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.types; - -import org.apache.tuscany.sca.test.corba.generated.Color; -import org.apache.tuscany.sca.test.corba.generated.RichStruct; -import org.apache.tuscany.sca.test.corba.generated.UnexpectedException; -import org.apache.tuscany.sca.test.corba.generated.WrongColor; -import org.apache.tuscany.sca.test.corba.generated._ScenarioOneImplBase; - -/** - * @version $Rev$ $Date$ - * Servant for generated interface. Uses generated classes. - */ -public class ScenarioOneServant extends _ScenarioOneImplBase { - - private static final long serialVersionUID = 1L; - - public RichStruct setRichStruct(RichStruct richStruct) throws WrongColor, UnexpectedException { - if (richStruct.innerStruct.color.value() == Color.red.value()) { - throw new WrongColor(richStruct.innerStruct.color, Color.green); - } else if (richStruct.longField == 0) { - throw new UnexpectedException("Expected richStruct.longField != 0"); - } - return richStruct; - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/ScenarioSixServant.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/ScenarioSixServant.java deleted file mode 100644 index 7889a80bf1..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/ScenarioSixServant.java +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.types; - -import org.apache.tuscany.sca.test.corba.generated.AnnotatedStruct; -import org.apache.tuscany.sca.test.corba.generated.RichUnion; -import org.apache.tuscany.sca.test.corba.generated._ScenarioSixImplBase; - -/** - * @version $Rev$ $Date$ - * Scenario six servant for generated interface. - */ -public class ScenarioSixServant extends _ScenarioSixImplBase { - - private static final long serialVersionUID = 1L; - - public String[][] passStringArray(String[][] arg) { - return arg; - } - - public AnnotatedStruct passAnnotatedStruct(AnnotatedStruct arg) { - return arg; - } - - public RichUnion passRichUnion(RichUnion arg) { - return arg; - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/ScenarioTwoServant.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/ScenarioTwoServant.java deleted file mode 100644 index cdd49904d3..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/ScenarioTwoServant.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.types; - -import org.apache.tuscany.sca.test.corba.generated._ScenarioTwoImplBase; - -/** - * @version $Rev$ $Date$ - * Servant for generated interface. - */ -public class ScenarioTwoServant extends _ScenarioTwoImplBase { - - private static final long serialVersionUID = 1L; - - private String stringField = ""; - - public String stringField() { - return stringField; - } - - public void stringField(String newStringField) { - this.stringField = newStringField; - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TAnnotatedStruct.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TAnnotatedStruct.java deleted file mode 100644 index 6f0ef584da..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TAnnotatedStruct.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.types; - -import org.apache.tuscany.sca.binding.corba.provider.meta.CorbaArray; - -/** - * @version $Rev$ $Date$ Scenario six structure used by Tuscany. - */ -public final class TAnnotatedStruct { - - @CorbaArray( {2, 2}) - public String[][] stringArray; - - public TAnnotatedStruct() { - - } - - public TAnnotatedStruct(String[][] stringArray) { - this.stringArray = stringArray; - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TColor.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TColor.java deleted file mode 100644 index 71003d008f..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TColor.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.types; - -/** - * @version $Rev$ $Date$ - * User provided enum representation for Color type. - */ -public class TColor { - - private int value; - - public static final int _red = 0; - public static final int _yellow = 1; - public static final int _green = 2; - - public static final TColor red = new TColor(_red); - public static final TColor yellow = new TColor(_yellow); - public static final TColor green = new TColor(_green); - - public int value() { - return value; - } - - public static TColor from_int(int value) { - switch (value) { - case 0: - return red; - case 1: - return yellow; - case 2: - return green; - } - return green; - } - - protected TColor(int value) { - this.value = value; - } - - public TColor() { - - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TInnerStruct.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TInnerStruct.java deleted file mode 100644 index 271f1e669b..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TInnerStruct.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.types; - -/** - * @version $Rev$ $Date$ - * User provided interface representation for InnerStruct type. - */ -public final class TInnerStruct { - - public int[][] twoDimLongSequence; - public String stringField; - public TColor color; - - public TInnerStruct() { - - } - - public TInnerStruct(int[][] a1, String a2, TColor a3) { - twoDimLongSequence = a1; - stringField = a2; - color = a3; - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TInnerUnion.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TInnerUnion.java deleted file mode 100644 index f2baffce9a..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TInnerUnion.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.types; - -import org.apache.tuscany.sca.binding.corba.provider.meta.CorbaUnionElement; -import org.apache.tuscany.sca.binding.corba.provider.meta.CorbaUnionElementType; - -/** - * @version $Rev$ $Date$ - * User provided interface representation for CORBA InnerUnion type. - */ -public final class TInnerUnion { - - @CorbaUnionElement(type = CorbaUnionElementType.option, optionNumber = 1) - private int x; - - @CorbaUnionElement(type = CorbaUnionElementType.option, optionNumber = 2) - private float y; - - @CorbaUnionElement(type = CorbaUnionElementType.discriminator) - @SuppressWarnings("unused") - private int discriminator; - - public int getX() { - return x; - } - - public void setX(int x) { - discriminator = 1; - this.x = x; - } - - public float getY() { - return y; - } - - public void setY(float y) { - discriminator = 2; - this.y = y; - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TRichStruct.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TRichStruct.java deleted file mode 100644 index 1b44da9752..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TRichStruct.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.types; - -/** - * @version $Rev$ $Date$ - * User provided interface representation for RichStruct type. - */ -public final class TRichStruct { - - public TInnerStruct innerStruct; - public String[] stringSequence; - public int longField; - - public TRichStruct() { - - } - - public TRichStruct(TInnerStruct a1, String[] a2, int a3) { - innerStruct = a1; - stringSequence = a2; - longField = a3; - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TRichUnion.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TRichUnion.java deleted file mode 100644 index 8270ba1a8c..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TRichUnion.java +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.types; - -import org.apache.tuscany.sca.binding.corba.provider.meta.CorbaUnionElement; -import org.apache.tuscany.sca.binding.corba.provider.meta.CorbaUnionElementType; - -/** - * @version $Rev$ $Date$ - * User provided interface representation for CORBA RichUnion type. - */ -public final class TRichUnion { - - @CorbaUnionElement(type = CorbaUnionElementType.option, optionNumber = 1) - private int x; - - @CorbaUnionElement(type = CorbaUnionElementType.option, optionNumber = 2) - private float y; - - @CorbaUnionElement(type = CorbaUnionElementType.option, optionNumber = 3) - private String z; - - @CorbaUnionElement(type = CorbaUnionElementType.option, optionNumber = 4) - private TInnerUnion iu; - - @CorbaUnionElement(type = CorbaUnionElementType.defaultOption) - private boolean def; - - @CorbaUnionElement(type = CorbaUnionElementType.discriminator) - @SuppressWarnings("unused") - private int discriminator = -1; - - public int getX() { - return x; - } - - public void setX(int x) { - this.discriminator = 1; - this.x = x; - } - - public float getY() { - return y; - } - - public void setY(float y) { - this.discriminator = 2; - this.y = y; - } - - public String getZ() { - return z; - } - - public void setZ(String z) { - this.discriminator = 3; - this.z = z; - } - - public boolean isDef() { - return def; - } - - public void setDef(boolean def) { - this.discriminator = -1; - this.def = def; - } - - public TInnerUnion getIu() { - return iu; - } - - public void setIu(TInnerUnion iu) { - this.discriminator = 4; - this.iu = iu; - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TScenarioOne.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TScenarioOne.java deleted file mode 100644 index 922759cd8d..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TScenarioOne.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.types; - -import org.apache.tuscany.sca.test.corba.generated.UnexpectedException; -import org.apache.tuscany.sca.test.corba.generated.WrongColor; - -/** - * @version $Rev$ $Date$ - * User provided CORBA service interface. - */ -public interface TScenarioOne { - - TRichStruct setRichStruct(TRichStruct richStruct) throws WrongColor, UnexpectedException; - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TScenarioOneComponent.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TScenarioOneComponent.java deleted file mode 100644 index ac7b0af175..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TScenarioOneComponent.java +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.types; - -import org.apache.tuscany.sca.test.corba.generated.UnexpectedException; -import org.apache.tuscany.sca.test.corba.generated.WrongColor; -import org.oasisopen.sca.annotation.Reference; - -/** - * @version $Rev$ $Date$ - * Component for reference using user provided interface. - */ -public class TScenarioOneComponent implements TScenarioOne { - - private TScenarioOne scenarionOne; - - @Reference - public void setScenarioOne(TScenarioOne scenarioOne) { - this.scenarionOne = scenarioOne; - } - - public TRichStruct setRichStruct(TRichStruct richStruct) throws WrongColor, UnexpectedException { - return scenarionOne.setRichStruct(richStruct); - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TScenarioOneServant.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TScenarioOneServant.java deleted file mode 100644 index 47f0775c16..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TScenarioOneServant.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.types; - -import org.apache.tuscany.sca.test.corba.generated.Color; -import org.apache.tuscany.sca.test.corba.generated.UnexpectedException; -import org.apache.tuscany.sca.test.corba.generated.WrongColor; - -/** - * @version $Rev$ $Date$ - * Servant for user provided interface. Uses T* classes. - */ -public class TScenarioOneServant implements TScenarioOne { - - private static final long serialVersionUID = 1L; - - public TRichStruct setRichStruct(TRichStruct richStruct) throws WrongColor, UnexpectedException { - if (richStruct.innerStruct.color.value() == Color.red.value()) { - Color translatedColor = Color.from_int(richStruct.innerStruct.color.value()); - throw new WrongColor(translatedColor, Color.green); - } else if (richStruct.longField == 0) { - throw new UnexpectedException("Expected richStruct.longField != 0"); - } - return richStruct; - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TScenarioSix.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TScenarioSix.java deleted file mode 100644 index 0e894cb7ea..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TScenarioSix.java +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.types; - -import org.apache.tuscany.sca.binding.corba.provider.meta.CorbaArray; - -/** - * @version $Rev$ $Date$ - * Operations for scenario six. - */ -public interface TScenarioSix { - - @CorbaArray( {2, 2}) - public String[][] passStringArray(@CorbaArray( {2, 2})String[][] arg); - - public TAnnotatedStruct passAnnotatedStruct(TAnnotatedStruct arg); - - public TRichUnion passRichUnion(TRichUnion arg); - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TScenarioSixComponent.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TScenarioSixComponent.java deleted file mode 100644 index 13bc1d499e..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TScenarioSixComponent.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.types; - -import org.oasisopen.sca.annotation.Reference; - -/** - * @version $Rev$ $Date$ - * Component for obtaining ScenartioSix reference. - */ -public class TScenarioSixComponent { - - private TScenarioSix scenarioSix; - - @Reference - public void setScenarioSix(TScenarioSix scenarioSix) { - this.scenarioSix = scenarioSix; - } - - public TScenarioSix getScenarioSix() { - return scenarioSix; - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TScenarioSixServant.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TScenarioSixServant.java deleted file mode 100644 index 8e76958e31..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TScenarioSixServant.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.types; - -/** - * @version $Rev$ $Date$ - * Tuscany scenario six servant. - */ -public class TScenarioSixServant implements TScenarioSix { - - private static final long serialVersionUID = 1L; - - public String[][] passStringArray(String[][] arg) { - return arg; - } - - public TAnnotatedStruct passAnnotatedStruct(TAnnotatedStruct arg) { - return arg; - } - - public TRichUnion passRichUnion(TRichUnion arg) { - return arg; - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TScenarioThree.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TScenarioThree.java deleted file mode 100644 index 1e4264256b..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TScenarioThree.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.types; - -/** - * @version $Rev$ $Date$ - * Operations for ScenarioThree. - */ -public interface TScenarioThree { - - int getIntField(); - - void setIntField(int intField); - - void overloadedName(); - - void overloadedName(String arg1); - - void overloadedName(String arg1, int arg2); - - int caseDifferent(); - - int CaseDifferent(); - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TScenarioThreeComponent.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TScenarioThreeComponent.java deleted file mode 100644 index 12b0f404ae..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TScenarioThreeComponent.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.types; - -import org.oasisopen.sca.annotation.Reference; - -/** - * @version $Rev$ $Date$ - * Component for obtaining ScenartioThree reference. - */ -public class TScenarioThreeComponent { - - private TScenarioThree scenarionThree; - - @Reference - public void setScenarioThree(TScenarioThree scenarioThree) { - this.scenarionThree = scenarioThree; - } - - public TScenarioThree getScenarioThree() { - return scenarionThree; - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TScenarioThreeServant.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TScenarioThreeServant.java deleted file mode 100644 index b679214c6c..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TScenarioThreeServant.java +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.types; - -/** - * @version $Rev$ $Date$ - * Servant for user provided interface. - */ -public class TScenarioThreeServant implements TScenarioThree { - - public int getIntField() { - return 0; - } - - public void overloadedName() { - } - - public void overloadedName(String arg1) { - } - - public void overloadedName(String arg1, int arg2) { - } - - public void setIntField(int intField) { - } - - public int CaseDifferent() { - return 1; - } - - public int caseDifferent() { - return 0; - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TScenarioTwo.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TScenarioTwo.java deleted file mode 100644 index 415634c80f..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TScenarioTwo.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.types; - -/** - * @version $Rev$ $Date$ - * Operations for ScenarioTwo. - */ -public interface TScenarioTwo { - - String getStringField(); - - void setStringField(String stringField); - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TScenarioTwoComponent.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TScenarioTwoComponent.java deleted file mode 100644 index 937d82b33e..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TScenarioTwoComponent.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.types; - -import org.oasisopen.sca.annotation.Reference; - -/** - * @version $Rev$ $Date$ - * Component for obtaining ScenartioTwo reference. - */ -public class TScenarioTwoComponent { - - private TScenarioTwo scenarioTwo; - - @Reference - public void setScenarioTwo(TScenarioTwo scenarioTwo) { - this.scenarioTwo = scenarioTwo; - } - - public TScenarioTwo getScenarioTwo() { - return scenarioTwo; - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TScenarioTwoServant.java b/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TScenarioTwoServant.java deleted file mode 100644 index cb868d18a0..0000000000 --- a/java/sca-contrib/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/types/TScenarioTwoServant.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.test.corba.types; - -/** - * @version $Rev$ $Date$ - * Servant for user provided interface. - */ -public class TScenarioTwoServant implements TScenarioTwo { - - private static String stringField = ""; - - public String getStringField() { - return stringField; - } - - public void setStringField(String stringField) { - TScenarioTwoServant.stringField = stringField; - } - -} diff --git a/java/sca-contrib/itest/corba/src/test/resources/META-INF/services/org.apache.tuscany.sca.core.ModuleActivator b/java/sca-contrib/itest/corba/src/test/resources/META-INF/services/org.apache.tuscany.sca.core.ModuleActivator deleted file mode 100644 index 3e77527d73..0000000000 --- a/java/sca-contrib/itest/corba/src/test/resources/META-INF/services/org.apache.tuscany.sca.core.ModuleActivator +++ /dev/null @@ -1,18 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. - -org.apache.tuscany.sca.test.corba.TestCorbaHostModuleActivator diff --git a/java/sca-contrib/itest/corba/src/test/resources/ScenarioFive.composite b/java/sca-contrib/itest/corba/src/test/resources/ScenarioFive.composite deleted file mode 100644 index 3c73e238a5..0000000000 --- a/java/sca-contrib/itest/corba/src/test/resources/ScenarioFive.composite +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/corba/src/test/resources/ScenarioFour.composite b/java/sca-contrib/itest/corba/src/test/resources/ScenarioFour.composite deleted file mode 100644 index 01d7e2314a..0000000000 --- a/java/sca-contrib/itest/corba/src/test/resources/ScenarioFour.composite +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/corba/src/test/resources/ScenarioOne.composite b/java/sca-contrib/itest/corba/src/test/resources/ScenarioOne.composite deleted file mode 100644 index c10b383661..0000000000 --- a/java/sca-contrib/itest/corba/src/test/resources/ScenarioOne.composite +++ /dev/null @@ -1,111 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/corba/src/test/resources/ScenarioSix.composite b/java/sca-contrib/itest/corba/src/test/resources/ScenarioSix.composite deleted file mode 100644 index 88238478c1..0000000000 --- a/java/sca-contrib/itest/corba/src/test/resources/ScenarioSix.composite +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/corba/src/test/resources/ScenarioThree.composite b/java/sca-contrib/itest/corba/src/test/resources/ScenarioThree.composite deleted file mode 100644 index f43e4a3f7a..0000000000 --- a/java/sca-contrib/itest/corba/src/test/resources/ScenarioThree.composite +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/corba/src/test/resources/ScenarioTwo.composite b/java/sca-contrib/itest/corba/src/test/resources/ScenarioTwo.composite deleted file mode 100644 index dc5ddc50d3..0000000000 --- a/java/sca-contrib/itest/corba/src/test/resources/ScenarioTwo.composite +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/corba/src/test/resources/itest_scenario.idl b/java/sca-contrib/itest/corba/src/test/resources/itest_scenario.idl deleted file mode 100644 index 41489a4565..0000000000 --- a/java/sca-contrib/itest/corba/src/test/resources/itest_scenario.idl +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -/* - * compile by - * idlj -fall -oldImplBase itest_scenario.idl - */ - -module org { - module apache { - module tuscany { - module sca { - module test { - module corba { - module generated { - - // objects for ScenarioOne - - enum Color {red, yellow, green}; - - typedef sequence StringSequence; - typedef sequence LongSequence; - typedef sequence TwoDimLongSequence; - - struct InnerStruct { - TwoDimLongSequence twoDimLongSequence; - string stringField; - Color color; - }; - - struct RichStruct { - InnerStruct innerStruct; - StringSequence stringSequence; - long longField; - }; - - exception WrongColor { - Color givenColor; - Color correctColor; - }; - - exception UnexpectedException { - string info; - }; - - interface ScenarioOne { - - RichStruct setRichStruct(in RichStruct richStruct) raises (WrongColor, UnexpectedException); - - }; - - // objects for ScenarioTwo - - interface ScenarioTwo { - - attribute string stringField; - - }; - - typedef string StringArray[2][2]; - - struct AnnotatedStruct { - StringArray stringArray; - }; - - union InnerUnion switch (long) { - case 1: long x; - case 2: float y; - }; - - union RichUnion switch (long) { - case 1: long x; - case 2: float y; - case 3: string z; - case 4: InnerUnion iu; - default: boolean a; - }; - - interface ScenarioSix { - - StringArray passStringArray(in StringArray arg); - - AnnotatedStruct passAnnotatedStruct(in AnnotatedStruct arg); - - RichUnion passRichUnion(in RichUnion arg); - - }; - }; - }; - }; - }; - }; - }; -}; diff --git a/java/sca-contrib/itest/corba/src/test/resources/scenariofour.xsd b/java/sca-contrib/itest/corba/src/test/resources/scenariofour.xsd deleted file mode 100644 index 2669b54be3..0000000000 --- a/java/sca-contrib/itest/corba/src/test/resources/scenariofour.xsd +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/pom.xml b/java/sca-contrib/itest/databindings/common/pom.xml deleted file mode 100644 index 661b264a49..0000000000 --- a/java/sca-contrib/itest/databindings/common/pom.xml +++ /dev/null @@ -1,126 +0,0 @@ - - - - - org.apache.tuscany.sca - itest-databindings - 2.0-SNAPSHOT - - - 4.0.0 - - itest-databindings-common - 2.0-SNAPSHOT - jar - Apache Tuscany SCA Databinding Common Integration Tests - - - - - true - - java.net - java.net Maven 1.x Repository - http://download.java.net/maven/1 - legacy - - - - - - - true - - java.net - java.net Maven 1.x Repository - http://download.java.net/maven/1 - legacy - - - - - - org.apache.tuscany.sca - tuscany-databinding-sdo - ${pom.version} - compile - - - org.apache.tuscany.sdo - tuscany-sdo-tools - 1.1.1 - compile - - - velocity - velocity - 1.4 - compile - - - - - - - org.codehaus.mojo - build-helper-maven-plugin - 1.0 - - - add-test-source - generate-sources - - add-test-source - - - - target/sdo-source - - - - - - - org.apache.tuscany.sdo - tuscany-sdo-plugin - 1.1.1 - - - generate-sdo - generate-sources - - - - ${basedir}/src/main/resources/generate/generate.xsd - - - true - true - true - - - generate - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/java/org/apache/tuscany/sca/itest/generate/Generate.java b/java/sca-contrib/itest/databindings/common/src/main/java/org/apache/tuscany/sca/itest/generate/Generate.java deleted file mode 100644 index adb546a1ea..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/java/org/apache/tuscany/sca/itest/generate/Generate.java +++ /dev/null @@ -1,181 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.generate; - -import java.io.File; -import java.io.FileInputStream; -import java.io.FileWriter; -import java.util.List; -import java.util.Properties; - -import org.apache.tuscany.generate.GenerateFactory; -import org.apache.tuscany.generate.GenerateType; -import org.apache.tuscany.generate.InputFileType; -import org.apache.tuscany.generate.TemplateType; -import org.apache.tuscany.sdo.generate.XSD2JavaGenerator; -import org.apache.tuscany.sdo.util.SDOUtil; -import org.apache.velocity.VelocityContext; -import org.apache.velocity.app.Velocity; - -import commonj.sdo.helper.HelperContext; -import commonj.sdo.helper.XMLDocument; - -/** - * Generates test files based on the information in a configuration files (generate.xml) - * and a set of velocity templates. The process is - * - * for each template - * for each xsd file - * generate SDOs - * include the factory into the composite - * for each type - * add client iface method - * add client impl method - * add service iface method - * add service impl method - * add test method - * add wsdl type and method - * - * @version $Rev$ $Date$ - */ -public class Generate { - - /** - * Does all the hard work of running the velocity templates against the - * the list of types to test. Both the list of templates and the list of - * XSD files is held in the configuration file (generate.xsd) which lives in the - * resources/generate directory of the project being generated. - * - * @param projectBuildDir the path to the target dir of the project being generated. - */ - public static void generate(String projectBuildDir) { - System.out.println(">> Building project from dir: " + projectBuildDir); - FileInputStream fis = null; - - try { - // Load the config file into a stream - fis = new FileInputStream(projectBuildDir + "/classes/generate/generate.xml"); - - // Load the stream into SDO - // We are just using SDO as a convenient way to parse the XML config file - HelperContext scope = SDOUtil.createHelperContext(); - GenerateFactory.INSTANCE.register(scope); - XMLDocument xmlDoc = scope.getXMLHelper().load(fis); - GenerateType generateType = (GenerateType)xmlDoc.getRootObject(); - - // Get the file list. This is the list of XSD that is passed into the - // the velocity templates. Each configured file holds a list of types - // that the velocity templates expand into appropriate methods and method calls - List fileList = generateType.getInputFile(); - - //Initialise velocity ready to generate the various files - Properties p = new Properties(); - p.setProperty("file.resource.loader.path", projectBuildDir + "/classes/generate"); - Velocity.init(p); - VelocityContext context = new VelocityContext(); - context.put("fileList", fileList); - - List templateList = generateType.getTemplate(); - - // For each velocity template in the template list pass in the XSD file list - for ( Object item: templateList){ - TemplateType template = (TemplateType)item; - context.put("template", template); - String tmp = template.getTemplateName(); - String filename = projectBuildDir + "/" + template.getTemplateTargetDir() + "/" + tmp.substring(0,tmp.length() - 3); - File f = new File(filename); - // Create folders since the package doesn't exist before the code-gen for the 1st time - f.getParentFile().mkdirs(); - FileWriter fw = new FileWriter(f); - System.out.println(">> Processing " + template.getTemplateName() + " to " + filename); - Velocity.mergeTemplate(template.getTemplateName(), context, fw ); - fw.flush(); - fw.close(); - } - - - } catch (Exception e) { - System.out.println("Exception : " + e.toString()); - e.printStackTrace(); - return; - } - } - - /** - * The SDO generator tool does all of the hard work - * - * @param projectBuildDir the path to the target dir of the project being generated. - */ - public static void generateSDO(String projectBuildDir) { - System.out.println(">> Building SDOs from dir: " + projectBuildDir); - FileInputStream fis = null; - - try { - // Load the config file into a stream - fis = new FileInputStream(projectBuildDir + "/classes/generate/generate.xml"); - - // Load the stream into SDO - // We are just using SDO as a convenient way to parse the XML config file - HelperContext scope = SDOUtil.createHelperContext(); - GenerateFactory.INSTANCE.register(scope); - XMLDocument xmlDoc = scope.getXMLHelper().load(fis); - GenerateType generateType = (GenerateType)xmlDoc.getRootObject(); - - // Get the file list. This is the list of XSD that is passed into the - // the velocity templates. Each configured file holds a list of types - // that the velocity templates expand into appropriate methods and method calls - List fileList = generateType.getInputFile(); - - // for each XSD in the XSD file list generate an SDO. - XSD2JavaGenerator generator = new XSD2JavaGenerator(); - - for ( Object item : fileList){ - InputFileType file = (InputFileType)item; - - XSD2JavaGenerator.generateFromXMLSchema(projectBuildDir + "/classes/xsd/" + file.getFileName(), - file.getNamespace(), - projectBuildDir + "/sdo-source", - file.getJavaPackage(), - null, //file.getPrefix(), - XSD2JavaGenerator.OPTION_NO_CONTAINMENT | XSD2JavaGenerator.OPTION_NO_NOTIFICATION | XSD2JavaGenerator.OPTION_NO_UNSETTABLE); - - } - - } catch (Exception e) { - System.out.println("Exception : " + e.toString()); - e.printStackTrace(); - return; - } - } - - /** - * The mainline - * - * @param args the target directory where project in which files are being generated - */ - public static void main(String[] args) { - - Generate.generate(args[0]); - - if (args.length > 1){ - Generate.generateSDO(args[0]); - } - } - -} diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/generate/DatabindingTestCase.java.vm b/java/sca-contrib/itest/databindings/common/src/main/resources/generate/DatabindingTestCase.java.vm deleted file mode 100644 index db24ceab14..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/generate/DatabindingTestCase.java.vm +++ /dev/null @@ -1,112 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package $template.getJavaPackage(); - -import junit.framework.TestCase; - -import org.apache.tuscany.sca.host.embedded.SCADomain; -import org.oasisopen.sca.ComponentContext; -import org.oasisopen.sca.ServiceReference; - -import ${template.getJavaPackage()}.GreeterService; - -// Data types -#foreach($file in $fileList) -#set($typeList = $file.getType_()) -#foreach($typeInstance in $typeList) -import $file.getJavaPackage().$typeInstance.getTypeName(); -import $file.getJavaPackage().$file.getFactory(); -#end -#end - -/** - * Automatically generated test case. Calls the greeter client for a number of - * bindings and a number of data types. - * - * @version $Rev: 511417 $ $Date: 2007-02-25 03:06:42 +0000 (Sun, 25 Feb 2007) $ - */ -public class DatabindingTestCase extends TestCase { - - private SCADomain domain; - private GreeterService greeterClient; - - /** - * Runs before each test method - */ - protected void setUp() throws Exception { - domain = SCADomain.newInstance("greeter.composite"); - super.setUp(); - } - - /** - * Runs after each test method - */ - protected void tearDown() { - domain.close(); - } - - /** - * Finds the SCA component that relates to the protocol being tested. This test - * always connects locally to the client component but the client component will - * connect to the back end component using the appropriate protocol - * - * @param ext the protcol required - */ - private void setUpClient(String ext) throws Exception { - greeterClient = domain.getService(GreeterService.class, ext + "GreeterServiceClient"); - } - - /** - * Invokes the SDO Greet service using web service bindings with SDO payload - */ - public void testWSGreet() throws Exception { - setUpClient("WS"); - greet(); - } - - /** - * Invokes the SDO Greet service using default bindings with SDO payload - */ - public void testDefaultGreet() throws Exception { - setUpClient("Default"); - greet(); - } - - /** - * A generic method which, regarless of which client is connected, sends out a - * series of requrests passing different data types. - */ - public void greet() { -#foreach($file in $fileList) -#set($typeList = $file.getType_()) -#foreach($typeInstance in $typeList) - - // test $typeInstance.getTypeName() - { - $typeInstance.getTypeName() param = null; - $typeInstance.getCreateTypeCode() - $typeInstance.getTypeName() result = greeterClient.greet$typeInstance.getTypeName()(param); - $typeInstance.getResultComparison() - } -#end -#end - } - -} diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/generate/Greeter.wsdl.vm b/java/sca-contrib/itest/databindings/common/src/main/resources/generate/Greeter.wsdl.vm deleted file mode 100644 index 88616cc997..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/generate/Greeter.wsdl.vm +++ /dev/null @@ -1,103 +0,0 @@ - - - - - - - -#foreach($file in $fileList) - -#end - -#foreach($file in $fileList) -#set($typeList = $file.getType_()) -#foreach($typeInstance in $typeList) - - - - - - - -#end -#end - - -#foreach($file in $fileList) -#set($typeList = $file.getType_()) -#foreach($typeInstance in $typeList) - - - - - - - -#end -#end - - -#foreach($file in $fileList) -#set($typeList = $file.getType_()) -#foreach($typeInstance in $typeList) - - - - -#end -#end - - - - -#foreach($file in $fileList) -#set($typeList = $file.getType_()) -#foreach($typeInstance in $typeList) - - - - - - - - - -#end -#end - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/generate/GreeterService.java.vm b/java/sca-contrib/itest/databindings/common/src/main/resources/generate/GreeterService.java.vm deleted file mode 100644 index 2df4a558e6..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/generate/GreeterService.java.vm +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package $template.getJavaPackage(); - -#foreach($file in $fileList) -#set($typeList = $file.getType_()) -#foreach($typeInstance in $typeList) -import $file.getJavaPackage().$typeInstance.getTypeName(); -#end -#end - -import org.oasisopen.sca.annotation.Remotable; - -/** - * The automatically generated interface to the service that reflects data objects - * that are sent to it - * - * @version $Rev: 511417 $ $Date: 2007-02-25 03:06:42 +0000 (Sun, 25 Feb 2007) $ - */ -@Remotable -public interface GreeterService { - -#foreach($file in $fileList) -#set($typeList = $file.getType_()) -#foreach($typeInstance in $typeList) - /** - * Take the provided data object, change it slightly and return it - * - * @param param the data object to be changed and returned - * @return the change data object - */ - $typeInstance.getTypeName() greet$typeInstance.getTypeName()($typeInstance.getTypeName() param); -#end -#end - -} diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/generate/GreeterServiceClient.java.vm b/java/sca-contrib/itest/databindings/common/src/main/resources/generate/GreeterServiceClient.java.vm deleted file mode 100644 index b73173247f..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/generate/GreeterServiceClient.java.vm +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package $template.getJavaPackage(); - -#foreach($file in $fileList) -#set($typeList = $file.getType_()) -#foreach($typeInstance in $typeList) -import $file.getJavaPackage().$typeInstance.getTypeName(); -#end -#end - -import org.oasisopen.sca.annotation.AllowsPassByReference; - -/** - * GreeterServiceClient - */ -@AllowsPassByReference -public interface GreeterServiceClient { -#foreach($file in $fileList) -#set($typeList = $file.getType_()) -#foreach($typeInstance in $typeList) - $typeInstance.getTypeName() greet$typeInstance.getTypeName()($typeInstance.getTypeName() param); -#end -#end -} diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/generate/GreeterServiceClientImpl.java.vm b/java/sca-contrib/itest/databindings/common/src/main/resources/generate/GreeterServiceClientImpl.java.vm deleted file mode 100644 index 46c74ec819..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/generate/GreeterServiceClientImpl.java.vm +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package $template.getJavaPackage(); - -import org.oasisopen.sca.annotation.Reference; -import org.oasisopen.sca.annotation.Service; - -#foreach($file in $fileList) -#set($typeList = $file.getType_()) -#foreach($typeInstance in $typeList) -import $file.getJavaPackage().$typeInstance.getTypeName(); -#end -#end - -/** - * The automatically generated service that simply forwards data objects on to - * the GreeterService and passes back the responses - * - * @version $Rev: 508831 $ $Date: 2007-02-18 00:12:31 +0000 (Sun, 18 Feb 2007) $ - */ -@Service(GreeterService.class) -public class GreeterServiceClientImpl implements GreeterService { - - /** - * the reference the the GreeterService that will - * change each data object slightly and return it - */ - private GreeterService service; - - @Reference - public void setGreeterService(GreeterService service) { - this.service = service; - } -#foreach($file in $fileList) -#set($typeList = $file.getType_()) -#foreach($typeInstance in $typeList) - - /* - * (non-Javadoc) - * - * @see org.apache.tuscany.sca.itest.sdodatabinding.GreeterService#greet$typeInstance.getTypeName()($typeInstance.getTypeName() param) - */ - public $typeInstance.getTypeName() greet$typeInstance.getTypeName()($typeInstance.getTypeName() param) { - return service.greet$typeInstance.getTypeName()(param); - } -#end -#end -} diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/generate/GreeterServiceImpl.java.vm b/java/sca-contrib/itest/databindings/common/src/main/resources/generate/GreeterServiceImpl.java.vm deleted file mode 100644 index 2fd10ef0bf..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/generate/GreeterServiceImpl.java.vm +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package $template.getJavaPackage(); - -#foreach($file in $fileList) -#set($typeList = $file.getType_()) -#foreach($typeInstance in $typeList) -import $file.getJavaPackage().$typeInstance.getTypeName(); -#end -#end - -import org.oasisopen.sca.annotation.Service; - -/** - * The automatically generated service implementation that reflects data objects - * that are sent to it - * - * @version $Rev: 511417 $ $Date: 2007-02-25 03:06:42 +0000 (Sun, 25 Feb 2007) $ - */ -@Service(GreeterService.class) -public class GreeterServiceImpl implements GreeterService { -#foreach($file in $fileList) -#set($typeList = $file.getType_()) -#foreach($typeInstance in $typeList) - - /** - * Take the provided data object, change it slightly and return it - * - * @param param the data object to be changed and returned - * @return the change data object - */ - public $typeInstance.getTypeName() greet$typeInstance.getTypeName()($typeInstance.getTypeName() param) { - $typeInstance.getModifyTypeCode() - return param; - } -#end -#end -} diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/generate/generate.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/generate/generate.xsd deleted file mode 100644 index 1fabedf55f..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/generate/generate.xsd +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/wsdl/Dummy.txt b/java/sca-contrib/itest/databindings/common/src/main/resources/wsdl/Dummy.txt deleted file mode 100644 index 8927d725b6..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/wsdl/Dummy.txt +++ /dev/null @@ -1,4 +0,0 @@ -A dummy file that causes the target/classes/wsdl dir to be created in the generated test project. This is -required because the test generator must run in the process-resource phase, after generate.xml has been copied -into target. The generator needs to write out target/classes/wsdl and will fail the directory isn't there. So -this file just gets unpacked and forces the directory to be created. diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/Annotation.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/Annotation.xml deleted file mode 100644 index f1f4346e58..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/Annotation.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - SimpleTypeWithName - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/Annotation.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/Annotation.xsd deleted file mode 100644 index 1fae43eb09..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/Annotation.xsd +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - SDO 2.0.1 - - A schema that tests the presence of annotations in schema read by SDO - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/Attribute.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/Attribute.xml deleted file mode 100644 index c20c80b658..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/Attribute.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/Attribute.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/Attribute.xsd deleted file mode 100644 index bd3db2e030..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/Attribute.xsd +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeReference.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeReference.xml deleted file mode 100644 index 30e4979dca..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeReference.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeReference.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeReference.xsd deleted file mode 100644 index e7738dcff7..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeReference.xsd +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithDefaultValue.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithDefaultValue.xml deleted file mode 100644 index 9552421e2d..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithDefaultValue.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithDefaultValue.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithDefaultValue.xsd deleted file mode 100644 index c7b9655749..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithDefaultValue.xsd +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithFixedValue.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithFixedValue.xml deleted file mode 100644 index 5e5e7fbd55..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithFixedValue.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithFixedValue.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithFixedValue.xsd deleted file mode 100644 index 5c455c2ab5..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithFixedValue.xsd +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithSDOAliasName.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithSDOAliasName.xml deleted file mode 100644 index 635e851632..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithSDOAliasName.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithSDOAliasName.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithSDOAliasName.xsd deleted file mode 100644 index 004dab4fbb..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithSDOAliasName.xsd +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithSDODataType.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithSDODataType.xml deleted file mode 100644 index 136092951b..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithSDODataType.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithSDODataType.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithSDODataType.xsd deleted file mode 100644 index 796f08e1cf..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithSDODataType.xsd +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithSDOName.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithSDOName.xml deleted file mode 100644 index 927b94885c..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithSDOName.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithSDOName.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithSDOName.xsd deleted file mode 100644 index 93f83cd0a1..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithSDOName.xsd +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithSDOPropertySDOOppositePropertyType.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithSDOPropertySDOOppositePropertyType.xml deleted file mode 100644 index ea7db70595..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithSDOPropertySDOOppositePropertyType.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithSDOPropertySDOOppositePropertyType.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithSDOPropertySDOOppositePropertyType.xsd deleted file mode 100644 index c64323e7e1..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithSDOPropertySDOOppositePropertyType.xsd +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithSDOPropertyType.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithSDOPropertyType.xml deleted file mode 100644 index 85c7d85fd4..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithSDOPropertyType.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithSDOPropertyType.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithSDOPropertyType.xsd deleted file mode 100644 index 543f276c50..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithSDOPropertyType.xsd +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithSDOString.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithSDOString.xml deleted file mode 100644 index fcd281539b..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithSDOString.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithSDOString.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithSDOString.xsd deleted file mode 100644 index 1610c2b861..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/AttributeWithSDOString.xsd +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInAnySimpleType.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInAnySimpleType.xml deleted file mode 100644 index 36a0760a61..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInAnySimpleType.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - anySimpleType - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInAnySimpleType.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInAnySimpleType.xsd deleted file mode 100644 index 999b72bb35..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInAnySimpleType.xsd +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInAnyType.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInAnyType.xml deleted file mode 100644 index 5849165fe0..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInAnyType.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInAnyType.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInAnyType.xsd deleted file mode 100644 index 71dad561ca..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInAnyType.xsd +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInAnyURI.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInAnyURI.xml deleted file mode 100644 index 8acf9376d7..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInAnyURI.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - http://tempuri.org - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInAnyURI.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInAnyURI.xsd deleted file mode 100644 index a49987c352..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInAnyURI.xsd +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInBase64Binary.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInBase64Binary.xml deleted file mode 100644 index a35b6e174a..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInBase64Binary.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - ABCDEF - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInBase64Binary.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInBase64Binary.xsd deleted file mode 100644 index e1995890f9..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInBase64Binary.xsd +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInBoolean.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInBoolean.xml deleted file mode 100644 index 91cfce51b8..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInBoolean.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - true - false - 1 - 0 - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInBoolean.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInBoolean.xsd deleted file mode 100644 index a2f86ba8c5..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInBoolean.xsd +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInByte.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInByte.xml deleted file mode 100644 index 907474cd1b..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInByte.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - 127 - -127 - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInByte.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInByte.xsd deleted file mode 100644 index a2f6bcfa77..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInByte.xsd +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInDate.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInDate.xml deleted file mode 100644 index c5820e1a2e..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInDate.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - 2001-01-01 - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInDate.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInDate.xsd deleted file mode 100644 index f4d596bfe3..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInDate.xsd +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInDateTime.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInDateTime.xml deleted file mode 100644 index 0debe2fec5..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInDateTime.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - 2001-12-31T12:00:00 - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInDateTime.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInDateTime.xsd deleted file mode 100644 index b5bcfdcfd4..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInDateTime.xsd +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInDecimal.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInDecimal.xml deleted file mode 100644 index 7f001254cc..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInDecimal.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - -1.23456789 - 1.23456789 - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInDecimal.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInDecimal.xsd deleted file mode 100644 index 8d4d106f59..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInDecimal.xsd +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInDouble.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInDouble.xml deleted file mode 100644 index f875b9f94d..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInDouble.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - 0.0 - 12.3E-4 - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInDouble.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInDouble.xsd deleted file mode 100644 index 4c8a39b06c..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInDouble.xsd +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInDuration.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInDuration.xml deleted file mode 100644 index 7d343d6dda..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInDuration.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - P1D - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInDuration.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInDuration.xsd deleted file mode 100644 index bb12bc04a9..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInDuration.xsd +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInFloat.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInFloat.xml deleted file mode 100644 index 7a81f3b0dd..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInFloat.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - 0.0 - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInFloat.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInFloat.xsd deleted file mode 100644 index f0e1c21233..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInFloat.xsd +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInGDay.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInGDay.xml deleted file mode 100644 index d35568b3c9..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInGDay.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - ---01 - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInGDay.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInGDay.xsd deleted file mode 100644 index 92bd9a4b66..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInGDay.xsd +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInGMonth.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInGMonth.xml deleted file mode 100644 index 52cdfa8c4e..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInGMonth.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - --01-- - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInGMonth.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInGMonth.xsd deleted file mode 100644 index 78d001a585..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInGMonth.xsd +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInGMonthDay.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInGMonthDay.xml deleted file mode 100644 index 2609a858f7..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInGMonthDay.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - --01-01 - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInGMonthDay.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInGMonthDay.xsd deleted file mode 100644 index 38f6c55059..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInGMonthDay.xsd +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInGYear.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInGYear.xml deleted file mode 100644 index 7868a47ca3..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInGYear.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - 2001 - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInGYear.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInGYear.xsd deleted file mode 100644 index 0d65b124ff..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInGYear.xsd +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInGYearMonth.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInGYearMonth.xml deleted file mode 100644 index 3f5080d49f..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInGYearMonth.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - 2001-01 - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInGYearMonth.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInGYearMonth.xsd deleted file mode 100644 index 340555dc5f..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInGYearMonth.xsd +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInHexBinary.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInHexBinary.xml deleted file mode 100644 index 0deb7af980..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInHexBinary.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - 0F00 - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInHexBinary.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInHexBinary.xsd deleted file mode 100644 index 8059fe6da0..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInHexBinary.xsd +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInID.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInID.xml deleted file mode 100644 index 06c92ce19b..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInID.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - idvalue0 - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInID.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInID.xsd deleted file mode 100644 index 7b1f02d1d4..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInID.xsd +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInIDREF.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInIDREF.xml deleted file mode 100644 index 9bc0cefd0f..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInIDREF.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - idvalue0 - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInIDREF.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInIDREF.xsd deleted file mode 100644 index 0c207983bc..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInIDREF.xsd +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInIDREFS.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInIDREFS.xml deleted file mode 100644 index f91b602f99..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInIDREFS.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - idvalue0 - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInIDREFS.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInIDREFS.xsd deleted file mode 100644 index b99bf01b73..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInIDREFS.xsd +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInInt.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInInt.xml deleted file mode 100644 index c99698e175..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInInt.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - -2147483648 - 2147483647 - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInInt.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInInt.xsd deleted file mode 100644 index b5b9b0d1eb..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInInt.xsd +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInInteger.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInInteger.xml deleted file mode 100644 index 80d22ce057..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInInteger.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - -2147483648 - 2147483647 - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInInteger.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInInteger.xsd deleted file mode 100644 index 4902935db5..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInInteger.xsd +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInLanguage.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInLanguage.xml deleted file mode 100644 index 664bf824b4..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInLanguage.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - EN - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInLanguage.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInLanguage.xsd deleted file mode 100644 index 5d3658d224..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInLanguage.xsd +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInLong.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInLong.xml deleted file mode 100644 index c5861fa92a..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInLong.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - -9223372036854775808 - 9223372036854775807 - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInLong.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInLong.xsd deleted file mode 100644 index 0aa4710057..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInLong.xsd +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNCName.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNCName.xml deleted file mode 100644 index 1f95950394..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNCName.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - NCName - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNCName.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNCName.xsd deleted file mode 100644 index 6ee9c435db..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNCName.xsd +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNMTOKEN.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNMTOKEN.xml deleted file mode 100644 index 0297f1aeb4..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNMTOKEN.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - NMTOKEN - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNMTOKEN.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNMTOKEN.xsd deleted file mode 100644 index 56d027bdbb..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNMTOKEN.xsd +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNMTOKENS.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNMTOKENS.xml deleted file mode 100644 index 81ba1069bd..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNMTOKENS.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - NMTOKENS - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNMTOKENS.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNMTOKENS.xsd deleted file mode 100644 index 866ab73024..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNMTOKENS.xsd +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNOTATION.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNOTATION.xml deleted file mode 100644 index 8bb3a08b94..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNOTATION.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - tns:BuiltInNotationNotation - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNOTATION.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNOTATION.xsd deleted file mode 100644 index c7c62f812b..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNOTATION.xsd +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInName.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInName.xml deleted file mode 100644 index 8235718c5e..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInName.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - Name - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInName.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInName.xsd deleted file mode 100644 index 36caba2f16..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInName.xsd +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNegativeInteger.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNegativeInteger.xml deleted file mode 100644 index 599c428a44..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNegativeInteger.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - -1 - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNegativeInteger.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNegativeInteger.xsd deleted file mode 100644 index 389d5a99f0..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNegativeInteger.xsd +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNonNegativeInteger.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNonNegativeInteger.xml deleted file mode 100644 index 919c4a20ee..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNonNegativeInteger.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - 0 - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNonNegativeInteger.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNonNegativeInteger.xsd deleted file mode 100644 index 59887078b5..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNonNegativeInteger.xsd +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNonPositiveInteger.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNonPositiveInteger.xml deleted file mode 100644 index 79011f26ab..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNonPositiveInteger.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - -1 - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNonPositiveInteger.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNonPositiveInteger.xsd deleted file mode 100644 index 5de7d64d7b..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNonPositiveInteger.xsd +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNormalizedString.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNormalizedString.xml deleted file mode 100644 index c40be9e18b..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNormalizedString.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - normalizedString - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNormalizedString.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNormalizedString.xsd deleted file mode 100644 index d4a78787b8..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInNormalizedString.xsd +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInPositiveInteger.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInPositiveInteger.xml deleted file mode 100644 index c30434de66..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInPositiveInteger.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - 1 - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInPositiveInteger.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInPositiveInteger.xsd deleted file mode 100644 index 5381590cd1..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInPositiveInteger.xsd +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInQName.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInQName.xml deleted file mode 100644 index 4cd6ea7e72..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInQName.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - QName - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInQName.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInQName.xsd deleted file mode 100644 index e8faf6225b..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInQName.xsd +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInShort.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInShort.xml deleted file mode 100644 index b4375467c4..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInShort.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - -32768 - 32767 - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInShort.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInShort.xsd deleted file mode 100644 index a4f564d9b7..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInShort.xsd +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInString.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInString.xml deleted file mode 100644 index d30ab85530..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInString.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - string - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInString.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInString.xsd deleted file mode 100644 index 8abb34b5a5..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInString.xsd +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInTime.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInTime.xml deleted file mode 100644 index 7fd9a061ae..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInTime.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInTime.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInTime.xsd deleted file mode 100644 index 1615976813..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInTime.xsd +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInToken.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInToken.xml deleted file mode 100644 index cd567ba528..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInToken.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - token - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInToken.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInToken.xsd deleted file mode 100644 index 0beaac571f..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInToken.xsd +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInUnsignedByte.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInUnsignedByte.xml deleted file mode 100644 index 025362defb..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInUnsignedByte.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - 0 - 255 - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInUnsignedByte.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInUnsignedByte.xsd deleted file mode 100644 index d6d951fe5d..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInUnsignedByte.xsd +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInUnsignedInt.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInUnsignedInt.xml deleted file mode 100644 index 5736a8c121..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInUnsignedInt.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - 0 - 4294967295 - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInUnsignedInt.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInUnsignedInt.xsd deleted file mode 100644 index 242be1d53b..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInUnsignedInt.xsd +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInUnsignedLong.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInUnsignedLong.xml deleted file mode 100644 index d728115a77..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInUnsignedLong.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - 0 - 18446744073709551615 - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInUnsignedLong.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInUnsignedLong.xsd deleted file mode 100644 index 108e3a8619..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInUnsignedLong.xsd +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInUnsignedShort.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInUnsignedShort.xml deleted file mode 100644 index d4ffae5e17..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInUnsignedShort.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - 0 - 65535 - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInUnsignedShort.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInUnsignedShort.xsd deleted file mode 100644 index 5ee5e0229e..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/BuiltInUnsignedShort.xsd +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeComplexContentRestrictingComplexType.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeComplexContentRestrictingComplexType.xml deleted file mode 100644 index 3d5aed5aa8..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeComplexContentRestrictingComplexType.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - SimpleTypeWithName - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeComplexContentRestrictingComplexType.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeComplexContentRestrictingComplexType.xsd deleted file mode 100644 index e7b80ab11c..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeComplexContentRestrictingComplexType.xsd +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeExtendingComplexType.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeExtendingComplexType.xml deleted file mode 100644 index 2b4fe5594e..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeExtendingComplexType.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - - SimpleTypeWithName - SimpleTypeWithNameExtended - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeExtendingComplexType.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeExtendingComplexType.xsd deleted file mode 100644 index fc4deb63c2..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeExtendingComplexType.xsd +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeExtendingSimpleType.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeExtendingSimpleType.xml deleted file mode 100644 index 03570f41d9..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeExtendingSimpleType.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - ComplexTypeExtendingSimpeTypeElement - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeExtendingSimpleType.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeExtendingSimpleType.xsd deleted file mode 100644 index c754502645..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeExtendingSimpleType.xsd +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeSimpleContentRestrictingComplexType.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeSimpleContentRestrictingComplexType.xml deleted file mode 100644 index 4603793bfc..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeSimpleContentRestrictingComplexType.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - ComplexTypeSimpleContentRestrictingComplexTypeElement - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeSimpleContentRestrictingComplexType.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeSimpleContentRestrictingComplexType.xsd deleted file mode 100644 index 4bcd2f8c46..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeSimpleContentRestrictingComplexType.xsd +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithAbstract.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithAbstract.xml deleted file mode 100644 index a6861f803a..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithAbstract.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - - BaseElement - ExtensionElement - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithAbstract.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithAbstract.xsd deleted file mode 100644 index 8bb251cab2..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithAbstract.xsd +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithCDATA.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithCDATA.xml deleted file mode 100644 index 467ec007ed..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithCDATA.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - Some - ]]> - Mixed - SimpleType]]>WithName - Content - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithCDATA.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithCDATA.xsd deleted file mode 100644 index 8d00646678..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithCDATA.xsd +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithContent.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithContent.xml deleted file mode 100644 index 7deafd798a..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithContent.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - SimpleTypeWithName - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithContent.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithContent.xsd deleted file mode 100644 index 72ac75fee0..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithContent.xsd +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithMixed.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithMixed.xml deleted file mode 100644 index f6208f81b3..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithMixed.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - Some - Mixed - SimpleTypeWithName - Content - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithMixed.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithMixed.xsd deleted file mode 100644 index 1f26e13673..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithMixed.xsd +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithOpenAttributes.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithOpenAttributes.xml deleted file mode 100644 index 97de7b98eb..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithOpenAttributes.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - SimpleTypeWithName - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithOpenAttributes.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithOpenAttributes.xsd deleted file mode 100644 index 67716553d8..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithOpenAttributes.xsd +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithOpenContent.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithOpenContent.xml deleted file mode 100644 index 5941348921..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithOpenContent.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - Some - Mixed - SimpleTypeWithName - Content - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithOpenContent.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithOpenContent.xsd deleted file mode 100644 index 24d5d09054..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithOpenContent.xsd +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithOppositeProperty.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithOppositeProperty.xml deleted file mode 100644 index f684d06a4d..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithOppositeProperty.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - SomeData - - - idvalue2 - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithOppositeProperty.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithOppositeProperty.xsd deleted file mode 100644 index de4a8a666d..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithOppositeProperty.xsd +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithSDOAliasName.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithSDOAliasName.xml deleted file mode 100644 index 242908bd27..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithSDOAliasName.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - SimpleTypeWithName - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithSDOAliasName.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithSDOAliasName.xsd deleted file mode 100644 index 4c00fbe295..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithSDOAliasName.xsd +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithSDOName.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithSDOName.xml deleted file mode 100644 index 925e8625d5..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithSDOName.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - SimpleTypeWithName - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithSDOName.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithSDOName.xsd deleted file mode 100644 index b12bec040b..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithSDOName.xsd +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithSDOSequence.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithSDOSequence.xml deleted file mode 100644 index c73708ce46..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithSDOSequence.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - SimpleTypeWithName - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithSDOSequence.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithSDOSequence.xsd deleted file mode 100644 index 795c3ea7d9..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithSDOSequence.xsd +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithoutContent.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithoutContent.xml deleted file mode 100644 index 3ebdc89ae0..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithoutContent.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithoutContent.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithoutContent.xsd deleted file mode 100644 index 21546d0f67..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithoutContent.xsd +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithoutName.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithoutName.xml deleted file mode 100644 index 89657e42ca..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithoutName.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - SimpleTypeWithName - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithoutName.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithoutName.xsd deleted file mode 100644 index d01b4172e4..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ComplexTypeWithoutName.xsd +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/DefaultNamespace.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/DefaultNamespace.xml deleted file mode 100644 index 82fd1eedaf..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/DefaultNamespace.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - SimpleTypeWithName - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/DefaultNamespace.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/DefaultNamespace.xsd deleted file mode 100644 index e1dcf06194..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/DefaultNamespace.xsd +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementInAll.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementInAll.xml deleted file mode 100644 index ebf03c9d5d..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementInAll.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - - ElementInAllOne - ElementInAllTwo - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementInAll.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementInAll.xsd deleted file mode 100644 index 8b9ba5b4b8..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementInAll.xsd +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementInChoice.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementInChoice.xml deleted file mode 100644 index 26466b1b39..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementInChoice.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - Element1InChoice - Element2InChoice - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementInChoice.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementInChoice.xsd deleted file mode 100644 index ff418c56ab..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementInChoice.xsd +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementOfSDOChangeSummaryType.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementOfSDOChangeSummaryType.xml deleted file mode 100644 index 27bb1ce9cc..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementOfSDOChangeSummaryType.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - ChangeSummaryText - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementOfSDOChangeSummaryType.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementOfSDOChangeSummaryType.xsd deleted file mode 100644 index 2bf1df8c99..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementOfSDOChangeSummaryType.xsd +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementOfSimpleTypeWithDefault.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementOfSimpleTypeWithDefault.xml deleted file mode 100644 index 9b5561ed43..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementOfSimpleTypeWithDefault.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - ElementOfSimpleTypeWithDefaultDefault - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementOfSimpleTypeWithDefault.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementOfSimpleTypeWithDefault.xsd deleted file mode 100644 index 0b4e7bdf45..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementOfSimpleTypeWithDefault.xsd +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementOfSimpleTypeWithFixed.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementOfSimpleTypeWithFixed.xml deleted file mode 100644 index f1b7cd264c..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementOfSimpleTypeWithFixed.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - ElementOfSimpleTypeWithFixedFixed - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementOfSimpleTypeWithFixed.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementOfSimpleTypeWithFixed.xsd deleted file mode 100644 index a2c8456257..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementOfSimpleTypeWithFixed.xsd +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementOfSimpleTypeWithSDODataType.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementOfSimpleTypeWithSDODataType.xml deleted file mode 100644 index 1f60b0423f..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementOfSimpleTypeWithSDODataType.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - ElementOfSimpleTypeWithSDODataTypeElement - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementOfSimpleTypeWithSDODataType.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementOfSimpleTypeWithSDODataType.xsd deleted file mode 100644 index 21e55ab8c1..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementOfSimpleTypeWithSDODataType.xsd +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementOfSimpleTypeWithSDOOppositePropertyType.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementOfSimpleTypeWithSDOOppositePropertyType.xml deleted file mode 100644 index 30762f4912..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementOfSimpleTypeWithSDOOppositePropertyType.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - idvalue0 - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementOfSimpleTypeWithSDOOppositePropertyType.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementOfSimpleTypeWithSDOOppositePropertyType.xsd deleted file mode 100644 index 5bf35d0d70..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementOfSimpleTypeWithSDOOppositePropertyType.xsd +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementOfSimpleTypeWithSDOPropertyType.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementOfSimpleTypeWithSDOPropertyType.xml deleted file mode 100644 index 2dd01e4090..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementOfSimpleTypeWithSDOPropertyType.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - idvalue0 - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementOfSimpleTypeWithSDOPropertyType.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementOfSimpleTypeWithSDOPropertyType.xsd deleted file mode 100644 index 6920cd8dd0..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementOfSimpleTypeWithSDOPropertyType.xsd +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementOfSimpleTypeWithSDOString.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementOfSimpleTypeWithSDOString.xml deleted file mode 100644 index 6a526bdc47..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementOfSimpleTypeWithSDOString.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - ElementOfSimpleTypeWithSDOStringElement - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementOfSimpleTypeWithSDOString.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementOfSimpleTypeWithSDOString.xsd deleted file mode 100644 index 1117a95eb8..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementOfSimpleTypeWithSDOString.xsd +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementSubstitutionGroupBase.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementSubstitutionGroupBase.xml deleted file mode 100644 index ab91458bff..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementSubstitutionGroupBase.xml +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - ElementInSubstitutionGroupBase - - - - Some Data - - - - ElementInSubstitutionGroupBase - - - ElementInSubstitutionGroupExtends - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementSubstitutionGroupBase.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementSubstitutionGroupBase.xsd deleted file mode 100644 index 3e015843b5..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementSubstitutionGroupBase.xsd +++ /dev/null @@ -1,52 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementWithMaxOccurs.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementWithMaxOccurs.xml deleted file mode 100644 index b6d68fd08a..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementWithMaxOccurs.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - ElementWithMaxOccursElement1 - ElementWithMaxOccursElement2 - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementWithMaxOccurs.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementWithMaxOccurs.xsd deleted file mode 100644 index d4453a4477..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementWithMaxOccurs.xsd +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementWithNillable.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementWithNillable.xml deleted file mode 100644 index 6de3adc937..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementWithNillable.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - ElementWithNillableElement - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementWithNillable.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementWithNillable.xsd deleted file mode 100644 index 786ab226da..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementWithNillable.xsd +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementWithSDOAliasName.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementWithSDOAliasName.xml deleted file mode 100644 index 64093aa803..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementWithSDOAliasName.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - ElementWithSDOAliasName - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementWithSDOAliasName.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementWithSDOAliasName.xsd deleted file mode 100644 index 01f4c2b1ef..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementWithSDOAliasName.xsd +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementWithSDOName.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementWithSDOName.xml deleted file mode 100644 index 774646f682..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementWithSDOName.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - ElementWithSDONameElement - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementWithSDOName.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementWithSDOName.xsd deleted file mode 100644 index 34da37564c..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ElementWithSDOName.xsd +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/GlobalElementComplexType.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/GlobalElementComplexType.xml deleted file mode 100644 index a1fb3aa803..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/GlobalElementComplexType.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - SimpleTypeWithName - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/GlobalElementComplexType.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/GlobalElementComplexType.xsd deleted file mode 100644 index 8eb7a4fce4..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/GlobalElementComplexType.xsd +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/GlobalElementSimpleType.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/GlobalElementSimpleType.xml deleted file mode 100644 index f68eb1939d..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/GlobalElementSimpleType.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - GlobalElementSimpleType - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/GlobalElementSimpleType.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/GlobalElementSimpleType.xsd deleted file mode 100644 index b9f77e6658..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/GlobalElementSimpleType.xsd +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/Import.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/Import.xml deleted file mode 100644 index fd28850050..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/Import.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - SimpleTypeWithName - - SomeString - SomeString - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/Import.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/Import.xsd deleted file mode 100644 index eae93fd44a..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/Import.xsd +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ImportedSchema.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ImportedSchema.xsd deleted file mode 100644 index a7e568decf..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/ImportedSchema.xsd +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/Include.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/Include.xml deleted file mode 100644 index d4b9e24fa6..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/Include.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - SimpleTypeWithName - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/Include.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/Include.xsd deleted file mode 100644 index 34ff314a19..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/Include.xsd +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/Interop.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/Interop.xsd deleted file mode 100644 index ae22ab2c44..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/Interop.xsd +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/Notation.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/Notation.xml deleted file mode 100644 index b75ac6500a..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/Notation.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - -tns:Tuscany - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/Notation.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/Notation.xsd deleted file mode 100644 index 6ad019cb81..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/Notation.xsd +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/Person.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/Person.xsd deleted file mode 100644 index 5f5021b15e..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/Person.xsd +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SDOJavaPackage.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SDOJavaPackage.xml deleted file mode 100644 index 6c5ad88ff4..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SDOJavaPackage.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - SimpleTypeWithName - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SDOJavaPackage.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SDOJavaPackage.xsd deleted file mode 100644 index 6b7e39b334..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SDOJavaPackage.xsd +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithAbstract.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithAbstract.xml deleted file mode 100644 index f9d4a24a49..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithAbstract.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - SimpleTypeWithAbstractExtensionElement - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithAbstract.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithAbstract.xsd deleted file mode 100644 index f649e2ba83..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithAbstract.xsd +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithExtendedInstanceClass.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithExtendedInstanceClass.xml deleted file mode 100644 index 410df4b7e4..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithExtendedInstanceClass.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - SimpleTypeWithExtendedInstanceClassElement - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithExtendedInstanceClass.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithExtendedInstanceClass.xsd deleted file mode 100644 index 5d27ef5ce1..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithExtendedInstanceClass.xsd +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithInstanceClass.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithInstanceClass.xml deleted file mode 100644 index 7b74867c03..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithInstanceClass.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - SimpleTypeWithInstanceClassElement - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithInstanceClass.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithInstanceClass.xsd deleted file mode 100644 index ec16a678a3..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithInstanceClass.xsd +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithList.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithList.xml deleted file mode 100644 index 708d526f44..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithList.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - listmember1 listmember2 - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithList.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithList.xsd deleted file mode 100644 index ed681009f9..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithList.xsd +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithName.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithName.xml deleted file mode 100644 index e404ac86b7..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithName.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - SimpleTypeWithNameElement - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithName.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithName.xsd deleted file mode 100644 index af0431f048..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithName.xsd +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithSDOName.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithSDOName.xml deleted file mode 100644 index c86a0f6bcb..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithSDOName.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - SimpleTypeWithSDONameElement - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithSDOName.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithSDOName.xsd deleted file mode 100644 index 89b00a36cc..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithSDOName.xsd +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithUnion.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithUnion.xml deleted file mode 100644 index 399b0d8175..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithUnion.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - EN - 01:02:03 - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithUnion.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithUnion.xsd deleted file mode 100644 index ea35bec61a..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithUnion.xsd +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithoutName.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithoutName.xml deleted file mode 100644 index bc8cf35368..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithoutName.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - SimpleTypeWithoutName - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithoutName.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithoutName.xsd deleted file mode 100644 index 57981e3666..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/SimpleTypeWithoutName.xsd +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/TargetNamespace.xml b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/TargetNamespace.xml deleted file mode 100644 index da2929776e..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/TargetNamespace.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - SimpleTypeWithName - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/TargetNamespace.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/TargetNamespace.xsd deleted file mode 100644 index ace5427786..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/TargetNamespace.xsd +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/datagraph.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/datagraph.xsd deleted file mode 100644 index e6b9697a8d..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/datagraph.xsd +++ /dev/null @@ -1,88 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Expected type is emof:Package. - - - - - - - - - - - Expected type is xsd:schema. - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/sdoJava.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/sdoJava.xsd deleted file mode 100644 index 7387568942..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/sdoJava.xsd +++ /dev/null @@ -1,88 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/sdoModel.xsd b/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/sdoModel.xsd deleted file mode 100644 index c5aabc9cc8..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/main/resources/xsd/sdoModel.xsd +++ /dev/null @@ -1,221 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/common/src/test/java/org/apache/tuscany/sca/itest/generate/GenerateTestCase.java b/java/sca-contrib/itest/databindings/common/src/test/java/org/apache/tuscany/sca/itest/generate/GenerateTestCase.java deleted file mode 100644 index fa3f310d4d..0000000000 --- a/java/sca-contrib/itest/databindings/common/src/test/java/org/apache/tuscany/sca/itest/generate/GenerateTestCase.java +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.itest.generate; - -import junit.framework.TestCase; - - -/** - * - */ -public class GenerateTestCase extends TestCase { - - //private Generate generator = null; - - @Override - protected void setUp() throws Exception { - //generator = new Generate(); - } - - @Override - protected void tearDown() { - } - - /** - * Invokes the Generate class to generate databinding test classes and resources. - * - * @throws Exception - */ - public void testGenerate() throws Exception { - //generator.generate(); - } -} diff --git a/java/sca-contrib/itest/databindings/config.png b/java/sca-contrib/itest/databindings/config.png deleted file mode 100644 index 7912019e9d..0000000000 Binary files a/java/sca-contrib/itest/databindings/config.png and /dev/null differ diff --git a/java/sca-contrib/itest/databindings/config.svg b/java/sca-contrib/itest/databindings/config.svg deleted file mode 100644 index aaf027e2df..0000000000 --- a/java/sca-contrib/itest/databindings/config.svg +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - - - - - - image/svg+xml - - - - - - <tns:Generate ...> <Template> <TemplateName>greeter.composite.vm</TemplateName> <TemplateTargetDir>classes</TemplateTargetDir> </Template> ... <InputFile> <FileName>Person.xsd</FileName> <FilePath>xsd</FilePath> <JavaPackage>org.apache.tuscany.sca.itest.databinding.types</JavaPackage> <Factory>TypesFactory</Factory> <Namespace>http://apache.org/tuscany/sca/itest/databinding/types</Namespace> <Prefix>p</Prefix> <Type> <TypeName>PersonType</TypeName> <CreateTypeCode> TypesFactory factory = TypesFactory.INSTANCE; param = factory.createPersonType(); param.setFirstName("George"); param.setLastName("Doors"); </CreateTypeCode> <ModifyTypeCode> param.setGreeting("Hello"); </ModifyTypeCode> <ResultComparison> assertNotSame("greetedPerson.getGreeting() not set", "", result.getGreeting()); </ResultComparison> </Type> </InputFile> ...</tns:Generate> - diff --git a/java/sca-contrib/itest/databindings/databinding.png b/java/sca-contrib/itest/databindings/databinding.png deleted file mode 100644 index 76a9c71b7d..0000000000 Binary files a/java/sca-contrib/itest/databindings/databinding.png and /dev/null differ diff --git a/java/sca-contrib/itest/databindings/databinding.svg b/java/sca-contrib/itest/databindings/databinding.svg deleted file mode 100644 index d6850ccf7d..0000000000 --- a/java/sca-contrib/itest/databindings/databinding.svg +++ /dev/null @@ -1,242 +0,0 @@ - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - GreeterService - - DefaultGreeterServiceClient - - - GreeterServiceComponent - - WSGreeterServiceClient - - - - - WSReference WSService - - - - diff --git a/java/sca-contrib/itest/databindings/interop.png b/java/sca-contrib/itest/databindings/interop.png deleted file mode 100644 index 005e0f24ea..0000000000 Binary files a/java/sca-contrib/itest/databindings/interop.png and /dev/null differ diff --git a/java/sca-contrib/itest/databindings/interop.svg b/java/sca-contrib/itest/databindings/interop.svg deleted file mode 100644 index 03897c6d09..0000000000 --- a/java/sca-contrib/itest/databindings/interop.svg +++ /dev/null @@ -1,352 +0,0 @@ - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - InteropGreeterService - - SDODefaultGreeterServiceClient - - - SDOGreeterServiceComponent - - SDOWSGreeterServiceClient - - - - WSReference WSService - JAXBDefaultGreeterServiceClient - - - JAXBWSGreeterServiceClient - - - - WSReference WSService - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/interop/pom.xml b/java/sca-contrib/itest/databindings/interop/pom.xml deleted file mode 100644 index a8f7635183..0000000000 --- a/java/sca-contrib/itest/databindings/interop/pom.xml +++ /dev/null @@ -1,223 +0,0 @@ - - - - - org.apache.tuscany.sca - itest-databindings - 2.0-SNAPSHOT - - - 4.0.0 - - itest-databindings-interop - 2.0-SNAPSHOT - jar - Apache Tuscany SCA DataBinding Interop Integration Tests - - - - - true - - java.net - java.net Maven 1.x Repository - http://download.java.net/maven/1 - legacy - - - java.net2 - java.net Maven 2.x Repository - http://download.java.net/maven/2 - - - - - - - true - - java.net - java.net Maven 1.x Repository - http://download.java.net/maven/1 - legacy - - - - - - org.apache.tuscany.sca - tuscany-binding-ws-axis2 - ${pom.version} - compile - - - org.apache.tuscany.sca - tuscany-databinding-jaxb - ${pom.version} - compile - - - org.apache.tuscany.sca - tuscany-databinding-sdo - ${pom.version} - compile - - - org.apache.tuscany.sca - tuscany-databinding-axiom - ${pom.version} - compile - - - javax.xml.bind - jaxb-api - 2.1 - compile - - - - com.sun.xml.ws - jaxws-rt - 2.1.3 - - - org.apache.tuscany.sca - itest-databindings-common - ${pom.version} - compile - - - org.apache.tuscany.sca - itest-databindings-sdo - ${pom.version} - compile - - - org.apache.tuscany.sca - itest-databindings-jaxb - ${pom.version} - compile - - - org.apache.tuscany.sca - tuscany-host-embedded - ${pom.version} - compile - - - org.apache.tuscany.sca - tuscany-implementation-java-runtime - ${pom.version} - compile - - - org.apache.tuscany.sca - tuscany-interface-java-xml - ${pom.version} - compile - - - org.apache.tuscany.sca - tuscany-host-jetty - 2.0-SNAPSHOT - test - - - - - - - org.apache.maven.plugins - maven-surefire-plugin - - -Djava.endorsed.dirs=target/endorsed - - - - org.apache.maven.plugins - maven-dependency-plugin - - - generate-sources - - unpack - - - - - org.apache.tuscany.sca - itest-databindings-common - ${project.version} - true - ${project.build.directory}/classes - - - - - - copy - generate-sources - - copy - - - - - javax.xml.ws - jaxws-api - 2.1 - jar - - - javax.xml.bind - jaxb-api - 2.1 - jar - - - ${project.build.directory}/endorsed - false - true - - - - - - org.codehaus.mojo - exec-maven-plugin - - - generate-test-source - process-resources - - java - - - - - org.apache.tuscany.sca.itest.generate.Generate - - ${project.build.directory} - - - - - - diff --git a/java/sca-contrib/itest/databindings/interop/src/main/resources/generate/InteropDatabindingTestCase.java.vm b/java/sca-contrib/itest/databindings/interop/src/main/resources/generate/InteropDatabindingTestCase.java.vm deleted file mode 100644 index 7bdfc57924..0000000000 --- a/java/sca-contrib/itest/databindings/interop/src/main/resources/generate/InteropDatabindingTestCase.java.vm +++ /dev/null @@ -1,113 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package $template.getJavaPackage(); - -import junit.framework.TestCase; - -import org.apache.tuscany.sca.host.embedded.SCADomain; -import ${template.getJavaPackage()}.GreeterService; - -// Data types -#foreach($file in $fileList) -#set($typeList = $file.getType_()) -#foreach($typeInstance in $typeList) -import $file.getJavaPackage().$typeInstance.getTypeName(); -import $file.getJavaPackage().$file.getFactory(); -#end -#end - -/** - * Automatically generated test case. Calls the greeter client for a number of - * bindings and a number of data types. - * - * @version $Rev: 511417 $ $Date: 2007-02-25 03:06:42 +0000 (Sun, 25 Feb 2007) $ - */ -public class InteropDatabindingTestCase extends TestCase { - - private static boolean initalised = false; - private GreeterService greeterClient; - private static SCADomain domain; - - /** - * Runs before each test method - */ - protected void setUp() throws Exception { - if (!initalised) { - domain = SCADomain.newInstance("interopgreeter.composite"); - super.setUp(); - initalised = true; - } - } - - /** - * Runs after each test method - */ - protected void tearDown() { - - } - - /** - * Finds the SCA component that relates to the protocol being tested. This test - * always connects locally to the client component but the client component will - * connect to the back end component using the appropriate protocol - * - * @param ext the protcol required - */ - private void setUpClient(String ext) throws Exception { - greeterClient = domain.getService(GreeterService.class, "SDO" + ext + "GreeterServiceClient"); - } - - /** - * Invokes the SDO Greet service using web service bindings with SDO payload - */ - public void testWSGreet() throws Exception { - setUpClient("WS"); - greet(); - } - - /** - * Invokes the SDO Greet service using default bindings with SDO payload - */ - public void testDefaultGreet() throws Exception { - setUpClient("Default"); - greet(); - } - - /** - * A generic method which, regarless of which client is connected, sends out a - * series of requrests passing different data types. - */ - public void greet() { -#foreach($file in $fileList) -#set($typeList = $file.getType_()) -#foreach($typeInstance in $typeList) - - // test $typeInstance.getTypeName() - { - $typeInstance.getTypeName() param = null; - $typeInstance.getCreateTypeCode() - $typeInstance.getTypeName() result = greeterClient.greet$typeInstance.getTypeName()(param); - $typeInstance.getResultComparison() - } -#end -#end - } - -} diff --git a/java/sca-contrib/itest/databindings/interop/src/main/resources/generate/JAXBGreeter.wsdl.vm b/java/sca-contrib/itest/databindings/interop/src/main/resources/generate/JAXBGreeter.wsdl.vm deleted file mode 100644 index 38bfccce0c..0000000000 --- a/java/sca-contrib/itest/databindings/interop/src/main/resources/generate/JAXBGreeter.wsdl.vm +++ /dev/null @@ -1,103 +0,0 @@ - - - - - - - -#foreach($file in $fileList) - -#end - -#foreach($file in $fileList) -#set($typeList = $file.getType_()) -#foreach($typeInstance in $typeList) - - - - - - - -#end -#end - - -#foreach($file in $fileList) -#set($typeList = $file.getType_()) -#foreach($typeInstance in $typeList) - - - - - - - -#end -#end - - -#foreach($file in $fileList) -#set($typeList = $file.getType_()) -#foreach($typeInstance in $typeList) - - - - -#end -#end - - - - -#foreach($file in $fileList) -#set($typeList = $file.getType_()) -#foreach($typeInstance in $typeList) - - - - - - - - - -#end -#end - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/interop/src/main/resources/generate/SDOGreeter.wsdl.vm b/java/sca-contrib/itest/databindings/interop/src/main/resources/generate/SDOGreeter.wsdl.vm deleted file mode 100644 index 6f02af4c9d..0000000000 --- a/java/sca-contrib/itest/databindings/interop/src/main/resources/generate/SDOGreeter.wsdl.vm +++ /dev/null @@ -1,103 +0,0 @@ - - - - - - - -#foreach($file in $fileList) - -#end - -#foreach($file in $fileList) -#set($typeList = $file.getType_()) -#foreach($typeInstance in $typeList) - - - - - - - -#end -#end - - -#foreach($file in $fileList) -#set($typeList = $file.getType_()) -#foreach($typeInstance in $typeList) - - - - - - - -#end -#end - - -#foreach($file in $fileList) -#set($typeList = $file.getType_()) -#foreach($typeInstance in $typeList) - - - - -#end -#end - - - - -#foreach($file in $fileList) -#set($typeList = $file.getType_()) -#foreach($typeInstance in $typeList) - - - - - - - - - -#end -#end - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/interop/src/main/resources/generate/generate.xml b/java/sca-contrib/itest/databindings/interop/src/main/resources/generate/generate.xml deleted file mode 100644 index 8453dd56b4..0000000000 --- a/java/sca-contrib/itest/databindings/interop/src/main/resources/generate/generate.xml +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - - - Person.xsd - xsd - org.apache.tuscany.sca.itest.databinding.types - TypesFactory - http://apache.org/tuscany/sca/itest/databinding/types - p - - PersonType - - TypesFactory factory = TypesFactory.INSTANCE; - param = factory.createPersonType(); - param.setFirstName("George"); - param.setLastName("Doors"); - - - param.setGreeting("Hello"); - - - assertNotSame("greetedPerson.getGreeting() not set", "", result.getGreeting()); - - - - - Interop.xsd - xsd - org.apache.tuscany.interop - InteropFactory - http://www.apache.org/tuscany/interop - i - - - AttributeComplexType - - InteropFactory factory = InteropFactory.INSTANCE; - org.apache.tuscany.interop.AttributeType attrib = factory.createAttributeType(); - attrib.setAttribute("SomeText"); - param = factory.createAttributeComplexType(); - param.setAttributeElement(attrib); - - - param.getAttributeElement().setAttribute("SomeChangedText");; - - - assertEquals("data not changed corretly", "SomeChangedText", result.getAttributeElement().getAttribute()); - - - - AttributeReferenceComplexType - - InteropFactory factory = InteropFactory.INSTANCE; - param = factory.createAttributeReferenceComplexType(); - - param.setReferencedAttribute("SomeText"); - - - param.setReferencedAttribute("SomeChangedText");; - - - assertEquals("data not changed corretly", "SomeChangedText", result.getReferencedAttribute()); - - - - SimpleTypeWithAbstractComplexType - - InteropFactory factory = InteropFactory.INSTANCE; - param = factory.createSimpleTypeWithAbstractComplexType(); - param.setSimpleTypeWithAbstractExtensionElement("SomeText"); - - - param.setSimpleTypeWithAbstractExtensionElement("SomeChangedText");; - - - assertEquals("data not changed corretly", "SomeChangedText", result.getSimpleTypeWithAbstractExtensionElement()); - - - - SimpleTypeWithNameComplexType - - InteropFactory factory = InteropFactory.INSTANCE; - param = factory.createSimpleTypeWithNameComplexType(); - param.setSimpleTypeWithNameElement("SomeText"); - - - param.setSimpleTypeWithNameElement("SomeChangedText");; - - - assertEquals("data not changed corretly", "SomeChangedText", result.getSimpleTypeWithNameElement()); - - - - ComplexTypeWithContentType - - InteropFactory factory = InteropFactory.INSTANCE; - param = factory.createComplexTypeWithContentType(); - param.setSimpleTypeWithName("SomeText"); - - - param.setSimpleTypeWithName("SomeChangedText");; - - - assertEquals("data not changed corretly", "SomeChangedText", result.getSimpleTypeWithName()); - - - - diff --git a/java/sca-contrib/itest/databindings/interop/src/main/resources/generate/interopgreeter.composite.vm b/java/sca-contrib/itest/databindings/interop/src/main/resources/generate/interopgreeter.composite.vm deleted file mode 100644 index 36797fde57..0000000000 --- a/java/sca-contrib/itest/databindings/interop/src/main/resources/generate/interopgreeter.composite.vm +++ /dev/null @@ -1,78 +0,0 @@ - - - - - - #foreach( $file in $fileList ) - - #end - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/jaxb-bottom-up/pom.xml b/java/sca-contrib/itest/databindings/jaxb-bottom-up/pom.xml deleted file mode 100644 index 45e5720602..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-bottom-up/pom.xml +++ /dev/null @@ -1,239 +0,0 @@ - - - - - org.apache.tuscany.sca - itest-databindings - 2.0-SNAPSHOT - - - 4.0.0 - - itest-databindings-jaxb-bottom-up - 2.0-SNAPSHOT - jar - Apache Tuscany SCA Databinding Integration Tests - JAXB Bottom Up - - - - - true - - java.net - java.net Maven 1.x Repository - http://download.java.net/maven/1 - legacy - - - java.net2 - java.net Maven 2.x Repository - http://download.java.net/maven/2 - - - - - - java.net2 - java.net Maven 2.x Repository - http://download.java.net/maven/2 - - - - - - org.apache.tuscany.sca - tuscany-binding-ws-axis2 - ${pom.version} - runtime - - - org.apache.tuscany.sca - tuscany-databinding-jaxb - ${pom.version} - runtime - - - org.apache.tuscany.sca - tuscany-databinding-sdo - ${pom.version} - compile - - - org.apache.tuscany.sca - tuscany-databinding-axiom - ${pom.version} - compile - - - org.apache.tuscany.sca - itest-databindings-common - ${pom.version} - compile - - - org.apache.tuscany.sca - tuscany-host-embedded - ${pom.version} - compile - - - org.apache.tuscany.sca - tuscany-implementation-java-runtime - ${pom.version} - compile - - - org.apache.tuscany.sca - tuscany-interface-java-xml - ${pom.version} - compile - - - org.apache.tuscany.sca - tuscany-host-jetty - 2.0-SNAPSHOT - runtime - - - javax.xml.bind - jaxb-api - 2.1 - compile - - - - com.sun.xml.ws - jaxws-rt - 2.1.3 - - - - commons-collections - commons-collections - 3.1 - - - log4j - log4j - 1.2.12 - provided - - - - - - - - org.apache.maven.plugins - maven-surefire-plugin - - -Djava.endorsed.dirs=target/endorsed - - - - org.apache.maven.plugins - maven-dependency-plugin - - - copy - generate-sources - - copy - - - - - javax.xml.ws - jaxws-api - 2.1 - jar - - - javax.xml.bind - jaxb-api - 2.1 - jar - - - ${project.build.directory}/endorsed - false - true - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/AClientService.java b/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/AClientService.java deleted file mode 100644 index 5d389643cc..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/AClientService.java +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.databindings.jaxb; - -import org.oasisopen.sca.annotation.Remotable; - -/** - * The interface for AClientService. - */ -@Remotable -public interface AClientService { - public String getGreetingsForward(String name); -} diff --git a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/AService.java b/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/AService.java deleted file mode 100644 index 52f1c01fd8..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/AService.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.databindings.jaxb; - -import javax.jws.soap.SOAPBinding; - -import org.oasisopen.sca.annotation.Remotable; - -/** - * The interface for AService. - */ -@Remotable -@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE) -public interface AService { - public String getGreetings(String name); -} diff --git a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/Bean1.java b/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/Bean1.java deleted file mode 100644 index 7529c2b841..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/Bean1.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.databindings.jaxb; - -/** - * @version $Rev$ $Date$ - */ -public class Bean1 { - private T item; - - public Bean1() { - } - - public Bean1(T item) { - this.item = item; - } - - public void setItem(T item) { - this.item = item; - } - - public T getItem() { - return item; - } - - public boolean equals(Object that) { - if(that == null) { - return false; - } - if(that.getClass() != this.getClass()) { - return false; - } - - Bean1 that1 = (Bean1)that; - if(this == that1) { - return true; - } else if(this.item != null) { - return this.item.equals(that1.item); - } else { - return that1.item == null; - } - } - - public String toString() { - return this.getClass().getSimpleName()+"[item = "+item+"]"; - } -} diff --git a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/Bean10.java b/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/Bean10.java deleted file mode 100644 index 4a4419a42b..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/Bean10.java +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.databindings.jaxb; - -/** - * @version $Rev$ $Date$ - */ -public class Bean10 extends Bean1 { -} diff --git a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/Bean11.java b/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/Bean11.java deleted file mode 100644 index 65f019ec48..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/Bean11.java +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.databindings.jaxb; - -/** - * @version $Rev$ $Date$ - */ -public class Bean11 extends Bean1 { -} diff --git a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/Bean2.java b/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/Bean2.java deleted file mode 100644 index 844e28863a..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/Bean2.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.databindings.jaxb; - -/** - * @version $Rev$ $Date$ - */ -public class Bean2 { - private String name; - - public void setName(String name) { - this.name = name; - } - - public String getName() { - return name; - } - - public boolean equals(Object that) { - if(that == null) { - return false; - } - - if(this.getClass() != that.getClass()) { - return false; - } - - if(this == that) { - return true; - } else if(this.name != null) { - return this.name.equals(((Bean2)that).name); - } else { - return ((Bean2)that).name == null; - } - } - - public String toString() { - return this.getClass().getSimpleName()+"[name = "+name+"]"; - } -} diff --git a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/Bean3.java b/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/Bean3.java deleted file mode 100644 index 4e0bd38b2b..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/Bean3.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.databindings.jaxb; - -/** - * @version $Rev$ $Date$ - */ -public class Bean3 extends Bean2 { - private String address; - - public void setAddress(String address) { - this.address = address; - } - - public String getAddress() { - return address; - } - - public boolean equals(Object that) { - if(that == null) { - return false; - } - - if(this.getClass() != that.getClass()) { - return false; - } - - if(this == that) { - return true; - } else if(this.address != null) { - return this.address.equals(((Bean3)that).address) && super.equals(that); - } else { - return ((Bean3)that).address == null && super.equals(that); - } - } - - public String toString() { - return this.getClass().getSimpleName()+"[name = "+super.getName()+", address = "+address+"]"; - } -} diff --git a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/Bean31.java b/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/Bean31.java deleted file mode 100644 index 40aff31297..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/Bean31.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.databindings.jaxb; - -/** - * @version $Rev$ $Date$ - */ -public class Bean31 extends Bean2 { - private String address; - - public void setAddress(String address) { - this.address = address; - } - - public String getAddress() { - return address; - } - - public boolean equals(Object that) { - if(that == null) { - return false; - } - - if(this.getClass() != that.getClass()) { - return false; - } - - if(this == that) { - return true; - } else if(this.address != null) { - return this.address.equals(((Bean31)that).address) && super.equals(that); - } else { - return ((Bean31)that).address == null && super.equals(that); - } - } - - public String toString() { - return this.getClass().getSimpleName()+"[name = "+super.getName()+", address = "+address+"]"; - } -} diff --git a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/GenericsLocalService.java b/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/GenericsLocalService.java deleted file mode 100644 index ca012b967d..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/GenericsLocalService.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.databindings.jaxb; - -/** - * The interface for GenericsLocalService. - * - * @version $Rev$ $Date$ - */ -public interface GenericsLocalService { - Bean1 getTypeExplicit(Bean1 arg); - - Bean1 getTypeUnbound(T[] anArray); - - Bean1 getTypeExtends(T[] anArray); - - > Bean1 getRecursiveTypeBound(T[] anArray); - - Bean1 getWildcardUnbound(Bean1 arg); - - Bean1 getWildcardSuper(Bean1 arg); - - Bean1 getWildcardExtends(Bean1 arg); - - Bean2 getPolymorphic(Bean2 arg); -} diff --git a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/GenericsService.java b/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/GenericsService.java deleted file mode 100644 index be446c9759..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/GenericsService.java +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.databindings.jaxb; - -import org.oasisopen.sca.annotation.Remotable; - -/** - * The interface for GenericsService. - * - * @version $Rev$ $Date$ - */ -@Remotable -public interface GenericsService extends GenericsLocalService{ -} diff --git a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/GenericsServiceClient.java b/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/GenericsServiceClient.java deleted file mode 100644 index 3bae554dc7..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/GenericsServiceClient.java +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.itest.databindings.jaxb; - -/** - * The interface for GenericsServiceClient. - * - * @version $Rev$ $Date$ - */ -public interface GenericsServiceClient { - Bean1 getTypeExplicitForward(Bean1 arg); - - Bean1 getTypeUnboundForward(T[] anArray); - - Bean1 getTypeExtendsForward(T[] anArray); - - > Bean1 getRecursiveTypeBoundForward(T[] anArray); - - Bean1 getWildcardUnboundForward(Bean1 arg); - - Bean1 getWildcardSuperForward(Bean1 arg); - - Bean1 getWildcardExtendsForward(Bean1 arg); - - Bean2 getPolymorphicForward(Bean2 arg); -} diff --git a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/HelloLocalServiceSimple.java b/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/HelloLocalServiceSimple.java deleted file mode 100644 index a31cc3d45a..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/HelloLocalServiceSimple.java +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.databindings.jaxb; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/** - * The interface for HelloLocalServiceSimple. - */ -public interface HelloLocalServiceSimple { - String getGreetings(String name); - String[] getGreetingsArray(String[] names); - List getGreetingsList(List names); - ArrayList getGreetingsArrayList(ArrayList names); - Map getGreetingsMap(Map namesMap); - HashMap getGreetingsHashMap(HashMap namesMap); - String getGreetingsVarArgs(String... names); -} diff --git a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/HelloServiceSimple.java b/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/HelloServiceSimple.java deleted file mode 100644 index df9e6e53ec..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/HelloServiceSimple.java +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.databindings.jaxb; - -import org.oasisopen.sca.annotation.Remotable; - -/** - * The interface for HelloServiceSimple. - */ -@Remotable -public interface HelloServiceSimple extends HelloLocalServiceSimple { - // Add any methods to the local interface. -} diff --git a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/HelloServiceSimpleClient.java b/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/HelloServiceSimpleClient.java deleted file mode 100644 index 23ed57dec9..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/HelloServiceSimpleClient.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.itest.databindings.jaxb; - -import java.util.ArrayList; -import java.util.List; -import java.util.HashMap; -import java.util.Map; - -/** - * The interface for HelloServiceSimpleClient. - */ -public interface HelloServiceSimpleClient { - String getGreetingsForward(String name); - String[] getGreetingsArrayForward(String[] names); - List getGreetingsListForward(List names); - ArrayList getGreetingsArrayListForward(ArrayList names); - Map getGreetingsMapForward(Map namesMap); - HashMap getGreetingsHashMapForward(HashMap namesMap); - String getGreetingsVarArgsForward(String... names); -} diff --git a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/PrimitivesLocalService.java b/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/PrimitivesLocalService.java deleted file mode 100644 index 6239c0f5f1..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/PrimitivesLocalService.java +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.databindings.jaxb; - - -/** - * The interface for PrimitivesLocalService. - */ -public interface PrimitivesLocalService { - boolean negateBoolean(boolean flag); - boolean[] negateBooleanArray(boolean[] flags); - boolean[] identityBooleanArray(boolean[] flags); - byte negateByte(byte b); - byte[] negateByteArray(byte[] ba); - byte[] identityByteArray(byte[] ba); - short negateShort(short s); - short[] negateShortArray(short[] s); - short[] identityShortArray(short[] sa); - int negateInt(int s); - int[] negateIntArray(int[] s); - int[] identityIntArray(int[] ia); - long negateLong(long l); - long[] negateLongArray(long[] la); - long[] identityLongArray(long[] la); - float negateFloat(float f); - float[] negateFloatArray(float[] fa); - float[] identityFloatArray(float[] fa); - double negateDouble(double d); - double[] negateDoubleArray(double[] da); - double[] identityDoubleArray(double[] da); -} diff --git a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/PrimitivesService.java b/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/PrimitivesService.java deleted file mode 100644 index 690a2adb3d..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/PrimitivesService.java +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.databindings.jaxb; - -import org.oasisopen.sca.annotation.Remotable; - -/** - * The interface for PrimitivesService. - */ -@Remotable -public interface PrimitivesService extends PrimitivesLocalService { - // Add any methods to the local interface. -} diff --git a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/PrimitivesServiceClient.java b/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/PrimitivesServiceClient.java deleted file mode 100644 index 3bdf886dfa..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/PrimitivesServiceClient.java +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.itest.databindings.jaxb; - - -/** - * The interface for PrimitivesServiceClient. - */ -public interface PrimitivesServiceClient { - boolean negateBooleanForward(boolean flag); - boolean[] negateBooleanArrayForward(boolean[] flags); - boolean passByValueBooleanArray(); - byte negateByteForward(byte b); - byte[] negateByteArrayForward(byte[] ba); - boolean passByValueByteArray(); - short negateShortForward(short s); - short[] negateShortArrayForward(short[] sa); - boolean passByValueShortArray(); - int negateIntForward(int i); - int[] negateIntArrayForward(int[] ia); - boolean passByValueIntArray(); - long negateLongForward(long l); - long[] negateLongArrayForward(long[] la); - boolean passByValueLongArray(); - float negateFloatForward(float f); - float[] negateFloatArrayForward(float[] fa); - boolean passByValueFloatArray(); - double negateDoubleForward(double d); - double[] negateDoubleArrayForward(double[] da); - boolean passByValueDoubleArray(); -} diff --git a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/StandardTypesLocalService.java b/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/StandardTypesLocalService.java deleted file mode 100644 index 0fdf69459f..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/StandardTypesLocalService.java +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.databindings.jaxb; - -import java.awt.Image; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.net.URI; -import java.util.Calendar; -import java.util.Date; -import java.util.UUID; - -import javax.activation.DataHandler; -import javax.xml.datatype.Duration; -import javax.xml.datatype.XMLGregorianCalendar; -import javax.xml.namespace.QName; -import javax.xml.transform.Source; - - -/** - * The interface for StandardTypesLocalService. - */ -public interface StandardTypesLocalService { - BigInteger getNewBigInteger(BigInteger bi); - BigInteger[] getNewBigIntegerArray(BigInteger[] bia); - - BigDecimal getNewBigDecimal(BigDecimal bd); - BigDecimal[] getNewBigDecimalArray(BigDecimal[] bda); - - Calendar getNewCalendar(Calendar c); - Calendar[] getNewCalendarArray(Calendar[] ca); - - Date getNewDate(Date d); - Date[] getNewDateArray(Date[] da); - - QName getNewQName(QName qname); - QName[] getNewQNameArray(QName[] qnames); - - URI getNewURI(URI uri); - URI[] getNewURIArray(URI[] uris); - - XMLGregorianCalendar getNewXMLGregorianCalendar(XMLGregorianCalendar xgcal); - XMLGregorianCalendar[] getNewXMLGregorianCalendarArray(XMLGregorianCalendar[] xgcal); - - Duration getNewDuration(Duration d); - Duration[] getNewDurationArray(Duration[] da); - - Object getNewObject(Object obj); - Object[] getNewObjectArray(Object[] objs); - - Image getNewImage(Image img); - Image[] getNewImageArray(Image[] imgs); - - DataHandler getNewDataHandler(DataHandler dh); - DataHandler[] getNewDataHandlerArray(DataHandler[] dha); - - Source getNewSource(Source src); - Source[] getNewSourceArray(Source[] srcs); - - UUID getNewUUID(UUID uuid); - UUID[] getNewUUIDArray(UUID[] uuids); -} diff --git a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/StandardTypesService.java b/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/StandardTypesService.java deleted file mode 100644 index 3b9690b7d2..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/StandardTypesService.java +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.databindings.jaxb; - -import org.oasisopen.sca.annotation.Remotable; - - - -/** - * The interface for StandardTypesService. - */ -@Remotable -public interface StandardTypesService extends StandardTypesLocalService{ -} diff --git a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/StandardTypesServiceClient.java b/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/StandardTypesServiceClient.java deleted file mode 100644 index 351d9df0cb..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/StandardTypesServiceClient.java +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.itest.databindings.jaxb; - -import java.awt.Image; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.net.URI; -import java.util.Calendar; -import java.util.Date; -import java.util.UUID; - -import javax.activation.DataHandler; -import javax.xml.datatype.Duration; -import javax.xml.datatype.XMLGregorianCalendar; -import javax.xml.namespace.QName; -import javax.xml.transform.Source; - - -/** - * The interface for StandardTypesServiceClient. - */ -public interface StandardTypesServiceClient { - BigInteger getNewBigIntegerForward(BigInteger bi); - BigInteger[] getNewBigIntegerArrayForward(BigInteger[] bia); - - BigDecimal getNewBigDecimalForward(BigDecimal bd); - BigDecimal[] getNewBigDecimalArrayForward(BigDecimal[] bda); - - Calendar getNewCalendarForward(Calendar c); - Calendar[] getNewCalendarArrayForward(Calendar[] ca); - - Date getNewDateForward(Date d); - Date[] getNewDateArrayForward(Date[] da); - - QName getNewQNameForward(QName qname); - QName[] getNewQNameArrayForward(QName[] qnames); - - URI getNewURIForward(URI uri); - URI[] getNewURIArrayForward(URI[] uris); - - XMLGregorianCalendar getNewXMLGregorianCalendarForward(XMLGregorianCalendar xgcal); - XMLGregorianCalendar[] getNewXMLGregorianCalendarArrayForward(XMLGregorianCalendar[] xgcals); - - Duration getNewDurationForward(Duration d); - Duration[] getNewDurationArrayForward(Duration[] da); - - Object getNewObjectForward(Object obj); - Object[] getNewObjectArrayForward(Object[] objs); - - Image getNewImageForward(Image img); - Image[] getNewImageArrayForward(Image[] imgs); - - DataHandler getNewDataHandlerForward(DataHandler dh); - DataHandler[] getNewDataHandlerArrayForward(DataHandler[] dha); - - Source getNewSourceForward(Source src); - Source[] getNewSourceArrayForward(Source[] srcs); - - UUID getNewUUIDForward(UUID uuid); - UUID[] getNewUUIDArrayForward(UUID[] uuids); -} diff --git a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/AClientServiceImpl.java b/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/AClientServiceImpl.java deleted file mode 100644 index 2f3bd3f2cb..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/AClientServiceImpl.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.databindings.jaxb.impl; - -import org.apache.tuscany.sca.itest.databindings.jaxb.AClientService; -import org.apache.tuscany.sca.itest.databindings.jaxb.AService; -import org.oasisopen.sca.annotation.Reference; -import org.oasisopen.sca.annotation.Service; - -/** - * This class implements AService. - */ -@Service(AClientService.class) -public class AClientServiceImpl implements AClientService { - - @Reference - protected AService aService; - - public String getGreetingsForward(String name) { - return aService.getGreetings(name); - } -} diff --git a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/AServiceImpl.java b/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/AServiceImpl.java deleted file mode 100644 index 078be8896e..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/AServiceImpl.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.databindings.jaxb.impl; - -import org.apache.tuscany.sca.itest.databindings.jaxb.AService; -import org.oasisopen.sca.annotation.Service; - -/** - * This class implements AService. - */ -@Service(AService.class) -public class AServiceImpl implements AService { - - public String getGreetings(String name) { - return "Hello " + name; - } -} diff --git a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/GenericsLocalServiceClientImpl.java b/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/GenericsLocalServiceClientImpl.java deleted file mode 100644 index 4d451e6d32..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/GenericsLocalServiceClientImpl.java +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.itest.databindings.jaxb.impl; - -import org.apache.tuscany.sca.itest.databindings.jaxb.Bean1; -import org.apache.tuscany.sca.itest.databindings.jaxb.Bean2; -import org.apache.tuscany.sca.itest.databindings.jaxb.Bean3; -import org.apache.tuscany.sca.itest.databindings.jaxb.GenericsLocalService; -import org.apache.tuscany.sca.itest.databindings.jaxb.GenericsServiceClient; -import org.oasisopen.sca.annotation.Reference; -import org.oasisopen.sca.annotation.Service; - -/** - * An implementation of GenericsLocalServiceClient. - * The client forwards the request to the service component and returns the response from the service component. - * - * @version $Rev$ $Date$ - */ -@Service(GenericsServiceClient.class) -public class GenericsLocalServiceClientImpl implements GenericsServiceClient { - - private GenericsLocalService service; - - @Reference(required=false) - protected void setGenericsLocalService(GenericsLocalService service) { - this.service = service; - } - - public Bean1 getTypeExplicitForward(Bean1 arg) { - return service.getTypeExplicit(arg); - } - - public Bean1 getTypeUnboundForward(T[] anArray) { - return service.getTypeUnbound(anArray); - } - - public Bean1 getTypeExtendsForward(T[] anArray) { - return service.getTypeExtends(anArray); - } - - public > Bean1 getRecursiveTypeBoundForward(T[] anArray) { - return service.getRecursiveTypeBound(anArray); - } - - public Bean1 getWildcardUnboundForward(Bean1 arg) { - return service.getWildcardUnbound(arg); - } - - public Bean1 getWildcardSuperForward(Bean1 arg) { - return service.getWildcardSuper(arg); - } - - public Bean1 getWildcardExtendsForward(Bean1 arg) { - return service.getWildcardExtends(arg); - } - - public Bean2 getPolymorphicForward(Bean2 arg) { - return service.getPolymorphic(arg); - } -} diff --git a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/GenericsServiceClientImpl.java b/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/GenericsServiceClientImpl.java deleted file mode 100644 index d520e64881..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/GenericsServiceClientImpl.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.itest.databindings.jaxb.impl; - -import org.apache.tuscany.sca.itest.databindings.jaxb.GenericsService; -import org.apache.tuscany.sca.itest.databindings.jaxb.GenericsServiceClient; -import org.oasisopen.sca.annotation.Reference; -import org.oasisopen.sca.annotation.Service; - -/** - * An implementation of GenericsServiceClient. - * The client forwards the request to the service component and returns the response from the service component. - * - * @version $Rev$ $Date$ - */ -@Service(GenericsServiceClient.class) -public class GenericsServiceClientImpl extends GenericsLocalServiceClientImpl { - - @Reference - public void setGenericsService(GenericsService service) { - super.setGenericsLocalService(service); - } -} diff --git a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/GenericsServiceImpl.java b/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/GenericsServiceImpl.java deleted file mode 100644 index 27dc25289e..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/GenericsServiceImpl.java +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.itest.databindings.jaxb.impl; - -import org.apache.tuscany.sca.itest.databindings.jaxb.Bean1; -import org.apache.tuscany.sca.itest.databindings.jaxb.Bean2; -import org.apache.tuscany.sca.itest.databindings.jaxb.Bean3; -import org.apache.tuscany.sca.itest.databindings.jaxb.GenericsLocalService; -import org.apache.tuscany.sca.itest.databindings.jaxb.GenericsService; -import org.oasisopen.sca.annotation.Service; - -/** - * An implementation of GenericsService. - * This implementation provides both a local and a remotable service. - * - * @version $Rev$ $Date$ - */ -@Service(interfaces={GenericsService.class, GenericsLocalService.class}) -public class GenericsServiceImpl implements GenericsService, GenericsLocalService { - - public Bean1 getTypeExplicit(Bean1 arg) { - return GenericsTransformer.getTypeExplicit(arg); - } - - public Bean1 getTypeUnbound(T[] anArray) { - return GenericsTransformer.getTypeUnbound(anArray); - } - - public Bean1 getTypeExtends(T[] anArray) { - return GenericsTransformer.getTypeExtends(anArray); - } - - public > Bean1 getRecursiveTypeBound(T[] anArray) { - return GenericsTransformer.getRecursiveTypeBound(anArray); - } - - public Bean1 getWildcardUnbound(Bean1 arg) { - return GenericsTransformer.getWildcardUnbound(arg); - } - - public Bean1 getWildcardSuper(Bean1 arg) { - return GenericsTransformer.getWildcardSuper(arg); - } - - public Bean1 getWildcardExtends(Bean1 arg) { - return GenericsTransformer.getWildcardExtends(arg); - } - - public Bean2 getPolymorphic(Bean2 arg) { - return GenericsTransformer.getPolymorphic(arg); - } -} diff --git a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/GenericsTransformer.java b/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/GenericsTransformer.java deleted file mode 100644 index 858b8da59a..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/GenericsTransformer.java +++ /dev/null @@ -1,125 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.itest.databindings.jaxb.impl; - -import org.apache.tuscany.sca.itest.databindings.jaxb.Bean1; -import org.apache.tuscany.sca.itest.databindings.jaxb.Bean10; -import org.apache.tuscany.sca.itest.databindings.jaxb.Bean11; -import org.apache.tuscany.sca.itest.databindings.jaxb.Bean2; -import org.apache.tuscany.sca.itest.databindings.jaxb.Bean3; -import org.apache.tuscany.sca.itest.databindings.jaxb.Bean31; - - -/** - * GenericsTransformer class that provide for transforming input provided to GenericsService methods. - * - * @version $Rev$ $Date$ - */ -public class GenericsTransformer { - - public static Bean1 getTypeExplicit(Bean1 arg) { - return new Bean1(arg.getItem() == null ? null : arg.getItem()+" AA"); - } - - public static Bean1 getTypeUnbound(T[] arg) { - if(arg instanceof String[]) { - return new Bean1(arg[0]); - } else if(arg instanceof Integer[]){ - return new Bean1(arg[1]); - } else { - return new Bean1(arg[2]); - } - } - - public static Bean1 getTypeExtends(T[] arg) { - if(arg instanceof Bean3[]) { - return new Bean1(arg[0]); - } else if(arg instanceof Bean31[]) { - return new Bean1(arg[1]); - } else { - return new Bean1(arg[2]); - } - } - - public static > Bean1 getRecursiveTypeBound(T[] arg) { - if(arg instanceof Bean10[]) { - return new Bean1(arg[0]); - } else if(arg instanceof Bean11[]) { - return new Bean1(arg[1]); - } else { - return new Bean1(arg[2]); - } - } - - public static Bean1 getWildcardUnbound(Bean1 arg) { - if(arg.getItem() instanceof String) { - Bean1 temp = new Bean1(); - temp.setItem("Hello "+arg.getItem()); - return temp; - } else if(arg.getItem() instanceof Integer) { - Bean1 temp = new Bean1(); - temp.setItem(10+(Integer)arg.getItem()); - return temp; - } else { - return new Bean1(arg.toString()); - } - } - - public static Bean1 getWildcardSuper(Bean1 arg) { - Object item = arg.getItem(); - if(item instanceof Bean3) { - Bean3 temp = new Bean3(); - temp.setName("Hello " + ((Bean3)item).getName()); - temp.setAddress("New "+((Bean3)item).getAddress()); - return new Bean1(temp); - } else if(item instanceof Bean2) { - Bean2 temp = new Bean2(); - temp.setName("Hello " + ((Bean3)item).getName()); - return new Bean1(temp); - } else { - Bean2 temp = new Bean2(); - temp.setName(item.toString()); - return new Bean1(temp); - } - } - - public static Bean1 getWildcardExtends(Bean1 arg) { - Bean2 item = arg.getItem(); - if(item instanceof Bean3) { - Bean3 temp = new Bean3(); - temp.setName("Hello "+item.getName()); - temp.setAddress("New "+((Bean3)item).getAddress()); - return new Bean1(temp); - } else if(item instanceof Bean31) { - Bean31 temp = new Bean31(); - temp.setName("Hello "+item.getName()); - temp.setAddress("New "+((Bean31)item).getAddress()); - return new Bean1(temp); - } else { - Bean2 temp = new Bean2(); - temp.setName("Hello "+item.getName()); - return new Bean1(temp); - } - } - - public static Bean2 getPolymorphic(Bean2 arg) { - return arg; - } -} diff --git a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/HelloLocalServiceSimpleClientImpl.java b/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/HelloLocalServiceSimpleClientImpl.java deleted file mode 100644 index 37b3f1b680..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/HelloLocalServiceSimpleClientImpl.java +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.itest.databindings.jaxb.impl; - -import java.util.ArrayList; -import java.util.List; -import java.util.HashMap; -import java.util.Map; - -import org.apache.tuscany.sca.itest.databindings.jaxb.HelloLocalServiceSimple; -import org.apache.tuscany.sca.itest.databindings.jaxb.HelloServiceSimpleClient; -import org.oasisopen.sca.annotation.Reference; -import org.oasisopen.sca.annotation.Service; - -/** - * An implementation of HelloServiceSimpleClient. - * The client forwards the request to the service component and returns the response from the service component. - */ -@Service(HelloServiceSimpleClient.class) -public class HelloLocalServiceSimpleClientImpl implements HelloServiceSimpleClient { - - private HelloLocalServiceSimple service; - - @Reference(required=false) - protected void setHelloLocalServiceSimple(HelloLocalServiceSimple service) { - this.service = service; - } - - public String getGreetingsForward(String name) { - return service.getGreetings(name); - } - - public String[] getGreetingsArrayForward(String[] names) { - return service.getGreetingsArray(names); - } - - public List getGreetingsListForward(List names) { - return service.getGreetingsList(names); - } - - public Map getGreetingsMapForward(Map namesMap) { - return service.getGreetingsMap(namesMap); - } - - public ArrayList getGreetingsArrayListForward(ArrayList names) { - return service.getGreetingsArrayList(names); - } - - public HashMap getGreetingsHashMapForward(HashMap namesMap) { - return service.getGreetingsHashMap(namesMap); - } - - public String getGreetingsVarArgsForward(String... names) { - return service.getGreetingsVarArgs(names[0], names[1], names[2]); - } -} diff --git a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/HelloServiceSimpleClientImpl.java b/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/HelloServiceSimpleClientImpl.java deleted file mode 100644 index 44b6e9d906..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/HelloServiceSimpleClientImpl.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.itest.databindings.jaxb.impl; - -import org.apache.tuscany.sca.itest.databindings.jaxb.HelloServiceSimple; -import org.apache.tuscany.sca.itest.databindings.jaxb.HelloServiceSimpleClient; -import org.oasisopen.sca.annotation.Reference; -import org.oasisopen.sca.annotation.Service; - -/** - * An implementation of HelloServiceSimpleClient. - * The client forwards the request to the service component and returns the response from the service component. - */ -@Service(HelloServiceSimpleClient.class) -public class HelloServiceSimpleClientImpl extends HelloLocalServiceSimpleClientImpl { - - @Reference - public void setHelloServiceSimple(HelloServiceSimple service) { - super.setHelloLocalServiceSimple(service); - } -} diff --git a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/HelloServiceSimpleImpl.java b/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/HelloServiceSimpleImpl.java deleted file mode 100644 index 5c389bf67f..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/HelloServiceSimpleImpl.java +++ /dev/null @@ -1,86 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.itest.databindings.jaxb.impl; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -import org.apache.tuscany.sca.itest.databindings.jaxb.HelloLocalServiceSimple; -import org.apache.tuscany.sca.itest.databindings.jaxb.HelloServiceSimple; -import org.oasisopen.sca.annotation.Service; - -/** - * An implementation of HelloServiceSimple. - * The implementation provides both a local and a remotable service. - */ -@Service(interfaces = {HelloServiceSimple.class, HelloLocalServiceSimple.class}) -public class HelloServiceSimpleImpl implements HelloServiceSimple { - public String getGreetings(String name) { - return "Hello " + name; - } - - public String[] getGreetingsArray(String[] names) { - String[] resps = new String[names.length]; - for (int i = 0; i < names.length; ++i) { - resps[i] = "Hello " + names[i]; - } - return resps; - } - - public List getGreetingsList(List names) { - List resps = new ArrayList(); - for (int i = 0; i < names.size(); ++i) { - resps.add("Hello " + names.get(i)); - } - return resps; - } - - public ArrayList getGreetingsArrayList(ArrayList names) { - ArrayList resps = new ArrayList(); - for (int i = 0; i < names.size(); ++i) { - resps.add("Hello " + names.get(i)); - } - return resps; - } - - public Map getGreetingsMap(Map namesMap) { - for (Map.Entry entry : namesMap.entrySet()) { - entry.setValue("Hello " + entry.getKey()); - } - return namesMap; - } - - public HashMap getGreetingsHashMap(HashMap namesMap) { - for (Map.Entry entry : namesMap.entrySet()) { - entry.setValue("Hello " + entry.getKey()); - } - return namesMap; - } - - public String getGreetingsVarArgs(String... names) { - String resp = "Hello"; - for(int i = 0; i < names.length; ++i) { - resp += (" "+names[i]); - } - return resp; - } -} diff --git a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/PrimitivesLocalServiceClientImpl.java b/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/PrimitivesLocalServiceClientImpl.java deleted file mode 100644 index eea19521c4..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/PrimitivesLocalServiceClientImpl.java +++ /dev/null @@ -1,138 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.itest.databindings.jaxb.impl; - -import org.apache.tuscany.sca.itest.databindings.jaxb.PrimitivesLocalService; -import org.apache.tuscany.sca.itest.databindings.jaxb.PrimitivesServiceClient; -import org.oasisopen.sca.annotation.Reference; -import org.oasisopen.sca.annotation.Service; - -/** - * An implementation of PrimitivesLocalServiceClient. - * The client forwards the request to the service component and returns the response from the service component. - */ -@Service(PrimitivesServiceClient.class) -public class PrimitivesLocalServiceClientImpl implements PrimitivesServiceClient { - - private PrimitivesLocalService service; - - @Reference(required=false) - protected void setPrimitivesLocalService(PrimitivesLocalService service) { - this.service = service; - } - - public boolean negateBooleanForward(boolean flag) { - return service.negateBoolean(flag); - } - - public boolean[] negateBooleanArrayForward(boolean[] flags) { - return service.negateBooleanArray(flags); - } - - public boolean passByValueBooleanArray() { - boolean[] req = new boolean[2]; - boolean[] resp = service.identityBooleanArray(req); - return req != resp; - } - - public byte negateByteForward(byte b) { - return service.negateByte(b); - } - - public byte[] negateByteArrayForward(byte[] ba) { - return service.negateByteArray(ba); - } - - public boolean passByValueByteArray() { - byte[] req = new byte[2]; - byte[] resp = service.identityByteArray(req); - return req != resp; - } - - public short negateShortForward(short s) { - return service.negateShort(s); - } - - public short[] negateShortArrayForward(short[] s) { - return service.negateShortArray(s); - } - - public boolean passByValueShortArray() { - short[] req = new short[2]; - short[] resp = service.identityShortArray(req); - return req != resp; - } - - public int negateIntForward(int i) { - return service.negateInt(i); - } - - public int[] negateIntArrayForward(int[] ia) { - return service.negateIntArray(ia); - } - - public boolean passByValueIntArray() { - int[] req = new int[2]; - int[] resp = service.identityIntArray(req); - return req != resp; - } - - public long negateLongForward(long l) { - return service.negateLong(l); - } - - public long[] negateLongArrayForward(long[] la) { - return service.negateLongArray(la); - } - - public boolean passByValueLongArray() { - long[] req = new long[2]; - long[] resp = service.identityLongArray(req); - return req != resp; - } - - public float negateFloatForward(float f) { - return service.negateFloat(f); - } - - public float[] negateFloatArrayForward(float[] fa) { - return service.negateFloatArray(fa); - } - - public boolean passByValueFloatArray() { - float[] req = new float[2]; - float[] resp = service.identityFloatArray(req); - return req != resp; - } - - public double negateDoubleForward(double d) { - return service.negateDouble(d); - } - - public double[] negateDoubleArrayForward(double[] da) { - return service.negateDoubleArray(da); - } - - public boolean passByValueDoubleArray() { - double[] req = new double[2]; - double[] resp = service.identityDoubleArray(req); - return req != resp; - } -} diff --git a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/PrimitivesServiceClientImpl.java b/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/PrimitivesServiceClientImpl.java deleted file mode 100644 index 263d1212ca..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/PrimitivesServiceClientImpl.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.itest.databindings.jaxb.impl; - -import org.apache.tuscany.sca.itest.databindings.jaxb.PrimitivesService; -import org.apache.tuscany.sca.itest.databindings.jaxb.PrimitivesServiceClient; -import org.oasisopen.sca.annotation.Reference; -import org.oasisopen.sca.annotation.Service; - -/** - * An implementation of PrimitivesServiceClient. - * The client forwards the request to the service component and returns the response from the service component. - */ -@Service(PrimitivesServiceClient.class) -public class PrimitivesServiceClientImpl extends PrimitivesLocalServiceClientImpl { - - @Reference - public void setPrimitivesService(PrimitivesService service) { - super.setPrimitivesLocalService(service); - } -} diff --git a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/PrimitivesServiceImpl.java b/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/PrimitivesServiceImpl.java deleted file mode 100644 index 9e14140752..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/PrimitivesServiceImpl.java +++ /dev/null @@ -1,151 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.itest.databindings.jaxb.impl; - -import org.apache.tuscany.sca.itest.databindings.jaxb.PrimitivesLocalService; -import org.apache.tuscany.sca.itest.databindings.jaxb.PrimitivesService; -import org.oasisopen.sca.annotation.Service; - -/** - * An implementation of PrimitivesService. - * This implementation provides both a local and a remotable service. - */ -@Service(interfaces={PrimitivesService.class, PrimitivesLocalService.class}) -public class PrimitivesServiceImpl implements PrimitivesService, PrimitivesLocalService { - - public boolean negateBoolean(boolean flag) { - return !flag; - } - - public boolean[] negateBooleanArray(boolean[] flags) { - boolean[] resp = new boolean[flags.length]; - - for(int i = 0; i < flags.length; ++i) { - resp[i] = !flags[i]; - } - return resp; - } - - public boolean[] identityBooleanArray(boolean[] flags) { - return flags; - } - - public byte negateByte(byte b) { - return (byte)-b; - } - - public byte[] negateByteArray(byte[] ba) { - byte[] resp = new byte[ba.length]; - - for(int i = 0; i < ba.length; ++i) { - resp[i] = (byte)-ba[i]; - } - return resp; - } - - public byte[] identityByteArray(byte[] ba) { - return ba; - } - - public short negateShort(short s) { - return (short)-s; - } - - public short[] negateShortArray(short[] s) { - short[] resp = new short[s.length]; - - for(int i = 0; i < s.length; ++i) { - resp[i] = (short)-s[i]; - } - return resp; - } - - public short[] identityShortArray(short[] sa) { - return sa; - } - - public int negateInt(int i) { - return -i; - } - - public int[] negateIntArray(int[] ia) { - int[] resp = new int[ia.length]; - - for(int i = 0; i < ia.length; ++i) { - resp[i] = -ia[i]; - } - return resp; - } - - public int[] identityIntArray(int[] ia) { - return ia; - } - - public long negateLong(long l) { - return -l; - } - - public long[] negateLongArray(long[] la) { - long[] resp = new long[la.length]; - - for(int i = 0; i < la.length; ++i) { - resp[i] = -la[i]; - } - return resp; - } - - public long[] identityLongArray(long[] la) { - return la; - } - - public float negateFloat(float f) { - return -f; - } - - public float[] negateFloatArray(float[] fa) { - float[] resp = new float[fa.length]; - - for(int i = 0; i < fa.length; ++i) { - resp[i] = -fa[i]; - } - return resp; - } - - public float[] identityFloatArray(float[] fa) { - return fa; - } - - public double negateDouble(double d) { - return -d; - } - - public double[] negateDoubleArray(double[] da) { - double[] resp = new double[da.length]; - - for(int i = 0; i < da.length; ++i) { - resp[i] = -da[i]; - } - return resp; - } - - public double[] identityDoubleArray(double[] da) { - return da; - } -} diff --git a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/StandardTypesLocalServiceClientImpl.java b/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/StandardTypesLocalServiceClientImpl.java deleted file mode 100644 index 3ceee3c4b1..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/StandardTypesLocalServiceClientImpl.java +++ /dev/null @@ -1,157 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.itest.databindings.jaxb.impl; - -import java.awt.Image; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.net.URI; -import java.util.Calendar; -import java.util.Date; -import java.util.UUID; - -import javax.activation.DataHandler; -import javax.xml.datatype.Duration; -import javax.xml.datatype.XMLGregorianCalendar; -import javax.xml.namespace.QName; -import javax.xml.transform.Source; - -import org.apache.tuscany.sca.itest.databindings.jaxb.StandardTypesLocalService; -import org.apache.tuscany.sca.itest.databindings.jaxb.StandardTypesServiceClient; -import org.oasisopen.sca.annotation.Reference; -import org.oasisopen.sca.annotation.Service; - -/** - * An implementation of StandardTypesLocalServiceClient. - * The client forwards the request to the service component and returns the response from the service component. - */ -@Service(StandardTypesServiceClient.class) -public class StandardTypesLocalServiceClientImpl implements StandardTypesServiceClient { - - private StandardTypesLocalService service; - - @Reference(required=false) - protected void setStandardTypesLocalService(StandardTypesLocalService service) { - this.service = service; - } - - public BigInteger getNewBigIntegerForward(BigInteger bi) { - return service.getNewBigInteger(bi); - } - - public BigInteger[] getNewBigIntegerArrayForward(BigInteger[] bia) { - return service.getNewBigIntegerArray(bia); - } - - public BigDecimal getNewBigDecimalForward(BigDecimal bd) { - return service.getNewBigDecimal(bd); - } - - public BigDecimal[] getNewBigDecimalArrayForward(BigDecimal[] bda) { - return service.getNewBigDecimalArray(bda); - } - public Calendar getNewCalendarForward(Calendar c) { - return service.getNewCalendar(c); - } - public Calendar[] getNewCalendarArrayForward(Calendar[] ca) { - return service.getNewCalendarArray(ca); - } - - public Date getNewDateForward(Date d) { - return service.getNewDate(d); - } - - public Date[] getNewDateArrayForward(Date[] da) { - return service.getNewDateArray(da); - } - - public QName getNewQNameForward(QName qname) { - return service.getNewQName(qname); - } - - public QName[] getNewQNameArrayForward(QName[] qnames) { - return service.getNewQNameArray(qnames); - } - - public URI getNewURIForward(URI uri) { - return service.getNewURI(uri); - } - - public URI[] getNewURIArrayForward(URI[] uris) { - return service.getNewURIArray(uris); - } - - public XMLGregorianCalendar getNewXMLGregorianCalendarForward(XMLGregorianCalendar xgcal) { - return service.getNewXMLGregorianCalendar(xgcal); - } - - public XMLGregorianCalendar[] getNewXMLGregorianCalendarArrayForward(XMLGregorianCalendar[] xgcals) { - return service.getNewXMLGregorianCalendarArray(xgcals); - } - - public Duration getNewDurationForward(Duration d) { - return service.getNewDuration(d); - } - - public Duration[] getNewDurationArrayForward(Duration[] da) { - return service.getNewDurationArray(da); - } - - public Object getNewObjectForward(Object obj) { - return service.getNewObject(obj); - } - - public Object[] getNewObjectArrayForward(Object[] objs) { - return service.getNewObjectArray(objs); - } - - public Image getNewImageForward(Image img) { - return service.getNewImage(img); - } - - public Image[] getNewImageArrayForward(Image[] imgs) { - return service.getNewImageArray(imgs); - } - - public DataHandler getNewDataHandlerForward(DataHandler dh) { - return service.getNewDataHandler(dh); - } - - public DataHandler[] getNewDataHandlerArrayForward(DataHandler[] dha) { - return service.getNewDataHandlerArray(dha); - } - - - public Source getNewSourceForward(Source src) { - return service.getNewSource(src); - } - - public Source[] getNewSourceArrayForward(Source[] srcs) { - return service.getNewSourceArray(srcs); - } - - public UUID getNewUUIDForward(UUID uuid) { - return service.getNewUUID(uuid); - } - - public UUID[] getNewUUIDArrayForward(UUID[] uuids) { - return service.getNewUUIDArray(uuids); - } -} diff --git a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/StandardTypesServiceClientImpl.java b/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/StandardTypesServiceClientImpl.java deleted file mode 100644 index 6aefb05c83..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/StandardTypesServiceClientImpl.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.itest.databindings.jaxb.impl; - -import org.apache.tuscany.sca.itest.databindings.jaxb.StandardTypesService; -import org.apache.tuscany.sca.itest.databindings.jaxb.StandardTypesServiceClient; -import org.oasisopen.sca.annotation.Reference; -import org.oasisopen.sca.annotation.Service; - -/** - * An implementation of StandardTypesServiceClient. - * The client forwards the request to the service component and returns the response from the service component. - */ -@Service(StandardTypesServiceClient.class) -public class StandardTypesServiceClientImpl extends StandardTypesLocalServiceClientImpl { - - @Reference - public void setStandardTypesService(StandardTypesService service) { - super.setStandardTypesLocalService(service); - } -} diff --git a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/StandardTypesServiceImpl.java b/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/StandardTypesServiceImpl.java deleted file mode 100644 index 42fb9cbac2..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/StandardTypesServiceImpl.java +++ /dev/null @@ -1,208 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.itest.databindings.jaxb.impl; - -import java.awt.Image; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.net.URI; -import java.util.Calendar; -import java.util.Date; -import java.util.UUID; - -import javax.activation.DataHandler; -import javax.xml.datatype.Duration; -import javax.xml.datatype.XMLGregorianCalendar; -import javax.xml.namespace.QName; -import javax.xml.transform.Source; - -import org.apache.tuscany.sca.itest.databindings.jaxb.StandardTypesLocalService; -import org.apache.tuscany.sca.itest.databindings.jaxb.StandardTypesService; -import org.oasisopen.sca.annotation.Service; - -/** - * An implementation of StandardTypesService. - * This implementation provides both a local and a remotable service. - */ -@Service(interfaces={StandardTypesService.class, StandardTypesLocalService.class}) -public class StandardTypesServiceImpl implements StandardTypesService, StandardTypesLocalService { - - public BigInteger getNewBigInteger(BigInteger bi) { - return bi.negate(); - } - - public BigInteger[] getNewBigIntegerArray(BigInteger[] bia) { - BigInteger[] resp = new BigInteger[bia.length]; - for(int i = 0; i < bia.length; ++i) { - resp[i] = bia[i].negate(); - } - return resp; - } - - public BigDecimal getNewBigDecimal(BigDecimal bd) { - return bd.negate(); - } - - public BigDecimal[] getNewBigDecimalArray(BigDecimal[] bda) { - BigDecimal[] resp = new BigDecimal[bda.length]; - for(int i = 0; i < bda.length; ++i) { - resp[i] = bda[i].negate(); - } - return resp; - } - - public Calendar getNewCalendar(Calendar c) { - Calendar resp = (Calendar)c.clone(); - resp.add(Calendar.DAY_OF_MONTH, 5); - return resp; - } - - public Calendar[] getNewCalendarArray(Calendar[] ca) { - Calendar[] resp = new Calendar[ca.length]; - for(int i = 0; i < ca.length; ++i) { - resp[i] = getNewCalendar(ca[i]); - } - return resp; - } - - public Date getNewDate(Date d) { - return new Date(d.getTime() + 5*24*60*60*1000); - } - - public Date[] getNewDateArray(Date[] da) { - Date[] resp = new Date[da.length]; - for(int i = 0; i < da.length; ++i) { - resp[i] = getNewDate(da[i]); - } - return resp; - } - - public QName getNewQName(QName qname) { - return new QName(qname.getNamespaceURI()+"q", qname.getLocalPart()+"q", qname.getPrefix()+"q"); - - } - - public QName[] getNewQNameArray(QName[] qnames) { - QName[] resp = new QName[qnames.length]; - for(int i = 0; i < qnames.length; ++i) { - resp[i] = getNewQName(qnames[i]); - } - return resp; - } - - public URI getNewURI(URI uri) { - return uri.resolve("uri"); - } - - public URI[] getNewURIArray(URI[] uris) { - URI[] resp = new URI[uris.length]; - for(int i = 0; i < uris.length; ++i) { - resp[i] = getNewURI(uris[i]); - } - return resp; - } - - public XMLGregorianCalendar getNewXMLGregorianCalendar(XMLGregorianCalendar xgcal) { - xgcal = (XMLGregorianCalendar)xgcal.clone(); - xgcal.setDay(xgcal.getDay()+5); - return xgcal; - } - - public XMLGregorianCalendar[] getNewXMLGregorianCalendarArray(XMLGregorianCalendar[] xgcals) { - XMLGregorianCalendar[] resp = new XMLGregorianCalendar[xgcals.length]; - for(int i = 0; i < xgcals.length; ++i) { - resp[i] = getNewXMLGregorianCalendar(xgcals[i]); - } - return resp; - } - - public Duration getNewDuration(Duration d) { - return d.negate(); - } - - public Duration[] getNewDurationArray(Duration[] da) { - Duration[] resp = new Duration[da.length]; - for(int i = 0; i < da.length; ++i) { - resp[i] = da[i].negate(); - } - return resp; - } - - public Object getNewObject(Object obj) { - return StandardTypesTransformer.getNewObject(obj); - } - - public Object[] getNewObjectArray(Object[] objs) { - Object[] resp = new Object[objs.length]; - for(int i = 0; i < objs.length; ++i) { - resp[i] = getNewObject(objs[i]); - } - return resp; - } - - public Image getNewImage(Image img) { - return StandardTypesTransformer.getNewImage(img); - } - - public Image[] getNewImageArray(Image[] imgs) { - Image[] resp = new Image[imgs.length]; - for(int i = 0; i < imgs.length; ++i) { - resp[i] = getNewImage(imgs[i]); - } - return resp; - } - - public DataHandler getNewDataHandler(DataHandler dh) { - // FIXME: transform the input - return dh; - } - - public DataHandler[] getNewDataHandlerArray(DataHandler[] dha) { - DataHandler[] resp = new DataHandler[dha.length]; - for(int i = 0; i < dha.length; ++i) { - resp[i] = dha[i]; - } - return resp; - } - - public Source getNewSource(Source src) { - return StandardTypesTransformer.getNewSource(src); - } - - public Source[] getNewSourceArray(Source[] srcs) { - Source[] resp = new Source[srcs.length]; - for(int i = 0; i < srcs.length; ++i) { - resp[i] = getNewSource(srcs[i]); - } - return resp; - } - - public UUID getNewUUID(UUID uuid) { - return UUID.fromString(uuid.toString()+"AAA"); - } - - public UUID[] getNewUUIDArray(UUID[] uuids) { - UUID[] resp = new UUID[uuids.length]; - for(int i = 0; i < uuids.length; ++i) { - resp[i] = getNewUUID(uuids[i]); - } - return resp; - } -} diff --git a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/StandardTypesTransformer.java b/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/StandardTypesTransformer.java deleted file mode 100644 index 68510b4b03..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/StandardTypesTransformer.java +++ /dev/null @@ -1,144 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.itest.databindings.jaxb.impl; - -import java.awt.Image; -import java.io.ByteArrayInputStream; -import java.io.ByteArrayOutputStream; -import java.io.CharArrayReader; -import java.io.CharArrayWriter; -import java.io.IOException; -import java.io.InputStream; -import java.io.Reader; - -import javax.xml.transform.Source; -import javax.xml.transform.dom.DOMSource; -import javax.xml.transform.sax.SAXSource; -import javax.xml.transform.stream.StreamSource; - -import org.xml.sax.InputSource; - - - -/** - * StandardTypesTransformer class that provide for transforming input provided to StandardTypesService methods. - * - * @version $Rev$ $Date$ - */ -public class StandardTypesTransformer { - - public static Object getNewObject(Object obj) { - if(obj instanceof String) { - return "Hello "+obj; - } else if(obj instanceof Integer) { - return new Integer(-((Integer)obj).intValue()); - } else if(obj instanceof Double) { - return new Double(-((Double)obj).doubleValue()); - } - - return obj; - } - - /** - * Returns a copy of the source object if the input is DOMSource, SAXSource or StreamSource. - * Returns the input object as is for other types. - */ - public static Source getNewSource(Source src) { - Source ret = null; - if(src instanceof DOMSource) { - DOMSource dsrc = (DOMSource)src; - ret = new DOMSource(dsrc.getNode() != null ? dsrc.getNode().cloneNode(true) : null); - } else if(src instanceof SAXSource) { - SAXSource ssrc = (SAXSource)src; - if(ssrc.getInputSource().getByteStream() != null) { - InputStream inp = ssrc.getInputSource().getByteStream(); - ByteArrayOutputStream bout = new ByteArrayOutputStream(); - int b; - try { - while((b = inp.read()) != -1) { - bout.write(b); - } - } catch (IOException ignored) { - } - try { bout.close();} catch (IOException ignored) {} - try { inp.reset();} catch (IOException ignored) {} - ret = new SAXSource(new InputSource(new ByteArrayInputStream(bout.toByteArray()))); - } else if(ssrc.getInputSource().getCharacterStream() != null) { - Reader rdr = ssrc.getInputSource().getCharacterStream(); - CharArrayWriter caw = new CharArrayWriter(); - try { - int c; - while((c = rdr.read()) != -1) { - caw.append((char)c); - } - } catch (IOException ignored) { - } - caw.close(); - try{ rdr.reset();} catch(IOException ignored) {} - ret = new SAXSource(new InputSource(new CharArrayReader(caw.toCharArray()))); - } else { - ret = new SAXSource(); - } - } else if(src instanceof StreamSource) { - StreamSource ssrc = (StreamSource)src; - if(ssrc.getInputStream() != null) { - InputStream inp = ssrc.getInputStream(); - ByteArrayOutputStream bout = new ByteArrayOutputStream(); - int b; - try { - while((b = inp.read()) != -1) { - bout.write(b); - } - } catch (IOException ignored) { - } - try { bout.close();} catch (IOException ignored) {} - try { inp.reset();} catch (IOException ignored) {} - ret = new StreamSource(new ByteArrayInputStream(bout.toByteArray())); - } else if(ssrc.getReader() != null) { - Reader rdr = ssrc.getReader(); - CharArrayWriter caw = new CharArrayWriter(); - try { - int c; - while((c = rdr.read()) != -1) { - caw.append((char)c); - } - } catch (IOException ignored) { - } - caw.close(); - try{ rdr.reset();} catch(IOException ignored) {} - ret = new StreamSource(new CharArrayReader(caw.toCharArray())); - } else { - ret = new StreamSource(); - } - } - - if(ret != null) { - ret.setSystemId(src.getSystemId()); - } else { - ret = src; - } - return ret; - } - - public static Image getNewImage(Image arg) { - arg.getGraphics().drawOval(2, 2, 7, 7); - return arg; - } -} diff --git a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/resources/aservice.wsdl b/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/resources/aservice.wsdl deleted file mode 100644 index 10a242be4d..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/resources/aservice.wsdl +++ /dev/null @@ -1,127 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/resources/doclitbarewsdl.composite b/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/resources/doclitbarewsdl.composite deleted file mode 100644 index 5ecbb9edee..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/resources/doclitbarewsdl.composite +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/resources/generics-service.composite b/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/resources/generics-service.composite deleted file mode 100644 index 2d47ba7b14..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/resources/generics-service.composite +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/resources/helloservice.composite b/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/resources/helloservice.composite deleted file mode 100644 index c39cf21002..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/resources/helloservice.composite +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/resources/primitivesservice.composite b/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/resources/primitivesservice.composite deleted file mode 100644 index 4b0a6e215d..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/resources/primitivesservice.composite +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/resources/standard-types-service.composite b/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/resources/standard-types-service.composite deleted file mode 100644 index 13ef73c082..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/main/resources/standard-types-service.composite +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/DatabindingTestCase.java b/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/DatabindingTestCase.java deleted file mode 100644 index 4967b896a5..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/DatabindingTestCase.java +++ /dev/null @@ -1,339 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.itest.databindings.jaxb; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -import junit.framework.Assert; - -import org.apache.tuscany.sca.host.embedded.SCADomain; -import org.junit.AfterClass; -import org.junit.BeforeClass; -import org.junit.Test; - -/** - * @version $Rev$ $Date$ - */ -public class DatabindingTestCase { - - private static SCADomain domain; - - /** - * Runs once before running the tests - */ - @BeforeClass - public static void setUp() throws Exception { - try { - domain = SCADomain.newInstance("helloservice.composite"); - } catch(Throwable e) { - e.printStackTrace(); - } - } - - /** - * Runs once after running the tests - */ - @AfterClass - public static void tearDown() { - domain.close(); - } - - /** - * Invokes the HelloServiceSimple service using SCA binding. - * Service method invoked is getGreetings. - */ - @Test - public void testSCA() throws Exception { - HelloServiceSimpleClient helloServiceSimpleClient = domain.getService(HelloServiceSimpleClient.class, "HelloServiceSimpleClientSCAComponent"); - performTest(helloServiceSimpleClient); - } - - /** - * Invokes the HelloServiceSimple service using SCA binding. - * Service method invoked is getGreetingsArray. - */ - @Test - public void testSCAArray() throws Exception { - HelloServiceSimpleClient helloServiceSimpleClient = domain.getService(HelloServiceSimpleClient.class, "HelloServiceSimpleClientSCAComponent"); - performTestArray(helloServiceSimpleClient); - } - - /** - * Invokes the HelloServiceSimple service using SCA binding. - * Service method invoked is getGreetingsList. - */ - @Test - public void testSCAList() throws Exception { - HelloServiceSimpleClient helloServiceSimpleClient = domain.getService(HelloServiceSimpleClient.class, "HelloServiceSimpleClientSCAComponent"); - performTestList(helloServiceSimpleClient); - } - - /** - * Invokes the HelloServiceSimple service using SCA binding. - * Service method invoked is getGreetingsArrayList. - */ - @Test - public void testSCAArrayList() throws Exception { - HelloServiceSimpleClient helloServiceSimpleClient = domain.getService(HelloServiceSimpleClient.class, "HelloServiceSimpleClientSCAComponent"); - performTestArrayList(helloServiceSimpleClient); - } - - /** - * Invokes the HelloServiceSimple service using SCA binding. - * Service method invoked is getGreetingsMap. - */ - @Test - public void testSCAMap() throws Exception { - HelloServiceSimpleClient helloServiceSimpleClient = domain.getService(HelloServiceSimpleClient.class, "HelloServiceSimpleClientSCAComponent"); - performTestMap(helloServiceSimpleClient); - } - - /** - * Invokes the HelloServiceSimple service using SCA binding. - * Service method invoked is getGreetingsHashMap. - */ - @Test - public void testSCAHashMap() throws Exception { - HelloServiceSimpleClient helloServiceSimpleClient = domain.getService(HelloServiceSimpleClient.class, "HelloServiceSimpleClientSCAComponent"); - performTestHashMap(helloServiceSimpleClient); - } - - /** - * Invokes the HelloServiceSimple service using SCA binding. - * Service method invoked is getGreetingsVarArgs. - */ - @Test - public void testSCAVarArgs() throws Exception { - HelloServiceSimpleClient helloServiceSimpleClient = domain.getService(HelloServiceSimpleClient.class, "HelloServiceSimpleClientSCAComponent"); - performTestVarArgs(helloServiceSimpleClient); - } - - /** - * Invokes the HelloServiceSimple service using WS binding. - * Service method invoked is getGreetings. - */ - @Test - public void testWS() throws Exception { - HelloServiceSimpleClient helloServiceSimpleClient = domain.getService(HelloServiceSimpleClient.class, "HelloServiceSimpleClientWSComponent"); - performTest(helloServiceSimpleClient); - } - - /** - * Invokes the HelloServiceSimple service using WS binding. - * Service method invoked is getGreetingsArray. - */ - @Test - public void testWSArray() throws Exception { - HelloServiceSimpleClient helloServiceSimpleClient = domain.getService(HelloServiceSimpleClient.class, "HelloServiceSimpleClientWSComponent"); - performTestArray(helloServiceSimpleClient); - } - - /** - * Invokes the HelloServiceSimple service using WS binding. - * Service method invoked is getGreetingsList. - */ - @Test - public void testWSList() throws Exception { - HelloServiceSimpleClient helloServiceSimpleClient = domain.getService(HelloServiceSimpleClient.class, "HelloServiceSimpleClientWSComponent"); - performTestList(helloServiceSimpleClient); - } - - /** - * Invokes the HelloServiceSimple service using WS binding. - * Service method invoked is getGreetingsArrayList. - */ - @Test - public void testWSArrayList() throws Exception { - HelloServiceSimpleClient helloServiceSimpleClient = domain.getService(HelloServiceSimpleClient.class, "HelloServiceSimpleClientWSComponent"); - performTestArrayList(helloServiceSimpleClient); - } - - /** - * Invokes the HelloServiceSimple service using WS binding. - * Service method invoked is getGreetingsMap. - */ - @Test - public void testWSMap() throws Exception { - HelloServiceSimpleClient helloServiceSimpleClient = domain.getService(HelloServiceSimpleClient.class, "HelloServiceSimpleClientWSComponent"); - performTestMap(helloServiceSimpleClient); - } - - /** - * Invokes the HelloServiceSimple service using WS binding. - * Service method invoked is getGreetingsHashMap. - */ - @Test - public void testWSHashMap() throws Exception { - HelloServiceSimpleClient helloServiceSimpleClient = domain.getService(HelloServiceSimpleClient.class, "HelloServiceSimpleClientWSComponent"); - performTestHashMap(helloServiceSimpleClient); - } - - /** - * Invokes the HelloServiceSimple service using WS binding. - * Service method invoked is getGreetingsVarArgs. - */ - @Test - public void testWSVarArgs() throws Exception { - HelloServiceSimpleClient helloServiceSimpleClient = domain.getService(HelloServiceSimpleClient.class, "HelloServiceSimpleClientWSComponent"); - performTestVarArgs(helloServiceSimpleClient); - } - - /** - * Invokes the HelloLocalServiceSimple service using SCA binding. - * Service method invoked is getGreetings. - */ - @Test - public void testSCALocal() throws Exception { - HelloServiceSimpleClient helloServiceSimpleClient = domain.getService(HelloServiceSimpleClient.class, "HelloLocalServiceSimpleClientSCAComponent"); - performTest(helloServiceSimpleClient); - } - - /** - * Invokes the HelloLocalServiceSimple service using SCA binding. - * Service method invoked is getGreetingsArray. - */ - @Test - public void testSCALocalArray() throws Exception { - HelloServiceSimpleClient helloServiceSimpleClient = domain.getService(HelloServiceSimpleClient.class, "HelloLocalServiceSimpleClientSCAComponent"); - performTestArray(helloServiceSimpleClient); - } - - /** - * Invokes the HelloLocalServiceSimple service using SCA binding. - * Service method invoked is getGreetingsList. - */ - @Test - public void testSCALocalList() throws Exception { - HelloServiceSimpleClient helloServiceSimpleClient = domain.getService(HelloServiceSimpleClient.class, "HelloLocalServiceSimpleClientSCAComponent"); - performTestList(helloServiceSimpleClient); - } - - /** - * Invokes the HelloLocalServiceSimple service using SCA binding. - * Service method invoked is getGreetingsArrayList. - */ - @Test - public void testSCALocalArrayList() throws Exception { - HelloServiceSimpleClient helloServiceSimpleClient = domain.getService(HelloServiceSimpleClient.class, "HelloLocalServiceSimpleClientSCAComponent"); - performTestArrayList(helloServiceSimpleClient); - } - - /** - * Invokes the HelloLocalServiceSimple service using SCA binding. - * Service method invoked is getGreetingsMap. - */ - @Test - public void testSCALocalMap() throws Exception { - HelloServiceSimpleClient helloServiceSimpleClient = domain.getService(HelloServiceSimpleClient.class, "HelloLocalServiceSimpleClientSCAComponent"); - performTestMap(helloServiceSimpleClient); - } - - /** - * Invokes the HelloLocalServiceSimple service using SCA binding. - * Service method invoked is getGreetingsHashMap. - */ - @Test - public void testSCALocalHashMap() throws Exception { - HelloServiceSimpleClient helloServiceSimpleClient = domain.getService(HelloServiceSimpleClient.class, "HelloLocalServiceSimpleClientSCAComponent"); - performTestHashMap(helloServiceSimpleClient); - } - - /** - * Invokes the HelloLocalServiceSimple service using SCA binding. - * Service method invoked is getGreetingsVarArgs. - */ - @Test - public void testSCALocalVarArgs() throws Exception { - HelloServiceSimpleClient helloServiceSimpleClient = domain.getService(HelloServiceSimpleClient.class, "HelloLocalServiceSimpleClientSCAComponent"); - performTestVarArgs(helloServiceSimpleClient); - } - - private void performTest(HelloServiceSimpleClient helloServiceSimpleClient) { - String name = "Pandu"; - String resp = helloServiceSimpleClient.getGreetingsForward(name); - Assert.assertEquals("Hello "+name, resp); - } - - private void performTestArray(HelloServiceSimpleClient helloServiceSimpleClient) { - String[] names = {"Me", "Pandu"}; - String[] resps = helloServiceSimpleClient.getGreetingsArrayForward(names); - for(int i = 0; i < names.length; ++i) { - Assert.assertEquals("Hello "+names[i], resps[i]); - } - } - - private void performTestList(HelloServiceSimpleClient helloServiceSimpleClient) { - List namesList = new ArrayList(); - namesList.add("Me"); - namesList.add("Pandu"); - namesList.add("Chinnipandu"); - List respList = helloServiceSimpleClient.getGreetingsListForward(namesList); - Assert.assertEquals(namesList.size(), respList.size()); - for(int i = 0; i < namesList.size(); ++i) { - Assert.assertEquals("Hello "+namesList.get(i), respList.get(i)); - } - } - - private void performTestArrayList(HelloServiceSimpleClient helloServiceSimpleClient) { - ArrayList namesList = new ArrayList(); - namesList.add("Me"); - namesList.add("Pandu"); - namesList.add("Chinnipandu"); - ArrayList respList = helloServiceSimpleClient.getGreetingsArrayListForward(namesList); - Assert.assertEquals(namesList.size(), respList.size()); - for(int i = 0; i < namesList.size(); ++i) { - Assert.assertEquals("Hello "+namesList.get(i), respList.get(i)); - } - } - - private void performTestMap(HelloServiceSimpleClient helloServiceSimpleClient) { - Map namesMap = new HashMap(); - namesMap.put("Me", null); - namesMap.put("Pandu", null); - namesMap.put("Chinnipandu", null); - Map respMap = helloServiceSimpleClient.getGreetingsMapForward(namesMap); - Assert.assertEquals(namesMap.keySet().size(), respMap.keySet().size()); - for(Map.Entry entry: namesMap.entrySet()) { - Assert.assertEquals("Hello "+entry.getKey(), respMap.get(entry.getKey())); - } - } - - private void performTestHashMap(HelloServiceSimpleClient helloServiceSimpleClient) { - HashMap namesMap = new HashMap(); - namesMap.put("Me", null); - namesMap.put("Pandu", null); - namesMap.put("Chinnipandu", null); - Map respMap = helloServiceSimpleClient.getGreetingsHashMapForward(namesMap); - Assert.assertEquals(namesMap.keySet().size(), respMap.keySet().size()); - for(Map.Entry entry: namesMap.entrySet()) { - Assert.assertEquals("Hello "+entry.getKey(), respMap.get(entry.getKey())); - } - } - - private void performTestVarArgs(HelloServiceSimpleClient helloServiceSimpleClient) { - String[] names = { "Me", "You", "Pandu" }; // Do not change the array size from 3. - String expected = "Hello Me You Pandu"; - String actual = helloServiceSimpleClient.getGreetingsVarArgsForward(names[0], names[1], names[2]); - Assert.assertEquals(expected, actual); - } -} diff --git a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/DocLitBareWsdlTestCase.java b/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/DocLitBareWsdlTestCase.java deleted file mode 100644 index 744bf20494..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/DocLitBareWsdlTestCase.java +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.itest.databindings.jaxb; - -import junit.framework.Assert; - -import org.apache.tuscany.sca.host.embedded.SCADomain; -import org.junit.AfterClass; -import org.junit.BeforeClass; -import org.junit.Test; - -/** - * @version $Rev$ $Date$ - */ -public class DocLitBareWsdlTestCase { - - private static SCADomain domain; - - /** - * Runs once before running the tests - */ - @BeforeClass - public static void setUp() throws Exception { - try { - domain = SCADomain.newInstance("doclitbarewsdl.composite"); - } catch (Throwable e) { - // @Ignore("TUSCANY-2398") - e.printStackTrace(); - } - } - - /** - * Runs once after running the tests - */ - @AfterClass - public static void tearDown() { - if (domain != null) { - domain.close(); - } - } - - // @Ignore("TUSCANY-2398") - @Test - public void testDocLitBareWsdl() throws Exception { - AClientService client = domain.getService(AClientService.class, "AClientComponent"); - String name = "Pandu"; - String resp = client.getGreetingsForward(name); - Assert.assertEquals("Hello " + name, resp); - } -} diff --git a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/GenericsDatabindingTestCase.java b/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/GenericsDatabindingTestCase.java deleted file mode 100644 index c22d00140e..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/GenericsDatabindingTestCase.java +++ /dev/null @@ -1,484 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.itest.databindings.jaxb; - -import junit.framework.Assert; - -import org.apache.tuscany.sca.host.embedded.SCADomain; -import org.apache.tuscany.sca.itest.databindings.jaxb.impl.GenericsTransformer; -import org.junit.AfterClass; -import org.junit.BeforeClass; -import org.junit.Test; - -/** - * Databinding tests for generics, parameterized and polymorphic types. - * - * @version $Rev$ $Date$ - */ -public class GenericsDatabindingTestCase { - private static SCADomain domain; - - /** - * Runs before each test method - */ - @BeforeClass - public static void setUp() throws Exception { - try { - domain = SCADomain.newInstance("generics-service.composite"); - } catch(Throwable e) { - e.printStackTrace(); - } - } - - /** - * Runs after each test method - */ - @AfterClass - public static void tearDown() { - domain.close(); - } - - /** - * Invokes the GenericsService service using SCA binding. - * Service method invoked is getTypeExplicit. - */ - @Test - public void testSCATypeExplicit() throws Exception { - GenericsServiceClient serviceClient = domain.getService(GenericsServiceClient.class, "GenericsServiceClientSCAComponent"); - performTestTypeExplicit(serviceClient); - } - - /** - * Invokes the GenericsService service using SCA binding. - * Service method invoked is getTypeUnbound. - */ - @Test - public void testSCATypeUnbound() throws Exception { - GenericsServiceClient serviceClient = domain.getService(GenericsServiceClient.class, "GenericsServiceClientSCAComponent"); - performTestTypeUnbound(serviceClient); - } - - /** - * Invokes the GenericsService service using SCA binding. - * Service method invoked is getTypeExtends. - */ - @Test - public void testSCATypeExtends() throws Exception { - GenericsServiceClient serviceClient = domain.getService(GenericsServiceClient.class, "GenericsServiceClientSCAComponent"); - performTestTypeExtends(serviceClient); - } - - /** - * Invokes the GenericsService service using SCA binding. - * Service method invoked is getRecursiveTypeBound. - */ - @Test - public void testSCARecursiveTypeBound() throws Exception { - GenericsServiceClient serviceClient = domain.getService(GenericsServiceClient.class, "GenericsServiceClientSCAComponent"); - performTestRecursiveTypeBound(serviceClient); - } - - /** - * Invokes the GenericsService service using SCA binding. - * Service method invoked is getWildcardUnbound. - */ - @Test - public void testSCAWildcardUnbound() throws Exception { - GenericsServiceClient serviceClient = domain.getService(GenericsServiceClient.class, "GenericsServiceClientSCAComponent"); - performTestWildcardUnbound(serviceClient); - } - - /** - * Invokes the GenericsService service using SCA binding. - * Service method invoked is getWildcardSuper. - */ - @Test - public void testSCAWildcardSuper() throws Exception { - GenericsServiceClient serviceClient = domain.getService(GenericsServiceClient.class, "GenericsServiceClientSCAComponent"); - performTestWildcardSuper(serviceClient); - } - - /** - * Invokes the GenericsService service using SCA binding. - * Service method invoked is getWildcardExtends. - */ - @Test - public void testSCAWildcardExtends() throws Exception { - GenericsServiceClient serviceClient = domain.getService(GenericsServiceClient.class, "GenericsServiceClientSCAComponent"); - performTestWildcardExtends(serviceClient); - } - - /** - * Invokes the GenericsService service using SCA binding. - * Service method invoked is getPolymorphic. - */ - @Test - public void testSCAPolymorphic() throws Exception { - GenericsServiceClient serviceClient = domain.getService(GenericsServiceClient.class, "GenericsServiceClientSCAComponent"); - performTestPolymorphic(serviceClient); - } - - /** - * Invokes the GenericsService service using WS binding. - * Service method invoked is getTypeExplicit. - */ - @Test - public void testWSTypeExplicit() throws Exception { - GenericsServiceClient serviceClient = domain.getService(GenericsServiceClient.class, "GenericsServiceClientWSComponent"); - performTestTypeExplicit(serviceClient); - } - - /** - * Invokes the GenericsService service using WS binding. - * Service method invoked is getTypeUnbound. - */ - @Test - public void testWSTypeUnbound() throws Exception { - GenericsServiceClient serviceClient = domain.getService(GenericsServiceClient.class, "GenericsServiceClientWSComponent"); - performTestTypeUnbound(serviceClient); - } - - /** - * Invokes the GenericsService service using WS binding. - * Service method invoked is getTypeExtends. - */ - @Test - public void testWSTypeExtends() throws Exception { - GenericsServiceClient serviceClient = domain.getService(GenericsServiceClient.class, "GenericsServiceClientWSComponent"); - performTestTypeExtends(serviceClient); - } - - /** - * Invokes the GenericsService service using WS binding. - * Service method invoked is getRecursiveTypeBound. - */ - @Test - public void testWSRecursiveTypeBound() throws Exception { - GenericsServiceClient serviceClient = domain.getService(GenericsServiceClient.class, "GenericsServiceClientWSComponent"); - performTestRecursiveTypeBound(serviceClient); - } - - /** - * Invokes the GenericsService service using WS binding. - * Service method invoked is getWildcardUnbound. - */ - @Test - public void testWSWildcardUnbound() throws Exception { - GenericsServiceClient serviceClient = domain.getService(GenericsServiceClient.class, "GenericsServiceClientWSComponent"); - performTestWildcardUnbound(serviceClient); - } - - /** - * Invokes the GenericsService service using WS binding. - * Service method invoked is getWildcardSuper. - */ - @Test - public void testWSWildcardSuper() throws Exception { - GenericsServiceClient serviceClient = domain.getService(GenericsServiceClient.class, "GenericsServiceClientWSComponent"); - performTestWildcardSuper(serviceClient); - } - - /** - * Invokes the GenericsService service using WS binding. - * Service method invoked is getWildcardExtends. - */ - @Test - public void testWSWildcardExtends() throws Exception { - GenericsServiceClient serviceClient = domain.getService(GenericsServiceClient.class, "GenericsServiceClientWSComponent"); - performTestWildcardExtends(serviceClient); - } - - /** - * Invokes the GenericsService service using WS binding. - * Service method invoked is getPolymorphic. - */ - @Test - public void testWSPolymorphic() throws Exception { - GenericsServiceClient serviceClient = domain.getService(GenericsServiceClient.class, "GenericsServiceClientWSComponent"); - performTestPolymorphic(serviceClient); - } - - /** - * Invokes the GenericsLocalService service using SCA binding. - * Service method invoked is getTypeExplicit. - */ - @Test - public void testSCALocalTypeExplicit() throws Exception { - GenericsServiceClient serviceClient = domain.getService(GenericsServiceClient.class, "GenericsLocalServiceClientSCAComponent"); - performTestTypeExplicit(serviceClient); - } - - /** - * Invokes the GenericsLocalService service using SCA binding. - * Service method invoked is getTypeUnbound. - */ - @Test - public void testSCALocalTypeUnbound() throws Exception { - GenericsServiceClient serviceClient = domain.getService(GenericsServiceClient.class, "GenericsLocalServiceClientSCAComponent"); - performTestTypeUnbound(serviceClient); - } - - /** - * Invokes the GenericsLocalService service using SCA binding. - * Service method invoked is getTypeExtends. - */ - @Test - public void testSCALocalTypeExtends() throws Exception { - GenericsServiceClient serviceClient = domain.getService(GenericsServiceClient.class, "GenericsLocalServiceClientSCAComponent"); - performTestTypeExtends(serviceClient); - } - - /** - * Invokes the GenericsLocalService service using SCA binding. - * Service method invoked is getRecursiveTypeBound. - */ - @Test - public void testSCALocalRecursiveTypeBound() throws Exception { - GenericsServiceClient serviceClient = domain.getService(GenericsServiceClient.class, "GenericsLocalServiceClientSCAComponent"); - performTestRecursiveTypeBound(serviceClient); - } - - /** - * Invokes the GenericsLocalService service using SCA binding. - * Service method invoked is getWildcardUnbound. - */ - @Test - public void testSCALocalWildcardUnbound() throws Exception { - GenericsServiceClient serviceClient = domain.getService(GenericsServiceClient.class, "GenericsLocalServiceClientSCAComponent"); - performTestWildcardUnbound(serviceClient); - } - - /** - * Invokes the GenericsLocalService service using SCA binding. - * Service method invoked is getWildcardSuper. - */ - @Test - public void testSCALocalWildcardSuper() throws Exception { - GenericsServiceClient serviceClient = domain.getService(GenericsServiceClient.class, "GenericsLocalServiceClientSCAComponent"); - performTestWildcardSuper(serviceClient); - } - - /** - * Invokes the GenericsLocalService service using SCA binding. - * Service method invoked is getWildcardExtends. - */ - @Test - public void testSCALocalWildcardExtends() throws Exception { - GenericsServiceClient serviceClient = domain.getService(GenericsServiceClient.class, "GenericsLocalServiceClientSCAComponent"); - performTestWildcardExtends(serviceClient); - } - - /** - * Invokes the GenericsLocalService service using SCA binding. - * Service method invoked is getPolymorphic. - */ - @Test - public void testSCALocalPolymorphic() throws Exception { - GenericsServiceClient serviceClient = domain.getService(GenericsServiceClient.class, "GenericsLocalServiceClientSCAComponent"); - performTestPolymorphic(serviceClient); - } - - private void performTestTypeExplicit(GenericsServiceClient serviceClient) { - Bean1 args[] = new Bean1[2]; - args[0] = new Bean1("Me"); - args[1] = new Bean1(); - for(int i = 0; i < args.length; ++i) { - Bean1 arg = args[i]; - Bean1 expected = GenericsTransformer.getTypeExplicit(arg); - Bean1 actual = serviceClient.getTypeExplicitForward(arg); - Assert.assertEquals(expected, actual); - } - } - - private void performTestTypeUnbound(GenericsServiceClient serviceClient) { - { // String - String[] args = { "Me", "You", "Him" }; - Bean1 expected = GenericsTransformer.getTypeUnbound(args); - Bean1 actual = serviceClient.getTypeUnboundForward(args); - // Assert.assertEquals(expected, actual); - } - { // Integer - Integer[] args = new Integer[3]; - args[0] = -10; - args[1] = 0; - args[2] = 10; - Bean1 expected = GenericsTransformer.getTypeUnbound(args); - Bean1 actual = serviceClient.getTypeUnboundForward(args); - // Assert.assertEquals(expected, actual); - } - { // Object - Object[] args = new Object[3]; - args[0] = "Me"; - args[1] = 10; - args[2] = "Him"; - Bean1 expected = GenericsTransformer.getTypeUnbound(args); - Bean1 actual = serviceClient.getTypeUnboundForward(args); - Assert.assertEquals(expected, actual); - } - } - - private void performTestTypeExtends(GenericsServiceClient serviceClient) { - { // Bean2 - Bean2[] args = new Bean2[3]; - for(int i = 0; i < args.length; ++i) { - args[i] = new Bean2(); - args[i].setName("Name"+i); - } - - Bean1 expected = GenericsTransformer.getTypeExtends(args); - Bean1 actual = serviceClient.getTypeExtendsForward(args); - Assert.assertEquals(expected, actual); - } - { // Bean3 extends Bean2 - Bean3[] args = new Bean3[3]; - for(int i = 0; i < args.length; ++i) { - args[i] = new Bean3(); - args[i].setName("Name"+i); - args[i].setAddress("Address"+i); - } - - Bean1 expected = GenericsTransformer.getTypeExtends(args); - Bean1 actual = serviceClient.getTypeExtendsForward(args); - // Assert.assertEquals(expected, actual); - } - { //Bean31 extends Bean2 - Bean31[] args = new Bean31[3]; - for(int i = 0; i < args.length; ++i) { - args[i] = new Bean31(); - args[i].setName("Name"+i); - args[i].setAddress("Address"+i); - } - - Bean1 expected = GenericsTransformer.getTypeExtends(args); - Bean1 actual = serviceClient.getTypeExtendsForward(args); - // Assert.assertEquals(expected, actual); - } - } - - private void performTestRecursiveTypeBound(GenericsServiceClient serviceClient) { - { // Bean1 - Bean1[] args = new Bean1[3]; - for(int i = 0; i < args.length; ++i) { - args[i] = new Bean1(); - args[i].setItem("Bean."+i); - } - Bean1> expected = GenericsTransformer.getRecursiveTypeBound(args); - Bean1> actual = serviceClient.getRecursiveTypeBoundForward(args); - Assert.assertEquals(expected, actual); - } - { // Bean10 extends Bean1 - Bean10[] args = new Bean10[3]; - for(int i = 0; i < args.length; ++i) { - args[i] = new Bean10(); - args[i].setItem("Bean10."+i); - } - Bean1 expected = GenericsTransformer.getRecursiveTypeBound(args); - Bean1 actual = serviceClient.getRecursiveTypeBoundForward(args); - // Assert.assertEquals(expected, actual); - } - { // Bean11 extends Bean1 - Bean11[] args = new Bean11[3]; - for(int i = 0; i < args.length; ++i) { - args[i] = new Bean11(); - args[i].setItem("Bean11."+i); - } - Bean1 expected = GenericsTransformer.getRecursiveTypeBound(args); - Bean1 actual = serviceClient.getRecursiveTypeBoundForward(args); - // Assert.assertEquals(expected, actual); - } - } - - private void performTestWildcardUnbound(GenericsServiceClient serviceClient) { - { - Bean1 arg = new Bean1("Me"); - Bean1 expected = GenericsTransformer.getWildcardUnbound(arg); - Bean1 actual = serviceClient.getWildcardUnboundForward(arg); - Assert.assertEquals(expected, actual); - } - { - Bean1 arg = new Bean1(1); - Bean1 expected = GenericsTransformer.getWildcardUnbound(arg); - Bean1 actual = serviceClient.getWildcardUnboundForward(arg); - Assert.assertEquals(expected, actual); - } - } - - private void performTestWildcardSuper(GenericsServiceClient serviceClient) { - Bean1 arg = new Bean1(); - Bean3 item = new Bean3(); - item.setName("Name"); - item.setAddress("Address"); - arg.setItem(item); - Bean1 expected = GenericsTransformer.getWildcardSuper(arg); - Bean1 actual = serviceClient.getWildcardSuperForward(arg); - Assert.assertEquals(expected, actual); - } - - private void performTestWildcardExtends(GenericsServiceClient serviceClient) { - { // Bean2 - Bean2 temp = new Bean2(); - temp.setName("Me"); - Bean1 arg = new Bean1(temp); - Bean1 expected = GenericsTransformer.getWildcardExtends(arg); - Bean1 actual = serviceClient.getWildcardExtendsForward(arg); - Assert.assertEquals(expected, actual); - } - { // Bean3 extends Bean2 - Bean3 temp = new Bean3(); - temp.setName("Me"); - temp.setAddress("My address"); - Bean1 arg = new Bean1(temp); - Bean1 expected = GenericsTransformer.getWildcardExtends(arg); - Bean1 actual = serviceClient.getWildcardExtendsForward(arg); - // The Bean3 will be unmarshalled into Bean2 - // Assert.assertEquals(expected, actual); - Assert.assertTrue(actual.getItem() instanceof Bean2); - } - { // Bean31 extends Bean2 - Bean31 temp = new Bean31(); - temp.setName("Me1"); - temp.setAddress("My address1"); - Bean1 arg = new Bean1(temp); - Bean1 expected = GenericsTransformer.getWildcardExtends(arg); - Bean1 actual = serviceClient.getWildcardExtendsForward(arg); - // The Bean31 will be unmarshalled into Bean2 - // Assert.assertEquals(expected, actual); - Assert.assertTrue(actual.getItem() instanceof Bean2); - } - } - - private void performTestPolymorphic(GenericsServiceClient serviceClient) { - { // Bean2 - Bean2 arg = new Bean2(); - arg.setName("Me"); - Bean2 expected = GenericsTransformer.getPolymorphic(arg); - Bean2 actual = serviceClient.getPolymorphicForward(arg); - Assert.assertEquals(expected, actual); - } - { // Bean3 extends Bean2 - Bean3 arg = new Bean3(); - arg.setName("Me"); - arg.setAddress("My address"); - Bean2 expected = GenericsTransformer.getPolymorphic(arg); - Bean2 actual = serviceClient.getPolymorphicForward(arg); - Assert.assertEquals(expected.getName(), actual.getName()); - } - } -} diff --git a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/PrimitivesDatabindingTestCase.java b/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/PrimitivesDatabindingTestCase.java deleted file mode 100644 index f8aaad3dac..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/PrimitivesDatabindingTestCase.java +++ /dev/null @@ -1,776 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.itest.databindings.jaxb; - -import junit.framework.Assert; - -import org.apache.tuscany.sca.host.embedded.SCADomain; -import org.junit.AfterClass; -import org.junit.BeforeClass; -import org.junit.Test; - -/** - * @version $Rev$ $Date$ - */ -public class PrimitivesDatabindingTestCase { - - private static SCADomain domain; - - /** - * Runs before each test method - */ - @BeforeClass - public static void setUp() throws Exception { - try { - domain = SCADomain.newInstance("primitivesservice.composite"); - } catch(Throwable e) { - e.printStackTrace(); - Assert.fail(); - } - } - - /** - * Runs after each test method - */ - @AfterClass - public static void tearDown() { - domain.close(); - } - - /** - * Invokes the PrimitivesService service using SCA binding. - * Service method invoked is negateBoolean. - */ - @Test - public void testSCANegateBoolean() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientSCAComponent"); - performTestNegateBoolean(primitivesServiceClient); - } - - /** - * Invokes the PrimitivesService service using SCA binding. - * Service method invoked is negateBooleanArray. - */ - @Test - public void testSCANegateBooleanArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientSCAComponent"); - performTestNegateBooleanArray(primitivesServiceClient); - } - - /** - * Test the pass-by-value semantics of a remotable service with SCA binding. - * Test for boolean array. - */ - @Test - public void testSCAPassByValueBooleanArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientSCAComponent"); - Assert.assertTrue(primitivesServiceClient.passByValueBooleanArray()); - } - - /** - * Invokes the PrimitivesService service using SCA binding. - * Service method invoked is negateByte. - */ - @Test - public void testSCANegateByte() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientSCAComponent"); - performTestNegateByte(primitivesServiceClient); - } - - /** - * Invokes the PrimitivesService service using SCA binding. - * Service method invoked is negateByteArray. - */ - @Test - public void testSCANegateByteArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientSCAComponent"); - performTestNegateByteArray(primitivesServiceClient); - } - - /** - * Test the pass-by-value semantics of a remotable service with SCA binding. - * Test for byte array. - */ - @Test - public void testSCAPassByValueByteArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientSCAComponent"); - Assert.assertTrue(primitivesServiceClient.passByValueByteArray()); - } - - /** - * Invokes the PrimitivesService service using SCA binding. - * Service method invoked is negateShort. - */ - @Test - public void testSCANegateShort() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientSCAComponent"); - performTestNegateShort(primitivesServiceClient); - } - - /** - * Invokes the PrimitivesService service using SCA binding. - * Service method invoked is negateShortArray. - */ - @Test - public void testSCANegateShortArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientSCAComponent"); - performTestNegateShortArray(primitivesServiceClient); - } - - /** - * Test the pass-by-value semantics of a remotable service with SCA binding. - * Test for short array. - */ - @Test - public void testSCAPassByValueShortArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientSCAComponent"); - Assert.assertTrue(primitivesServiceClient.passByValueShortArray()); - } - - /** - * Invokes the PrimitivesService service using SCA binding. - * Service method invoked is negateInt. - */ - @Test - public void testSCANegateInt() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientSCAComponent"); - performTestNegateInt(primitivesServiceClient); - } - - /** - * Invokes the PrimitivesService service using SCA binding. - * Service method invoked is negateIntArray. - */ - @Test - public void testSCANegateIntArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientSCAComponent"); - performTestNegateIntArray(primitivesServiceClient); - } - - /** - * Test the pass-by-value semantics of a remotable service with SCA binding. - * Test for int array. - */ - @Test - public void testSCAPassByValueIntArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientSCAComponent"); - Assert.assertTrue(primitivesServiceClient.passByValueIntArray()); - } - - /** - * Invokes the PrimitivesService service using SCA binding. - * Service method invoked is negateLong. - */ - @Test - public void testSCANegateLong() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientSCAComponent"); - performTestNegateLong(primitivesServiceClient); - } - - /** - * Invokes the PrimitivesService service using SCA binding. - * Service method invoked is negateLongArray. - */ - @Test - public void testSCANegateLongArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientSCAComponent"); - performTestNegateLongArray(primitivesServiceClient); - } - - /** - * Test the pass-by-value semantics of a remotable service with SCA binding. - * Test for long array. - */ - @Test - public void testSCAPassByValueLongArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientSCAComponent"); - Assert.assertTrue(primitivesServiceClient.passByValueLongArray()); - } - - /** - * Invokes the PrimitivesService service using SCA binding. - * Service method invoked is negateFloat. - */ - @Test - public void testSCANegateFloat() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientSCAComponent"); - performTestNegateFloat(primitivesServiceClient); - } - - /** - * Invokes the PrimitivesService service using SCA binding. - * Service method invoked is negateFloatArray. - */ - @Test - public void testSCANegateFloatArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientSCAComponent"); - performTestNegateFloatArray(primitivesServiceClient); - } - - /** - * Test the pass-by-value semantics of a remotable service with SCA binding. - * Test for float array. - */ - @Test - public void testSCAPassByValueFloatArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientSCAComponent"); - Assert.assertTrue(primitivesServiceClient.passByValueFloatArray()); - } - - /** - * Invokes the PrimitivesService service using SCA binding. - * Service method invoked is negateDouble. - */ - @Test - public void testSCANegateDouble() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientSCAComponent"); - performTestNegateDouble(primitivesServiceClient); - } - - /** - * Invokes the PrimitivesService service using SCA binding. - * Service method invoked is negateDoubleArray. - */ - @Test - public void testSCANegateDoubleArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientSCAComponent"); - performTestNegateDoubleArray(primitivesServiceClient); - } - - /** - * Test the pass-by-value semantics of a remotable service with SCA binding. - * Test for double array. - */ - @Test - public void testSCAPassByValueDoubleArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientSCAComponent"); - Assert.assertTrue(primitivesServiceClient.passByValueDoubleArray()); - } - - /** - * Invokes the PrimitivesService service using WS binding. - * Service method invoked is negateBoolean. - */ - @Test - public void testWSNegateBoolean() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientWSComponent"); - performTestNegateBoolean(primitivesServiceClient); - } - - /** - * Invokes the PrimitivesService service using WS binding. - * Service method invoked is negateBooleanArray. - */ - @Test - public void testWSNegateBooleanArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientWSComponent"); - performTestNegateBooleanArray(primitivesServiceClient); - } - - /** - * Test the pass-by-value semantics of a remotable service with WS binding. - * Test for boolean array. - */ - @Test - public void testWSPassByValueBooleanArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientWSComponent"); - Assert.assertTrue(primitivesServiceClient.passByValueBooleanArray()); - } - - /** - * Invokes the PrimitivesService service using WS binding. - * Service method invoked is negateByte. - */ - @Test - public void testWSNegateByte() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientWSComponent"); - performTestNegateByte(primitivesServiceClient); - } - - /** - * Invokes the PrimitivesService service using WS binding. - * Service method invoked is negateByteArray. - */ - @Test - public void testWSNegateByteArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientWSComponent"); - performTestNegateByteArray(primitivesServiceClient); - } - - /** - * Test the pass-by-value semantics of a remotable service with WS binding. - * Test for byte array. - */ - @Test - public void testWSPassByValueByteArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientWSComponent"); - Assert.assertTrue(primitivesServiceClient.passByValueByteArray()); - } - - /** - * Invokes the PrimitivesService service using WS binding. - * Service method invoked is negateShort. - */ - @Test - public void testWSNegateShort() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientWSComponent"); - performTestNegateShort(primitivesServiceClient); - } - - /** - * Invokes the PrimitivesService service using WS binding. - * Service method invoked is negateShortArray. - */ - @Test - public void testWSNegateShortArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientWSComponent"); - performTestNegateShortArray(primitivesServiceClient); - } - - /** - * Test the pass-by-value semantics of a remotable service with WS binding. - * Test for short array. - */ - @Test - public void testWSPassByValueShortArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientWSComponent"); - Assert.assertTrue(primitivesServiceClient.passByValueShortArray()); - } - - /** - * Invokes the PrimitivesService service using WS binding. - * Service method invoked is negateInt. - */ - @Test - public void testWSNegateInt() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientWSComponent"); - performTestNegateInt(primitivesServiceClient); - } - - /** - * Invokes the PrimitivesService service using WS binding. - * Service method invoked is negateIntArray. - */ - @Test - public void testWSNegateIntArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientWSComponent"); - performTestNegateIntArray(primitivesServiceClient); - } - - /** - * Test the pass-by-value semantics of a remotable service with WS binding. - * Test for int array. - */ - @Test - public void testWSPassByValueIntArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientWSComponent"); - Assert.assertTrue(primitivesServiceClient.passByValueIntArray()); - } - - /** - * Invokes the PrimitivesService service using WS binding. - * Service method invoked is negateLong. - */ - @Test - public void testWSNegateLong() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientWSComponent"); - performTestNegateLong(primitivesServiceClient); - } - - /** - * Invokes the PrimitivesService service using WS binding. - * Service method invoked is negateLongArray. - */ - @Test - public void testWSNegateLongArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientWSComponent"); - performTestNegateLongArray(primitivesServiceClient); - } - - /** - * Test the pass-by-value semantics of a remotable service with WS binding. - * Test for long array. - */ - @Test - public void testWSPassByValueLongArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientWSComponent"); - Assert.assertTrue(primitivesServiceClient.passByValueLongArray()); - } - - /** - * Invokes the PrimitivesService service using WS binding. - * Service method invoked is negateFloat. - */ - @Test - public void testWSNegateFloat() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientWSComponent"); - performTestNegateFloat(primitivesServiceClient); - } - - /** - * Invokes the PrimitivesService service using WS binding. - * Service method invoked is negateFloatArray. - */ - @Test - public void testWSNegateFloatArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientWSComponent"); - performTestNegateFloatArray(primitivesServiceClient); - } - - /** - * Test the pass-by-value semantics of a remotable service with WS binding. - * Test for float array. - */ - @Test - public void testWSPassByValueFloatArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientWSComponent"); - Assert.assertTrue(primitivesServiceClient.passByValueFloatArray()); - } - - /** - * Invokes the PrimitivesService service using WS binding. - * Service method invoked is negateDouble. - */ - @Test - public void testWSNegateDouble() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientWSComponent"); - performTestNegateDouble(primitivesServiceClient); - } - - /** - * Invokes the PrimitivesService service using WS binding. - * Service method invoked is negateDoubleArray. - */ - @Test - public void testWSNegateDoubleArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientWSComponent"); - performTestNegateDoubleArray(primitivesServiceClient); - } - - /** - * Test the pass-by-value semantics of a remotable service with WS binding. - * Test for double array. - */ - @Test - public void testWSPassByValueDoubleArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientWSComponent"); - Assert.assertTrue(primitivesServiceClient.passByValueDoubleArray()); - } - - /** - * Invokes the PrimitivesLocalService service using SCA binding. - * Service method invoked is negateBoolean. - */ - @Test - public void testSCALocalNegateBoolean() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesLocalServiceClientSCAComponent"); - performTestNegateBoolean(primitivesServiceClient); - } - - /** - * Invokes the PrimitivesLocalService service using SCA binding. - * Service method invoked is negateBooleanArray. - */ - @Test - public void testSCALocalNegateBooleanArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesLocalServiceClientSCAComponent"); - performTestNegateBooleanArray(primitivesServiceClient); - } - - /** - * Invokes the PrimitivesLocalService service using SCA binding. - * Service method invoked is negateByte. - */ - @Test - public void testSCALocalNegateByte() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesLocalServiceClientSCAComponent"); - performTestNegateByte(primitivesServiceClient); - } - - /** - * Invokes the PrimitivesLocalService service using SCA binding. - * Service method invoked is negateByteArray. - */ - @Test - public void testSCALocalNegateByteArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesLocalServiceClientSCAComponent"); - performTestNegateByteArray(primitivesServiceClient); - } - - /** - * Invokes the PrimitivesLocalService service using SCA binding. - * Service method invoked is negateShort. - */ - @Test - public void testSCALocalNegateShort() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesLocalServiceClientSCAComponent"); - performTestNegateShort(primitivesServiceClient); - } - - /** - * Invokes the PrimitivesLocalService service using SCA binding. - * Service method invoked is negateShortArray. - */ - @Test - public void testSCALocalNegateShortArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesLocalServiceClientSCAComponent"); - performTestNegateShortArray(primitivesServiceClient); - } - - /** - * Invokes the PrimitivesLocalService service using SCA binding. - * Service method invoked is negateInt. - */ - @Test - public void testSCALocalNegateInt() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesLocalServiceClientSCAComponent"); - performTestNegateInt(primitivesServiceClient); - } - - /** - * Invokes the PrimitivesLocalService service using SCA binding. - * Service method invoked is negateIntArray. - */ - @Test - public void testSCALocalNegateIntArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesLocalServiceClientSCAComponent"); - performTestNegateIntArray(primitivesServiceClient); - } - - /** - * Invokes the PrimitivesLocalService service using SCA binding. - * Service method invoked is negateLong. - */ - @Test - public void testSCALocalNegateLong() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesLocalServiceClientSCAComponent"); - performTestNegateLong(primitivesServiceClient); - } - - /** - * Invokes the PrimitivesLocalService service using SCA binding. - * Service method invoked is negateLongArray. - */ - @Test - public void testSCALocalNegateLongArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesLocalServiceClientSCAComponent"); - performTestNegateLongArray(primitivesServiceClient); - } - - /** - * Invokes the PrimitivesLocalService service using SCA binding. - * Service method invoked is negateFloat. - */ - @Test - public void testSCALocalNegateFloat() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesLocalServiceClientSCAComponent"); - performTestNegateFloat(primitivesServiceClient); - } - - /** - * Invokes the PrimitivesService service using SCA binding. - * Service method invoked is negateFloatArray. - */ - @Test - public void testSCALocalNegateFloatArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesLocalServiceClientSCAComponent"); - performTestNegateFloatArray(primitivesServiceClient); - } - - /** - * Invokes the PrimitivesLocalService service using SCA binding. - * Service method invoked is negateDouble. - */ - @Test - public void testSCALocalNegateDouble() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesLocalServiceClientSCAComponent"); - performTestNegateDouble(primitivesServiceClient); - } - - /** - * Invokes the PrimitivesLocalService service using SCA binding. - * Service method invoked is negateDoubleArray. - */ - @Test - public void testSCALocalNegateDoubleArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesLocalServiceClientSCAComponent"); - performTestNegateDoubleArray(primitivesServiceClient); - } - - private void performTestNegateBoolean(PrimitivesServiceClient primitivesServiceClient) { - Assert.assertTrue(primitivesServiceClient.negateBooleanForward(false)); - Assert.assertFalse(primitivesServiceClient.negateBooleanForward(true)); - } - - private void performTestNegateBooleanArray(PrimitivesServiceClient primitivesServiceClient) { - boolean flags[] = new boolean[2]; - flags[0] = false; - flags[1] = true; - boolean[] respFlags = primitivesServiceClient.negateBooleanArrayForward(flags); - Assert.assertEquals(flags.length, respFlags.length); - for(int i = 0; i < flags.length; ++i) { - Assert.assertEquals(!flags[i], respFlags[i]); - } - } - - private void performTestNegateByte(PrimitivesServiceClient primitivesServiceClient) { - byte[] ba = new byte[3]; - ba[0] = -1; - ba[1] = 0; - ba[2] = 1; - - for(int i = 0; i < ba.length; ++i) { - Assert.assertEquals((byte)-ba[i], primitivesServiceClient.negateByteForward(ba[i])); - } - } - - private void performTestNegateByteArray(PrimitivesServiceClient primitivesServiceClient) { - byte[] ba = new byte[3]; - ba[0] = -1; - ba[1] = 0; - ba[2] = 1; - - byte[] r = primitivesServiceClient.negateByteArrayForward(ba); - Assert.assertEquals(ba.length, r.length); - for(int i = 0; i < ba.length; ++i) { - Assert.assertEquals((byte)-ba[i], r[i]); - } - } - - private void performTestNegateShort(PrimitivesServiceClient primitivesServiceClient) { - short[] s = new short[3]; - s[0] = -1; - s[1] = 0; - s[2] = 1; - - for(int i = 0; i < s.length; ++i) { - Assert.assertEquals((short)-s[i], primitivesServiceClient.negateShortForward(s[i])); - } - } - - private void performTestNegateShortArray(PrimitivesServiceClient primitivesServiceClient) { - short[] s = new short[3]; - s[0] = -1; - s[1] = 0; - s[2] = 1; - - short[] r = primitivesServiceClient.negateShortArrayForward(s); - Assert.assertEquals(s.length, r.length); - for(int i = 0; i < s.length; ++i) { - Assert.assertEquals((short)-s[i], r[i]); - } - } - - private void performTestNegateInt(PrimitivesServiceClient primitivesServiceClient) { - int[] ia = new int[3]; - ia[0] = -1; - ia[1] = 0; - ia[2] = 1; - - for(int i = 0; i < ia.length; ++i) { - Assert.assertEquals(-ia[i], primitivesServiceClient.negateIntForward(ia[i])); - } - } - - private void performTestNegateIntArray(PrimitivesServiceClient primitivesServiceClient) { - int[] ia = new int[3]; - ia[0] = -1; - ia[1] = 0; - ia[2] = 1; - - int[] r = primitivesServiceClient.negateIntArrayForward(ia); - Assert.assertEquals(ia.length, r.length); - for(int i = 0; i < ia.length; ++i) { - Assert.assertEquals(-ia[i], r[i]); - } - } - - private void performTestNegateLong(PrimitivesServiceClient primitivesServiceClient) { - long[] la = new long[3]; - la[0] = -1; - la[1] = 0; - la[2] = 1; - - for(int i = 0; i < la.length; ++i) { - Assert.assertEquals(-la[i], primitivesServiceClient.negateLongForward(la[i])); - } - } - - private void performTestNegateLongArray(PrimitivesServiceClient primitivesServiceClient) { - long[] la = new long[3]; - la[0] = -1; - la[1] = 0; - la[2] = 1; - - long[] r = primitivesServiceClient.negateLongArrayForward(la); - Assert.assertEquals(la.length, r.length); - for(int i = 0; i < la.length; ++i) { - Assert.assertEquals(-la[i], r[i]); - } - } - - private void performTestNegateFloat(PrimitivesServiceClient primitivesServiceClient) { - float[] fa = new float[3]; - fa[0] = -1; - fa[1] = 0; - fa[2] = 1; - - for(int i = 0; i < fa.length; ++i) { - Assert.assertEquals(-fa[i], primitivesServiceClient.negateFloatForward(fa[i])); - } - } - - private void performTestNegateFloatArray(PrimitivesServiceClient primitivesServiceClient) { - float[] ia = new float[3]; - ia[0] = -1; - ia[1] = 0; - ia[2] = 1; - - float[] r = primitivesServiceClient.negateFloatArrayForward(ia); - Assert.assertEquals(ia.length, r.length); - for(int i = 0; i < ia.length; ++i) { - Assert.assertEquals(-ia[i], r[i]); - } - } - - private void performTestNegateDouble(PrimitivesServiceClient primitivesServiceClient) { - double[] da = new double[3]; - da[0] = -1; - da[1] = 0; - da[2] = 1; - - for(int i = 0; i < da.length; ++i) { - Assert.assertEquals(-da[i], primitivesServiceClient.negateDoubleForward(da[i])); - } - } - - private void performTestNegateDoubleArray(PrimitivesServiceClient primitivesServiceClient) { - double[] da = new double[3]; - da[0] = -1; - da[1] = 0; - da[2] = 1; - - double[] r = primitivesServiceClient.negateDoubleArrayForward(da); - Assert.assertEquals(da.length, r.length); - for(int i = 0; i < da.length; ++i) { - Assert.assertEquals(-da[i], r[i]); - } - } -} diff --git a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/StandardTypesDatabindingTestCase.java b/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/StandardTypesDatabindingTestCase.java deleted file mode 100644 index 2d023ab448..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-bottom-up/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/StandardTypesDatabindingTestCase.java +++ /dev/null @@ -1,1438 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.itest.databindings.jaxb; - -import java.awt.Image; -import java.awt.image.BufferedImage; -import java.awt.image.PixelGrabber; -import java.io.IOException; -import java.io.InputStream; -import java.io.StringReader; -import java.io.StringWriter; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.net.URI; -import java.util.Calendar; -import java.util.Date; -import java.util.GregorianCalendar; -import java.util.TimeZone; -import java.util.UUID; - -import javax.activation.DataHandler; -import javax.xml.datatype.DatatypeConfigurationException; -import javax.xml.datatype.DatatypeFactory; -import javax.xml.datatype.Duration; -import javax.xml.datatype.XMLGregorianCalendar; -import javax.xml.namespace.QName; -import javax.xml.transform.Result; -import javax.xml.transform.Source; -import javax.xml.transform.TransformerFactory; -import javax.xml.transform.dom.DOMSource; -import javax.xml.transform.sax.SAXSource; -import javax.xml.transform.stream.StreamResult; -import javax.xml.transform.stream.StreamSource; - -import junit.framework.Assert; - -import org.apache.axiom.attachments.ByteArrayDataSource; -import org.apache.tuscany.sca.databinding.xml.String2Node; -import org.apache.tuscany.sca.host.embedded.SCADomain; -import org.apache.tuscany.sca.itest.databindings.jaxb.impl.StandardTypesTransformer; -import org.junit.AfterClass; -import org.junit.BeforeClass; -import org.junit.Ignore; -import org.junit.Test; -import org.xml.sax.InputSource; - -/** - * @version $Rev$ $Date$ - */ -public class StandardTypesDatabindingTestCase { - - private static SCADomain domain; - - /** - * Runs before each test method - */ - @BeforeClass - public static void setUp() throws Exception { - try { - domain = SCADomain.newInstance("standard-types-service.composite"); - } catch (Throwable e) { - e.printStackTrace(); - } - } - - /** - * Runs after each test method - */ - @AfterClass - public static void tearDown() { - domain.close(); - } - - /** - * Invokes the StandardTypesService service using SCA binding. - * Service method invoked is getNewBigInteger. - */ - @Test - public void testSCANewBigInteger() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientSCAComponent"); - performTestNewBigInteger(serviceClient); - } - - /** - * Invokes the StandardTypesService service using SCA binding. - * Service method invoked is getNewBigIntegerArray. - */ - @Test - public void testSCANewBigIntegerArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientSCAComponent"); - performTestNewBigIntegerArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using SCA binding. - * Service method invoked is getNewBigDecimal. - */ - @Test - public void testSCANewBigDecimal() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientSCAComponent"); - performTestNewBigDecimal(serviceClient); - } - - /** - * Invokes the StandardTypesService service using SCA binding. - * Service method invoked is getNewBigDecimalArray. - */ - @Test - public void testSCANewBigDecimalArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientSCAComponent"); - performTestNewBigDecimalArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using SCA binding. - * Service method invoked is getNewCalendar. - */ - @Test - public void testSCANewCalendar() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientSCAComponent"); - performTestNewCalendar(serviceClient); - } - - /** - * Invokes the StandardTypesService service using SCA binding. - * Service method invoked is getNewCalendarArray. - */ - @Test - public void testSCANewCalendarArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientSCAComponent"); - performTestNewCalendarArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using SCA binding. - * Service method invoked is getNewDate. - */ - @Test - public void testSCANewDate() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientSCAComponent"); - performTestNewDate(serviceClient); - } - - /** - * Invokes the StandardTypesService service using SCA binding. - * Service method invoked is getNewDateArray. - */ - @Test - public void testSCANewDateArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientSCAComponent"); - performTestNewDateArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using SCA binding. - * Service method invoked is getNewQName. - */ - @Test - public void testSCANewQName() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientSCAComponent"); - performTestNewQName(serviceClient); - } - - /** - * Invokes the StandardTypesService service using SCA binding. - * Service method invoked is getNewQNameArray. - */ - @Test - public void testSCANewQNameArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientSCAComponent"); - performTestNewQNameArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using SCA binding. - * Service method invoked is getNewURI. - */ - @Test - public void testSCANewURI() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientSCAComponent"); - performTestNewURI(serviceClient); - } - - /** - * Invokes the StandardTypesService service using SCA binding. - * Service method invoked is getNewURIArray. - */ - @Test - public void testSCANewURIArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientSCAComponent"); - performTestNewURIArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using SCA binding. - * Service method invoked is getNewXMLGregorianCalendar. - */ - @Test - public void testSCANewXMLGregorianCalendar() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientSCAComponent"); - performTestNewXMLGregorianCalendar(serviceClient); - } - - /** - * Invokes the StandardTypesService service using SCA binding. - * Service method invoked is getNewXMLGregorianCalendarArray. - */ - @Test - public void testSCANewXMLGregorianCalendarArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientSCAComponent"); - performTestNewXMLGregorianCalendarArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using SCA binding. - * Service method invoked is getNewDuration. - */ - @Test - public void testSCANewDuration() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientSCAComponent"); - performTestNewDuration(serviceClient); - } - - /** - * Invokes the StandardTypesService service using SCA binding. - * Service method invoked is getNewDurationArray. - */ - @Test - public void testSCANewDurationArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientSCAComponent"); - performTestNewDurationArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using SCA binding. - * Service method invoked is getNewObject. - */ - @Test - public void testSCANewObject() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientSCAComponent"); - performTestNewObject(serviceClient); - } - - /** - * Invokes the StandardTypesService service using SCA binding. - * Service method invoked is getNewObjectArray. - */ - @Test - public void testSCANewObjectArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientSCAComponent"); - performTestNewObjectArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using SCA binding. - * Service method invoked is getNewImage. - */ - @Test - public void testSCANewImage() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientSCAComponent"); - performTestNewImage(serviceClient); - } - - /** - * Invokes the StandardTypesService service using SCA binding. - * Service method invoked is getNewImageArray. - */ - @Test - public void testSCANewImageArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientSCAComponent"); - performTestNewImageArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using SCA binding. - * Service method invoked is getNewDataHandler. - */ - @Test - public void testSCANewDataHandler() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientSCAComponent"); - performTestNewDataHandler(serviceClient); - } - - /** - * Invokes the StandardTypesService service using SCA binding. - * Service method invoked is getNewDataHandlerArray. - */ - @Test - public void testSCANewDataHandlerArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientSCAComponent"); - performTestNewDataHandlerArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using SCA binding. - * Service method invoked is getNewSource. - */ - @Test - public void testSCANewSource() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientSCAComponent"); - performTestNewSource(serviceClient); - } - - /** - * Invokes the StandardTypesService service using SCA binding. - * Service method invoked is getNewSourceArray. - */ - @Test - @Ignore("TUSCANY-2387") - public void testSCANewSourceArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientSCAComponent"); - performTestNewSourceArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using SCA binding. - * Service method invoked is getNewUUID. - */ - @Test - public void testSCANewUUID() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientSCAComponent"); - performTestNewUUID(serviceClient); - } - - /** - * Invokes the StandardTypesService service using SCA binding. - * Service method invoked is getNewUUIDArray. - */ - @Test - public void testSCANewUUIDArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientSCAComponent"); - performTestNewUUIDArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewBigInteger. - */ - @Test - public void testWSNewBigInteger() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientWSComponent"); - performTestNewBigInteger(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewBigIntegerArray. - */ - @Test - public void testWSNewBigIntegerArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientWSComponent"); - performTestNewBigIntegerArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewBigDecimal. - */ - @Test - public void testWSNewBigDecimal() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientWSComponent"); - performTestNewBigDecimal(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewBigDecimalArray. - */ - @Test - public void testWSNewBigDecimalArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientWSComponent"); - performTestNewBigDecimalArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewCalendar. - */ - @Test - public void testWSNewCalendar() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientWSComponent"); - performTestNewCalendar(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewCalendarArray. - */ - @Test - public void testWSNewCalendarArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientWSComponent"); - performTestNewCalendarArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewDate. - */ - @Test - public void testWSNewDate() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientWSComponent"); - performTestNewDate(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewDateArray. - */ - @Test - public void testWSNewDateArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientWSComponent"); - performTestNewDateArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewQName. - */ - @Test - public void testWSNewQName() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientWSComponent"); - performTestNewQName(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewQNameArray. - */ - @Test - public void testWSNewQNameArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientWSComponent"); - performTestNewQNameArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewURI. - */ - @Test - public void testWSNewURI() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientWSComponent"); - performTestNewURI(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewURIArray. - */ - @Test - public void testWSNewURIArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientWSComponent"); - performTestNewURIArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewXMLGregorianCalendar. - */ - @Test - public void testWSNewXMLGregorianCalendar() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientWSComponent"); - performTestNewXMLGregorianCalendar(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewXMLGregorianCalendarArray. - */ - @Test - public void testWSNewXMLGregorianCalendarArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientWSComponent"); - performTestNewXMLGregorianCalendarArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewDuration. - */ - @Test - public void testWSNewDuration() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientWSComponent"); - performTestNewDuration(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewDurationArray. - */ - @Test - public void testWSNewDurationArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientWSComponent"); - performTestNewDurationArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewObject. - */ - @Test - public void testWSNewObject() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientWSComponent"); - performTestNewObject(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewObjectArray. - */ - @Test - public void testWSNewObjectArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientWSComponent"); - performTestNewObjectArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewImage. - */ - @Test - public void testWSNewImage() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientWSComponent"); - performTestNewImage(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewImageArray. - */ - @Test - public void testWSNewImageArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientWSComponent"); - performTestNewImageArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewDataHandler. - */ - @Test - public void testWSNewDataHandler() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientWSComponent"); - performTestNewDataHandler(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewDataHandlerArray. - */ - @Test - public void testWSNewDataHandlerArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientWSComponent"); - performTestNewDataHandlerArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewSource. - */ - @Test - // @Ignore("junit.framework.ComparisonFailure: null expected:<... encoding=\"UTF-8\"?><[a>A> but was:<... encoding=\"UTF-8\"?><[return xmlns=\"http://jaxb.databindings.itest.sca.tuscany.apache.org/\">A>") - public void testWSNewSource() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientWSComponent"); - performTestNewSource(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewSourceArray. - */ - @Test - @Ignore("TUSCANY-2386") - public void testWSNewSourceArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientWSComponent"); - performTestNewSourceArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewUUID. - */ - @Test - public void testWSNewUUID() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientWSComponent"); - performTestNewUUID(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewUUIDArray. - */ - @Test - public void testWSNewUUIDArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientWSComponent"); - performTestNewUUIDArray(serviceClient); - } - - /** - * Invokes the StandardTypesLocalService service using SCA binding. - * Service method invoked is getNewBigInteger. - */ - @Test - public void testSCALocalNewBigInteger() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesLocalServiceClientSCAComponent"); - performTestNewBigInteger(serviceClient); - } - - /** - * Invokes the StandardTypesLocalService service using SCA binding. - * Service method invoked is getNewBigIntegerArray. - */ - @Test - public void testSCALocalNewBigIntegerArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesLocalServiceClientSCAComponent"); - performTestNewBigIntegerArray(serviceClient); - } - - /** - * Invokes the StandardTypesLocalService service using SCA binding. - * Service method invoked is getNewBigDecimal. - */ - @Test - public void testSCALocalNewBigDecimal() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesLocalServiceClientSCAComponent"); - performTestNewBigDecimal(serviceClient); - } - - /** - * Invokes the StandardTypesLocalService service using SCA binding. - * Service method invoked is getNewBigDecimalArray. - */ - @Test - public void testSCALocalNewBigDecimalArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesLocalServiceClientSCAComponent"); - performTestNewBigDecimalArray(serviceClient); - } - - /** - * Invokes the StandardTypesLocalService service using SCA binding. - * Service method invoked is getNewCalendar. - */ - @Test - public void testSCALocalNewCalendar() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesLocalServiceClientSCAComponent"); - performTestNewCalendar(serviceClient); - } - - /** - * Invokes the StandardTypesLocalService service using SCA binding. - * Service method invoked is getNewCalendarArray. - */ - @Test - public void testSCALocalNewCalendarArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesLocalServiceClientSCAComponent"); - performTestNewCalendarArray(serviceClient); - } - - /** - * Invokes the StandardTypesLocalService service using SCA binding. - * Service method invoked is getNewDate. - */ - @Test - public void testSCALocalNewDate() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesLocalServiceClientSCAComponent"); - performTestNewDate(serviceClient); - } - - /** - * Invokes the StandardTypesLocalService service using SCA binding. - * Service method invoked is getNewDateArray. - */ - @Test - public void testSCALocalNewDateArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesLocalServiceClientSCAComponent"); - performTestNewDateArray(serviceClient); - } - - /** - * Invokes the StandardTypesLocalService service using SCA binding. - * Service method invoked is getNewQName. - */ - @Test - public void testSCALocalNewQName() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesLocalServiceClientSCAComponent"); - performTestNewQName(serviceClient); - } - - /** - * Invokes the StandardTypesLocalService service using SCA binding. - * Service method invoked is getNewQNameArray. - */ - @Test - public void testSCALocalNewQNameArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesLocalServiceClientSCAComponent"); - performTestNewQNameArray(serviceClient); - } - - /** - * Invokes the StandardTypesLocalService service using SCA binding. - * Service method invoked is getNewURI. - */ - @Test - public void testSCALocalNewURI() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesLocalServiceClientSCAComponent"); - performTestNewURI(serviceClient); - } - - /** - * Invokes the StandardTypesLocalService service using SCA binding. - * Service method invoked is getNewURIArray. - */ - @Test - public void testSCALocalNewURIArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesLocalServiceClientSCAComponent"); - performTestNewURIArray(serviceClient); - } - - /** - * Invokes the StandardTypesLocalService service using SCA binding. - * Service method invoked is getNewXMLGregorianCalendar. - */ - @Test - public void testSCALocalNewXMLGregorianCalendar() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesLocalServiceClientSCAComponent"); - performTestNewXMLGregorianCalendar(serviceClient); - } - - /** - * Invokes the StandardTypesLocalService service using SCA binding. - * Service method invoked is getNewXMLGregorianCalendarArray. - */ - @Test - public void testSCALocalNewXMLGregorianCalendarArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesLocalServiceClientSCAComponent"); - performTestNewXMLGregorianCalendarArray(serviceClient); - } - - /** - * Invokes the StandardTypesLocalService service using SCA binding. - * Service method invoked is getNewDuration. - */ - @Test - public void testSCALocalNewDuration() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesLocalServiceClientSCAComponent"); - performTestNewDuration(serviceClient); - } - - /** - * Invokes the StandardTypesLocalService service using SCA binding. - * Service method invoked is getNewDurationArray. - */ - @Test - public void testSCALocalNewDurationArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesLocalServiceClientSCAComponent"); - performTestNewDurationArray(serviceClient); - } - - /** - * Invokes the StandardTypesLocalService service using SCA binding. - * Service method invoked is getNewObject. - */ - @Test - public void testSCALocalNewObject() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesLocalServiceClientSCAComponent"); - performTestNewObject(serviceClient); - } - - /** - * Invokes the StandardTypesLocalService service using SCA binding. - * Service method invoked is getNewObjectArray. - */ - @Test - public void testSCALocalNewObjectArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesLocalServiceClientSCAComponent"); - performTestNewObjectArray(serviceClient); - } - - /** - * Invokes the StandardTypesLocalService service using SCA binding. - * Service method invoked is getNewImage. - */ - @Test - public void testSCALocalNewImage() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesLocalServiceClientSCAComponent"); - performTestNewImage(serviceClient); - } - - /** - * Invokes the StandardTypesLocalService service using SCA binding. - * Service method invoked is getNewImageArray. - */ - @Test - public void testSCALocalNewImageArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesLocalServiceClientSCAComponent"); - performTestNewImageArray(serviceClient); - } - - /** - * Invokes the StandardTypesLocalLocalService service using SCA binding. - * Service method invoked is getNewDataHandler. - */ - @Test - public void testSCALocalNewDataHandler() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesLocalServiceClientSCAComponent"); - performTestNewDataHandler(serviceClient); - } - - /** - * Invokes the StandardTypesLocalService service using SCA binding. - * Service method invoked is getNewDataHandlerArray. - */ - @Test - public void testSCALocalNewDataHandlerArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesLocalServiceClientSCAComponent"); - performTestNewDataHandlerArray(serviceClient); - } - - /** - * Invokes the StandardTypesLocalService service using SCA binding. - * Service method invoked is getNewSource. - */ - @Test - public void testSCALocalNewSource() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesLocalServiceClientSCAComponent"); - performTestNewSource(serviceClient); - } - - /** - * Invokes the StandardTypesLocalService service using SCA binding. - * Service method invoked is getNewSourceArray. - */ - @Test - public void testSCALocalNewSourceArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesLocalServiceClientSCAComponent"); - performTestNewSourceArray(serviceClient); - } - - /** - * Invokes the StandardTypesLocalService service using SCA binding. - * Service method invoked is getNewUUID. - */ - @Test - public void testSCALocalNewUUID() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesLocalServiceClientSCAComponent"); - performTestNewUUID(serviceClient); - } - - /** - * Invokes the StandardTypesLocalService service using SCA binding. - * Service method invoked is getNewUUIDArray. - */ - @Test - public void testSCALocalNewUUIDArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesLocalServiceClientSCAComponent"); - performTestNewUUIDArray(serviceClient); - } - - private void performTestNewBigInteger(StandardTypesServiceClient serviceClient) { - BigInteger bi = new BigInteger("1234567890123456789012345678901234"); - BigInteger expected = bi.negate(); - BigInteger actual = serviceClient.getNewBigIntegerForward(bi); - Assert.assertEquals(expected, actual); - } - - private void performTestNewBigIntegerArray(StandardTypesServiceClient serviceClient) { - BigInteger[] bia = new BigInteger[2]; - bia[0] = new BigInteger("1234567890123456789012345678901234"); - bia[1] = new BigInteger("-98765432109876543210987654321"); - BigInteger[] actual = serviceClient.getNewBigIntegerArrayForward(bia); - Assert.assertEquals(bia.length, actual.length); - for (int i = 0; i < bia.length; ++i) { - Assert.assertEquals(bia[i].negate(), actual[i]); - } - } - - private void performTestNewBigDecimal(StandardTypesServiceClient serviceClient) { - BigDecimal bd = new BigDecimal("12345678901234567890.12345678901234"); - BigDecimal expected = bd.negate(); - BigDecimal actual = serviceClient.getNewBigDecimalForward(bd); - Assert.assertEquals(expected, actual); - } - - private void performTestNewBigDecimalArray(StandardTypesServiceClient serviceClient) { - BigDecimal[] bda = new BigDecimal[2]; - bda[0] = new BigDecimal("1234567890123456.789012345678901234"); - bda[1] = new BigDecimal("-987654321098765.43210987654321"); - BigDecimal[] actual = serviceClient.getNewBigDecimalArrayForward(bda); - Assert.assertEquals(bda.length, actual.length); - for (int i = 0; i < bda.length; ++i) { - Assert.assertEquals(bda[i].negate(), actual[i]); - } - } - - private void performTestNewCalendar(StandardTypesServiceClient serviceClient) { - Calendar[] ca = new Calendar[3]; - String[] tz = {"GMT+05:30", "GMT+00:00", "GMT-05:00"}; - for (int i = 0; i < ca.length; ++i) { - ca[i] = Calendar.getInstance(TimeZone.getTimeZone(tz[i])); - ca[i].set(Calendar.DAY_OF_MONTH, i + 1); - } - for (int i = 0; i < ca.length; ++i) { - Calendar actual = serviceClient.getNewCalendarForward(ca[i]); - ca[i].add(Calendar.DAY_OF_MONTH, 5); - if (actual instanceof GregorianCalendar && ca[i] instanceof GregorianCalendar) { - // FIXME: Is this a problem? - // The instance returned by service method invoked over binding.ws seems to have a gregorianCutover - // different from the instance passed. Adjust the gregorianCutover as per the input instance. - ((GregorianCalendar)actual).setGregorianChange(((GregorianCalendar)ca[i]).getGregorianChange()); - } - Assert.assertEquals(ca[i], actual); - } - } - - private void performTestNewCalendarArray(StandardTypesServiceClient serviceClient) { - Calendar[] ca = new Calendar[3]; - String[] tz = {"GMT+05:30", "GMT+00:00", "GMT-05:00"}; - for (int i = 0; i < ca.length; ++i) { - ca[i] = Calendar.getInstance(TimeZone.getTimeZone(tz[i])); - ca[i].set(Calendar.DAY_OF_MONTH, i + 1); - } - Calendar[] actual = serviceClient.getNewCalendarArrayForward(ca); - Assert.assertEquals(ca.length, actual.length); - for (int i = 0; i < ca.length; ++i) { - ca[i].add(Calendar.DAY_OF_MONTH, 5); - if (actual[i] instanceof GregorianCalendar && ca[i] instanceof GregorianCalendar) { - // FIXME: Is this a problem? - // The instance returned by service method invoked over binding.ws seems to have a gregorianCutover - // different from the instance passed. Adjust the gregorianCutover as per the input instance. - ((GregorianCalendar)actual[i]).setGregorianChange(((GregorianCalendar)ca[i]).getGregorianChange()); - } - Assert.assertEquals(ca[i], actual[i]); - } - } - - private void performTestNewDate(StandardTypesServiceClient serviceClient) { - Date d = new Date(); - Date expected = new Date(d.getTime() + 5 * 24 * 60 * 60 * 1000); - Date actual = serviceClient.getNewDateForward(d); - Assert.assertEquals(expected, actual); - } - - private void performTestNewDateArray(StandardTypesServiceClient serviceClient) { - Date[] d = new Date[2]; - Date[] expected = new Date[d.length]; - for (int i = 0; i < d.length; ++i) { - d[i] = new Date(); - d[i].setTime(d[i].getTime() + i * 24 * 60 * 60 * 1000); - expected[i] = new Date(d[i].getTime() + 5 * 24 * 60 * 60 * 1000); - } - Date[] actual = serviceClient.getNewDateArrayForward(d); - Assert.assertEquals(expected.length, actual.length); - for (int i = 0; i < expected.length; ++i) { - Assert.assertEquals(expected[i], actual[i]); - } - } - - private void performTestNewQName(StandardTypesServiceClient serviceClient) { - QName[] qnames = new QName[3]; - qnames[0] = new QName("localPart"); - qnames[1] = new QName("namespaceUri", "localPart"); - qnames[2] = new QName("namespaceUri", "localPart", "prefix"); - QName[] expected = new QName[qnames.length]; - for (int i = 0; i < qnames.length; ++i) { - expected[i] = - new QName(qnames[i].getNamespaceURI() + "q", qnames[i].getLocalPart() + "q", - qnames[i].getPrefix() + "q"); - } - for (int i = 0; i < qnames.length; ++i) { - QName actual = serviceClient.getNewQNameForward(qnames[i]); - Assert.assertEquals(expected[i], actual); - } - } - - private void performTestNewQNameArray(StandardTypesServiceClient serviceClient) { - QName[] qnames = new QName[4]; - qnames[0] = new QName("localPart"); - qnames[1] = new QName("namespaceUri", "localPart"); - qnames[2] = new QName("namespaceUri", "localPart", "prefix"); - qnames[3] = new QName("localPart2"); - QName[] expected = new QName[qnames.length]; - for (int i = 0; i < qnames.length; ++i) { - expected[i] = - new QName(qnames[i].getNamespaceURI() + "q", qnames[i].getLocalPart() + "q", - qnames[i].getPrefix() + "q"); - } - QName[] actual = serviceClient.getNewQNameArrayForward(qnames); - Assert.assertEquals(expected.length, actual.length); - for (int i = 0; i < qnames.length; ++i) { - Assert.assertEquals(expected[i], actual[i]); - } - } - - private void performTestNewURI(StandardTypesServiceClient serviceClient) { - URI[] uris = new URI[4]; - uris[0] = URI.create("a/b/c"); - uris[1] = URI.create("http://abc/"); - uris[2] = URI.create("ftp://a/b"); - uris[3] = URI.create("http://abc/").resolve("xyz"); - - for (int i = 0; i < uris.length; ++i) { - URI expected = uris[i].resolve("uri"); - URI actual = serviceClient.getNewURIForward(uris[i]); - Assert.assertEquals(expected, actual); - } - } - - private void performTestNewURIArray(StandardTypesServiceClient serviceClient) { - URI[] uris = new URI[4]; - uris[0] = URI.create("a/b/c"); - // [rfeng] We need to have a trialign / to avoid the resolving problem - // FIXME: [vamsi] This is actually a data transformation problem. The array being returned from the service method is - // not making to the caller intact. - uris[1] = URI.create("http://abc/"); - uris[2] = URI.create("ftp://a/b"); - uris[3] = URI.create("http://abc/").resolve("xyz"); - - URI[] expected = new URI[uris.length]; - for (int i = 0; i < uris.length; ++i) { - expected[i] = uris[i].resolve("uri"); - } - - URI[] actual = serviceClient.getNewURIArrayForward(uris); - Assert.assertEquals(expected.length, actual.length); - for (int i = 0; i < uris.length; ++i) { - Assert.assertEquals(expected[i], actual[i]); - } - } - - private void performTestNewXMLGregorianCalendar(StandardTypesServiceClient serviceClient) - throws DatatypeConfigurationException { - DatatypeFactory df = DatatypeFactory.newInstance(); - XMLGregorianCalendar[] xgcals = new XMLGregorianCalendar[3]; - xgcals[0] = df.newXMLGregorianCalendar(new GregorianCalendar(1974, GregorianCalendar.APRIL, 19)); - xgcals[1] = df.newXMLGregorianCalendar(new GregorianCalendar(1978, GregorianCalendar.OCTOBER, 13)); - xgcals[2] = df.newXMLGregorianCalendar(new GregorianCalendar(2006, GregorianCalendar.JUNE, 16)); - - for (int i = 0; i < xgcals.length; ++i) { - XMLGregorianCalendar actual = serviceClient.getNewXMLGregorianCalendarForward(xgcals[i]); - xgcals[i].setDay(xgcals[i].getDay() + 5); - Assert.assertEquals(xgcals[i], actual); - } - } - - private void performTestNewXMLGregorianCalendarArray(StandardTypesServiceClient serviceClient) - throws DatatypeConfigurationException { - DatatypeFactory df = DatatypeFactory.newInstance(); - XMLGregorianCalendar[] xgcals = new XMLGregorianCalendar[3]; - xgcals[0] = df.newXMLGregorianCalendar(new GregorianCalendar(1974, GregorianCalendar.APRIL, 19)); - xgcals[1] = df.newXMLGregorianCalendar(new GregorianCalendar(1978, GregorianCalendar.OCTOBER, 13)); - xgcals[2] = df.newXMLGregorianCalendar(new GregorianCalendar(2006, GregorianCalendar.JUNE, 16)); - - XMLGregorianCalendar[] actual = serviceClient.getNewXMLGregorianCalendarArrayForward(xgcals); - Assert.assertEquals(xgcals.length, actual.length); - for (int i = 0; i < xgcals.length; ++i) { - xgcals[i].setDay(xgcals[i].getDay() + 5); - Assert.assertEquals(xgcals[i], actual[i]); - } - } - - private void performTestNewDuration(StandardTypesServiceClient serviceClient) throws DatatypeConfigurationException { - DatatypeFactory df = DatatypeFactory.newInstance(); - Duration[] da = new Duration[3]; - da[0] = df.newDuration(1000000000000L); - da[1] = df.newDurationDayTime(1000000000000L); - da[2] = df.newDurationYearMonth(true, 1, 3); - - for (int i = 0; i < da.length; ++i) { - Assert.assertEquals(da[i].negate(), serviceClient.getNewDurationForward(da[i])); - } - } - - private void performTestNewObject(StandardTypesServiceClient serviceClient) { - Object[] objs = new Object[5]; - objs[0] = "Hello"; - objs[1] = 10; - objs[2] = null; - objs[3] = -1.0; - objs[4] = null; - - for (int i = 0; i < objs.length; ++i) { - Object expected = StandardTypesTransformer.getNewObject(objs[i]); - Object actual = serviceClient.getNewObjectForward(objs[i]); - Assert.assertEquals(expected, actual); - } - } - - private void performTestNewObjectArray(StandardTypesServiceClient serviceClient) { - Object[] objs = new Object[5]; - objs[0] = "Hello"; - objs[1] = 10; - objs[2] = null; - objs[3] = -1.0; - objs[4] = null; - - Object[] actual = serviceClient.getNewObjectArrayForward(objs); - Assert.assertEquals(objs.length, actual.length); - for (int i = 0; i < objs.length; ++i) { - Object expected = StandardTypesTransformer.getNewObject(objs[i]); - Assert.assertEquals(expected, actual[i]); - } - } - - private void performTestNewImage(StandardTypesServiceClient serviceClient) throws InterruptedException { - // Create some images to test with. - Image[] imgs = new Image[3]; - imgs[0] = new BufferedImage(10, 10, BufferedImage.TYPE_3BYTE_BGR); - imgs[1] = new BufferedImage(10, 10, BufferedImage.TYPE_INT_ARGB); - imgs[2] = new BufferedImage(10, 10, BufferedImage.TYPE_INT_RGB); - imgs[0].getGraphics().drawLine(1, 1, 8, 8); - imgs[1].getGraphics().drawLine(8, 1, 1, 8); - imgs[2].getGraphics().drawLine(1, 8, 8, 1); - - Image[] copy = imgs; - // Create the same images once again as the StandardTypesTransformer may manipulate the image passed. - imgs = new Image[3]; - imgs[0] = new BufferedImage(10, 10, BufferedImage.TYPE_3BYTE_BGR); - imgs[1] = new BufferedImage(10, 10, BufferedImage.TYPE_INT_ARGB); - imgs[2] = new BufferedImage(10, 10, BufferedImage.TYPE_INT_RGB); - imgs[0].getGraphics().drawLine(1, 1, 8, 8); - imgs[1].getGraphics().drawLine(8, 1, 1, 8); - imgs[2].getGraphics().drawLine(1, 8, 8, 1); - - // Make sure the images and copies are equal using ImageInfo - for(int i = 0; i < imgs.length; ++i) { - Assert.assertEquals(new ImageInfo(imgs[i]), new ImageInfo(copy[i])); - } - - for (int i = 0; i < imgs.length; ++i) { - Image actual = serviceClient.getNewImageForward(imgs[i]); - Image expected = StandardTypesTransformer.getNewImage(copy[i]); - // Compare using ImageInfo - Assert.assertEquals(new ImageInfo(expected), new ImageInfo(actual)); - } - } - - private void performTestNewImageArray(StandardTypesServiceClient serviceClient) throws InterruptedException { - // Create some images to test with. - Image[] imgs = new Image[3]; - imgs[0] = new BufferedImage(10, 10, BufferedImage.TYPE_3BYTE_BGR); - imgs[1] = new BufferedImage(10, 10, BufferedImage.TYPE_INT_ARGB); - imgs[2] = new BufferedImage(10, 10, BufferedImage.TYPE_INT_RGB); - imgs[0].getGraphics().drawLine(1, 1, 8, 8); - imgs[1].getGraphics().drawLine(8, 1, 1, 8); - imgs[2].getGraphics().drawLine(1, 8, 8, 1); - - Image[] copy = imgs; - // Create the same images once again as the StandardTypesTransformer may manipulate the image passed. - imgs = new Image[3]; - imgs[0] = new BufferedImage(10, 10, BufferedImage.TYPE_3BYTE_BGR); - imgs[1] = new BufferedImage(10, 10, BufferedImage.TYPE_INT_ARGB); - imgs[2] = new BufferedImage(10, 10, BufferedImage.TYPE_INT_RGB); - imgs[0].getGraphics().drawLine(1, 1, 8, 8); - imgs[1].getGraphics().drawLine(8, 1, 1, 8); - imgs[2].getGraphics().drawLine(1, 8, 8, 1); - - // Make sure the images and copies are equal using ImageInfo - for(int i = 0; i < imgs.length; ++i) { - Assert.assertEquals(new ImageInfo(imgs[i]), new ImageInfo(copy[i])); - } - - Image[] actual = serviceClient.getNewImageArrayForward(imgs); - Assert.assertEquals(imgs.length, actual.length); - for (int i = 0; i < imgs.length; ++i) { - Image expected = StandardTypesTransformer.getNewImage(copy[i]); - // Compare using ImageInfo - Assert.assertEquals(new ImageInfo(expected), new ImageInfo(actual[i])); - } - } - - private void performTestNewDurationArray(StandardTypesServiceClient serviceClient) - throws DatatypeConfigurationException { - DatatypeFactory df = DatatypeFactory.newInstance(); - Duration[] da = new Duration[3]; - da[0] = df.newDuration(1000000000000L); - da[1] = df.newDurationDayTime(1000000000000L); - da[2] = df.newDurationYearMonth(true, 1, 3); - - Duration[] actual = serviceClient.getNewDurationArrayForward(da); - Assert.assertEquals(da.length, actual.length); - for (int i = 0; i < da.length; ++i) { - Assert.assertEquals(da[i].negate(), actual[i]); - } - } - - private void performTestNewDataHandler(StandardTypesServiceClient serviceClient) throws IOException { - DataHandler[] dha = new DataHandler[3]; - dha[0] = new DataHandler("Some data", "text/plain"); - dha[1] = new DataHandler(this.getClass().getClassLoader().getResource("standard-types-service.composite")); - dha[2] = new DataHandler(new ByteArrayDataSource("Some data2".getBytes())); - - for (int i = 0; i < dha.length; ++i) { - DataHandler actual = serviceClient.getNewDataHandlerForward(dha[i]); - // Note: The DataHandler returned may use a different type of DataSource. - // Compare the data content instead of using equals(). - Assert.assertTrue(compare(dha[i], actual)); - } - } - - private void performTestNewDataHandlerArray(StandardTypesServiceClient serviceClient) throws IOException { - DataHandler[] dha = new DataHandler[3]; - dha[0] = new DataHandler("Some data", "text/plain"); - dha[1] = new DataHandler(this.getClass().getClassLoader().getResource("standard-types-service.composite")); - dha[2] = new DataHandler(new ByteArrayDataSource("Some data2".getBytes())); - - DataHandler[] actual = serviceClient.getNewDataHandlerArrayForward(dha); - Assert.assertEquals(dha.length, actual.length); - for (int i = 0; i < dha.length; ++i) { - // Note: The DataHandler returned may use a different type of DataSource. - // Compare the data content instead of using equals(). - Assert.assertTrue(compare(dha[i], actual[i])); - } - } - - private void performTestNewSource(StandardTypesServiceClient serviceClient) throws Exception { - String xml = "ABC"; - Source[] srcs = new Source[3]; - srcs[0] = new DOMSource(new String2Node().transform(xml, null)); - srcs[1] = new SAXSource(new InputSource(new StringReader(xml))); - srcs[2] = new StreamSource(new StringReader(xml)); - - for (int i = 0; i < srcs.length; ++i) { - Source expected = StandardTypesTransformer.getNewSource(srcs[i]); - Source actual = serviceClient.getNewSourceForward(srcs[i]); - // [rfeng] The data may come back as a different source - Assert.assertEquals(sourceToString(expected), sourceToString(actual)); - } - } - - private void performTestNewSourceArray(StandardTypesServiceClient serviceClient) throws Exception { - String xml = "ABC"; - Source[] srcs = new Source[3]; - srcs[0] = new DOMSource(new String2Node().transform(xml, null)); - srcs[1] = new SAXSource(new InputSource(new StringReader(xml))); - srcs[2] = new StreamSource(new StringReader(xml)); - - Source[] actual = serviceClient.getNewSourceArrayForward(srcs); - Source[] expected = new Source[srcs.length]; - for(int i = 0; i < srcs.length; ++i) { - expected[i] = StandardTypesTransformer.getNewSource(srcs[i]); - } - Assert.assertEquals(srcs.length, actual.length); - for (int i = 0; i < srcs.length; ++i) { - // [rfeng] The data may come back as a different source - Assert.assertEquals(sourceToString(expected[i]), sourceToString(actual[i])); - } - - } - - private void performTestNewUUID(StandardTypesServiceClient serviceClient) { - UUID[] uuids = new UUID[3]; - uuids[0] = UUID.nameUUIDFromBytes("ABCDEFGHJKLMNOPQRSTUVWXYZ".getBytes()); - uuids[1] = UUID.nameUUIDFromBytes("abcdefghjklmnopqrstuvwxyz".getBytes()); - uuids[2] = UUID.randomUUID(); - - for (int i = 0; i < uuids.length; ++i) { - UUID expected = UUID.fromString(uuids[i].toString() + "AAA"); - UUID actual = serviceClient.getNewUUIDForward(uuids[i]); - Assert.assertEquals(expected, actual); - } - } - - private void performTestNewUUIDArray(StandardTypesServiceClient serviceClient) { - UUID[] uuids = new UUID[3]; - uuids[0] = UUID.nameUUIDFromBytes("ABCDEFGHJKLMNOPQRSTUVWXYZ".getBytes()); - uuids[1] = UUID.nameUUIDFromBytes("abcdefghjklmnopqrstuvwxyz".getBytes()); - uuids[2] = UUID.randomUUID(); - - UUID[] actual = serviceClient.getNewUUIDArrayForward(uuids); - for (int i = 0; i < uuids.length; ++i) { - UUID expected = UUID.fromString(uuids[i].toString() + "AAA"); - Assert.assertEquals(expected, actual[i]); - } - } - - /** - * This method compares two DataHandlers. - * @return true if the data in the two handlers is the same. - */ - private boolean compare(DataHandler dh1, DataHandler dh2) throws IOException { - InputStream inp1 = dh1.getInputStream(); - InputStream inp2 = dh2.getInputStream(); - for(;;) { - int i1 = inp1.read(); - int i2 = inp2.read(); - if(i1 == -1 && i2 == -1) { - return true; - } else if(i1 != -1 && i2 != -1) { - if(i1 != i2) { - return false; - } - } else { - return false; - } - } - } - - /** - * This method returns the content of a source object as String. - */ - private String sourceToString(Source s) throws Exception { - StringWriter sw = new StringWriter(); - Result r = new StreamResult(sw); - TransformerFactory.newInstance().newTransformer().transform(s, r); - sw.close(); - return sw.toString(); - } - - /** - * This class initializes with the width, height and pixel data of a java.awt.Image object. - */ - private static class ImageInfo { - private int h, w, pixels[]; - public ImageInfo(Image img) throws InterruptedException { - w = img.getWidth(null); - h = img.getHeight(null); - pixels = new int[w*h]; - PixelGrabber pg = new PixelGrabber(img, 0, 0, w, h, pixels, 0, w); - pg.grabPixels(); - } - - public boolean equals(Object that) { - if(that == null) { - return false; - } else if(!(that instanceof ImageInfo)) { - return false; - } - - ImageInfo that1 = (ImageInfo)that; - if(w != that1.w || h != that1.h || pixels == null || that1.pixels == null || pixels.length != that1.pixels.length) { - return false; - } - for(int i = 0; i < pixels.length; ++i) { - if(pixels[i] != that1.pixels[i]) { - return false; - } - } - return true; - } - - public String toString() { - return this.getClass().getSimpleName()+"[w = "+w+", h = "+h+", pixels = "+pixels+"]"; - } - } -} diff --git a/java/sca-contrib/itest/databindings/jaxb-top-down/pom.xml b/java/sca-contrib/itest/databindings/jaxb-top-down/pom.xml deleted file mode 100644 index 4e3fcfbe5c..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-top-down/pom.xml +++ /dev/null @@ -1,194 +0,0 @@ - - - - - - - - org.apache.tuscany.sca - itest-databindings - 2.0-SNAPSHOT - - - 4.0.0 - - itest-databindings-jaxb-top-down - 2.0-SNAPSHOT - jar - Apache Tuscany SCA Databinding Integration Tests - JAXB Top Down - - - - - true - - java.net - java.net Maven 1.x Repository - http://download.java.net/maven/1 - legacy - - - java.net2 - java.net Maven 2.x Repository - http://download.java.net/maven/2 - - - - - - java.net2 - java.net Maven 2.x Repository - http://download.java.net/maven/2 - - - - - - org.apache.tuscany.sca - tuscany-node-impl - 2.0-SNAPSHOT - - - org.apache.tuscany.sca - tuscany-binding-ws-axis2 - 2.0-SNAPSHOT - runtime - - - org.apache.tuscany.sca - tuscany-databinding-jaxb - 2.0-SNAPSHOT - runtime - - - org.apache.tuscany.sca - tuscany-databinding-sdo - 2.0-SNAPSHOT - compile - - - org.apache.tuscany.sca - tuscany-databinding-axiom - 2.0-SNAPSHOT - compile - - - org.apache.tuscany.sca - itest-databindings-common - 2.0-SNAPSHOT - compile - - - - org.apache.tuscany.sca - tuscany-implementation-java-runtime - 2.0-SNAPSHOT - runtime - - - org.apache.tuscany.sca - tuscany-interface-java-xml - 2.0-SNAPSHOT - compile - - - org.apache.tuscany.sca - tuscany-host-jetty - 2.0-SNAPSHOT - runtime - - - javax.xml.bind - jaxb-api - 2.1 - compile - - - - com.sun.xml.ws - jaxws-rt - 2.1.3 - - - - commons-collections - commons-collections - 3.1 - - - log4j - log4j - 1.2.12 - provided - - - - - - - - - - org.apache.maven.plugins - maven-surefire-plugin - - -Djava.endorsed.dirs=target/endorsed - - - - org.apache.maven.plugins - maven-dependency-plugin - - - copy - generate-sources - - copy - - - - - javax.xml.ws - jaxws-api - 2.1 - jar - - - javax.xml.bind - jaxb-api - 2.1 - jar - - - ${project.build.directory}/endorsed - false - true - - - - - - - diff --git a/java/sca-contrib/itest/databindings/jaxb-top-down/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/HelloService.java b/java/sca-contrib/itest/databindings/jaxb-top-down/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/HelloService.java deleted file mode 100644 index ab2d9630eb..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-top-down/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/HelloService.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.databindings.jaxb; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -import org.oasisopen.sca.annotation.Remotable; - -/** - * The interface for HelloService. - * - * @version $Rev$ $Date$ - */ -@Remotable -public interface HelloService { - String getGreetings(String name); - String[] getGreetingsArray(String[] names); - List getGreetingsList(List names); - ArrayList getGreetingsArrayList(ArrayList names); - Map getGreetingsMap(Map namesMap); - HashMap getGreetingsHashMap(HashMap namesMap); - String getGreetingsVarArgs(String... names); -} diff --git a/java/sca-contrib/itest/databindings/jaxb-top-down/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/HelloServiceClient.java b/java/sca-contrib/itest/databindings/jaxb-top-down/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/HelloServiceClient.java deleted file mode 100644 index 7bd95cec95..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-top-down/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/HelloServiceClient.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.itest.databindings.jaxb; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - - -/** - * The interface for HelloServiceClient. - * - * @version $Rev$ $Date$ - */ -public interface HelloServiceClient { - String getGreetingsForward(String name); - String[] getGreetingsArrayForward(String[] names); - List getGreetingsListForward(List names); - ArrayList getGreetingsArrayListForward(ArrayList names); - Map getGreetingsMapForward(Map namesMap); - HashMap getGreetingsHashMapForward(HashMap namesMap); - String getGreetingsVarArgsForward(String... names); -} diff --git a/java/sca-contrib/itest/databindings/jaxb-top-down/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/PrimitivesService.java b/java/sca-contrib/itest/databindings/jaxb-top-down/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/PrimitivesService.java deleted file mode 100644 index ac6c8d5a60..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-top-down/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/PrimitivesService.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.databindings.jaxb; - -import org.oasisopen.sca.annotation.Remotable; - -/** - * The interface for PrimitivesService. - * - * @version $Rev$ $Date$ - */ -@Remotable -public interface PrimitivesService { - boolean negateBoolean(boolean flag); - boolean[] negateBooleanArray(boolean[] flags); - boolean[] identityBooleanArray(boolean[] flags); - byte negateByte(byte b); - byte[] negateByteArray(byte[] ba); - byte[] identityByteArray(byte[] ba); - short negateShort(short s); - short[] negateShortArray(short[] s); - short[] identityShortArray(short[] sa); - int negateInt(int s); - int[] negateIntArray(int[] s); - int[] identityIntArray(int[] ia); - long negateLong(long l); - long[] negateLongArray(long[] la); - long[] identityLongArray(long[] la); - float negateFloat(float f); - float[] negateFloatArray(float[] fa); - float[] identityFloatArray(float[] fa); - double negateDouble(double d); - double[] negateDoubleArray(double[] da); - double[] identityDoubleArray(double[] da); -} diff --git a/java/sca-contrib/itest/databindings/jaxb-top-down/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/PrimitivesServiceClient.java b/java/sca-contrib/itest/databindings/jaxb-top-down/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/PrimitivesServiceClient.java deleted file mode 100644 index 3a5a81bae4..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-top-down/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/PrimitivesServiceClient.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.itest.databindings.jaxb; - - -/** - * The interface for PrimitivesServiceClient. - * - * @version $Rev$ $Date$ - */ -public interface PrimitivesServiceClient { - boolean negateBooleanForward(boolean flag); - boolean[] negateBooleanArrayForward(boolean[] flags); - boolean passByValueBooleanArray(); - byte negateByteForward(byte b); - byte[] negateByteArrayForward(byte[] ba); - boolean passByValueByteArray(); - short negateShortForward(short s); - short[] negateShortArrayForward(short[] sa); - boolean passByValueShortArray(); - int negateIntForward(int i); - int[] negateIntArrayForward(int[] ia); - boolean passByValueIntArray(); - long negateLongForward(long l); - long[] negateLongArrayForward(long[] la); - boolean passByValueLongArray(); - float negateFloatForward(float f); - float[] negateFloatArrayForward(float[] fa); - boolean passByValueFloatArray(); - double negateDoubleForward(double d); - double[] negateDoubleArrayForward(double[] da); - boolean passByValueDoubleArray(); -} diff --git a/java/sca-contrib/itest/databindings/jaxb-top-down/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/StandardTypesService.java b/java/sca-contrib/itest/databindings/jaxb-top-down/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/StandardTypesService.java deleted file mode 100644 index 1f3b7ec633..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-top-down/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/StandardTypesService.java +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.tuscany.sca.itest.databindings.jaxb; - -import java.awt.Image; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.net.URI; -import java.util.Calendar; -import java.util.Date; -import java.util.UUID; - -import javax.activation.DataHandler; -import javax.xml.datatype.Duration; -import javax.xml.datatype.XMLGregorianCalendar; -import javax.xml.namespace.QName; -import javax.xml.transform.Source; - -import org.oasisopen.sca.annotation.Remotable; - - - -/** - * The interface for StandardTypesService. - * - * @version $Rev$ $Date$ - */ -@Remotable -public interface StandardTypesService { - BigInteger getNewBigInteger(BigInteger bi); - BigInteger[] getNewBigIntegerArray(BigInteger[] bia); - - BigDecimal getNewBigDecimal(BigDecimal bd); - BigDecimal[] getNewBigDecimalArray(BigDecimal[] bda); - - Calendar getNewCalendar(Calendar c); - Calendar[] getNewCalendarArray(Calendar[] ca); - - Date getNewDate(Date d); - Date[] getNewDateArray(Date[] da); - - QName getNewQName(QName qname); - QName[] getNewQNameArray(QName[] qnames); - - URI getNewURI(URI uri); - URI[] getNewURIArray(URI[] uris); - - XMLGregorianCalendar getNewXMLGregorianCalendar(XMLGregorianCalendar xgcal); - XMLGregorianCalendar[] getNewXMLGregorianCalendarArray(XMLGregorianCalendar[] xgcal); - - Duration getNewDuration(Duration d); - Duration[] getNewDurationArray(Duration[] da); - - Object getNewObject(Object obj); - Object[] getNewObjectArray(Object[] objs); - - Image getNewImage(Image img); - Image[] getNewImageArray(Image[] imgs); - - DataHandler getNewDataHandler(DataHandler dh); - DataHandler[] getNewDataHandlerArray(DataHandler[] dha); - - Source getNewSource(Source src); - Source[] getNewSourceArray(Source[] srcs); - - UUID getNewUUID(UUID uuid); - UUID[] getNewUUIDArray(UUID[] uuids); -} diff --git a/java/sca-contrib/itest/databindings/jaxb-top-down/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/StandardTypesServiceClient.java b/java/sca-contrib/itest/databindings/jaxb-top-down/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/StandardTypesServiceClient.java deleted file mode 100644 index 0c073cd054..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-top-down/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/StandardTypesServiceClient.java +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.itest.databindings.jaxb; - -import java.awt.Image; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.net.URI; -import java.util.Calendar; -import java.util.Date; -import java.util.UUID; - -import javax.activation.DataHandler; -import javax.xml.datatype.Duration; -import javax.xml.datatype.XMLGregorianCalendar; -import javax.xml.namespace.QName; -import javax.xml.transform.Source; - - -/** - * The interface for StandardTypesServiceClient. - * - * @version $Rev$ $Date$ - */ -public interface StandardTypesServiceClient { - BigInteger getNewBigIntegerForward(BigInteger bi); - BigInteger[] getNewBigIntegerArrayForward(BigInteger[] bia); - - BigDecimal getNewBigDecimalForward(BigDecimal bd); - BigDecimal[] getNewBigDecimalArrayForward(BigDecimal[] bda); - - Calendar getNewCalendarForward(Calendar c); - Calendar[] getNewCalendarArrayForward(Calendar[] ca); - - Date getNewDateForward(Date d); - Date[] getNewDateArrayForward(Date[] da); - - QName getNewQNameForward(QName qname); - QName[] getNewQNameArrayForward(QName[] qnames); - - URI getNewURIForward(URI uri); - URI[] getNewURIArrayForward(URI[] uris); - - XMLGregorianCalendar getNewXMLGregorianCalendarForward(XMLGregorianCalendar xgcal); - XMLGregorianCalendar[] getNewXMLGregorianCalendarArrayForward(XMLGregorianCalendar[] xgcals); - - Duration getNewDurationForward(Duration d); - Duration[] getNewDurationArrayForward(Duration[] da); - - Object getNewObjectForward(Object obj); - Object[] getNewObjectArrayForward(Object[] objs); - - Image getNewImageForward(Image img); - Image[] getNewImageArrayForward(Image[] imgs); - - DataHandler getNewDataHandlerForward(DataHandler dh); - DataHandler[] getNewDataHandlerArrayForward(DataHandler[] dha); - - Source getNewSourceForward(Source src); - Source[] getNewSourceArrayForward(Source[] srcs); - - UUID getNewUUIDForward(UUID uuid); - UUID[] getNewUUIDArrayForward(UUID[] uuids); -} diff --git a/java/sca-contrib/itest/databindings/jaxb-top-down/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/HelloServiceClientImpl.java b/java/sca-contrib/itest/databindings/jaxb-top-down/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/HelloServiceClientImpl.java deleted file mode 100644 index 61449c8981..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-top-down/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/HelloServiceClientImpl.java +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.itest.databindings.jaxb.impl; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -import org.apache.tuscany.sca.itest.databindings.jaxb.HelloService; -import org.apache.tuscany.sca.itest.databindings.jaxb.HelloServiceClient; -import org.oasisopen.sca.annotation.Reference; -import org.oasisopen.sca.annotation.Service; - -/** - * An implementation of HelloServiceClient. - * The client forwards the request to the service component and returns the response from the service component. - */ -@Service(HelloServiceClient.class) -public class HelloServiceClientImpl { - - private HelloService service; - - @Reference - public void setHelloService(HelloService service) { - this.service = service; - } - - public String getGreetingsForward(String name) { - return service.getGreetings(name); - } - - public String[] getGreetingsArrayForward(String[] names) { - return service.getGreetingsArray(names); - } - - public List getGreetingsListForward(List names) { - return service.getGreetingsList(names); - } - - public Map getGreetingsMapForward(Map namesMap) { - return service.getGreetingsMap(namesMap); - } - - public ArrayList getGreetingsArrayListForward(ArrayList names) { - return service.getGreetingsArrayList(names); - } - - public HashMap getGreetingsHashMapForward(HashMap namesMap) { - return service.getGreetingsHashMap(namesMap); - } - - public String getGreetingsVarArgsForward(String... names) { - return service.getGreetingsVarArgs(names[0], names[1], names[2]); - } -} diff --git a/java/sca-contrib/itest/databindings/jaxb-top-down/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/HelloServiceImpl.java b/java/sca-contrib/itest/databindings/jaxb-top-down/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/HelloServiceImpl.java deleted file mode 100644 index c0868f0146..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-top-down/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/HelloServiceImpl.java +++ /dev/null @@ -1,86 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.itest.databindings.jaxb.impl; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -import org.apache.tuscany.sca.itest.databindings.jaxb.HelloService; -import org.oasisopen.sca.annotation.Service; - -/** - * An implementation of HelloService. - * - * @version $Rev$ $Date$ - */ -@Service(interfaces = {HelloService.class}) -public class HelloServiceImpl implements HelloService { - public String getGreetings(String name) { - return "Hello " + name; - } - - public String[] getGreetingsArray(String[] names) { - String[] resps = new String[names.length]; - for (int i = 0; i < names.length; ++i) { - resps[i] = "Hello " + names[i]; - } - return resps; - } - - public List getGreetingsList(List names) { - List resps = new ArrayList(); - for (int i = 0; i < names.size(); ++i) { - resps.add("Hello " + names.get(i)); - } - return resps; - } - - public ArrayList getGreetingsArrayList(ArrayList names) { - ArrayList resps = new ArrayList(); - for (int i = 0; i < names.size(); ++i) { - resps.add("Hello " + names.get(i)); - } - return resps; - } - - public Map getGreetingsMap(Map namesMap) { - for (Map.Entry entry : namesMap.entrySet()) { - entry.setValue("Hello " + entry.getKey()); - } - return namesMap; - } - - public HashMap getGreetingsHashMap(HashMap namesMap) { - for (Map.Entry entry : namesMap.entrySet()) { - entry.setValue("Hello " + entry.getKey()); - } - return namesMap; - } - - public String getGreetingsVarArgs(String... names) { - String resp = "Hello"; - for(int i = 0; i < names.length; ++i) { - resp += (" "+names[i]); - } - return resp; - } -} diff --git a/java/sca-contrib/itest/databindings/jaxb-top-down/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/PrimitivesServiceClientImpl.java b/java/sca-contrib/itest/databindings/jaxb-top-down/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/PrimitivesServiceClientImpl.java deleted file mode 100644 index e55d2527f4..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-top-down/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/PrimitivesServiceClientImpl.java +++ /dev/null @@ -1,139 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.itest.databindings.jaxb.impl; - -import org.apache.tuscany.sca.itest.databindings.jaxb.PrimitivesService; -import org.apache.tuscany.sca.itest.databindings.jaxb.PrimitivesServiceClient; -import org.oasisopen.sca.annotation.Reference; -import org.oasisopen.sca.annotation.Service; - -/** - * An implementation of PrimitivesServiceClient. - * The client forwards the request to the service component and returns the response from the service component. - * - * @version $Rev$ $Date$ - */ -@Service(PrimitivesServiceClient.class) -public class PrimitivesServiceClientImpl { - - private PrimitivesService service; - - @Reference - public void setPrimitivesService(PrimitivesService service) { - this.service = service; - } - public boolean negateBooleanForward(boolean flag) { - return service.negateBoolean(flag); - } - - public boolean[] negateBooleanArrayForward(boolean[] flags) { - return service.negateBooleanArray(flags); - } - - public boolean passByValueBooleanArray() { - boolean[] req = new boolean[2]; - boolean[] resp = service.identityBooleanArray(req); - return req != resp; - } - - public byte negateByteForward(byte b) { - return service.negateByte(b); - } - - public byte[] negateByteArrayForward(byte[] ba) { - return service.negateByteArray(ba); - } - - public boolean passByValueByteArray() { - byte[] req = new byte[2]; - byte[] resp = service.identityByteArray(req); - return req != resp; - } - - public short negateShortForward(short s) { - return service.negateShort(s); - } - - public short[] negateShortArrayForward(short[] s) { - return service.negateShortArray(s); - } - - public boolean passByValueShortArray() { - short[] req = new short[2]; - short[] resp = service.identityShortArray(req); - return req != resp; - } - - public int negateIntForward(int i) { - return service.negateInt(i); - } - - public int[] negateIntArrayForward(int[] ia) { - return service.negateIntArray(ia); - } - - public boolean passByValueIntArray() { - int[] req = new int[2]; - int[] resp = service.identityIntArray(req); - return req != resp; - } - - public long negateLongForward(long l) { - return service.negateLong(l); - } - - public long[] negateLongArrayForward(long[] la) { - return service.negateLongArray(la); - } - - public boolean passByValueLongArray() { - long[] req = new long[2]; - long[] resp = service.identityLongArray(req); - return req != resp; - } - - public float negateFloatForward(float f) { - return service.negateFloat(f); - } - - public float[] negateFloatArrayForward(float[] fa) { - return service.negateFloatArray(fa); - } - - public boolean passByValueFloatArray() { - float[] req = new float[2]; - float[] resp = service.identityFloatArray(req); - return req != resp; - } - - public double negateDoubleForward(double d) { - return service.negateDouble(d); - } - - public double[] negateDoubleArrayForward(double[] da) { - return service.negateDoubleArray(da); - } - - public boolean passByValueDoubleArray() { - double[] req = new double[2]; - double[] resp = service.identityDoubleArray(req); - return req != resp; - } -} diff --git a/java/sca-contrib/itest/databindings/jaxb-top-down/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/PrimitivesServiceImpl.java b/java/sca-contrib/itest/databindings/jaxb-top-down/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/PrimitivesServiceImpl.java deleted file mode 100644 index 72ff27b85e..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-top-down/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/PrimitivesServiceImpl.java +++ /dev/null @@ -1,151 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.itest.databindings.jaxb.impl; - -import org.apache.tuscany.sca.itest.databindings.jaxb.PrimitivesService; -import org.oasisopen.sca.annotation.Service; - -/** - * An implementation of PrimitivesService. - * - * @version $Rev$ $Date$ - */ -@Service(interfaces={PrimitivesService.class}) -public class PrimitivesServiceImpl implements PrimitivesService { - - public boolean negateBoolean(boolean flag) { - return !flag; - } - - public boolean[] negateBooleanArray(boolean[] flags) { - boolean[] resp = new boolean[flags.length]; - - for(int i = 0; i < flags.length; ++i) { - resp[i] = !flags[i]; - } - return resp; - } - - public boolean[] identityBooleanArray(boolean[] flags) { - return flags; - } - - public byte negateByte(byte b) { - return (byte)-b; - } - - public byte[] negateByteArray(byte[] ba) { - byte[] resp = new byte[ba.length]; - - for(int i = 0; i < ba.length; ++i) { - resp[i] = (byte)-ba[i]; - } - return resp; - } - - public byte[] identityByteArray(byte[] ba) { - return ba; - } - - public short negateShort(short s) { - return (short)-s; - } - - public short[] negateShortArray(short[] s) { - short[] resp = new short[s.length]; - - for(int i = 0; i < s.length; ++i) { - resp[i] = (short)-s[i]; - } - return resp; - } - - public short[] identityShortArray(short[] sa) { - return sa; - } - - public int negateInt(int i) { - return -i; - } - - public int[] negateIntArray(int[] ia) { - int[] resp = new int[ia.length]; - - for(int i = 0; i < ia.length; ++i) { - resp[i] = -ia[i]; - } - return resp; - } - - public int[] identityIntArray(int[] ia) { - return ia; - } - - public long negateLong(long l) { - return -l; - } - - public long[] negateLongArray(long[] la) { - long[] resp = new long[la.length]; - - for(int i = 0; i < la.length; ++i) { - resp[i] = -la[i]; - } - return resp; - } - - public long[] identityLongArray(long[] la) { - return la; - } - - public float negateFloat(float f) { - return -f; - } - - public float[] negateFloatArray(float[] fa) { - float[] resp = new float[fa.length]; - - for(int i = 0; i < fa.length; ++i) { - resp[i] = -fa[i]; - } - return resp; - } - - public float[] identityFloatArray(float[] fa) { - return fa; - } - - public double negateDouble(double d) { - return -d; - } - - public double[] negateDoubleArray(double[] da) { - double[] resp = new double[da.length]; - - for(int i = 0; i < da.length; ++i) { - resp[i] = -da[i]; - } - return resp; - } - - public double[] identityDoubleArray(double[] da) { - return da; - } -} diff --git a/java/sca-contrib/itest/databindings/jaxb-top-down/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/StandardTypesServiceClientImpl.java b/java/sca-contrib/itest/databindings/jaxb-top-down/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/StandardTypesServiceClientImpl.java deleted file mode 100644 index b3d3c3eb3a..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-top-down/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/StandardTypesServiceClientImpl.java +++ /dev/null @@ -1,159 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.itest.databindings.jaxb.impl; - -import java.awt.Image; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.net.URI; -import java.util.Calendar; -import java.util.Date; -import java.util.UUID; - -import javax.activation.DataHandler; -import javax.xml.datatype.Duration; -import javax.xml.datatype.XMLGregorianCalendar; -import javax.xml.namespace.QName; -import javax.xml.transform.Source; - -import org.apache.tuscany.sca.itest.databindings.jaxb.StandardTypesService; -import org.apache.tuscany.sca.itest.databindings.jaxb.StandardTypesServiceClient; -import org.oasisopen.sca.annotation.Reference; -import org.oasisopen.sca.annotation.Service; - -/** - * An implementation of StandardTypesServiceClient. - * The client forwards the request to the service component and returns the response from the service component. - * - * @version $Rev$ $Date$ - */ -@Service(StandardTypesServiceClient.class) -public class StandardTypesServiceClientImpl implements StandardTypesServiceClient{ - - private StandardTypesService service; - - @Reference - public void setStandardTypesService(StandardTypesService service) { - this.service = service; - } - - public BigInteger getNewBigIntegerForward(BigInteger bi) { - return service.getNewBigInteger(bi); - } - - public BigInteger[] getNewBigIntegerArrayForward(BigInteger[] bia) { - return service.getNewBigIntegerArray(bia); - } - - public BigDecimal getNewBigDecimalForward(BigDecimal bd) { - return service.getNewBigDecimal(bd); - } - - public BigDecimal[] getNewBigDecimalArrayForward(BigDecimal[] bda) { - return service.getNewBigDecimalArray(bda); - } - public Calendar getNewCalendarForward(Calendar c) { - return service.getNewCalendar(c); - } - public Calendar[] getNewCalendarArrayForward(Calendar[] ca) { - return service.getNewCalendarArray(ca); - } - - public Date getNewDateForward(Date d) { - return service.getNewDate(d); - } - - public Date[] getNewDateArrayForward(Date[] da) { - return service.getNewDateArray(da); - } - - public QName getNewQNameForward(QName qname) { - return service.getNewQName(qname); - } - - public QName[] getNewQNameArrayForward(QName[] qnames) { - return service.getNewQNameArray(qnames); - } - - public URI getNewURIForward(URI uri) { - return service.getNewURI(uri); - } - - public URI[] getNewURIArrayForward(URI[] uris) { - return service.getNewURIArray(uris); - } - - public XMLGregorianCalendar getNewXMLGregorianCalendarForward(XMLGregorianCalendar xgcal) { - return service.getNewXMLGregorianCalendar(xgcal); - } - - public XMLGregorianCalendar[] getNewXMLGregorianCalendarArrayForward(XMLGregorianCalendar[] xgcals) { - return service.getNewXMLGregorianCalendarArray(xgcals); - } - - public Duration getNewDurationForward(Duration d) { - return service.getNewDuration(d); - } - - public Duration[] getNewDurationArrayForward(Duration[] da) { - return service.getNewDurationArray(da); - } - - public Object getNewObjectForward(Object obj) { - return service.getNewObject(obj); - } - - public Object[] getNewObjectArrayForward(Object[] objs) { - return service.getNewObjectArray(objs); - } - - public Image getNewImageForward(Image img) { - return service.getNewImage(img); - } - - public Image[] getNewImageArrayForward(Image[] imgs) { - return service.getNewImageArray(imgs); - } - - public DataHandler getNewDataHandlerForward(DataHandler dh) { - return service.getNewDataHandler(dh); - } - - public DataHandler[] getNewDataHandlerArrayForward(DataHandler[] dha) { - return service.getNewDataHandlerArray(dha); - } - - - public Source getNewSourceForward(Source src) { - return service.getNewSource(src); - } - - public Source[] getNewSourceArrayForward(Source[] srcs) { - return service.getNewSourceArray(srcs); - } - - public UUID getNewUUIDForward(UUID uuid) { - return service.getNewUUID(uuid); - } - - public UUID[] getNewUUIDArrayForward(UUID[] uuids) { - return service.getNewUUIDArray(uuids); - } -} diff --git a/java/sca-contrib/itest/databindings/jaxb-top-down/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/StandardTypesServiceImpl.java b/java/sca-contrib/itest/databindings/jaxb-top-down/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/StandardTypesServiceImpl.java deleted file mode 100644 index b58d04a04c..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-top-down/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/StandardTypesServiceImpl.java +++ /dev/null @@ -1,207 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.itest.databindings.jaxb.impl; - -import java.awt.Image; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.net.URI; -import java.util.Calendar; -import java.util.Date; -import java.util.UUID; - -import javax.activation.DataHandler; -import javax.xml.datatype.Duration; -import javax.xml.datatype.XMLGregorianCalendar; -import javax.xml.namespace.QName; -import javax.xml.transform.Source; - -import org.apache.tuscany.sca.itest.databindings.jaxb.StandardTypesService; -import org.oasisopen.sca.annotation.Service; - -/** - * An implementation of StandardTypesService. - * - * @version $Rev$ $Date$ - */ -@Service(interfaces={StandardTypesService.class}) -public class StandardTypesServiceImpl implements StandardTypesService { - public BigInteger getNewBigInteger(BigInteger bi) { - return bi.negate(); - } - - public BigInteger[] getNewBigIntegerArray(BigInteger[] bia) { - BigInteger[] resp = new BigInteger[bia.length]; - for(int i = 0; i < bia.length; ++i) { - resp[i] = bia[i].negate(); - } - return resp; - } - - public BigDecimal getNewBigDecimal(BigDecimal bd) { - return bd.negate(); - } - - public BigDecimal[] getNewBigDecimalArray(BigDecimal[] bda) { - BigDecimal[] resp = new BigDecimal[bda.length]; - for(int i = 0; i < bda.length; ++i) { - resp[i] = bda[i].negate(); - } - return resp; - } - - public Calendar getNewCalendar(Calendar c) { - Calendar resp = (Calendar)c.clone(); - resp.add(Calendar.DAY_OF_MONTH, 5); - return resp; - } - - public Calendar[] getNewCalendarArray(Calendar[] ca) { - Calendar[] resp = new Calendar[ca.length]; - for(int i = 0; i < ca.length; ++i) { - resp[i] = getNewCalendar(ca[i]); - } - return resp; - } - - public Date getNewDate(Date d) { - return new Date(d.getTime() + 5*24*60*60*1000); - } - - public Date[] getNewDateArray(Date[] da) { - Date[] resp = new Date[da.length]; - for(int i = 0; i < da.length; ++i) { - resp[i] = getNewDate(da[i]); - } - return resp; - } - - public QName getNewQName(QName qname) { - return new QName(qname.getNamespaceURI()+"q", qname.getLocalPart()+"q", qname.getPrefix()+"q"); - - } - - public QName[] getNewQNameArray(QName[] qnames) { - QName[] resp = new QName[qnames.length]; - for(int i = 0; i < qnames.length; ++i) { - resp[i] = getNewQName(qnames[i]); - } - return resp; - } - - public URI getNewURI(URI uri) { - return uri.resolve("uri"); - } - - public URI[] getNewURIArray(URI[] uris) { - URI[] resp = new URI[uris.length]; - for(int i = 0; i < uris.length; ++i) { - resp[i] = getNewURI(uris[i]); - } - return resp; - } - - public XMLGregorianCalendar getNewXMLGregorianCalendar(XMLGregorianCalendar xgcal) { - xgcal = (XMLGregorianCalendar)xgcal.clone(); - xgcal.setDay(xgcal.getDay()+5); - return xgcal; - } - - public XMLGregorianCalendar[] getNewXMLGregorianCalendarArray(XMLGregorianCalendar[] xgcals) { - XMLGregorianCalendar[] resp = new XMLGregorianCalendar[xgcals.length]; - for(int i = 0; i < xgcals.length; ++i) { - resp[i] = getNewXMLGregorianCalendar(xgcals[i]); - } - return resp; - } - - public Duration getNewDuration(Duration d) { - return d.negate(); - } - - public Duration[] getNewDurationArray(Duration[] da) { - Duration[] resp = new Duration[da.length]; - for(int i = 0; i < da.length; ++i) { - resp[i] = da[i].negate(); - } - return resp; - } - - public Object getNewObject(Object obj) { - return StandardTypesTransformer.getNewObject(obj); - } - - public Object[] getNewObjectArray(Object[] objs) { - Object[] resp = new Object[objs.length]; - for(int i = 0; i < objs.length; ++i) { - resp[i] = getNewObject(objs[i]); - } - return resp; - } - - public Image getNewImage(Image img) { - return StandardTypesTransformer.getNewImage(img); - } - - public Image[] getNewImageArray(Image[] imgs) { - Image[] resp = new Image[imgs.length]; - for(int i = 0; i < imgs.length; ++i) { - resp[i] = getNewImage(imgs[i]); - } - return resp; - } - - public DataHandler getNewDataHandler(DataHandler dh) { - // FIXME: transform the input - return dh; - } - - public DataHandler[] getNewDataHandlerArray(DataHandler[] dha) { - DataHandler[] resp = new DataHandler[dha.length]; - for(int i = 0; i < dha.length; ++i) { - resp[i] = dha[i]; - } - return resp; - } - - public Source getNewSource(Source src) { - return StandardTypesTransformer.getNewSource(src); - } - - public Source[] getNewSourceArray(Source[] srcs) { - Source[] resp = new Source[srcs.length]; - for(int i = 0; i < srcs.length; ++i) { - resp[i] = getNewSource(srcs[i]); - } - return resp; - } - - public UUID getNewUUID(UUID uuid) { - return UUID.fromString(uuid.toString()+"AAA"); - } - - public UUID[] getNewUUIDArray(UUID[] uuids) { - UUID[] resp = new UUID[uuids.length]; - for(int i = 0; i < uuids.length; ++i) { - resp[i] = getNewUUID(uuids[i]); - } - return resp; - } -} diff --git a/java/sca-contrib/itest/databindings/jaxb-top-down/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/StandardTypesTransformer.java b/java/sca-contrib/itest/databindings/jaxb-top-down/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/StandardTypesTransformer.java deleted file mode 100644 index 9d851455da..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-top-down/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/StandardTypesTransformer.java +++ /dev/null @@ -1,142 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.itest.databindings.jaxb.impl; - -import java.awt.Image; -import java.io.ByteArrayInputStream; -import java.io.ByteArrayOutputStream; -import java.io.CharArrayReader; -import java.io.CharArrayWriter; -import java.io.IOException; -import java.io.InputStream; -import java.io.Reader; - -import javax.xml.transform.Source; -import javax.xml.transform.dom.DOMSource; -import javax.xml.transform.sax.SAXSource; -import javax.xml.transform.stream.StreamSource; - -import org.xml.sax.InputSource; - -/** - * StandardTypesTransformer class that provide for transforming input provided to StandardTypesService methods. - * - * @version $Rev$ $Date$ - */ -public class StandardTypesTransformer { - - public static Object getNewObject(Object obj) { - if(obj instanceof String) { - return "Hello "+obj; - } else if(obj instanceof Integer) { - return new Integer(-((Integer)obj).intValue()); - } else if(obj instanceof Double) { - return new Double(-((Double)obj).doubleValue()); - } - - return obj; - } - - /** - * Returns a copy of the source object if the input is DOMSource, SAXSource or StreamSource. - * Returns the input object as is for other types. - */ - public static Source getNewSource(Source src) { - Source ret = null; - if(src instanceof DOMSource) { - DOMSource dsrc = (DOMSource)src; - ret = new DOMSource(dsrc.getNode() != null ? dsrc.getNode().cloneNode(true) : null); - } else if(src instanceof SAXSource) { - SAXSource ssrc = (SAXSource)src; - if(ssrc.getInputSource().getByteStream() != null) { - InputStream inp = ssrc.getInputSource().getByteStream(); - ByteArrayOutputStream bout = new ByteArrayOutputStream(); - int b; - try { - while((b = inp.read()) != -1) { - bout.write(b); - } - } catch (IOException ignored) { - } - try { bout.close();} catch (IOException ignored) {} - try { inp.reset();} catch (IOException ignored) {} - ret = new SAXSource(new InputSource(new ByteArrayInputStream(bout.toByteArray()))); - } else if(ssrc.getInputSource().getCharacterStream() != null) { - Reader rdr = ssrc.getInputSource().getCharacterStream(); - CharArrayWriter caw = new CharArrayWriter(); - try { - int c; - while((c = rdr.read()) != -1) { - caw.append((char)c); - } - } catch (IOException ignored) { - } - caw.close(); - try{ rdr.reset();} catch(IOException ignored) {} - ret = new SAXSource(new InputSource(new CharArrayReader(caw.toCharArray()))); - } else { - ret = new SAXSource(); - } - } else if(src instanceof StreamSource) { - StreamSource ssrc = (StreamSource)src; - if(ssrc.getInputStream() != null) { - InputStream inp = ssrc.getInputStream(); - ByteArrayOutputStream bout = new ByteArrayOutputStream(); - int b; - try { - while((b = inp.read()) != -1) { - bout.write(b); - } - } catch (IOException ignored) { - } - try { bout.close();} catch (IOException ignored) {} - try { inp.reset();} catch (IOException ignored) {} - ret = new StreamSource(new ByteArrayInputStream(bout.toByteArray())); - } else if(ssrc.getReader() != null) { - Reader rdr = ssrc.getReader(); - CharArrayWriter caw = new CharArrayWriter(); - try { - int c; - while((c = rdr.read()) != -1) { - caw.append((char)c); - } - } catch (IOException ignored) { - } - caw.close(); - try{ rdr.reset();} catch(IOException ignored) {} - ret = new StreamSource(new CharArrayReader(caw.toCharArray())); - } else { - ret = new StreamSource(); - } - } - - if(ret != null) { - ret.setSystemId(src.getSystemId()); - } else { - ret = src; - } - return ret; - } - - public static Image getNewImage(Image arg) { - arg.getGraphics().drawOval(2, 2, 7, 7); - return arg; - } -} diff --git a/java/sca-contrib/itest/databindings/jaxb-top-down/src/main/resources/wsdl/wrapped/hello-service.wsdl b/java/sca-contrib/itest/databindings/jaxb-top-down/src/main/resources/wsdl/wrapped/hello-service.wsdl deleted file mode 100644 index 926e4154aa..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-top-down/src/main/resources/wsdl/wrapped/hello-service.wsdl +++ /dev/null @@ -1,371 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/jaxb-top-down/src/main/resources/wsdl/wrapped/helloservice.composite b/java/sca-contrib/itest/databindings/jaxb-top-down/src/main/resources/wsdl/wrapped/helloservice.composite deleted file mode 100644 index 63151f6a2d..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-top-down/src/main/resources/wsdl/wrapped/helloservice.composite +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/jaxb-top-down/src/main/resources/wsdl/wrapped/primitives-service.wsdl b/java/sca-contrib/itest/databindings/jaxb-top-down/src/main/resources/wsdl/wrapped/primitives-service.wsdl deleted file mode 100644 index f366783e5e..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-top-down/src/main/resources/wsdl/wrapped/primitives-service.wsdl +++ /dev/null @@ -1,927 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/jaxb-top-down/src/main/resources/wsdl/wrapped/primitivesservice.composite b/java/sca-contrib/itest/databindings/jaxb-top-down/src/main/resources/wsdl/wrapped/primitivesservice.composite deleted file mode 100644 index 85ca6d0789..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-top-down/src/main/resources/wsdl/wrapped/primitivesservice.composite +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/jaxb-top-down/src/main/resources/wsdl/wrapped/standard-types-service.composite b/java/sca-contrib/itest/databindings/jaxb-top-down/src/main/resources/wsdl/wrapped/standard-types-service.composite deleted file mode 100644 index 4788df78e0..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-top-down/src/main/resources/wsdl/wrapped/standard-types-service.composite +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/jaxb-top-down/src/main/resources/wsdl/wrapped/standard-types-service.wsdl b/java/sca-contrib/itest/databindings/jaxb-top-down/src/main/resources/wsdl/wrapped/standard-types-service.wsdl deleted file mode 100644 index 5bfd1ea277..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-top-down/src/main/resources/wsdl/wrapped/standard-types-service.wsdl +++ /dev/null @@ -1,1155 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/jaxb-top-down/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/topdown/DatabindingTestCase.java b/java/sca-contrib/itest/databindings/jaxb-top-down/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/topdown/DatabindingTestCase.java deleted file mode 100644 index 35f69608e7..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-top-down/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/topdown/DatabindingTestCase.java +++ /dev/null @@ -1,349 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.itest.databindings.jaxb.topdown; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -import junit.framework.Assert; - -import org.apache.tuscany.sca.itest.databindings.jaxb.HelloServiceClient; -import org.apache.tuscany.sca.node.Client; -import org.apache.tuscany.sca.node.Node; -import org.apache.tuscany.sca.node.NodeFactory; -import org.junit.AfterClass; -import org.junit.BeforeClass; -import org.junit.Test; - -/** - * @version $Rev$ $Date$ - */ -public class DatabindingTestCase { - - private static Client client; - private static Node node; - - /** - * Runs once before running the tests - */ - @BeforeClass - public static void setUp() throws Exception { - try { - NodeFactory nodeFactory = NodeFactory.newInstance(); - node = nodeFactory.createSCANodeFromClassLoader("wsdl/wrapped/helloservice.composite", null); - node.start(); - client = (Client)node; - }catch(Throwable e) { - e.printStackTrace(); - } - }catch(Throwable e) { - e.printStackTrace(); - } - } - - /** - * Runs once after running the tests - */ - @AfterClass - public static void tearDown() { - node.stop(); - } - - /** - * Invokes the HelloService service using WS binding. - * Service method invoked is getGreetings. - */ - @Test - public void testW2W() throws Exception { - HelloServiceClient helloServiceClient = client.getService(HelloServiceClient.class, "HelloServiceClientW2WComponent"); - performTest(helloServiceClient); - } - - /** - * Invokes the HelloService service using WS binding. - * Service method invoked is getGreetingsArray. - */ - @Test - public void testW2WArray() throws Exception { - HelloServiceClient helloServiceClient = client.getService(HelloServiceClient.class, "HelloServiceClientW2WComponent"); - performTestArray(helloServiceClient); - } - - /** - * Invokes the HelloService service using WS binding. - * Service method invoked is getGreetingsList. - */ - @Test - public void testW2WList() throws Exception { - HelloServiceClient helloServiceClient = client.getService(HelloServiceClient.class, "HelloServiceClientW2WComponent"); - performTestList(helloServiceClient); - } - - /** - * Invokes the HelloService service using WS binding. - * Service method invoked is getGreetingsArrayList. - */ - @Test - public void testW2WArrayList() throws Exception { - HelloServiceClient helloServiceClient = client.getService(HelloServiceClient.class, "HelloServiceClientW2WComponent"); - performTestArrayList(helloServiceClient); - } - - /** - * Invokes the HelloService service using WS binding. - * Service method invoked is getGreetingsMap. - */ - @Test - public void testW2WMap() throws Exception { - HelloServiceClient helloServiceClient = client.getService(HelloServiceClient.class, "HelloServiceClientW2WComponent"); - performTestMap(helloServiceClient); - } - - /** - * Invokes the HelloService service using WS binding. - * Service method invoked is getGreetingsHashMap. - */ - @Test - public void testW2WHashMap() throws Exception { - HelloServiceClient helloServiceClient = client.getService(HelloServiceClient.class, "HelloServiceClientW2WComponent"); - performTestHashMap(helloServiceClient); - } - - /** - * Invokes the HelloService service using WS binding. - * Service method invoked is getGreetingsVarArgs. - */ - @Test - public void testW2WVarArgs() throws Exception { - HelloServiceClient helloServiceClient = client.getService(HelloServiceClient.class, "HelloServiceClientW2WComponent"); - performTestVarArgs(helloServiceClient); - } - - /** - * Invokes the HelloService service using WS binding. - * Service method invoked is getGreetings. - */ - @Test - public void testJ2W() throws Exception { - HelloServiceClient helloServiceClient = client.getService(HelloServiceClient.class, "HelloServiceClientJ2WComponent"); - performTest(helloServiceClient); - } - - /** - * Invokes the HelloService service using WS binding. - * Service method invoked is getGreetingsArray. - */ - @Test - public void testJ2WArray() throws Exception { - HelloServiceClient helloServiceClient = client.getService(HelloServiceClient.class, "HelloServiceClientJ2WComponent"); - performTestArray(helloServiceClient); - } - - /** - * Invokes the HelloService service using WS binding. - * Service method invoked is getGreetingsList. - */ - @Test - public void testJ2WList() throws Exception { - HelloServiceClient helloServiceClient = client.getService(HelloServiceClient.class, "HelloServiceClientJ2WComponent"); - performTestList(helloServiceClient); - } - - /** - * Invokes the HelloService service using WS binding. - * Service method invoked is getGreetingsArrayList. - */ - @Test - public void testJ2WArrayList() throws Exception { - HelloServiceClient helloServiceClient = client.getService(HelloServiceClient.class, "HelloServiceClientJ2WComponent"); - performTestArrayList(helloServiceClient); - } - - /** - * Invokes the HelloService service using WS binding. - * Service method invoked is getGreetingsMap. - */ - @Test - public void testJ2WMap() throws Exception { - HelloServiceClient helloServiceClient = client.getService(HelloServiceClient.class, "HelloServiceClientJ2WComponent"); - performTestMap(helloServiceClient); - } - - /** - * Invokes the HelloService service using WS binding. - * Service method invoked is getGreetingsHashMap. - */ - @Test - public void testJ2WHashMap() throws Exception { - HelloServiceClient helloServiceClient = client.getService(HelloServiceClient.class, "HelloServiceClientJ2WComponent"); - performTestHashMap(helloServiceClient); - } - - /** - * Invokes the HelloService service using WS binding. - * Service method invoked is getGreetingsVarArgs. - */ - @Test - public void testJ2WVarArgs() throws Exception { - HelloServiceClient helloServiceClient = client.getService(HelloServiceClient.class, "HelloServiceClientJ2WComponent"); - performTestVarArgs(helloServiceClient); - } - - /** - * Invokes the HelloService service using WS binding. - * Service method invoked is getGreetings. - */ - @Test - public void testW2J() throws Exception { - HelloServiceClient helloServiceClient = client.getService(HelloServiceClient.class, "HelloServiceClientW2JComponent"); - performTest(helloServiceClient); - } - - /** - * Invokes the HelloService service using WS binding. - * Service method invoked is getGreetingsArray. - */ - @Test - public void testW2JArray() throws Exception { - HelloServiceClient helloServiceClient = client.getService(HelloServiceClient.class, "HelloServiceClientW2JComponent"); - performTestArray(helloServiceClient); - } - - /** - * Invokes the HelloService service using WS binding. - * Service method invoked is getGreetingsList. - */ - @Test - public void testW2JList() throws Exception { - HelloServiceClient helloServiceClient = client.getService(HelloServiceClient.class, "HelloServiceClientW2JComponent"); - performTestList(helloServiceClient); - } - - /** - * Invokes the HelloService service using WS binding. - * Service method invoked is getGreetingsArrayList. - */ - @Test - public void testW2JArrayList() throws Exception { - HelloServiceClient helloServiceClient = client.getService(HelloServiceClient.class, "HelloServiceClientW2JComponent"); - performTestArrayList(helloServiceClient); - } - - /** - * Invokes the HelloService service using WS binding. - * Service method invoked is getGreetingsMap. - */ - @Test - public void testW2JMap() throws Exception { - HelloServiceClient helloServiceClient = client.getService(HelloServiceClient.class, "HelloServiceClientW2JComponent"); - performTestMap(helloServiceClient); - } - - /** - * Invokes the HelloService service using WS binding. - * Service method invoked is getGreetingsHashMap. - */ - @Test - public void testW2JHashMap() throws Exception { - HelloServiceClient helloServiceClient = client.getService(HelloServiceClient.class, "HelloServiceClientW2JComponent"); - performTestHashMap(helloServiceClient); - } - - /** - * Invokes the HelloService service using WS binding. - * Service method invoked is getGreetingsVarArgs. - */ - @Test - public void testW2JVarArgs() throws Exception { - HelloServiceClient helloServiceClient = client.getService(HelloServiceClient.class, "HelloServiceClientW2JComponent"); - performTestVarArgs(helloServiceClient); - } - - private void performTest(HelloServiceClient helloServiceClient) { - String name = "Pandu"; - String resp = helloServiceClient.getGreetingsForward(name); - Assert.assertEquals("Hello "+name, resp); - } - - private void performTestArray(HelloServiceClient helloServiceClient) { - String[] names = {"Me", "Pandu"}; - String[] resps = helloServiceClient.getGreetingsArrayForward(names); - for(int i = 0; i < names.length; ++i) { - Assert.assertEquals("Hello "+names[i], resps[i]); - } - } - - private void performTestList(HelloServiceClient helloServiceClient) { - List namesList = new ArrayList(); - namesList.add("Me"); - namesList.add("Pandu"); - namesList.add("Chinnipandu"); - List respList = helloServiceClient.getGreetingsListForward(namesList); - Assert.assertEquals(namesList.size(), respList.size()); - for(int i = 0; i < namesList.size(); ++i) { - Assert.assertEquals("Hello "+namesList.get(i), respList.get(i)); - } - } - - private void performTestArrayList(HelloServiceClient helloServiceClient) { - ArrayList namesList = new ArrayList(); - namesList.add("Me"); - namesList.add("Pandu"); - namesList.add("Chinnipandu"); - ArrayList respList = helloServiceClient.getGreetingsArrayListForward(namesList); - Assert.assertEquals(namesList.size(), respList.size()); - for(int i = 0; i < namesList.size(); ++i) { - Assert.assertEquals("Hello "+namesList.get(i), respList.get(i)); - } - } - - private void performTestMap(HelloServiceClient helloServiceClient) { - Map namesMap = new HashMap(); - namesMap.put("Me", null); - namesMap.put("Pandu", null); - namesMap.put("Chinnipandu", null); - Map respMap = helloServiceClient.getGreetingsMapForward(namesMap); - Assert.assertEquals(namesMap.keySet().size(), respMap.keySet().size()); - for(Map.Entry entry: namesMap.entrySet()) { - Assert.assertEquals("Hello "+entry.getKey(), respMap.get(entry.getKey())); - } - } - - private void performTestHashMap(HelloServiceClient helloServiceClient) { - HashMap namesMap = new HashMap(); - namesMap.put("Me", null); - namesMap.put("Pandu", null); - namesMap.put("Chinnipandu", null); - Map respMap = helloServiceClient.getGreetingsHashMapForward(namesMap); - Assert.assertEquals(namesMap.keySet().size(), respMap.keySet().size()); - for(Map.Entry entry: namesMap.entrySet()) { - Assert.assertEquals("Hello "+entry.getKey(), respMap.get(entry.getKey())); - } - } - - private void performTestVarArgs(HelloServiceClient helloServiceClient) { - String[] names = { "Me", "You", "Pandu" }; // Do not change the array size from 3. - String expected = "Hello Me You Pandu"; - String actual = helloServiceClient.getGreetingsVarArgsForward(names[0], names[1], names[2]); - Assert.assertEquals(expected, actual); - } -} diff --git a/java/sca-contrib/itest/databindings/jaxb-top-down/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/topdown/PrimitivesDatabindingTestCase.java b/java/sca-contrib/itest/databindings/jaxb-top-down/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/topdown/PrimitivesDatabindingTestCase.java deleted file mode 100644 index 4a292a8b7a..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-top-down/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/topdown/PrimitivesDatabindingTestCase.java +++ /dev/null @@ -1,848 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.itest.databindings.jaxb.topdown; - -import junit.framework.Assert; - -import org.apache.tuscany.sca.itest.databindings.jaxb.PrimitivesServiceClient; -import org.apache.tuscany.sca.node.Client; -import org.apache.tuscany.sca.node.Node; -import org.apache.tuscany.sca.node.NodeFactory; -import org.junit.AfterClass; -import org.junit.BeforeClass; -import org.junit.Test; - -/** - * @version $Rev$ $Date$ - */ -public class PrimitivesDatabindingTestCase { - - private static Client domain; - private static Node node; - - /** - * Runs before each test method - */ - @BeforeClass - public static void setUp() throws Exception { - NodeFactory nodeFactory = NodeFactory.newInstance(); - node = nodeFactory.createSCANodeFromClassLoader("wsdl/wrapped/primitivesservice.composite", null); - node.start(); - domain = (Client)node; - } - - /** - * Runs after each test method - */ - @AfterClass - public static void tearDown() { - node.stop(); - } - - /** - * Invokes the PrimitivesService service using WS binding. - * Service method invoked is negateBoolean. - */ - @Test - public void testW2WNegateBoolean() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientW2WComponent"); - performTestNegateBoolean(primitivesServiceClient); - } - - /** - * Invokes the PrimitivesService service using WS binding. - * Service method invoked is negateBooleanArray. - */ - @Test - public void testW2WNegateBooleanArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientW2WComponent"); - performTestNegateBooleanArray(primitivesServiceClient); - } - - /** - * Test the pass-by-value semantics of a remotable service with WS binding. - * Test for boolean array. - */ - @Test - public void testW2WPassByValueBooleanArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientW2WComponent"); - Assert.assertTrue(primitivesServiceClient.passByValueBooleanArray()); - } - - /** - * Invokes the PrimitivesService service using WS binding. - * Service method invoked is negateByte. - */ - @Test - public void testW2WNegateByte() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientW2WComponent"); - performTestNegateByte(primitivesServiceClient); - } - - /** - * Invokes the PrimitivesService service using WS binding. - * Service method invoked is negateByteArray. - */ - @Test - public void testW2WNegateByteArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientW2WComponent"); - performTestNegateByteArray(primitivesServiceClient); - } - - /** - * Test the pass-by-value semantics of a remotable service with WS binding. - * Test for byte array. - */ - @Test - public void testW2WPassByValueByteArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientW2WComponent"); - Assert.assertTrue(primitivesServiceClient.passByValueByteArray()); - } - - /** - * Invokes the PrimitivesService service using WS binding. - * Service method invoked is negateShort. - */ - @Test - public void testW2WNegateShort() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientW2WComponent"); - performTestNegateShort(primitivesServiceClient); - } - - /** - * Invokes the PrimitivesService service using WS binding. - * Service method invoked is negateShortArray. - */ - @Test - public void testW2WNegateShortArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientW2WComponent"); - performTestNegateShortArray(primitivesServiceClient); - } - - /** - * Test the pass-by-value semantics of a remotable service with WS binding. - * Test for short array. - */ - @Test - public void testW2WPassByValueShortArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientW2WComponent"); - Assert.assertTrue(primitivesServiceClient.passByValueShortArray()); - } - - /** - * Invokes the PrimitivesService service using WS binding. - * Service method invoked is negateInt. - */ - @Test - public void testW2WNegateInt() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientW2WComponent"); - performTestNegateInt(primitivesServiceClient); - } - - /** - * Invokes the PrimitivesService service using WS binding. - * Service method invoked is negateIntArray. - */ - @Test - public void testW2WNegateIntArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientW2WComponent"); - performTestNegateIntArray(primitivesServiceClient); - } - - /** - * Test the pass-by-value semantics of a remotable service with WS binding. - * Test for int array. - */ - @Test - public void testW2WPassByValueIntArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientW2WComponent"); - Assert.assertTrue(primitivesServiceClient.passByValueIntArray()); - } - - /** - * Invokes the PrimitivesService service using WS binding. - * Service method invoked is negateLong. - */ - @Test - public void testW2WNegateLong() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientW2WComponent"); - performTestNegateLong(primitivesServiceClient); - } - - /** - * Invokes the PrimitivesService service using WS binding. - * Service method invoked is negateLongArray. - */ - @Test - public void testW2WNegateLongArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientW2WComponent"); - performTestNegateLongArray(primitivesServiceClient); - } - - /** - * Test the pass-by-value semantics of a remotable service with WS binding. - * Test for long array. - */ - @Test - public void testW2WPassByValueLongArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientW2WComponent"); - Assert.assertTrue(primitivesServiceClient.passByValueLongArray()); - } - - /** - * Invokes the PrimitivesService service using WS binding. - * Service method invoked is negateFloat. - */ - @Test - public void testW2WNegateFloat() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientW2WComponent"); - performTestNegateFloat(primitivesServiceClient); - } - - /** - * Invokes the PrimitivesService service using WS binding. - * Service method invoked is negateFloatArray. - */ - @Test - public void testW2WNegateFloatArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientW2WComponent"); - performTestNegateFloatArray(primitivesServiceClient); - } - - /** - * Test the pass-by-value semantics of a remotable service with WS binding. - * Test for float array. - */ - @Test - public void testW2WPassByValueFloatArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientW2WComponent"); - Assert.assertTrue(primitivesServiceClient.passByValueFloatArray()); - } - - /** - * Invokes the PrimitivesService service using WS binding. - * Service method invoked is negateDouble. - */ - @Test - public void testW2WNegateDouble() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientW2WComponent"); - performTestNegateDouble(primitivesServiceClient); - } - - /** - * Invokes the PrimitivesService service using WS binding. - * Service method invoked is negateDoubleArray. - */ - @Test - public void testW2WNegateDoubleArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientW2WComponent"); - performTestNegateDoubleArray(primitivesServiceClient); - } - - /** - * Test the pass-by-value semantics of a remotable service with WS binding. - * Test for double array. - */ - @Test - public void testW2WPassByValueDoubleArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientW2WComponent"); - Assert.assertTrue(primitivesServiceClient.passByValueDoubleArray()); - } - - /** - * Invokes the PrimitivesService service using WS binding. - * Service method invoked is negateBoolean. - */ - @Test - public void testJ2WNegateBoolean() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientJ2WComponent"); - performTestNegateBoolean(primitivesServiceClient); - } - - /** - * Invokes the PrimitivesService service using WS binding. - * Service method invoked is negateBooleanArray. - */ - @Test - public void testJ2WNegateBooleanArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientJ2WComponent"); - performTestNegateBooleanArray(primitivesServiceClient); - } - - /** - * Test the pass-by-value semantics of a remotable service with WS binding. - * Test for boolean array. - */ - @Test - public void testJ2WPassByValueBooleanArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientJ2WComponent"); - Assert.assertTrue(primitivesServiceClient.passByValueBooleanArray()); - } - - /** - * Invokes the PrimitivesService service using WS binding. - * Service method invoked is negateByte. - */ - @Test - public void testJ2WNegateByte() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientJ2WComponent"); - performTestNegateByte(primitivesServiceClient); - } - - /** - * Invokes the PrimitivesService service using WS binding. - * Service method invoked is negateByteArray. - */ - @Test - public void testJ2WNegateByteArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientJ2WComponent"); - performTestNegateByteArray(primitivesServiceClient); - } - - /** - * Test the pass-by-value semantics of a remotable service with WS binding. - * Test for byte array. - */ - @Test - public void testJ2WPassByValueByteArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientJ2WComponent"); - Assert.assertTrue(primitivesServiceClient.passByValueByteArray()); - } - - /** - * Invokes the PrimitivesService service using WS binding. - * Service method invoked is negateShort. - */ - @Test - public void testJ2WNegateShort() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientJ2WComponent"); - performTestNegateShort(primitivesServiceClient); - } - - /** - * Invokes the PrimitivesService service using WS binding. - * Service method invoked is negateShortArray. - */ - @Test - public void testJ2WNegateShortArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientJ2WComponent"); - performTestNegateShortArray(primitivesServiceClient); - } - - /** - * Test the pass-by-value semantics of a remotable service with WS binding. - * Test for short array. - */ - @Test - public void testJ2WPassByValueShortArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientJ2WComponent"); - Assert.assertTrue(primitivesServiceClient.passByValueShortArray()); - } - - /** - * Invokes the PrimitivesService service using WS binding. - * Service method invoked is negateInt. - */ - @Test - public void testJ2WNegateInt() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientJ2WComponent"); - performTestNegateInt(primitivesServiceClient); - } - - /** - * Invokes the PrimitivesService service using WS binding. - * Service method invoked is negateIntArray. - */ - @Test - public void testJ2WNegateIntArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientJ2WComponent"); - performTestNegateIntArray(primitivesServiceClient); - } - - /** - * Test the pass-by-value semantics of a remotable service with WS binding. - * Test for int array. - */ - @Test - public void testJ2WPassByValueIntArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientJ2WComponent"); - Assert.assertTrue(primitivesServiceClient.passByValueIntArray()); - } - - /** - * Invokes the PrimitivesService service using WS binding. - * Service method invoked is negateLong. - */ - @Test - public void testJ2WNegateLong() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientJ2WComponent"); - performTestNegateLong(primitivesServiceClient); - } - - /** - * Invokes the PrimitivesService service using WS binding. - * Service method invoked is negateLongArray. - */ - @Test - public void testJ2WNegateLongArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientJ2WComponent"); - performTestNegateLongArray(primitivesServiceClient); - } - - /** - * Test the pass-by-value semantics of a remotable service with WS binding. - * Test for long array. - */ - @Test - public void testJ2WPassByValueLongArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientJ2WComponent"); - Assert.assertTrue(primitivesServiceClient.passByValueLongArray()); - } - - /** - * Invokes the PrimitivesService service using WS binding. - * Service method invoked is negateFloat. - */ - @Test - public void testJ2WNegateFloat() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientJ2WComponent"); - performTestNegateFloat(primitivesServiceClient); - } - - /** - * Invokes the PrimitivesService service using WS binding. - * Service method invoked is negateFloatArray. - */ - @Test - public void testJ2WNegateFloatArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientJ2WComponent"); - performTestNegateFloatArray(primitivesServiceClient); - } - - /** - * Test the pass-by-value semantics of a remotable service with WS binding. - * Test for float array. - */ - @Test - public void testJ2WPassByValueFloatArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientJ2WComponent"); - Assert.assertTrue(primitivesServiceClient.passByValueFloatArray()); - } - - /** - * Invokes the PrimitivesService service using WS binding. - * Service method invoked is negateDouble. - */ - @Test - public void testJ2WNegateDouble() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientJ2WComponent"); - performTestNegateDouble(primitivesServiceClient); - } - - /** - * Invokes the PrimitivesService service using WS binding. - * Service method invoked is negateDoubleArray. - */ - @Test - public void testJ2WNegateDoubleArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientJ2WComponent"); - performTestNegateDoubleArray(primitivesServiceClient); - } - - /** - * Test the pass-by-value semantics of a remotable service with WS binding. - * Test for double array. - */ - @Test - public void testJ2WPassByValueDoubleArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientJ2WComponent"); - Assert.assertTrue(primitivesServiceClient.passByValueDoubleArray()); - } - - /** - * Invokes the PrimitivesService service using WS binding. - * Service method invoked is negateBoolean. - */ - @Test - public void testW2JNegateBoolean() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientW2JComponent"); - performTestNegateBoolean(primitivesServiceClient); - } - - /** - * Invokes the PrimitivesService service using WS binding. - * Service method invoked is negateBooleanArray. - */ - @Test - public void testW2JNegateBooleanArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientW2JComponent"); - performTestNegateBooleanArray(primitivesServiceClient); - } - - /** - * Test the pass-by-value semantics of a remotable service with WS binding. - * Test for boolean array. - */ - @Test - public void testW2JPassByValueBooleanArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientW2JComponent"); - Assert.assertTrue(primitivesServiceClient.passByValueBooleanArray()); - } - - /** - * Invokes the PrimitivesService service using WS binding. - * Service method invoked is negateByte. - */ - @Test - public void testW2JNegateByte() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientW2JComponent"); - performTestNegateByte(primitivesServiceClient); - } - - /** - * Invokes the PrimitivesService service using WS binding. - * Service method invoked is negateByteArray. - */ - @Test - public void testW2JNegateByteArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientW2JComponent"); - performTestNegateByteArray(primitivesServiceClient); - } - - /** - * Test the pass-by-value semantics of a remotable service with WS binding. - * Test for byte array. - */ - @Test - public void testW2JPassByValueByteArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientW2JComponent"); - Assert.assertTrue(primitivesServiceClient.passByValueByteArray()); - } - - /** - * Invokes the PrimitivesService service using WS binding. - * Service method invoked is negateShort. - */ - @Test - public void testW2JNegateShort() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientW2JComponent"); - performTestNegateShort(primitivesServiceClient); - } - - /** - * Invokes the PrimitivesService service using WS binding. - * Service method invoked is negateShortArray. - */ - @Test - public void testW2JNegateShortArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientW2JComponent"); - performTestNegateShortArray(primitivesServiceClient); - } - - /** - * Test the pass-by-value semantics of a remotable service with WS binding. - * Test for short array. - */ - @Test - public void testW2JPassByValueShortArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientW2JComponent"); - Assert.assertTrue(primitivesServiceClient.passByValueShortArray()); - } - - /** - * Invokes the PrimitivesService service using WS binding. - * Service method invoked is negateInt. - */ - @Test - public void testW2JNegateInt() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientW2JComponent"); - performTestNegateInt(primitivesServiceClient); - } - - /** - * Invokes the PrimitivesService service using WS binding. - * Service method invoked is negateIntArray. - */ - @Test - public void testW2JNegateIntArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientW2JComponent"); - performTestNegateIntArray(primitivesServiceClient); - } - - /** - * Test the pass-by-value semantics of a remotable service with WS binding. - * Test for int array. - */ - @Test - public void testW2JPassByValueIntArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientW2JComponent"); - Assert.assertTrue(primitivesServiceClient.passByValueIntArray()); - } - - /** - * Invokes the PrimitivesService service using WS binding. - * Service method invoked is negateLong. - */ - @Test - public void testW2JNegateLong() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientW2JComponent"); - performTestNegateLong(primitivesServiceClient); - } - - /** - * Invokes the PrimitivesService service using WS binding. - * Service method invoked is negateLongArray. - */ - @Test - public void testW2JNegateLongArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientW2JComponent"); - performTestNegateLongArray(primitivesServiceClient); - } - - /** - * Test the pass-by-value semantics of a remotable service with WS binding. - * Test for long array. - */ - @Test - public void testW2JPassByValueLongArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientW2JComponent"); - Assert.assertTrue(primitivesServiceClient.passByValueLongArray()); - } - - /** - * Invokes the PrimitivesService service using WS binding. - * Service method invoked is negateFloat. - */ - @Test - public void testW2JNegateFloat() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientW2JComponent"); - performTestNegateFloat(primitivesServiceClient); - } - - /** - * Invokes the PrimitivesService service using WS binding. - * Service method invoked is negateFloatArray. - */ - @Test - public void testW2JNegateFloatArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientW2JComponent"); - performTestNegateFloatArray(primitivesServiceClient); - } - - /** - * Test the pass-by-value semantics of a remotable service with WS binding. - * Test for float array. - */ - @Test - public void testW2JPassByValueFloatArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientW2JComponent"); - Assert.assertTrue(primitivesServiceClient.passByValueFloatArray()); - } - - /** - * Invokes the PrimitivesService service using WS binding. - * Service method invoked is negateDouble. - */ - @Test - public void testW2JNegateDouble() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientW2JComponent"); - performTestNegateDouble(primitivesServiceClient); - } - - /** - * Invokes the PrimitivesService service using WS binding. - * Service method invoked is negateDoubleArray. - */ - @Test - public void testW2JNegateDoubleArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientW2JComponent"); - performTestNegateDoubleArray(primitivesServiceClient); - } - - /** - * Test the pass-by-value semantics of a remotable service with WS binding. - * Test for double array. - */ - @Test - public void testW2JPassByValueDoubleArray() throws Exception { - PrimitivesServiceClient primitivesServiceClient = domain.getService(PrimitivesServiceClient.class, "PrimitivesServiceClientW2JComponent"); - Assert.assertTrue(primitivesServiceClient.passByValueDoubleArray()); - } - - private void performTestNegateBoolean(PrimitivesServiceClient primitivesServiceClient) { - Assert.assertTrue(primitivesServiceClient.negateBooleanForward(false)); - Assert.assertFalse(primitivesServiceClient.negateBooleanForward(true)); - } - - private void performTestNegateBooleanArray(PrimitivesServiceClient primitivesServiceClient) { - boolean flags[] = new boolean[2]; - flags[0] = false; - flags[1] = true; - boolean[] respFlags = primitivesServiceClient.negateBooleanArrayForward(flags); - Assert.assertEquals(flags.length, respFlags.length); - for(int i = 0; i < flags.length; ++i) { - Assert.assertEquals(!flags[i], respFlags[i]); - } - } - - private void performTestNegateByte(PrimitivesServiceClient primitivesServiceClient) { - byte[] ba = new byte[3]; - ba[0] = -1; - ba[1] = 0; - ba[2] = 1; - - for(int i = 0; i < ba.length; ++i) { - Assert.assertEquals((byte)-ba[i], primitivesServiceClient.negateByteForward(ba[i])); - } - } - - private void performTestNegateByteArray(PrimitivesServiceClient primitivesServiceClient) { - byte[] ba = new byte[3]; - ba[0] = -1; - ba[1] = 0; - ba[2] = 1; - - byte[] r = primitivesServiceClient.negateByteArrayForward(ba); - Assert.assertEquals(ba.length, r.length); - for(int i = 0; i < ba.length; ++i) { - Assert.assertEquals((byte)-ba[i], r[i]); - } - } - - private void performTestNegateShort(PrimitivesServiceClient primitivesServiceClient) { - short[] s = new short[3]; - s[0] = -1; - s[1] = 0; - s[2] = 1; - - for(int i = 0; i < s.length; ++i) { - Assert.assertEquals((short)-s[i], primitivesServiceClient.negateShortForward(s[i])); - } - } - - private void performTestNegateShortArray(PrimitivesServiceClient primitivesServiceClient) { - short[] s = new short[3]; - s[0] = -1; - s[1] = 0; - s[2] = 1; - - short[] r = primitivesServiceClient.negateShortArrayForward(s); - Assert.assertEquals(s.length, r.length); - for(int i = 0; i < s.length; ++i) { - Assert.assertEquals((short)-s[i], r[i]); - } - } - - private void performTestNegateInt(PrimitivesServiceClient primitivesServiceClient) { - int[] ia = new int[3]; - ia[0] = -1; - ia[1] = 0; - ia[2] = 1; - - for(int i = 0; i < ia.length; ++i) { - Assert.assertEquals(-ia[i], primitivesServiceClient.negateIntForward(ia[i])); - } - } - - private void performTestNegateIntArray(PrimitivesServiceClient primitivesServiceClient) { - int[] ia = new int[3]; - ia[0] = -1; - ia[1] = 0; - ia[2] = 1; - - int[] r = primitivesServiceClient.negateIntArrayForward(ia); - Assert.assertEquals(ia.length, r.length); - for(int i = 0; i < ia.length; ++i) { - Assert.assertEquals(-ia[i], r[i]); - } - } - - private void performTestNegateLong(PrimitivesServiceClient primitivesServiceClient) { - long[] la = new long[3]; - la[0] = -1; - la[1] = 0; - la[2] = 1; - - for(int i = 0; i < la.length; ++i) { - Assert.assertEquals(-la[i], primitivesServiceClient.negateLongForward(la[i])); - } - } - - private void performTestNegateLongArray(PrimitivesServiceClient primitivesServiceClient) { - long[] la = new long[3]; - la[0] = -1; - la[1] = 0; - la[2] = 1; - - long[] r = primitivesServiceClient.negateLongArrayForward(la); - Assert.assertEquals(la.length, r.length); - for(int i = 0; i < la.length; ++i) { - Assert.assertEquals(-la[i], r[i]); - } - } - - private void performTestNegateFloat(PrimitivesServiceClient primitivesServiceClient) { - float[] fa = new float[3]; - fa[0] = -1; - fa[1] = 0; - fa[2] = 1; - - for(int i = 0; i < fa.length; ++i) { - Assert.assertEquals(-fa[i], primitivesServiceClient.negateFloatForward(fa[i])); - } - } - - private void performTestNegateFloatArray(PrimitivesServiceClient primitivesServiceClient) { - float[] ia = new float[3]; - ia[0] = -1; - ia[1] = 0; - ia[2] = 1; - - float[] r = primitivesServiceClient.negateFloatArrayForward(ia); - Assert.assertEquals(ia.length, r.length); - for(int i = 0; i < ia.length; ++i) { - Assert.assertEquals(-ia[i], r[i]); - } - } - - private void performTestNegateDouble(PrimitivesServiceClient primitivesServiceClient) { - double[] da = new double[3]; - da[0] = -1; - da[1] = 0; - da[2] = 1; - - for(int i = 0; i < da.length; ++i) { - Assert.assertEquals(-da[i], primitivesServiceClient.negateDoubleForward(da[i])); - } - } - - private void performTestNegateDoubleArray(PrimitivesServiceClient primitivesServiceClient) { - double[] da = new double[3]; - da[0] = -1; - da[1] = 0; - da[2] = 1; - - double[] r = primitivesServiceClient.negateDoubleArrayForward(da); - Assert.assertEquals(da.length, r.length); - for(int i = 0; i < da.length; ++i) { - Assert.assertEquals(-da[i], r[i]); - } - } -} diff --git a/java/sca-contrib/itest/databindings/jaxb-top-down/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/topdown/StandardTypesDatabindingTestCase.java b/java/sca-contrib/itest/databindings/jaxb-top-down/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/topdown/StandardTypesDatabindingTestCase.java deleted file mode 100644 index 263b2f81eb..0000000000 --- a/java/sca-contrib/itest/databindings/jaxb-top-down/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/topdown/StandardTypesDatabindingTestCase.java +++ /dev/null @@ -1,1450 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.itest.databindings.jaxb.topdown; - -import java.awt.Image; -import java.awt.image.BufferedImage; -import java.awt.image.PixelGrabber; -import java.io.IOException; -import java.io.InputStream; -import java.io.StringReader; -import java.io.StringWriter; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.net.URI; -import java.util.Calendar; -import java.util.Date; -import java.util.GregorianCalendar; -import java.util.TimeZone; -import java.util.UUID; - -import javax.activation.DataHandler; -import javax.xml.datatype.DatatypeConfigurationException; -import javax.xml.datatype.DatatypeFactory; -import javax.xml.datatype.Duration; -import javax.xml.datatype.XMLGregorianCalendar; -import javax.xml.namespace.QName; -import javax.xml.transform.Result; -import javax.xml.transform.Source; -import javax.xml.transform.TransformerFactory; -import javax.xml.transform.dom.DOMSource; -import javax.xml.transform.sax.SAXSource; -import javax.xml.transform.stream.StreamResult; -import javax.xml.transform.stream.StreamSource; - -import junit.framework.Assert; - -import org.apache.axiom.attachments.ByteArrayDataSource; -import org.apache.tuscany.sca.databinding.xml.String2Node; -import org.apache.tuscany.sca.itest.databindings.jaxb.StandardTypesServiceClient; -import org.apache.tuscany.sca.itest.databindings.jaxb.impl.StandardTypesTransformer; -import org.apache.tuscany.sca.node.Client; -import org.apache.tuscany.sca.node.Node; -import org.apache.tuscany.sca.node.NodeFactory; -import org.junit.AfterClass; -import org.junit.BeforeClass; -import org.junit.Ignore; -import org.junit.Test; -import org.xml.sax.InputSource; - -/** - * @version $Rev$ $Date$ - */ -public class StandardTypesDatabindingTestCase { - - private static Client domain; - private static Node node; - - /** - * Runs once before the tests - */ - @BeforeClass - public static void setUp() throws Exception { - NodeFactory nodeFactory = NodeFactory.newInstance(); - node = nodeFactory.createSCANodeFromClassLoader("wsdl/wrapped/standard-types-service.composite", null); - node.start(); - domain = (Client)node; - } - - /** - * Runs once after the tests - */ - @AfterClass - public static void tearDown() { - node.stop(); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewBigInteger. - */ - @Test - public void testW2WNewBigInteger() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientW2WComponent"); - performTestNewBigInteger(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewBigIntegerArray. - */ - @Test - public void testW2WNewBigIntegerArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientW2WComponent"); - performTestNewBigIntegerArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewBigDecimal. - */ - @Test - public void testW2WNewBigDecimal() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientW2WComponent"); - performTestNewBigDecimal(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewBigDecimalArray. - */ - @Test - public void testW2WNewBigDecimalArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientW2WComponent"); - performTestNewBigDecimalArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewCalendar. - */ - @Test - public void testW2WNewCalendar() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientW2WComponent"); - performTestNewCalendar(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewCalendarArray. - */ - @Test - public void testW2WNewCalendarArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientW2WComponent"); - performTestNewCalendarArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewDate. - */ - @Test - public void testW2WNewDate() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientW2WComponent"); - performTestNewDate(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewDateArray. - */ - @Test - public void testW2WNewDateArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientW2WComponent"); - performTestNewDateArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewQName. - */ - @Test - public void testW2WNewQName() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientW2WComponent"); - performTestNewQName(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewQNameArray. - */ - @Test - public void testW2WNewQNameArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientW2WComponent"); - performTestNewQNameArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewURI. - */ - @Test - public void testW2WNewURI() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientW2WComponent"); - performTestNewURI(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewURIArray. - */ - @Test - public void testW2WNewURIArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientW2WComponent"); - performTestNewURIArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewXMLGregorianCalendar. - */ - @Test - public void testW2WNewXMLGregorianCalendar() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientW2WComponent"); - performTestNewXMLGregorianCalendar(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewXMLGregorianCalendarArray. - */ - @Test - public void testW2WNewXMLGregorianCalendarArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientW2WComponent"); - performTestNewXMLGregorianCalendarArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewDuration. - */ - @Test - public void testW2WNewDuration() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientW2WComponent"); - performTestNewDuration(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewDurationArray. - */ - @Test - public void testW2WNewDurationArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientW2WComponent"); - performTestNewDurationArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewObject. - */ - @Test - public void testW2WNewObject() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientW2WComponent"); - performTestNewObject(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewObjectArray. - */ - @Test - public void testW2WNewObjectArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientW2WComponent"); - performTestNewObjectArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewImage. - */ - @Test - public void testW2WNewImage() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientW2WComponent"); - performTestNewImage(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewImageArray. - */ - @Test - public void testW2WNewImageArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientW2WComponent"); - performTestNewImageArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewDataHandler. - */ - @Test - @Ignore("TUSCANY-2451") - public void testW2WNewDataHandler() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientW2WComponent"); - performTestNewDataHandler(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewDataHandlerArray. - */ - @Test - @Ignore("TUSCANY-2451") - public void testW2WNewDataHandlerArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientW2WComponent"); - performTestNewDataHandlerArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewSource. - */ - @Test - //@Ignore("junit.framework.ComparisonFailure: null expected:<... encoding=\"UTF-8\"?><[a>A> but was:<... encoding=\"UTF-8\"?><[return xmlns=\"http://jaxb.databindings.itest.sca.tuscany.apache.org/\">A>") - public void testW2WNewSource() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientW2WComponent"); - performTestNewSource(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewSourceArray. - */ - @Test - @Ignore("TUSCANY-2452") - public void testW2WNewSourceArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientW2WComponent"); - performTestNewSourceArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewUUID. - */ - @Test - public void testW2WNewUUID() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientW2WComponent"); - performTestNewUUID(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewUUIDArray. - */ - @Test - public void testW2WNewUUIDArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientW2WComponent"); - performTestNewUUIDArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewBigInteger. - */ - @Test - public void testJ2WNewBigInteger() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientJ2WComponent"); - performTestNewBigInteger(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewBigIntegerArray. - */ - @Test - public void testJ2WNewBigIntegerArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientJ2WComponent"); - performTestNewBigIntegerArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewBigDecimal. - */ - @Test - public void testJ2WNewBigDecimal() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientJ2WComponent"); - performTestNewBigDecimal(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewBigDecimalArray. - */ - @Test - public void testJ2WNewBigDecimalArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientJ2WComponent"); - performTestNewBigDecimalArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewCalendar. - */ - @Test - public void testJ2WNewCalendar() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientJ2WComponent"); - performTestNewCalendar(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewCalendarArray. - */ - @Test - public void testJ2WNewCalendarArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientJ2WComponent"); - performTestNewCalendarArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewDate. - */ - @Test - public void testJ2WNewDate() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientJ2WComponent"); - performTestNewDate(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewDateArray. - */ - @Test - public void testJ2WNewDateArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientJ2WComponent"); - performTestNewDateArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewQName. - */ - @Test - public void testJ2WNewQName() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientJ2WComponent"); - performTestNewQName(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewQNameArray. - */ - @Test - public void testJ2WNewQNameArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientJ2WComponent"); - performTestNewQNameArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewURI. - */ - @Test - public void testJ2WNewURI() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientJ2WComponent"); - performTestNewURI(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewURIArray. - */ - @Test - public void testJ2WNewURIArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientJ2WComponent"); - performTestNewURIArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewXMLGregorianCalendar. - */ - @Test - public void testJ2WNewXMLGregorianCalendar() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientJ2WComponent"); - performTestNewXMLGregorianCalendar(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewXMLGregorianCalendarArray. - */ - @Test - public void testJ2WNewXMLGregorianCalendarArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientJ2WComponent"); - performTestNewXMLGregorianCalendarArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewDuration. - */ - @Test - public void testJ2WNewDuration() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientJ2WComponent"); - performTestNewDuration(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewDurationArray. - */ - @Test - public void testJ2WNewDurationArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientJ2WComponent"); - performTestNewDurationArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewObject. - */ - @Test - public void testJ2WNewObject() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientJ2WComponent"); - performTestNewObject(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewObjectArray. - */ - @Test - public void testJ2WNewObjectArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientJ2WComponent"); - performTestNewObjectArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewImage. - */ - @Test - public void testJ2WNewImage() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientJ2WComponent"); - performTestNewImage(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewImageArray. - */ - @Test - public void testJ2WNewImageArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientJ2WComponent"); - performTestNewImageArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewDataHandler. - */ - @Test - @Ignore("TUSCANY-2451") - public void testJ2WNewDataHandler() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientJ2WComponent"); - performTestNewDataHandler(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewDataHandlerArray. - */ - @Test - @Ignore("TUSCANY-2451") - public void testJ2WNewDataHandlerArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientJ2WComponent"); - performTestNewDataHandlerArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewSource. - */ - @Test - //@Ignore("junit.framework.ComparisonFailure: null expected:<... encoding=\"UTF-8\"?><[a>A> but was:<... encoding=\"UTF-8\"?><[return xmlns=\"http://jaxb.databindings.itest.sca.tuscany.apache.org/\">A>") - public void testJ2WNewSource() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientJ2WComponent"); - performTestNewSource(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewSourceArray. - */ - @Test - @Ignore("TUSCANY-2452") - public void testJ2WNewSourceArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientJ2WComponent"); - performTestNewSourceArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewUUID. - */ - @Test - public void testJ2WNewUUID() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientJ2WComponent"); - performTestNewUUID(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewUUIDArray. - */ - @Test - public void testJ2WNewUUIDArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientJ2WComponent"); - performTestNewUUIDArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewBigInteger. - */ - @Test - public void testW2JNewBigInteger() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientW2JComponent"); - performTestNewBigInteger(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewBigIntegerArray. - */ - @Test - public void testW2JNewBigIntegerArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientW2JComponent"); - performTestNewBigIntegerArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewBigDecimal. - */ - @Test - public void testW2JNewBigDecimal() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientW2JComponent"); - performTestNewBigDecimal(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewBigDecimalArray. - */ - @Test - public void testW2JNewBigDecimalArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientW2JComponent"); - performTestNewBigDecimalArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewCalendar. - */ - @Test - public void testW2JNewCalendar() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientW2JComponent"); - performTestNewCalendar(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewCalendarArray. - */ - @Test - public void testW2JNewCalendarArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientW2JComponent"); - performTestNewCalendarArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewDate. - */ - @Test - public void testW2JNewDate() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientW2JComponent"); - performTestNewDate(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewDateArray. - */ - @Test - public void testW2JNewDateArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientW2JComponent"); - performTestNewDateArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewQName. - */ - @Test - public void testW2JNewQName() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientW2JComponent"); - performTestNewQName(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewQNameArray. - */ - @Test - public void testW2JNewQNameArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientW2JComponent"); - performTestNewQNameArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewURI. - */ - @Test - public void testW2JNewURI() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientW2JComponent"); - performTestNewURI(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewURIArray. - */ - @Test - public void testW2JNewURIArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientW2JComponent"); - performTestNewURIArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewXMLGregorianCalendar. - */ - @Test - public void testW2JNewXMLGregorianCalendar() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientW2JComponent"); - performTestNewXMLGregorianCalendar(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewXMLGregorianCalendarArray. - */ - @Test - public void testW2JNewXMLGregorianCalendarArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientW2JComponent"); - performTestNewXMLGregorianCalendarArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewDuration. - */ - @Test - public void testW2JNewDuration() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientW2JComponent"); - performTestNewDuration(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewDurationArray. - */ - @Test - public void testW2JNewDurationArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientW2JComponent"); - performTestNewDurationArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewObject. - */ - @Test - public void testW2JNewObject() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientW2JComponent"); - performTestNewObject(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewObjectArray. - */ - @Test - public void testW2JNewObjectArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientW2JComponent"); - performTestNewObjectArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewImage. - */ - @Test - public void testW2JNewImage() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientW2JComponent"); - performTestNewImage(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewImageArray. - */ - @Test - public void testW2JNewImageArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientW2JComponent"); - performTestNewImageArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewDataHandler. - */ - @Test - @Ignore("TUSCANY-2451") - public void testW2JNewDataHandler() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientW2JComponent"); - performTestNewDataHandler(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewDataHandlerArray. - */ - @Test - @Ignore("TUSCANY-2451") - public void testW2JNewDataHandlerArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientW2JComponent"); - performTestNewDataHandlerArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewSource. - */ - @Test - //@Ignore("junit.framework.ComparisonFailure: null expected:<... encoding=\"UTF-8\"?><[a>A> but was:<... encoding=\"UTF-8\"?><[return xmlns=\"http://jaxb.databindings.itest.sca.tuscany.apache.org/\">A>") - public void testW2JNewSource() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientW2JComponent"); - performTestNewSource(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewSourceArray. - */ - @Test - @Ignore("TUSCANY-2452") - public void testW2JNewSourceArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientW2JComponent"); - performTestNewSourceArray(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewUUID. - */ - @Test - public void testW2JNewUUID() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientW2JComponent"); - performTestNewUUID(serviceClient); - } - - /** - * Invokes the StandardTypesService service using WS binding. - * Service method invoked is getNewUUIDArray. - */ - @Test - public void testW2JNewUUIDArray() throws Exception { - StandardTypesServiceClient serviceClient = - domain.getService(StandardTypesServiceClient.class, "StandardTypesServiceClientW2JComponent"); - performTestNewUUIDArray(serviceClient); - } - - private void performTestNewBigInteger(StandardTypesServiceClient serviceClient) { - BigInteger bi = new BigInteger("1234567890123456789012345678901234"); - BigInteger expected = bi.negate(); - BigInteger actual = serviceClient.getNewBigIntegerForward(bi); - Assert.assertEquals(expected, actual); - } - - private void performTestNewBigIntegerArray(StandardTypesServiceClient serviceClient) { - BigInteger[] bia = new BigInteger[2]; - bia[0] = new BigInteger("1234567890123456789012345678901234"); - bia[1] = new BigInteger("-98765432109876543210987654321"); - BigInteger[] actual = serviceClient.getNewBigIntegerArrayForward(bia); - Assert.assertEquals(bia.length, actual.length); - for (int i = 0; i < bia.length; ++i) { - Assert.assertEquals(bia[i].negate(), actual[i]); - } - } - - private void performTestNewBigDecimal(StandardTypesServiceClient serviceClient) { - BigDecimal bd = new BigDecimal("12345678901234567890.12345678901234"); - BigDecimal expected = bd.negate(); - BigDecimal actual = serviceClient.getNewBigDecimalForward(bd); - Assert.assertEquals(expected, actual); - } - - private void performTestNewBigDecimalArray(StandardTypesServiceClient serviceClient) { - BigDecimal[] bda = new BigDecimal[2]; - bda[0] = new BigDecimal("1234567890123456.789012345678901234"); - bda[1] = new BigDecimal("-987654321098765.43210987654321"); - BigDecimal[] actual = serviceClient.getNewBigDecimalArrayForward(bda); - Assert.assertEquals(bda.length, actual.length); - for (int i = 0; i < bda.length; ++i) { - Assert.assertEquals(bda[i].negate(), actual[i]); - } - } - - private void performTestNewCalendar(StandardTypesServiceClient serviceClient) { - Calendar[] ca = new Calendar[3]; - String[] tz = {"GMT+05:30", "GMT+00:00", "GMT-05:00"}; - for (int i = 0; i < ca.length; ++i) { - ca[i] = Calendar.getInstance(TimeZone.getTimeZone(tz[i])); - ca[i].set(Calendar.DAY_OF_MONTH, i + 1); - } - for (int i = 0; i < ca.length; ++i) { - Calendar actual = serviceClient.getNewCalendarForward(ca[i]); - ca[i].add(Calendar.DAY_OF_MONTH, 5); - if (actual instanceof GregorianCalendar && ca[i] instanceof GregorianCalendar) { - // FIXME: Is this a problem? - // The instance returned by service method invoked over binding.ws seems to have a gregorianCutover - // different from the instance passed. Adjust the gregorianCutover as per the input instance. - ((GregorianCalendar)actual).setGregorianChange(((GregorianCalendar)ca[i]).getGregorianChange()); - } - Assert.assertEquals(ca[i], actual); - } - } - - private void performTestNewCalendarArray(StandardTypesServiceClient serviceClient) { - Calendar[] ca = new Calendar[3]; - String[] tz = {"GMT+05:30", "GMT+00:00", "GMT-05:00"}; - for (int i = 0; i < ca.length; ++i) { - ca[i] = Calendar.getInstance(TimeZone.getTimeZone(tz[i])); - ca[i].set(Calendar.DAY_OF_MONTH, i + 1); - } - Calendar[] actual = serviceClient.getNewCalendarArrayForward(ca); - Assert.assertEquals(ca.length, actual.length); - for (int i = 0; i < ca.length; ++i) { - ca[i].add(Calendar.DAY_OF_MONTH, 5); - if (actual[i] instanceof GregorianCalendar && ca[i] instanceof GregorianCalendar) { - // FIXME: Is this a problem? - // The instance returned by service method invoked over binding.ws seems to have a gregorianCutover - // different from the instance passed. Adjust the gregorianCutover as per the input instance. - ((GregorianCalendar)actual[i]).setGregorianChange(((GregorianCalendar)ca[i]).getGregorianChange()); - } - Assert.assertEquals(ca[i], actual[i]); - } - } - - private void performTestNewDate(StandardTypesServiceClient serviceClient) { - Date d = new Date(); - Date expected = new Date(d.getTime() + 5 * 24 * 60 * 60 * 1000); - Date actual = serviceClient.getNewDateForward(d); - Assert.assertEquals(expected, actual); - } - - private void performTestNewDateArray(StandardTypesServiceClient serviceClient) { - Date[] d = new Date[2]; - Date[] expected = new Date[d.length]; - for (int i = 0; i < d.length; ++i) { - d[i] = new Date(); - d[i].setTime(d[i].getTime() + i * 24 * 60 * 60 * 1000); - expected[i] = new Date(d[i].getTime() + 5 * 24 * 60 * 60 * 1000); - } - Date[] actual = serviceClient.getNewDateArrayForward(d); - Assert.assertEquals(expected.length, actual.length); - for (int i = 0; i < expected.length; ++i) { - Assert.assertEquals(expected[i], actual[i]); - } - } - - private void performTestNewQName(StandardTypesServiceClient serviceClient) { - QName[] qnames = new QName[3]; - qnames[0] = new QName("localPart"); - qnames[1] = new QName("namespaceUri", "localPart"); - qnames[2] = new QName("namespaceUri", "localPart", "prefix"); - QName[] expected = new QName[qnames.length]; - for (int i = 0; i < qnames.length; ++i) { - expected[i] = - new QName(qnames[i].getNamespaceURI() + "q", qnames[i].getLocalPart() + "q", - qnames[i].getPrefix() + "q"); - } - for (int i = 0; i < qnames.length; ++i) { - QName actual = serviceClient.getNewQNameForward(qnames[i]); - Assert.assertEquals(expected[i], actual); - } - } - - private void performTestNewQNameArray(StandardTypesServiceClient serviceClient) { - QName[] qnames = new QName[4]; - qnames[0] = new QName("localPart"); - qnames[1] = new QName("namespaceUri", "localPart"); - qnames[2] = new QName("namespaceUri", "localPart", "prefix"); - qnames[3] = new QName("localPart2"); - QName[] expected = new QName[qnames.length]; - for (int i = 0; i < qnames.length; ++i) { - expected[i] = - new QName(qnames[i].getNamespaceURI() + "q", qnames[i].getLocalPart() + "q", - qnames[i].getPrefix() + "q"); - } - QName[] actual = serviceClient.getNewQNameArrayForward(qnames); - Assert.assertEquals(expected.length, actual.length); - for (int i = 0; i < qnames.length; ++i) { - Assert.assertEquals(expected[i], actual[i]); - } - } - - private void performTestNewURI(StandardTypesServiceClient serviceClient) { - URI[] uris = new URI[4]; - uris[0] = URI.create("a/b/c"); - uris[1] = URI.create("http://abc/"); - uris[2] = URI.create("ftp://a/b"); - uris[3] = URI.create("http://abc/").resolve("xyz"); - - for (int i = 0; i < uris.length; ++i) { - URI expected = uris[i].resolve("uri"); - URI actual = serviceClient.getNewURIForward(uris[i]); - Assert.assertEquals(expected, actual); - } - } - - private void performTestNewURIArray(StandardTypesServiceClient serviceClient) { - URI[] uris = new URI[4]; - uris[0] = URI.create("a/b/c"); - // [rfeng] We need to have a trialign / to avoid the resolving problem - // FIXME: [vamsi] This is actually a data transformation problem. The array being returned from the service method is - // not making to the caller intact. - uris[1] = URI.create("http://abc/"); - uris[2] = URI.create("ftp://a/b"); - uris[3] = URI.create("http://abc/").resolve("xyz"); - - URI[] expected = new URI[uris.length]; - for (int i = 0; i < uris.length; ++i) { - expected[i] = uris[i].resolve("uri"); - } - - URI[] actual = serviceClient.getNewURIArrayForward(uris); - Assert.assertEquals(expected.length, actual.length); - for (int i = 0; i < uris.length; ++i) { - Assert.assertEquals(expected[i], actual[i]); - } - } - - private void performTestNewXMLGregorianCalendar(StandardTypesServiceClient serviceClient) - throws DatatypeConfigurationException { - DatatypeFactory df = DatatypeFactory.newInstance(); - XMLGregorianCalendar[] xgcals = new XMLGregorianCalendar[3]; - xgcals[0] = df.newXMLGregorianCalendar(new GregorianCalendar(1974, GregorianCalendar.APRIL, 19)); - xgcals[1] = df.newXMLGregorianCalendar(new GregorianCalendar(1978, GregorianCalendar.OCTOBER, 13)); - xgcals[2] = df.newXMLGregorianCalendar(new GregorianCalendar(2006, GregorianCalendar.JUNE, 16)); - - for (int i = 0; i < xgcals.length; ++i) { - XMLGregorianCalendar actual = serviceClient.getNewXMLGregorianCalendarForward(xgcals[i]); - xgcals[i].setDay(xgcals[i].getDay() + 5); - Assert.assertEquals(xgcals[i], actual); - } - } - - private void performTestNewXMLGregorianCalendarArray(StandardTypesServiceClient serviceClient) - throws DatatypeConfigurationException { - DatatypeFactory df = DatatypeFactory.newInstance(); - XMLGregorianCalendar[] xgcals = new XMLGregorianCalendar[3]; - xgcals[0] = df.newXMLGregorianCalendar(new GregorianCalendar(1974, GregorianCalendar.APRIL, 19)); - xgcals[1] = df.newXMLGregorianCalendar(new GregorianCalendar(1978, GregorianCalendar.OCTOBER, 13)); - xgcals[2] = df.newXMLGregorianCalendar(new GregorianCalendar(2006, GregorianCalendar.JUNE, 16)); - - XMLGregorianCalendar[] actual = serviceClient.getNewXMLGregorianCalendarArrayForward(xgcals); - Assert.assertEquals(xgcals.length, actual.length); - for (int i = 0; i < xgcals.length; ++i) { - xgcals[i].setDay(xgcals[i].getDay() + 5); - Assert.assertEquals(xgcals[i], actual[i]); - } - } - - private void performTestNewDuration(StandardTypesServiceClient serviceClient) throws DatatypeConfigurationException { - DatatypeFactory df = DatatypeFactory.newInstance(); - Duration[] da = new Duration[3]; - da[0] = df.newDuration(1000000000000L); - da[1] = df.newDurationDayTime(1000000000000L); - da[2] = df.newDurationYearMonth(true, 1, 3); - - for (int i = 0; i < da.length; ++i) { - Assert.assertEquals(da[i].negate(), serviceClient.getNewDurationForward(da[i])); - } - } - - private void performTestNewObject(StandardTypesServiceClient serviceClient) { - Object[] objs = new Object[5]; - objs[0] = "Hello"; - objs[1] = 10; - objs[2] = null; - objs[3] = -1.0; - objs[4] = null; - - for (int i = 0; i < objs.length; ++i) { - Object expected = StandardTypesTransformer.getNewObject(objs[i]); - Object actual = serviceClient.getNewObjectForward(objs[i]); - Assert.assertEquals(expected, actual); - } - } - - private void performTestNewObjectArray(StandardTypesServiceClient serviceClient) { - Object[] objs = new Object[5]; - objs[0] = "Hello"; - objs[1] = 10; - objs[2] = null; - objs[3] = -1.0; - objs[4] = null; - - Object[] actual = serviceClient.getNewObjectArrayForward(objs); - Assert.assertEquals(objs.length, actual.length); - for (int i = 0; i < objs.length; ++i) { - Object expected = StandardTypesTransformer.getNewObject(objs[i]); - Assert.assertEquals(expected, actual[i]); - } - } - - private void performTestNewImage(StandardTypesServiceClient serviceClient) throws InterruptedException { - // Create some images to test with. - Image[] imgs = new Image[3]; - imgs[0] = new BufferedImage(10, 10, BufferedImage.TYPE_3BYTE_BGR); - imgs[1] = new BufferedImage(10, 10, BufferedImage.TYPE_INT_ARGB); - imgs[2] = new BufferedImage(10, 10, BufferedImage.TYPE_INT_RGB); - imgs[0].getGraphics().drawLine(1, 1, 8, 8); - imgs[1].getGraphics().drawLine(8, 1, 1, 8); - imgs[2].getGraphics().drawLine(1, 8, 8, 1); - - Image[] copy = imgs; - // Create the same images once again as the StandardTypesTransformer may manipulate the image passed. - imgs = new Image[3]; - imgs[0] = new BufferedImage(10, 10, BufferedImage.TYPE_3BYTE_BGR); - imgs[1] = new BufferedImage(10, 10, BufferedImage.TYPE_INT_ARGB); - imgs[2] = new BufferedImage(10, 10, BufferedImage.TYPE_INT_RGB); - imgs[0].getGraphics().drawLine(1, 1, 8, 8); - imgs[1].getGraphics().drawLine(8, 1, 1, 8); - imgs[2].getGraphics().drawLine(1, 8, 8, 1); - - // Make sure the images and copies are equal using ImageInfo - for(int i = 0; i < imgs.length; ++i) { - Assert.assertEquals(new ImageInfo(imgs[i]), new ImageInfo(copy[i])); - } - - for (int i = 0; i < imgs.length; ++i) { - Image actual = serviceClient.getNewImageForward(imgs[i]); - Image expected = StandardTypesTransformer.getNewImage(copy[i]); - // Compare using ImageInfo - Assert.assertEquals(new ImageInfo(expected), new ImageInfo(actual)); - } - } - - private void performTestNewImageArray(StandardTypesServiceClient serviceClient) throws InterruptedException { - // Create some images to test with. - Image[] imgs = new Image[3]; - imgs[0] = new BufferedImage(10, 10, BufferedImage.TYPE_3BYTE_BGR); - imgs[1] = new BufferedImage(10, 10, BufferedImage.TYPE_INT_ARGB); - imgs[2] = new BufferedImage(10, 10, BufferedImage.TYPE_INT_RGB); - imgs[0].getGraphics().drawLine(1, 1, 8, 8); - imgs[1].getGraphics().drawLine(8, 1, 1, 8); - imgs[2].getGraphics().drawLine(1, 8, 8, 1); - - Image[] copy = imgs; - // Create the same images once again as the StandardTypesTransformer may manipulate the image passed. - imgs = new Image[3]; - imgs[0] = new BufferedImage(10, 10, BufferedImage.TYPE_3BYTE_BGR); - imgs[1] = new BufferedImage(10, 10, BufferedImage.TYPE_INT_ARGB); - imgs[2] = new BufferedImage(10, 10, BufferedImage.TYPE_INT_RGB); - imgs[0].getGraphics().drawLine(1, 1, 8, 8); - imgs[1].getGraphics().drawLine(8, 1, 1, 8); - imgs[2].getGraphics().drawLine(1, 8, 8, 1); - - // Make sure the images and copies are equal using ImageInfo - for(int i = 0; i < imgs.length; ++i) { - Assert.assertEquals(new ImageInfo(imgs[i]), new ImageInfo(copy[i])); - } - - Image[] actual = serviceClient.getNewImageArrayForward(imgs); - Assert.assertEquals(imgs.length, actual.length); - for (int i = 0; i < imgs.length; ++i) { - Image expected = StandardTypesTransformer.getNewImage(copy[i]); - // Compare using ImageInfo - Assert.assertEquals(new ImageInfo(expected), new ImageInfo(actual[i])); - } - } - - private void performTestNewDurationArray(StandardTypesServiceClient serviceClient) - throws DatatypeConfigurationException { - DatatypeFactory df = DatatypeFactory.newInstance(); - Duration[] da = new Duration[3]; - da[0] = df.newDuration(1000000000000L); - da[1] = df.newDurationDayTime(1000000000000L); - da[2] = df.newDurationYearMonth(true, 1, 3); - - Duration[] actual = serviceClient.getNewDurationArrayForward(da); - Assert.assertEquals(da.length, actual.length); - for (int i = 0; i < da.length; ++i) { - Assert.assertEquals(da[i].negate(), actual[i]); - } - } - - private void performTestNewDataHandler(StandardTypesServiceClient serviceClient) throws IOException { - DataHandler[] dha = new DataHandler[3]; - dha[0] = new DataHandler("Some data", "text/plain"); - dha[1] = new DataHandler(this.getClass().getClassLoader().getResource("standard-types-service.composite")); - dha[2] = new DataHandler(new ByteArrayDataSource("Some data2".getBytes())); - - for (int i = 0; i < dha.length; ++i) { - DataHandler actual = serviceClient.getNewDataHandlerForward(dha[i]); - // Note: The DataHandler returned may use a different type of DataSource. - // Compare the data content instead of using equals(). - Assert.assertTrue(compare(dha[i], actual)); - } - } - - private void performTestNewDataHandlerArray(StandardTypesServiceClient serviceClient) throws IOException { - DataHandler[] dha = new DataHandler[3]; - dha[0] = new DataHandler("Some data", "text/plain"); - dha[1] = new DataHandler(this.getClass().getClassLoader().getResource("standard-types-service.composite")); - dha[2] = new DataHandler(new ByteArrayDataSource("Some data2".getBytes())); - - DataHandler[] actual = serviceClient.getNewDataHandlerArrayForward(dha); - Assert.assertEquals(dha.length, actual.length); - for (int i = 0; i < dha.length; ++i) { - // Note: The DataHandler returned may use a different type of DataSource. - // Compare the data content instead of using equals(). - Assert.assertTrue(compare(dha[i], actual[i])); - } - } - - private void performTestNewSource(StandardTypesServiceClient serviceClient) throws Exception { - String xml = "ABC"; - Source[] srcs = new Source[3]; - srcs[0] = new DOMSource(new String2Node().transform(xml, null)); - srcs[1] = new SAXSource(new InputSource(new StringReader(xml))); - srcs[2] = new StreamSource(new StringReader(xml)); - - for (int i = 0; i < srcs.length; ++i) { - Source expected = StandardTypesTransformer.getNewSource(srcs[i]); - Source actual = serviceClient.getNewSourceForward(srcs[i]); - // [rfeng] The data may come back as a different source - Assert.assertEquals(sourceToString(expected), sourceToString(actual)); - } - } - - private void performTestNewSourceArray(StandardTypesServiceClient serviceClient) throws Exception { - String xml = "ABC"; - Source[] srcs = new Source[3]; - srcs[0] = new DOMSource(new String2Node().transform(xml, null)); - srcs[1] = new SAXSource(new InputSource(new StringReader(xml))); - srcs[2] = new StreamSource(new StringReader(xml)); - - Source[] actual = serviceClient.getNewSourceArrayForward(srcs); - Source[] expected = new Source[srcs.length]; - for(int i = 0; i < srcs.length; ++i) { - expected[i] = StandardTypesTransformer.getNewSource(srcs[i]); - } - Assert.assertEquals(srcs.length, actual.length); - for (int i = 0; i < srcs.length; ++i) { - // [rfeng] The data may come back as a different source - Assert.assertEquals(sourceToString(expected[i]), sourceToString(actual[i])); - } - - } - - private void performTestNewUUID(StandardTypesServiceClient serviceClient) { - UUID[] uuids = new UUID[3]; - uuids[0] = UUID.nameUUIDFromBytes("ABCDEFGHJKLMNOPQRSTUVWXYZ".getBytes()); - uuids[1] = UUID.nameUUIDFromBytes("abcdefghjklmnopqrstuvwxyz".getBytes()); - uuids[2] = UUID.randomUUID(); - - for (int i = 0; i < uuids.length; ++i) { - UUID expected = UUID.fromString(uuids[i].toString() + "AAA"); - UUID actual = serviceClient.getNewUUIDForward(uuids[i]); - Assert.assertEquals(expected, actual); - } - } - - private void performTestNewUUIDArray(StandardTypesServiceClient serviceClient) { - UUID[] uuids = new UUID[3]; - uuids[0] = UUID.nameUUIDFromBytes("ABCDEFGHJKLMNOPQRSTUVWXYZ".getBytes()); - uuids[1] = UUID.nameUUIDFromBytes("abcdefghjklmnopqrstuvwxyz".getBytes()); - uuids[2] = UUID.randomUUID(); - - UUID[] actual = serviceClient.getNewUUIDArrayForward(uuids); - for (int i = 0; i < uuids.length; ++i) { - UUID expected = UUID.fromString(uuids[i].toString() + "AAA"); - Assert.assertEquals(expected, actual[i]); - } - } - - /** - * This method compares two DataHandlers. - * @return true if the data in the two handlers is the same. - */ - private boolean compare(DataHandler dh1, DataHandler dh2) throws IOException { - InputStream inp1 = dh1.getInputStream(); - InputStream inp2 = dh2.getInputStream(); - for(;;) { - int i1 = inp1.read(); - int i2 = inp2.read(); - if(i1 == -1 && i2 == -1) { - return true; - } else if(i1 != -1 && i2 != -1) { - if(i1 != i2) { - return false; - } - } else { - return false; - } - } - } - - /** - * This method returns the content of a source object as String. - */ - private String sourceToString(Source s) throws Exception { - StringWriter sw = new StringWriter(); - Result r = new StreamResult(sw); - TransformerFactory.newInstance().newTransformer().transform(s, r); - sw.close(); - return sw.toString(); - } - - /** - * This class initializes with the width, height and pixel data of a java.awt.Image object. - */ - private static class ImageInfo { - private int h, w, pixels[]; - public ImageInfo(Image img) throws InterruptedException { - w = img.getWidth(null); - h = img.getHeight(null); - pixels = new int[w*h]; - PixelGrabber pg = new PixelGrabber(img, 0, 0, w, h, pixels, 0, w); - pg.grabPixels(); - } - - public boolean equals(Object that) { - if(that == null) { - return false; - } else if(!(that instanceof ImageInfo)) { - return false; - } - - ImageInfo that1 = (ImageInfo)that; - if(w != that1.w || h != that1.h || pixels == null || that1.pixels == null || pixels.length != that1.pixels.length) { - return false; - } - for(int i = 0; i < pixels.length; ++i) { - if(pixels[i] != that1.pixels[i]) { - return false; - } - } - return true; - } - - public String toString() { - return this.getClass().getSimpleName()+"[w = "+w+", h = "+h+", pixels = "+pixels+"]"; - } - } -} diff --git a/java/sca-contrib/itest/databindings/jaxbgen/pom.xml b/java/sca-contrib/itest/databindings/jaxbgen/pom.xml deleted file mode 100644 index fb88bcfff1..0000000000 --- a/java/sca-contrib/itest/databindings/jaxbgen/pom.xml +++ /dev/null @@ -1,262 +0,0 @@ - - - - - org.apache.tuscany.sca - itest-databindings - 2.0-SNAPSHOT - - - 4.0.0 - - itest-databindings-jaxb - 2.0-SNAPSHOT - jar - Apache Tuscany SCA JAXB Databinding Integration Tests - - - - - true - - java.net - java.net Maven 1.x Repository - http://download.java.net/maven/1 - legacy - - - java.net2 - java.net Maven 2.x Repository - http://download.java.net/maven/2 - - - - - - java.net2 - java.net Maven 2.x Repository - http://download.java.net/maven/2 - - - - - - org.apache.tuscany.sca - tuscany-binding-ws-axis2 - ${pom.version} - runtime - - - org.apache.tuscany.sca - tuscany-databinding-jaxb - ${pom.version} - runtime - - - org.apache.tuscany.sca - tuscany-databinding-sdo - ${pom.version} - compile - - - org.apache.tuscany.sca - tuscany-databinding-axiom - ${pom.version} - compile - - - org.apache.tuscany.sca - itest-databindings-common - ${pom.version} - compile - - - org.apache.tuscany.sca - tuscany-host-embedded - ${pom.version} - compile - - - org.apache.tuscany.sca - tuscany-implementation-java-runtime - ${pom.version} - compile - - - org.apache.tuscany.sca - tuscany-interface-java-xml - ${pom.version} - compile - - - org.apache.tuscany.sca - tuscany-host-jetty - 2.0-SNAPSHOT - runtime - - - javax.xml.bind - jaxb-api - 2.1 - compile - - - - com.sun.xml.ws - jaxws-rt - 2.1.3 - - - - commons-collections - commons-collections - 3.1 - - - log4j - log4j - 1.2.12 - provided - - - - - - - - org.apache.maven.plugins - maven-surefire-plugin - - -Djava.endorsed.dirs=target/endorsed - - - - org.apache.maven.plugins - maven-dependency-plugin - - - generate-sources - - unpack - - - - - org.apache.tuscany.sca - itest-databindings-common - ${project.version} - true - ${project.build.directory}/classes - - - - - - copy - generate-sources - - copy - - - - - javax.xml.ws - jaxws-api - 2.1 - jar - - - javax.xml.bind - jaxb-api - 2.1 - jar - - - ${project.build.directory}/endorsed - false - true - - - - - - org.codehaus.mojo - build-helper-maven-plugin - 1.0 - - - add-test-source - generate-sources - - add-test-source - - - - target/jaxws-source - - - - - - - org.codehaus.mojo - exec-maven-plugin - - - generate-test-source - process-resources - - java - - - - - org.apache.tuscany.sca.itest.generate.Generate - - ${project.build.directory} - - - - - org.codehaus.mojo - jaxws-maven-plugin - 1.9 - - - process-resources - - wsimport - - - - - org.apache.tuscany.sca.itest.jaxbdatabinding.generated - ${project.build.directory}/classes/wsdl - - Greeter.wsdl - - ${project.build.directory}/jaxws-source - false - true - - - - - diff --git a/java/sca-contrib/itest/databindings/jaxbgen/src/main/resources/generate/generate.xml b/java/sca-contrib/itest/databindings/jaxbgen/src/main/resources/generate/generate.xml deleted file mode 100644 index 8381a164ea..0000000000 --- a/java/sca-contrib/itest/databindings/jaxbgen/src/main/resources/generate/generate.xml +++ /dev/null @@ -1,172 +0,0 @@ - - - - - - - - - - - - - Person.xsd - xsd - org.apache.tuscany.sca.itest.jaxbdatabinding.generated - ObjectFactory - http://apache.org/tuscany/sca/itest/databinding/types - p - - PersonType - - ObjectFactory factory = new ObjectFactory(); - param = factory.createPersonType(); - param.setFirstName("George"); - param.setLastName("Doors"); - - - param.setGreeting("Hello"); - - - assertNotSame("greetedPerson.getGreeting() not set", "", result.getGreeting()); - - - - - Interop.xsd - xsd - org.apache.tuscany.sca.itest.jaxbdatabinding.generated - ObjectFactory - http://www.apache.org/tuscany/interop - i - - - AttributeComplexType - - ObjectFactory factory = new ObjectFactory(); - org.apache.tuscany.sca.itest.jaxbdatabinding.generated.AttributeType attrib = factory.createAttributeType(); - attrib.setAttribute("SomeText"); - param = factory.createAttributeComplexType(); - param.setAttributeElement(attrib); - - - param.getAttributeElement().setAttribute("SomeChangedText");; - - - assertEquals("data not changed corretly", "SomeChangedText", result.getAttributeElement().getAttribute()); - - - - AttributeReferenceComplexType - - ObjectFactory factory = new ObjectFactory(); - param = factory.createAttributeReferenceComplexType(); - - param.setReferencedAttribute("SomeText"); - - - param.setReferencedAttribute("SomeChangedText");; - - - assertEquals("data not changed corretly", "SomeChangedText", result.getReferencedAttribute()); - - - - SimpleTypeWithAbstractComplexType - - ObjectFactory factory = new ObjectFactory(); - param = factory.createSimpleTypeWithAbstractComplexType(); - param.setSimpleTypeWithAbstractExtensionElement("SomeText"); - - - param.setSimpleTypeWithAbstractExtensionElement("SomeChangedText");; - - - assertEquals("data not changed corretly", "SomeChangedText", result.getSimpleTypeWithAbstractExtensionElement()); - - - - SimpleTypeWithNameComplexType - - ObjectFactory factory = new ObjectFactory(); - param = factory.createSimpleTypeWithNameComplexType(); - param.setSimpleTypeWithNameElement("SomeText"); - - - param.setSimpleTypeWithNameElement("SomeChangedText");; - - - assertEquals("data not changed corretly", "SomeChangedText", result.getSimpleTypeWithNameElement()); - - - - ComplexTypeWithContentType - - ObjectFactory factory = new ObjectFactory(); - param = factory.createComplexTypeWithContentType(); - param.setSimpleTypeWithName("SomeText"); - - - param.setSimpleTypeWithName("SomeChangedText");; - - - assertEquals("data not changed corretly", "SomeChangedText", result.getSimpleTypeWithName()); - - - - diff --git a/java/sca-contrib/itest/databindings/jaxbgen/src/main/resources/greeter.composite b/java/sca-contrib/itest/databindings/jaxbgen/src/main/resources/greeter.composite deleted file mode 100644 index ae0740e6fe..0000000000 --- a/java/sca-contrib/itest/databindings/jaxbgen/src/main/resources/greeter.composite +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca-contrib/itest/databindings/pom.xml b/java/sca-contrib/itest/databindings/pom.xml deleted file mode 100644 index 43f99aff39..0000000000 --- a/java/sca-contrib/itest/databindings/pom.xml +++ /dev/null @@ -1,47 +0,0 @@ - - - - - org.apache.tuscany.sca - tuscany-itest - 2.0-SNAPSHOT - ../pom.xml - - 4.0.0 - - org.apache.tuscany.sca - itest-databindings - Apache Tuscany SCA Databindings Integration Tests - 2.0-SNAPSHOT - - - pom - - install - - - common - sdogen - jaxbgen - jaxb-bottom-up - jaxb-top-down - interop - - diff --git a/java/sca-contrib/itest/databindings/readme.html b/java/sca-contrib/itest/databindings/readme.html deleted file mode 100644 index 24a44e4ed7..0000000000 --- a/java/sca-contrib/itest/databindings/readme.html +++ /dev/null @@ -1,157 +0,0 @@ - - - - - - - - - Tuscany SCA Integration Test Databindings - - - - - -

Tuscany SCA Integation Test Databindings

- -

Overview

- -

-This integration test tests the Tuscany SCA databinding implementation by passing various data structures -across various bindings using the supported databindings. There are tests for the individual databindings -which exercise various bindings with the same databinding at client and server ends of each binding. There -is also an integration test which exercises the transformer chains by specifying different databindings at -client and server ends of the binding. -

-

-In doing this testing it is apparent that there is a lot of repetition in creating client, services, idl and -type for each of the data types for each of the bindings for each of the databindings. To reduce the amount -of effort required to maintain the tests as new types, bindings and databindings are added the test cases -themselves are generated from configuration files. -

- -

Test Structure

- -Databindings/Common - hold files common across all tests
-Databindings/Interop - test the transformer chains with combinations of databindings
-Databindings/sdogen and jaxbgen - test each databindings independently
- -

Test Generation

-

-To reduce the amount of manual effort involved in building and maintaining tests cases the test cases -themselves are generated at run time using a set of velocity templates. Each test module has a generate.xml -file in the resources/generate directory which tells the generator what to do. The file looks like this. -

- -

-Each