org.apache.tuscany.sca.provider
Interface BindingProviderFactory<M extends Binding>

All Superinterfaces:
ProviderFactory<M>
All Known Implementing Classes:
AtomBindingProviderFactory, AtomBindingProviderFactory, Axis2BindingProviderFactory, Axis2SCABindingProviderFactory, CorbaBindingProviderFactory, CorbaSCABindingProviderFactory, EJBBindingProviderFactory, GdataBindingProviderFactory, HTTPBindingProviderFactory, JMSBindingProviderFactory, JMSSCABindingProviderFactory, JSONRPCBindingProviderFactory, NotificationBindingProviderFactory, RMIBindingProviderFactory, RSSBindingProviderFactory, RSSBindingProviderFactory, RuntimeSCABindingProviderFactory

public interface BindingProviderFactory<M extends Binding>
extends ProviderFactory<M>

A factory for creating the runtime artifacts that represent bindings.


Method Summary
 ReferenceBindingProvider createReferenceBindingProvider(RuntimeComponent component, RuntimeComponentReference reference, M binding)
          Creates a new reference binding provider for the given component and reference.
 ServiceBindingProvider createServiceBindingProvider(RuntimeComponent component, RuntimeComponentService service, M binding)
          Creates a new service binding provider for the given component and service.
 
Methods inherited from interface org.apache.tuscany.sca.provider.ProviderFactory
getModelType
 

Method Detail

createReferenceBindingProvider

ReferenceBindingProvider createReferenceBindingProvider(RuntimeComponent component,
                                                        RuntimeComponentReference reference,
                                                        M binding)
Creates a new reference binding provider for the given component and reference.

Parameters:
component - The runtime component
reference - The reference on the runtime component
binding - The binding assembly model object
Returns:
The binding provider

createServiceBindingProvider

ServiceBindingProvider createServiceBindingProvider(RuntimeComponent component,
                                                    RuntimeComponentService service,
                                                    M binding)
Creates a new service binding provider for the given component and service.

Parameters:
component - The runtime component
service - The service on the runtime component
binding - The binding assembly model object
Returns:
The binding provider