summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/tags/2.0-Beta1/modules/node-api/src/main/java/org/apache/tuscany/sca/node/NodeFactory.java (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-11-23Copy RC3 tag as final release tagslaws1-0/+0
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1038034 13f79535-47bb-0310-9956-ffa450edef68
2010-08-30Add a test case showing how to register a ProviderFactory instance. Minor ↵jsdelfino1-0/+7
cleanup, add a createNode method that takes a list of contributions and remove reference to NodeFactory implementation class. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@990870 13f79535-47bb-0310-9956-ffa450edef68
2010-08-29Sandbox to experiment with different ways to embed the runtime.jsdelfino1-0/+0
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@990620 13f79535-47bb-0310-9956-ffa450edef68
2010-07-19Branch to experiment with dynamic component interfaces and implementations.jsdelfino1-0/+0
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@965346 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27Branch for 2.0 Milestone M5kelvingoodson1-0/+0
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@948800 13f79535-47bb-0310-9956-ffa450edef68
2010-05-18Avoid NPE by not setting null in domain nameantelder1-1/+3
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@945640 13f79535-47bb-0310-9956-ffa450edef68
2010-05-18Add missing adds to static factoriesantelder1-0/+2
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@945551 13f79535-47bb-0310-9956-ffa450edef68
2010-04-28mark additional classes as extension spi according to use by host* extensionskelvingoodson1-0/+1
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@938958 13f79535-47bb-0310-9956-ffa450edef68
2010-04-26Avoid empty default domain nameantelder1-1/+5
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@937977 13f79535-47bb-0310-9956-ffa450edef68
2010-04-25Update NodeFactory to set the default domain name propertyantelder1-1/+4
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@937885 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21When config null then return noargs newInstance so it gets initialized with ↵antelder1-1/+1
the default properties git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@936268 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21Fix up properties parsingantelder1-15/+31
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@936187 13f79535-47bb-0310-9956-ffa450edef68
2010-04-15Fix properties file url readingantelder1-7/+8
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@934403 13f79535-47bb-0310-9956-ffa450edef68
2010-04-15Initialize the properties to avoid any NPEantelder1-1/+1
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@934332 13f79535-47bb-0310-9956-ffa450edef68
2010-04-15Start adding support for configureing the runtime (NodeFactory) via some ↵antelder1-17/+85
properties. Also add the init method to NodeFactory class so you don't have to cast it to a NodeFactoryImpl git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@934322 13f79535-47bb-0310-9956-ffa450edef68
2010-04-13Add a NodeFactory newInstance method that takes a Properties object instead ↵antelder1-0/+24
of a map or maps to configure the runtime, which makes it easier to use git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@933537 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16Add way to keep track of Nodes created by the factoryantelder1-0/+8
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@923618 13f79535-47bb-0310-9956-ffa450edef68
2010-03-14Improve the IP address binding to be based on the host from the urirfeng1-1/+1
Having servlet host to return deployed uri git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@922701 13f79535-47bb-0310-9956-ffa450edef68
2010-03-02Add the ability to map binding.sca to any bindings in the runtime by ↵rfeng1-1/+1
configuration git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@918261 13f79535-47bb-0310-9956-ffa450edef68
2010-02-26Add a test for remote invocations between nodes created from two different ↵rfeng1-0/+2
node factories git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@916838 13f79535-47bb-0310-9956-ffa450edef68
2010-02-13Start to make extension points/extensions configurable from ↵rfeng1-16/+42
NodeFactory/ServiceDiscovery git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@909678 13f79535-47bb-0310-9956-ffa450edef68
2010-02-11Rename configURI to domainRegistryURIrfeng1-15/+6
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@909180 13f79535-47bb-0310-9956-ffa450edef68
2010-02-09Remove org.apache.tuscany.sca.node.Client and merge the methods into ↵rfeng1-1/+1
org.apache.tuscany.sca.node.Node git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@908245 13f79535-47bb-0310-9956-ffa450edef68
2010-02-08Generate unique Node URI if it's not set in the NodeConfigurationrfeng1-2/+7
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@907810 13f79535-47bb-0310-9956-ffa450edef68
2010-01-29Fix domain name calculationantelder1-3/+6
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@904492 13f79535-47bb-0310-9956-ffa450edef68
2010-01-23Add a mehod to create a node with a uri and composite to match the uri only ↵antelder1-0/+7
method git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@902397 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18Change Node getInstance/newInstance methods so that newInstance really ↵antelder1-56/+39
creates a new instance, and getInstance returns the singleton instance git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@900354 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13Add methods to Node to replicate whats in DomainNode so i can get rid of ↵antelder1-0/+31
that. (We still need to do the refactoring of Node as we started discussing on the ML, i'll start that again next week, just want to get the domain changes a bit more done so adding these here for now) git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@898806 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20Moving 2.x trunklresende1-0/+0
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@882795 13f79535-47bb-0310-9956-ffa450edef68
2009-10-29Refactor the TCCL processing to ClassLoaderContextrfeng1-3/+3
Handle the OSGi service un-registration gracefully git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@830852 13f79535-47bb-0310-9956-ffa450edef68
2009-10-28Pass ServiceRegistry via extensionPointRegistry to remove static referencesrfeng1-6/+8
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@830738 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14Resolve relative path of the contribution locations against the node.xmlrfeng1-9/+5
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@825196 13f79535-47bb-0310-9956-ffa450edef68
2009-07-11TUSCANY-3138: Start of the changes to use the latest spec APIs with the ↵antelder1-2/+1
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-08Update NodeFactory to support multiple domains and user defined domain URIs antelder1-31/+55
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@792032 13f79535-47bb-0310-9956-ffa450edef68
2009-06-25Make sure the node URI is unique when default nodes are created by the factoryrfeng1-1/+4
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@788224 13f79535-47bb-0310-9956-ffa450edef68
2009-06-12Minor cosmetic/formatting changeslresende1-16/+13
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@784017 13f79535-47bb-0310-9956-ffa450edef68
2009-06-12Removing @deprecated methods that are not being referenced in any 2.x codelresende1-19/+0
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@784006 13f79535-47bb-0310-9956-ffa450edef68
2009-05-20Refactoring a few methods on the ServiceDiscoverrfeng1-9/+6
Adding an OSGi service registry based ExtensionPointRegistry implementation git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@776759 13f79535-47bb-0310-9956-ffa450edef68
2009-05-19Change the NodeFactoryImpl to be capable of hosting multiple instances of ↵rfeng1-0/+3
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-15Update the node launcher to use the NodeFactoryrfeng1-6/+45
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@775369 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15Push down some of the createNode() methods to NodeFactory and only require ↵rfeng1-9/+186
the createNode(NodeConfiguration) to be implemented by subclasses git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@775283 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15Integrate the NodeConfiguration with NodeImplrfeng1-9/+0
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/+63
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@774854 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-11-21Simplify the Node API for a common default case so that creating a Node for ↵antelder1-0/+7
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-09Work in progress. Fixed implementation of NodeImpl, now working without ↵jsdelfino1-11/+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-15/+0
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-09-19Simplified ServiceDiscoverer. Started to use it to create factories to ↵jsdelfino1-6/+4
resolve ClassNotFoundExceptions. Renamed calculator-osgi to calculator-equinox and a few fixes to get it working in Eclipse. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@696924 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