|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tuscany.sca.node.SCANode2Factory
org.apache.tuscany.sca.node.impl.Node2FactoryImpl
@Deprecated public class Node2FactoryImpl
Default implementation of an SCA node factory.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.tuscany.sca.node.SCANode2Factory |
---|
SCANode2Factory.NodeProxy |
Constructor Summary | |
---|---|
Node2FactoryImpl()
Deprecated. |
Method Summary | |
---|---|
SCANode2 |
createSCANode(java.lang.String compositeURI,
SCAContribution... contributions)
Deprecated. Creates a new SCA node. |
SCANode2 |
createSCANode(java.lang.String compositeURI,
java.lang.String compositeContent,
SCAContribution... contributions)
Deprecated. Creates a new SCA node. |
SCANode2 |
createSCANodeFromClassLoader(java.lang.String compositeURI,
java.lang.ClassLoader classLoader)
Deprecated. Create a SCA node based on the discovery of the contribution on the classpath for the given classloader. |
SCANode2 |
createSCANodeFromURL(java.lang.String configurationURI)
Deprecated. Creates a new SCA node from the configuration URL |
Methods inherited from class org.apache.tuscany.sca.node.SCANode2Factory |
---|
newInstance |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Node2FactoryImpl()
Method Detail |
---|
public SCANode2 createSCANodeFromClassLoader(java.lang.String compositeURI, java.lang.ClassLoader classLoader)
SCANode2Factory
createSCANodeFromClassLoader
in class SCANode2Factory
compositeURI
- The URI of the composite file relative to the root of the enclosing contributionclassLoader
- The ClassLoader used to load the composite file as a resource. If the value is null,
then thread context classloader will be used
public SCANode2 createSCANodeFromURL(java.lang.String configurationURI)
SCANode2Factory
createSCANodeFromURL
in class SCANode2Factory
configurationURI
- the URL of the node configuration which is the ATOM feed
that contains the URI of the composite and a collection of URLs for the contributions
public SCANode2 createSCANode(java.lang.String compositeURI, SCAContribution... contributions)
SCANode2Factory
createSCANode
in class SCANode2Factory
compositeURI
- the URI of the composite to usecontributions
- the URI of the contributions that provides the composites and related
artifacts. If the list is empty, then we will use the thread context classloader to discover
the contribution on the classpath
public SCANode2 createSCANode(java.lang.String compositeURI, java.lang.String compositeContent, SCAContribution... contributions)
SCANode2Factory
createSCANode
in class SCANode2Factory
compositeURI
- the URI of the composite to usecompositeContent
- the XML content of the composite to usecontributions
- the URI of the contributions that provides the composites and related artifacts
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |