summaryrefslogtreecommitdiffstats
path: root/java/sca/modules/core/src/main/java/org/apache (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-11-20Moving 2.x trunklresende71-8923/+0
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@882795 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20Use binding name to look up servicesrfeng1-47/+55
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@882371 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19Rename getInterfaceContract() of Endpoint/EndpointReferencerfeng3-8/+7
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@882263 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19Enhance the PolicyBuilder interface to provide ability to validate and build rfeng2-3/+4
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@882246 13f79535-47bb-0310-9956-ffa450edef68
2009-11-18Rename the methods on RuntimeEndpoint/RuntimeEndpointReference rfeng4-149/+154
Defer the unmarshalling of XML into endpoint/endpointReference git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@881883 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17Rationalize the interfaceContracts on Endpoint/EndpointReferencerfeng4-44/+11
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@881438 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17Remove code that's no longer requiredslaws1-1/+0
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@881287 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17Tidy up the endpoint/endpoint reference serialization/deseralizationrfeng3-65/+137
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@881164 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13Replace RuntimeWire with RuntimeEnpoint/RuntimeEndpointReference as the ↵rfeng27-2091/+1380
owner of invocaiton chains (http://www.mail-archive.com/dev@tuscany.apache.org/msg07856.html) git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@836009 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13Remove some of the commented out code that resulted from moving over to the ↵slaws4-396/+5
Endpoint/EndpointReference approach. Still some left in that needs looking at. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@835940 13f79535-47bb-0310-9956-ffa450edef68
2009-11-11Merge the performance fixes from 1.xrfeng2-13/+25
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@834737 13f79535-47bb-0310-9956-ffa450edef68
2009-10-30Propagate osgi properties for OSGi remote services rfeng1-20/+19
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@831468 13f79535-47bb-0310-9956-ffa450edef68
2009-10-28Pass ServiceRegistry via extensionPointRegistry to remove static referencesrfeng4-15/+32
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@830738 13f79535-47bb-0310-9956-ffa450edef68
2009-10-23Add example of runtime support for handling JAXWS async client APIsantelder3-1/+190
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@828988 13f79535-47bb-0310-9956-ffa450edef68
2009-10-19Catch any exception during starting of a component and rethrow as ↵antelder1-2/+7
ServiceUnavailableException git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@826637 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16This is to change the Monitor to be request scoped for most of the cases:rfeng3-15/+21
Refactor the ArtifactProcessor/ModelResolver to take a ProcessorContext that holds context such as Monitor, Contribution for the contribution/artifact processing methods Refactor the Builder to take a BuilderContext that holds context such as Monitor, Definitions, Base binding mapping for the building methods Change the processor/resolver/builder implementation classes to not cache the Monitor git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@825773 13f79535-47bb-0310-9956-ffa450edef68
2009-10-15Fix JCA9001 testcase by not wrapping runtime exceptions in a ↵antelder1-0/+3
ServiceRuntimException git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@825508 13f79535-47bb-0310-9956-ffa450edef68
2009-10-12Add PolicyBuilder to the builder extension pointrfeng1-1/+1
Use QName as the key to index and look up builders git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@824540 13f79535-47bb-0310-9956-ffa450edef68
2009-10-09Refactor the runtime build logic into EndpointReferenceBinderrfeng6-164/+264
Refactor the endpoint-wrapper into domainRegistryFactory that delegates to endpoint registry implementations by the scheme Improve/workaround the monitor so that it can be shared by multiple nodes (We need a better design for this) git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@823672 13f79535-47bb-0310-9956-ffa450edef68
2009-10-07Fix NPE due to typo in if testantelder1-1/+1
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@822756 13f79535-47bb-0310-9956-ffa450edef68
2009-10-07Update to get some of the JMS exception tests working by updating to match ↵antelder1-1/+1
1.x r732679 which says 'Ignore the InvocationTargetException as the Tuscany Message body has already be set with the fault' git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@822666 13f79535-47bb-0310-9956-ffa450edef68
2009-10-05Further refactor the CompositeContext to be the place to hold information ↵rfeng3-3/+32
about the Node git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@821953 13f79535-47bb-0310-9956-ffa450edef68
2009-10-02Make CompositeActivator a stateless utility by using CompositeContext to ↵rfeng7-934/+446
hold the context from the Node including the endpointRegistry git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@820854 13f79535-47bb-0310-9956-ffa450edef68
2009-09-29Refactor tuscany-endpoint module into tuscany-corerfeng2-0/+567
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@819786 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25TUSCANY-3280 - Removing support for obsolet scopes as in latest JAVACAA 1.1 ↵lresende7-246/+4
draft spec and throwing exception when invalid scope is found git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@819068 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25Refactor CompositeActivator, ComponentContext and other related interfaces ↵rfeng20-603/+60
into core-spi module git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@819009 13f79535-47bb-0310-9956-ffa450edef68
2009-09-22Correct the algorithm for selecting callback bindings to match what the old ↵slaws1-1/+3
builders were doing. However this is not correct. In particular we should probably be always selecting the forward binding if not callback binding is specified. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@817629 13f79535-47bb-0310-9956-ffa450edef68
2009-09-18Remove the need of subclassing Proxy and JXM so that Tuscany can run on ↵rfeng3-81/+75
Google App Engine git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@816712 13f79535-47bb-0310-9956-ffa450edef68
2009-09-14Rename CompositeBuilderExtensionPoint to BuilderExtensionPointrfeng1-3/+3
Rename CompositeBuilderTmp to DeployedCompositeBuilder git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@814884 13f79535-47bb-0310-9956-ffa450edef68
2009-09-14Enhance the CompositeBuilderExtensionPoint to include binding/implementation ↵rfeng1-5/+12
builders which replace BindingExtension and CompositePreProcessor git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@814879 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11Add methods used by the JMS binding to the core moduleantelder5-2/+24
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@813719 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28Update to add a method to check if a wire target is out of date compared to ↵antelder2-45/+20
teh endpoint registry (see ML discussion 'Endpoint registry and stopping/starting nodes' git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@808838 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27More fixes to get invocations working when a node is restartedantelder1-1/+16
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@808613 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27Add policy matching to the endpoint builder and prepare for problems to be ↵slaws2-2/+14
raised at runtime and at build time. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@808552 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27Initial update to handle nodes being restarted. Similar changes needed in ↵antelder1-11/+32
many places but this gets the StopStartNodesTestCase running git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@808457 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27During rebuild also reset the status of the endpoint reference so it gets ↵antelder1-0/+2
rebuilt correctly git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@808440 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27Throw exception if scope container isn't running (need to do similar for all ↵antelder1-2/+4
the scope containers, this is just to start getting things working) git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@808439 13f79535-47bb-0310-9956-ffa450edef68
2009-08-08Remove the non-OASIS code from the endpoint builder and set up build-time ↵slaws2-3/+71
and runt-time operations so that I can reorganize the endpoint reference build process and get all of the endpoint building code in on place. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@802401 13f79535-47bb-0310-9956-ffa450edef68
2009-07-30Make sure the Endpoints and EndpointReferences are released rfeng1-1/+2
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@799429 13f79535-47bb-0310-9956-ffa450edef68
2009-07-30TUSCANY-3187 - add the service wire to the leaf service rather than the ↵slaws1-1/+5
service that holds the endpoint. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@799357 13f79535-47bb-0310-9956-ffa450edef68
2009-07-28Remove the default contents of he thread message context just in case that ↵slaws1-2/+10
this is holding onto a classloader. Don't have proof that this is a problem on 2.x but was causing problems on 1.x git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@798432 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24Add a test to avoid expensive reset of the CompositeActivatorrfeng1-2/+2
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@797578 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22Remove conversation ID from reference parameters. Not required for OASISslaws2-23/+2
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@796867 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22Make the not yet matched status sounds a little less terminal. Just because ↵slaws1-1/+1
it isn't matched yet doesn't mean it won't work. The way the code has turned out we can probably work to get rid of this state altogether git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@796866 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22TUSCANY-3138 fix up callbacks now that the system relies solely on the ↵slaws9-21/+187
ServiceReference interface. I've reinstated the CallbackReference class as CallbackServiceReference to provide the extra features required callbacks. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@796631 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21TUSCANY-3138 first tranche of changes to serialize service references in the ↵slaws11-381/+201
form of an EndpointReference. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@796222 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21Fix svn:eol-style and svn:keywords properties for java/xml filesrfeng7-496/+496
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@796166 13f79535-47bb-0310-9956-ffa450edef68
2009-07-11TUSCANY-3138: Start of the changes to use the latest spec APIs with the ↵antelder16-331/+68
removal of CallableReference. BUild works cleanly for me with this but callbacks don't work yet so all callback tests are commented out or @Ignored with a reference to TUSCANY-3138. Commiting it now so Simon can start helping to finish the code git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@793178 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08Refactor the PolicyProviderFactory to take Endpoint and EndpointReferencerfeng5-26/+66
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@792358 13f79535-47bb-0310-9956-ffa450edef68
2009-07-06Remove AutomaticBinding and replace it with a flag in the Contract model to ↵rfeng2-2/+2
indicate if a refernece or binding has one or more binding elements specified in which case it overrides the bindings from componentType or promoted contracts Change the isCallback flag to forCallback to avoid confusion with the callback property git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@791651 13f79535-47bb-0310-9956-ffa450edef68