|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SCAClient
Provides client access to the services in a domain.
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 serviceName)
Returns a ServiceReference for a service provided by a component in the SCA domain. |
Method Detail |
---|
<B,R extends org.osoa.sca.CallableReference<B>> R cast(B target) throws java.lang.IllegalArgumentException
B
- 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<B> B getService(java.lang.Class<B> businessInterface, java.lang.String serviceName)
B
- 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
<B> org.osoa.sca.ServiceReference<B> getServiceReference(java.lang.Class<B> businessInterface, java.lang.String serviceName)
B
- 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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |