|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tuscany.sca.implementation.node.launcher.NodeImplementationLauncherBootstrap.NodeFacade
public static class NodeImplementationLauncherBootstrap.NodeFacade
A node facade.
| Method Summary | ||
|---|---|---|
|
cast(B target)
Cast a type-safe reference to a CallahbleReference. |
|
|
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 referenceName)
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 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 referenceName)
SCAClient
getServiceReference in interface SCAClientB - the Java type of the business interface for the servicebusinessInterface - the interface that will be used to invoke the
servicereferenceName - the name of the service
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||