Commit graph

976 commits

Author SHA1 Message Date
jsdelfino
dc15447dfe Fixes to get the Equinox integration working. Use the parent classloader instead of the Thread context classloader as parent of the contribution classloader. Use the ServiceDiscovery to get instances of DocumentBuilderFactory and TransformerFactory. Pass these factories around instead of creating new instances in different places. Clarified the few prints in the calculator-osgi sample showing which classloader is used.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@693411 13f79535-47bb-0310-9956-ffa450edef68
2008-09-09 09:17:30 +00:00
antelder
7ea46da435 Change remote jms sca binding to only be used for remotable services
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@693381 13f79535-47bb-0310-9956-ffa450edef68
2008-09-09 06:45:51 +00:00
jsdelfino
cdc40905ce Creating a branch for the android work.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@693346 13f79535-47bb-0310-9956-ffa450edef68
2008-09-09 02:37:58 +00:00
rfeng
c6448a6c73 Use the bundle to load the implementation.node classes
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@693336 13f79535-47bb-0310-9956-ffa450edef68
2008-09-09 01:29:55 +00:00
rfeng
afa459840e Remove the unused CalculatorTest.composite
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@693335 13f79535-47bb-0310-9956-ffa450edef68
2008-09-09 01:27:16 +00:00
rfeng
0ff94f30af Minor code clean up
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@693184 13f79535-47bb-0310-9956-ffa450edef68
2008-09-08 18:22:14 +00:00
rfeng
4fdd15206a Add Import-Package to 3rd lib bundle so that system packages are correctly resolved
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@693180 13f79535-47bb-0310-9956-ffa450edef68
2008-09-08 18:05:03 +00:00
antelder
79bff2fbdb Reapply patch for TUSCANY-2561
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@693171 13f79535-47bb-0310-9956-ffa450edef68
2008-09-08 17:24:31 +00:00
antelder
6a11cd2763 Revert r693143 to fix the accidental code reformatting
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@693154 13f79535-47bb-0310-9956-ffa450edef68
2008-09-08 16:39:47 +00:00
antelder
7eab5e0091 TUSCANY-2561: Apply patch from Dan Becker for Soap intents are lower case while the policy framework says that they should be upper case
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@693143 13f79535-47bb-0310-9956-ffa450edef68
2008-09-08 15:58:12 +00:00
antelder
26cae1d95c Temporary work around for TUSCANY-2586 to prevent the pass-by-value interceptor being used
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@693037 13f79535-47bb-0310-9956-ffa450edef68
2008-09-08 09:37:03 +00:00
rfeng
96fe78cf97 Use the owning classloader instead of TCCL
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@693008 13f79535-47bb-0310-9956-ffa450edef68
2008-09-08 07:40:54 +00:00
rfeng
7c688ea190 Fix the Bundle-ClassPath syntax and make sure the classpath is resolved against the base bundle correctly
Use the bundle to load implementation-node classes

git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@693007 13f79535-47bb-0310-9956-ffa450edef68
2008-09-08 07:33:14 +00:00
antelder
d3161b1550 Remove two unused tests as the test are all in itest now
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@692998 13f79535-47bb-0310-9956-ffa450edef68
2008-09-08 06:54:20 +00:00
jsdelfino
fe56d619a6 Simplified a bit the service discovery implementation. Some code cleanup in node-launcher-equinox. Started to remove dependencies on a particular setting of the Thread Context ClassLoader.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@692989 13f79535-47bb-0310-9956-ffa450edef68
2008-09-08 03:16:34 +00:00
jsdelfino
d6293beb66 Simplified the sample a bit to really isolate the test case from the component running inside the OSGi environment.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@692914 13f79535-47bb-0310-9956-ffa450edef68
2008-09-07 18:05:26 +00:00
jsdelfino
02da36112e Added an dynamicimport declaration to extensibility-equinox. Forced activation of all bundles for now to help diagnose any errors. Added a call to set the the current thread context classloader to the extensiblity-equinox bundle's classloader.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@692913 13f79535-47bb-0310-9956-ffa450edef68
2008-09-07 18:04:41 +00:00
jsdelfino
3138d32eb2 Temporarily commented out node-launcher-equinox as it doesn't quite work yet.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@692903 13f79535-47bb-0310-9956-ffa450edef68
2008-09-07 17:16:18 +00:00
jsdelfino
7881c624c1 Fixed determination of the location of the node launcher bundle.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@692822 13f79535-47bb-0310-9956-ffa450edef68
2008-09-07 11:44:28 +00:00
jsdelfino
749d5c9a1c Moved hooks from extensiblity-equinox to node-launcher-equinox. Fixed logic that installs bundles in node-launcher-equinox, which now just installs bundles normally and installs all non-bundle JARs in a single 'library' bundle which exports all the packages that they contain. The startup sequence is now simpler and significantly faster.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@692820 13f79535-47bb-0310-9956-ffa450edef68
2008-09-07 11:25:41 +00:00
jsdelfino
252f4d6eec Added corba binding to distribution. Changed dependency on extensibility-osgi to extensiblity-equinox.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@692687 13f79535-47bb-0310-9956-ffa450edef68
2008-09-06 17:23:39 +00:00
jsdelfino
0fde21b30b Minor code simplification.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@692671 13f79535-47bb-0310-9956-ffa450edef68
2008-09-06 15:52:15 +00:00
jsdelfino
53a5528c7a Deleted old classes missed in previous commit.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@692667 13f79535-47bb-0310-9956-ffa450edef68
2008-09-06 15:44:26 +00:00
jsdelfino
2e51df1300 Minor code cleanup. Added class comments and ref/date tags. Moved test class to src/test/java.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@692666 13f79535-47bb-0310-9956-ffa450edef68
2008-09-06 15:43:27 +00:00
rfeng
c5f7e037e1 Port from SCADomain to SCANode
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@692615 13f79535-47bb-0310-9956-ffa450edef68
2008-09-06 06:08:56 +00:00
rfeng
9eadabfbf4 Starting to add support Classloading for 3rd party jars
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@692604 13f79535-47bb-0310-9956-ffa450edef68
2008-09-06 01:46:45 +00:00
rfeng
9168af7fc1 Change the artifact id
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@692603 13f79535-47bb-0310-9956-ffa450edef68
2008-09-06 01:40:35 +00:00
rfeng
0884017406 Add a sample to use Equinox OSGi launcher
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@692602 13f79535-47bb-0310-9956-ffa450edef68
2008-09-06 01:37:56 +00:00
slaws
772d956afa Use basic authentication as a motivating scenario for looking at policy plug points. Generic username/password processing is added as an interceptor. Specific axis configuration is performed by new logic specific to binding.ws which is invoked if the basic auth policy is present (we need to think about this mechanism). I added a binding-ws-axis2-policy module as a replacement for policy-security-ws but haven't moved over to it yet. I also added a message header map to Message but have only been experimenting to date.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@692411 13f79535-47bb-0310-9956-ffa450edef68
2008-09-05 11:13:14 +00:00
slaws
6df72a7b3f Download dojo within the src/main/resources/web structure and then add an ignore for it
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@692406 13f79535-47bb-0310-9956-ffa450edef68
2008-09-05 10:39:09 +00:00
jsdelfino
fe2f123dc8 Removed obsolete OSGiHost class.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@692322 13f79535-47bb-0310-9956-ffa450edef68
2008-09-05 02:32:38 +00:00
jsdelfino
e72d612a60 Simplified a bit the access to EquinoxOSGiHost.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@692321 13f79535-47bb-0310-9956-ffa450edef68
2008-09-05 02:31:13 +00:00
jsdelfino
fb240413ba Minor code cleanup in the ServletFilters.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@692320 13f79535-47bb-0310-9956-ffa450edef68
2008-09-05 02:27:34 +00:00
jsdelfino
a8fa99e74b Minor fixes to the JSE and OSGi Equinox launchers. Added shutdown hooks, some try/catch, cleaned up the logs a bit.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@692319 13f79535-47bb-0310-9956-ffa450edef68
2008-09-05 02:07:43 +00:00
jsdelfino
6059c887cf Added a BundleFileWrapperFactory hook as it'll help provide the required Bundle manifest information when not present in the original JARs.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@692308 13f79535-47bb-0310-9956-ffa450edef68
2008-09-05 00:14:49 +00:00
rfeng
5b3b1e9d04 Add the capability to find dependencies jars/folders from the URLClassLoader without building a mini distro
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@692269 13f79535-47bb-0310-9956-ffa450edef68
2008-09-04 21:56:40 +00:00
nash
8f9ea050e7 Add Apache license header
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@692139 13f79535-47bb-0310-9956-ffa450edef68
2008-09-04 16:25:18 +00:00
antelder
fad9dbd913 Correct JMS binding.sca destination create options
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@691961 13f79535-47bb-0310-9956-ffa450edef68
2008-09-04 10:40:29 +00:00
jsdelfino
08b9d5aabe Added some of the Maven plugins to distribution/features/all.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@691828 13f79535-47bb-0310-9956-ffa450edef68
2008-09-03 23:30:29 +00:00
jsdelfino
4ac1f1b9ae Minor update of the build scripts. Added repository module. Added missing http-runtime module.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@691825 13f79535-47bb-0310-9956-ffa450edef68
2008-09-03 23:19:52 +00:00
jsdelfino
3dc7e2f8d6 Added a module to help build a Maven repository containing Tuscany artifacts.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@691822 13f79535-47bb-0310-9956-ffa450edef68
2008-09-03 23:13:44 +00:00
rfeng
b3c8f267ee Cast a few types to make it compatible with JDK 5 which doesn't have javax.script packages
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@691705 13f79535-47bb-0310-9956-ffa450edef68
2008-09-03 18:11:17 +00:00
rfeng
64b961dbaa Only set apache snapshot repo to download SNAPSHOT versions to speed up maven build
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@691699 13f79535-47bb-0310-9956-ffa450edef68
2008-09-03 17:57:55 +00:00
antelder
11492c90e3 Add a sample demonstrating distributed domains using binding-sca-jms. This should work now, be interested in people trying it and feedback
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@691685 13f79535-47bb-0310-9956-ffa450edef68
2008-09-03 16:58:12 +00:00
antelder
fe84c69d56 Initial basic support for web.composite, see TUSCANY-2581
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@691684 13f79535-47bb-0310-9956-ffa450edef68
2008-09-03 16:54:38 +00:00
antelder
fbe9f35faa Another TUSCANY-2580 fix for binding.sca.jms
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@691667 13f79535-47bb-0310-9956-ffa450edef68
2008-09-03 16:30:04 +00:00
antelder
61b23a56a9 Interim fixes to get binding-sca-jms working, see TUSCANY-2580. These need to be improved by fixing the underlying cause which is what TUSCANY-2580 is for
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@691663 13f79535-47bb-0310-9956-ffa450edef68
2008-09-03 16:28:08 +00:00
antelder
5a4791e086 Fix another case of needing to ignore an exception when closing a connection that has already been closed
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@691625 13f79535-47bb-0310-9956-ffa450edef68
2008-09-03 14:28:53 +00:00
antelder
b5be1db004 Add a stop for the clientNode which had been left out
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@691542 13f79535-47bb-0310-9956-ffa450edef68
2008-09-03 08:32:12 +00:00
antelder
ad792c40c9 Add missing code comment
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@691541 13f79535-47bb-0310-9956-ffa450edef68
2008-09-03 08:30:31 +00:00