com.tibco.amf.platform.runtime.extension.context
Interface EndpointContext

All Superinterfaces:
BaseContext
All Known Subinterfaces:
ReferenceEndpointContext, ServiceEndpointContext

public interface EndpointContext
extends BaseContext

Defines the context for endpoints, this interface is extended by ServiceEndpointContext and ReferenceEndpointContext.


Method Summary
 BindingContext getBindingContext()
          Provides the configuration of the endpoint.
 java.lang.String getEndpointURI()
          Returns the endpoint URI using the SCA syntax.
 com.tibco.amf.sca.model.extensionpoints.Interface getInterface()
          Returns the interface configured with this endpoint.
<B> org.osoa.sca.ServiceReference<B>
getServiceReference(java.lang.Class<B> businessInterface)
          Returns a ServiceReference for the endpoint to communicate with the component attached to this endpoint.
 boolean isInbound()
          Returns true if the endpoint is an inbound endpoint.
 
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

getEndpointURI

java.lang.String getEndpointURI()
Returns the endpoint URI using the SCA syntax.

Returns:
the endpoint URI

getBindingContext

BindingContext getBindingContext()
Provides the configuration of the endpoint.

Returns:
the binding context defining this endpoint

getInterface

com.tibco.amf.sca.model.extensionpoints.Interface getInterface()
Returns the interface configured with this endpoint.

Returns:
the interface configured with this endpoint

isInbound

boolean isInbound()
Returns true if the endpoint is an inbound endpoint.

Returns:
true if the endpoint is an inbound endpoint

getServiceReference

<B> org.osoa.sca.ServiceReference<B> getServiceReference(java.lang.Class<B> businessInterface)
Returns a ServiceReference for the endpoint to communicate with the component attached to this endpoint.

Type Parameters:
B - the Java type of the business interface
Parameters:
businessInterface - the interface that will be used to invoke the service
Returns:
a ServiceReference for the endpoint


Copyright © 2010 TIBCO Software Inc. All Rights Reserved.