summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/branches/sca-java-2.0-M3/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeImpl.java (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-11-11Moving 2.x brancheslresende1-0/+0
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@835136 13f79535-47bb-0310-9956-ffa450edef68
2009-06-16Create 2.0 M3 release branchantelder1-0/+0
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@785089 13f79535-47bb-0310-9956-ffa450edef68
2009-06-12Add back in the getServiceEndpoints methodantelder1-0/+29
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@784056 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10Remove unused getEndpoints() methodrfeng1-30/+0
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@783578 13f79535-47bb-0310-9956-ffa450edef68
2009-06-08Move EndpointRegistry from assembly to core-spirfeng1-6/+7
Add EndpointListener git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@782804 13f79535-47bb-0310-9956-ffa450edef68
2009-06-08Update the SCAClient impl to work with multiple nodes in a domainantelder1-1/+1
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@782588 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29Fix for unguarded access to compositeActivator.getDomainComposite() in ↵edwardsmj1-11/+13
stop() method of NodeImpl which causes NPE in situations where start() completes with ContributionReadException (and similar error exceptions) git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@779992 13f79535-47bb-0310-9956-ffa450edef68
2009-05-28Removed unnecessary reference to Impl class RuntimeComponentServiceImpledwardsmj1-3/+5
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@779599 13f79535-47bb-0310-9956-ffa450edef68
2009-05-28Start of a way to get at the endpoints in a Nodeantelder1-0/+28
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@779462 13f79535-47bb-0310-9956-ffa450edef68
2009-05-27Add optional life cycle control for extension points (for example, RMI ↵rfeng1-3/+0
extension point needs to unexport the registry) git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@778955 13f79535-47bb-0310-9956-ffa450edef68
2009-05-19Expose extension point registery rfeng1-0/+5
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@776393 13f79535-47bb-0310-9956-ffa450edef68
2009-05-19Change the NodeFactoryImpl to be capable of hosting multiple instances of ↵rfeng1-556/+51
SCA node in the same JVM and align the OSGiNodeFactoryImpl to that feature git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@776383 13f79535-47bb-0310-9956-ffa450edef68
2009-05-16Decouple node-impl from sca-client-implantelder1-13/+8
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@775426 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15Integrate the NodeConfiguration with NodeImplrfeng1-219/+125
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@774994 13f79535-47bb-0310-9956-ffa450edef68
2009-05-14Start to integrate the node configuration with NodeImplrfeng1-25/+27
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@774854 13f79535-47bb-0310-9956-ffa450edef68
2009-05-12TUSCANY-3015: Fix URI creation to escape spaces in the nameantelder1-1/+1
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@773810 13f79535-47bb-0310-9956-ffa450edef68
2009-05-11Merge in the node-impl-2 changes to simplify the node by not requiring ↵antelder1-232/+170
implementation-node and using the workspace as the contribution service git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@773509 13f79535-47bb-0310-9956-ffa450edef68
2009-05-08Removed unneeded imported that causes my compile to failslaws1-1/+0
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@773036 13f79535-47bb-0310-9956-ffa450edef68
2009-05-08Updates and additions to add preResolve phase to contribution processing ↵edwardsmj1-10/+33
(See TUSCANY-3012) git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@772951 13f79535-47bb-0310-9956-ffa450edef68
2009-05-06Fix for when domain name is nullantelder1-2/+12
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@772141 13f79535-47bb-0310-9956-ffa450edef68
2009-05-06Continue exploring sca client api with a new module for the client ↵antelder1-0/+5
implementation git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@772115 13f79535-47bb-0310-9956-ffa450edef68
2009-05-01Add the check for deployment composite from the XML string valuerfeng1-92/+112
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@770779 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28Fix to NodeImpl for TUSCANY-2989 - now resolves a supplied composite with an ↵edwardsmj1-11/+37
absolute URI outside any contribution against the first supplied contribution. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@769564 13f79535-47bb-0310-9956-ffa450edef68
2009-04-15Update the node-impl to use DefinitionsExtensionPoint to load definitionsrfeng1-2/+9
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@765417 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07Initial support for the SCAClient API, probably better ways we can do this ↵antelder1-1/+8
but this is the simplest way to get it working as a starting point git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@762760 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27Add an option to control is schema validation should be enabledrfeng1-73/+96
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@759329 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19Switch over to new endpoint reference/endpoint model. These are the changes ↵slaws1-3/+13
required to exploit the model in the runtime up to the point were the old EndpointReference is retrieved from a wire. The next step is to convert this over too and exploit the new endpoint references fully. There is still tidying to do (search for TODO - EPR) in particular I haven't removed any of the old files yet. So beware don't put changes into CompositeActivator or RuntimeWire as the runtime isn't using them git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@756070 13f79535-47bb-0310-9956-ffa450edef68
2009-03-12Rename the constantrfeng1-3/+3
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@753068 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06Support the SCA property value based on the OASIS syntaxrfeng1-1/+1
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@751079 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05Avoid the NPErfeng1-4/+4
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@750340 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05More changes to switch SCA namespace from osoa version to oasis onerfeng1-1/+18
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@750323 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26CHange webapp host so it doesn't need any static singleton (TUSCANY-2881) ↵antelder1-0/+4
and make webapp host only be used if no other hosts (like jetty) are in the classpath git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@748109 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20Start to implement the SCA policy framework 1.1 spec draft from OASIS OpenCSArfeng1-2/+2
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@746356 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20Update NodeImpl so it works with webapps passing in the web.composite ↵antelder1-8/+8
content. I'll post about this to the ML git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@746244 13f79535-47bb-0310-9956-ffa450edef68
2009-02-17Remove the use of tempuri.orgrfeng1-2/+4
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@745150 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03Comment out the excessive loggingrfeng1-3/+3
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@740210 13f79535-47bb-0310-9956-ffa450edef68
2009-02-02TUSCANY-2801 - Create a SystemContribution to hold data from definitions.xml ↵slaws1-24/+79
found in extensions and in application contributions. This change creates a system contribution on the fly in the node and installs a DefaultModelResolver for various policy elements. The default resolver not takes account of any default imports that are available. All application level contributions are linked to the system contribution via a default import that references the system contributions model resolver. Hence policy element resolution will traverse the tree to the system contribution if the element is not resolved locally. We may want to create specific policy resolvers here but this change allows for some experimentation. The next hurdle to getting this to work is to get policy set XPath applied to the assembly model again. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@739953 13f79535-47bb-0310-9956-ffa450edef68
2009-01-28TUSCANY-2790 - Updated package names from org.osoa.sca to org.oasisopen.sca ↵mcombellack1-3/+3
and from org.osoa.sca.annotations to org.oasisopen.sca.annotation to reflect the new package names in the OASIS Open SCA specifications. To do this, I: * Renamed the org.osoa.sca package to org.oasisopen.sca using Eclipse refactoring * Renamed the org.osoa.sca.annotations package to org.oasisopen.sca.annotation using Eclipse refactoring * Did a global search and replace for all remaining instances of the old org.osoa package names and replaced with the new org.oasisopen version Hopefully, I have not missed too many instances of the old package name git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@738490 13f79535-47bb-0310-9956-ffa450edef68
2008-12-04Refactor the tuscany-core module to move private classes out of the SPI packagesrfeng1-6/+6
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@723218 13f79535-47bb-0310-9956-ffa450edef68
2008-11-21Simplify the Node API for a common default case so that creating a Node for ↵antelder1-0/+65
simple samples and tests can be: node = NodeFactory.newInstance().createNode(); instead of: NodeFactory factory = NodeFactory.newInstance(); String root = ContributionLocationHelper.getContributionLocation("Calculator.composite"); Contribution contribution = new Contribution(root, root); node = factory.createNode("Calculator.composite", contribution); git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@719565 13f79535-47bb-0310-9956-ffa450edef68
2008-11-19Copying modules from Equinox branch, to start merging the delta changes from ↵lresende1-0/+0
1.x/original trunk git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@718815 13f79535-47bb-0310-9956-ffa450edef68
2008-10-27Bring up calculator-osgi using equinox run configrfeng1-2/+7
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@708234 13f79535-47bb-0310-9956-ffa450edef68
2008-10-14Remove SCA prefix from Defintions modelrfeng1-22/+12
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@704715 13f79535-47bb-0310-9956-ffa450edef68
2008-10-13Refactored contribution exceptions, moved them to the contribution.processor ↵jsdelfino1-1/+1
package which is exported out of the contribution module. Removed unused implementation classes. Moved test cases from contribution-impl to contribution. Also renamed a few test cases that had compile errors as easymock is not on the classpath. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@704156 13f79535-47bb-0310-9956-ffa450edef68
2008-10-10Fixed compile errors.jsdelfino1-5/+54
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@703296 13f79535-47bb-0310-9956-ffa450edef68
2008-10-09Work in progress. Fixed implementation of NodeImpl, now working without ↵jsdelfino1-27/+19
dependencies on implementations from other bundles (except RuntimeAssemblyFactory, which will need to be cleaned up too). Started to remove dependencies on host-embedded and port code to NodeFactory and Node, as an interim step to bring them up, before porting them to the OSGi-enabled node launcher. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@703068 13f79535-47bb-0310-9956-ffa450edef68
2008-10-09Work in progress. Continued to clean up cross bundle dependencies on ↵jsdelfino1-191/+131
implementation classes, like ScopeRegistry, CompositeActivator, ContributionService, some of the factories. Added declarations of some of these utilities to the relevant modules. That also simplified the bootstrap of the runtime used by NodeImpl, which doesn't invoke all their constructors anymore. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@703066 13f79535-47bb-0310-9956-ffa450edef68
2008-10-06Work in progress. Started to clean up cross-bundle dependencies on ↵jsdelfino1-349/+142
ContributionService implementation class, the various CompositeBuilder implementation classes and the ContributionDependencyBuilder implementation class. Added extension points for ContributionBuilders and CompositeBuilders to have them discovered and loaded by the Equinox ServiceDiscovery like other extension points. Moved injection of monitors and SCA definitions to the build methods instead of the constructors to remove references to these implementation constructors. Simplified NodeImpl a bit to remove references to other runtime implementation classes. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@702000 13f79535-47bb-0310-9956-ffa450edef68
2008-09-17TUSCANY-2598: Apply fix from Dave Sowerby to support zip protocol typejsdelfino1-0/+6
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@696158 13f79535-47bb-0310-9956-ffa450edef68
2008-09-12Creating a branch for the equinox work.jsdelfino1-0/+0
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@694816 13f79535-47bb-0310-9956-ffa450edef68