Commit graph

3458 commits

Author SHA1 Message Date
antelder
044f21979b Add a random ranking number to implementation.web provider
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@829742 13f79535-47bb-0310-9956-ffa450edef68
2009-10-26 09:52:09 +00:00
antelder
9a31b38335 Consider rankings for provider extensions
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@829741 13f79535-47bb-0310-9956-ffa450edef68
2009-10-26 09:40:13 +00:00
antelder
4066aa0f54 Update to re-register servlets if the servelt host context path is updated. Thats necessary of servlets are registered before the context path is initialized, which can happene when extensions register servlets during startup
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@829733 13f79535-47bb-0310-9956-ffa450edef68
2009-10-26 09:11:58 +00:00
antelder
8b9b11a038 Update to remove the entire serelet path if the path starts with it so that servelts registered with the Tuscany ServletHost get the correct value. (Not sure i completely understand the rest of the code in that method, does anyone else?)
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@829732 13f79535-47bb-0310-9956-ffa450edef68
2009-10-26 09:09:51 +00:00
lresende
911069d0f4 Allowing multiple bindings on a service
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@829707 13f79535-47bb-0310-9956-ffa450edef68
2009-10-26 06:20:38 +00:00
antelder
0969cc21d0 Add sample showing using <implementation.web> with browser-side JavaScript client using web 2.0 style ajax (ported from 1.x)
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@829513 13f79535-47bb-0310-9956-ffa450edef68
2009-10-25 08:38:41 +00:00
rfeng
81bb6dcbed Add a utility for JDK proxy based lazy instantiation
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@829305 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 04:16:43 +00:00
antelder
85da664220 Finish implementing the jaxws client invoke tests
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@828991 13f79535-47bb-0310-9956-ffa450edef68
2009-10-23 10:27:15 +00:00
antelder
a1f1485ebf Update JavaInterfaceIntrospectorImpl to not consider teh JAXWS Async API methods in the overloaded ops on remotable interfaces
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@828990 13f79535-47bb-0310-9956-ffa450edef68
2009-10-23 10:25:33 +00:00
antelder
4e8a796b4d Add example of runtime support for handling JAXWS async client APIs
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@828988 13f79535-47bb-0310-9956-ffa450edef68
2009-10-23 10:18:42 +00:00
antelder
b1f09c1c38 Add itest for using the jaxws async APIs. Copied from jaxws to avoid stepping on whatLuciano might be doing
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@828960 13f79535-47bb-0310-9956-ffa450edef68
2009-10-23 08:19:00 +00:00
rfeng
756bf45a97 Remove tuscany-scdl module as it is now replaced by tuscany-deployment
Adjust itest-scdl to use the Deployer from tuscany-deployment

git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@828787 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 17:12:05 +00:00
slaws
83ac0d81c3 Record the schema in the constructor otherwise a validating handler is never created
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@828766 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 16:09:33 +00:00
slaws
76b3a4b78f Add missing monitor.popContext() calls
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@828741 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 15:16:38 +00:00
antelder
52e64b4f23 Add deployment module
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@828648 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 10:41:24 +00:00
antelder
bd8aeea9cb FIx up the error message comparison so that shorter expected messages can be truncated to match as well as just comparing substrings. We've now quite a lot of different ways to match the msgs both within and across the assembly and caa tests so we should clean this up at some point
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@828415 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 08:47:14 +00:00
antelder
e9ede437cd Add more error msg detail
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@828408 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 08:44:47 +00:00
antelder
b4e34fbe99 Add new module
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@828404 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 08:43:51 +00:00
rfeng
529069d71b Expose a DefaultDeployer
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@828316 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 05:46:14 +00:00
rfeng
f706ccab9f Add an optional imports for test dependency
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@828302 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 04:26:17 +00:00
rfeng
45f3c30c0e Refactor the deployer into tuscany-deployment module
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@828293 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 03:49:37 +00:00
lresende
6b86cb355c Stop setting JSON databinding in the interface contract now that we use jabsorb client for remote invocation and that is taking care of databinding and returning expected java beans
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@828283 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 02:25:36 +00:00
lresende
49478b72eb Removing references to management class which is restricted in app engine environment
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@828282 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 01:52:26 +00:00
lresende
4b16e3f916 Enabling some transformers with high weigth to allow fallback when the jaxb based transformers are not available
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@828281 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 01:51:38 +00:00
lresende
f3c397b7ba TUSCANY-3294 - iTest to validate JAXWS Async Client APIs
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@828277 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 01:40:52 +00:00
lresende
a368e7155b TUSCANY-3294 - Adding check in the runtime to validate JCA100006, that states that JAX-WS client-side asynchronous pooling and callback methods are not allowed in service interface
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@828276 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 01:39:39 +00:00
lresende
09ab9f0bd7 TUSCANY-3294 - Fixing ranking for the new JAXWS processor
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@828275 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 01:38:52 +00:00
lresende
d5679b8d17 Fixing Apache license header formatting
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@828274 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 01:38:07 +00:00
lresende
2842546add TUSCANY-3321 - Initial interface processor to support JAX-WS client async API as described in SCA spec 11.1
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@828273 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 01:37:26 +00:00
lresende
290d7c0866 TUSCANY-3321 - Initial interface processor to support JAX-WS client async API as described in SCA spec 11.1
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@828272 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 01:36:21 +00:00
rfeng
027624234d Remove the dependency on NodeImpl and add the service registration
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@828250 13f79535-47bb-0310-9956-ffa450edef68
2009-10-21 23:29:42 +00:00
rfeng
5d7f85acd2 Refactor the deployment-related code from NodeFactoryImpl into a Deployer utility
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@828248 13f79535-47bb-0310-9956-ffa450edef68
2009-10-21 23:13:50 +00:00
rfeng
11d80a409e Set the monitor to ValidatingXMLStreamReader
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@828119 13f79535-47bb-0310-9956-ffa450edef68
2009-10-21 18:00:07 +00:00
slaws
ce8ce56837 TUSCANY-3343 Add in the ability to include the string "***" in an expected message to indicate that some text at the marked point should not be compared.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@828004 13f79535-47bb-0310-9956-ffa450edef68
2009-10-21 13:12:16 +00:00
slaws
f265fa28ac Set correct monitor on the ValidatingXMLInputFactory so that any errors that it finds are reported successfully
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@827971 13f79535-47bb-0310-9956-ffa450edef68
2009-10-21 11:56:14 +00:00
rfeng
ff923bb4a0 Fix for ASM_6031, ASM_6032
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@827880 13f79535-47bb-0310-9956-ffa450edef68
2009-10-21 03:28:51 +00:00
rfeng
267c65441e Remove unused methods
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@827836 13f79535-47bb-0310-9956-ffa450edef68
2009-10-20 23:34:33 +00:00
rfeng
ad93ebea59 Remove constrainingType as it is now not part of the OASIS SCA specs
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@827835 13f79535-47bb-0310-9956-ffa450edef68
2009-10-20 23:30:48 +00:00
rfeng
c53bddb7cd Fix for otest JCA_800? ...
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@827831 13f79535-47bb-0310-9956-ffa450edef68
2009-10-20 23:08:05 +00:00
slaws
7e3adb0f57 Get monitor from context now
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@827767 13f79535-47bb-0310-9956-ffa450edef68
2009-10-20 19:27:27 +00:00
slaws
6a51cb0e3f Couple more test messages
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@827766 13f79535-47bb-0310-9956-ffa450edef68
2009-10-20 19:26:50 +00:00
rfeng
cd065018a7 Enable DefaultMonitorFactory to create new Monitor instances
Add more convenient methods onto the Monitor

git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@827745 13f79535-47bb-0310-9956-ffa450edef68
2009-10-20 17:53:37 +00:00
antelder
b8520bd229 Call destroy if there's an excpeption while calling the init method, to fix JCA_4005
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@827009 13f79535-47bb-0310-9956-ffa450edef68
2009-10-20 09:02:23 +00:00
antelder
57d405aff0 Call destroy if there's an exception while running an injector to fix CAA test JCA_4003
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@826981 13f79535-47bb-0310-9956-ffa450edef68
2009-10-20 07:32:11 +00:00
rfeng
e5fe5eff23 Turn JavaClassVisitor to declarative services and remove the module activator
Add a ServiceHelper utility to simplify the instantiation of declared services
Refactor the module activator to receive ExtensionPointRegistry from constructor

git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@826907 13f79535-47bb-0310-9956-ffa450edef68
2009-10-20 00:17:14 +00:00
antelder
3a90e0b350 Fix SCA-J CAA test JCA_2010 - don't allow pass by reference just because the service supports them. Note the who pass-by-reference design needs cleaning up and improving, this fixes the CAA test but TUSCANY-3318 can be the place holder to get this done before 2.0
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@826650 13f79535-47bb-0310-9956-ffa450edef68
2009-10-19 12:23:13 +00:00
antelder
ff406307a7 Catch any exception during starting of a component and rethrow as ServiceUnavailableException
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@826637 13f79535-47bb-0310-9956-ffa450edef68
2009-10-19 11:10:29 +00:00
slaws
1b28590acc Change import not found warning to severe
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@826628 13f79535-47bb-0310-9956-ffa450edef68
2009-10-19 10:30:53 +00:00
rfeng
2ee1a61be3 Minor clean up
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@826475 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 17:51:54 +00:00
antelder
38a628f673 Add a profile for building the SCA-J CAA compliance tests
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@826375 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 08:32:18 +00:00