public interface CompositeContext
Modifier and Type | Method and Description |
---|---|
<T> T |
getService(java.lang.Class<T> interfaze,
java.lang.String compServName)
Returns a proxy that provides access to the specified service.
|
<T> org.osoa.sca.ServiceReference<T> |
getServiceReference(java.lang.Class<T> interfaze,
java.lang.String compServName)
Returns a ServiceReference
|
<T> T getService(java.lang.Class<T> interfaze, java.lang.String compServName)
interfaze
- the interface that will be used to invoke the service.compServName
- the name of the target component/service.unchecked
- exception : NoSuchServiceException<T> org.osoa.sca.ServiceReference<T> getServiceReference(java.lang.Class<T> interfaze, java.lang.String compServName)
interfaze
- the interface that will be used to invoke the service.compServName
- the name of the target component/service.unchecked
- exception : NoSuchServiceException