|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tuscany.sca.node.impl.NodeImpl
public class NodeImpl
A local representation of the SCADomain running on a single node
| Method Summary | ||
|---|---|---|
|
cast(B target)
Cast a type-safe reference to a CallahbleReference. |
|
Composite |
getComposite()
Returns the composite being run by this node. |
|
CompositeActivator |
getCompositeActivator()
|
|
static java.net.URL |
getContributionURL(java.net.URL contributionArtifactURL,
java.lang.String contributionArtifactPath)
|
|
ExtensionPointRegistry |
getExtensionPointRegistry()
Returns the extension point registry used by this node. |
|
|
getService(java.lang.Class<B> businessInterface,
java.lang.String serviceName)
Returns a proxy for a service provided by a component in the SCA domain. |
|
|
getServiceReference(java.lang.Class<B> businessInterface,
java.lang.String name)
Returns a ServiceReference for a service provided by a component in the SCA domain. |
|
void |
start()
Start the composite loaded in the node. |
|
void |
stop()
Stop the composite loaded in the node. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.net.URL getContributionURL(java.net.URL contributionArtifactURL,
java.lang.String contributionArtifactPath)
public void start()
SCANode
start in interface SCANodepublic void stop()
SCANode
stop in interface SCANode
public <B,R extends org.osoa.sca.CallableReference<B>> R cast(B target)
throws java.lang.IllegalArgumentException
SCAClient
cast in interface SCAClientB - the Java type of the business interface for the referenceR - the type of reference to be returnedtarget - a reference proxy provided by the SCA runtime
java.lang.IllegalArgumentException - if the supplied instance is not a
reference supplied by the SCA runtime
public <B> B getService(java.lang.Class<B> businessInterface,
java.lang.String serviceName)
SCAClient
getService in interface SCAClientB - the Java type of the business interface for the servicebusinessInterface - the interface that will be used to invoke the
serviceserviceName - the name of the service
public <B> org.osoa.sca.ServiceReference<B> getServiceReference(java.lang.Class<B> businessInterface,
java.lang.String name)
SCAClient
getServiceReference in interface SCAClientB - the Java type of the business interface for the servicebusinessInterface - the interface that will be used to invoke the
servicename - the name of the service
public ExtensionPointRegistry getExtensionPointRegistry()
public Composite getComposite()
public CompositeActivator getCompositeActivator()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||