|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ComponentContext
Extends the SCA ComponentContext
with additional context of the component.
Method Summary | ||
---|---|---|
org.osoa.sca.ServiceReference<?> |
getBestServiceReference(java.lang.String referenceName)
Returns the best ServiceReference for a reference defined by this component. |
|
ImplementationContext |
getImplementationContext()
Returns the context of the implementation. |
|
java.util.Map<java.lang.String,com.tibco.amf.sca.model.extensionpoints.Interface> |
getReferenceInterfaces()
Returns a Map of reference name to Interface for this component. |
|
java.lang.String |
getReferenceURI(java.lang.String referenceName)
Returns the reference URI using the SCA syntax for the given reference name. |
|
|
getService(java.lang.Class<B> businessInterface,
java.lang.String referenceName,
com.tibco.amf.platform.runtime.extension.databinding.MessageFormatProvider<? extends com.tibco.amf.platform.runtime.extension.databinding.MessageFormat> messageFormatProvider)
Deprecated. |
|
java.util.Map<java.lang.String,com.tibco.amf.sca.model.extensionpoints.Interface> |
getServiceInterfaces()
Returns a Map of service name to Interface for this component. |
|
org.osoa.sca.ServiceReference<?> |
getServiceReference(java.lang.String referenceName,
java.lang.Class<?>[] businessInterfaces)
Deprecated. |
|
java.lang.String |
getServiceURI(java.lang.String serviceName)
Returns the service URI using the SCA syntax for the given service name. |
|
void |
setRequestContext(RequestContext requestContext)
Sets context for the current SCA service request, or null if there is no current request or if the context is unavailable. |
Methods inherited from interface org.osoa.sca.ComponentContext |
---|
cast, createSelfReference, createSelfReference, getProperty, getRequestContext, getService, getServiceReference, getURI |
Methods inherited from interface com.tibco.amf.platform.runtime.extension.context.BaseContext |
---|
createMutableRequestContext, createMutableRequestContext, createRequestContextFromBytes, getApplicationName, getBundleContext, getClassLoader, getComponentName, getComponentRevision, getComponentVersion, getContextLogger, getDesignURI, getEnvironmentName, getHostName, getLifeCycleEvent, getLogger, getMBeanServer, getMessageLogger, getNodeName, getPolicies, getPolicyProperty, getProperty, getPropertyNames, getResourceAdapter, getTransactionManager, getTypeDisplayName, getURI, getURLToFileConverter, getUserTransaction, getWorkArea |
Method Detail |
---|
org.osoa.sca.ServiceReference<?> getBestServiceReference(java.lang.String referenceName)
referenceName
- the name of the reference
@Deprecated org.osoa.sca.ServiceReference<?> getServiceReference(java.lang.String referenceName, java.lang.Class<?>[] businessInterfaces)
referenceName
- the name of the referencebusinessInterfaces
- the interfaces that can be used to invoke the service
@Deprecated <B> B getService(java.lang.Class<B> businessInterface, java.lang.String referenceName, com.tibco.amf.platform.runtime.extension.databinding.MessageFormatProvider<? extends com.tibco.amf.platform.runtime.extension.databinding.MessageFormat> messageFormatProvider)
businessInterface
- the interface that will be used to invoke the servicereferenceName
- the name of the referencemessageFormatProvider
- MessageFormatProvider
that should be used to invoke the reference
java.lang.String getServiceURI(java.lang.String serviceName)
serviceName
- name of the service
java.lang.String getReferenceURI(java.lang.String referenceName)
referenceName
- name of the reference
ImplementationContext getImplementationContext()
java.util.Map<java.lang.String,com.tibco.amf.sca.model.extensionpoints.Interface> getServiceInterfaces()
Map
of service name to Interface
for this component.
Map
of service name to Interface
java.util.Map<java.lang.String,com.tibco.amf.sca.model.extensionpoints.Interface> getReferenceInterfaces()
Map
of reference name to Interface
for this component.
Map
of reference name to Interface
void setRequestContext(RequestContext requestContext)
requestContext
- the SCA request context; may be null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |