org.apache.tuscany.sca.binding.sca.impl
Class RuntimeSCABindingProviderFactory

java.lang.Object
  extended by org.apache.tuscany.sca.binding.sca.impl.RuntimeSCABindingProviderFactory
All Implemented Interfaces:
BindingProviderFactory<SCABinding>, ProviderFactory<SCABinding>

public class RuntimeSCABindingProviderFactory
extends java.lang.Object
implements BindingProviderFactory<SCABinding>

The factory for creating SCA Binding providers


Constructor Summary
RuntimeSCABindingProviderFactory(ExtensionPointRegistry extensionPoints)
           
 
Method Summary
 ReferenceBindingProvider createReferenceBindingProvider(RuntimeComponent component, RuntimeComponentReference reference, SCABinding binding)
          Creates a new reference binding provider for the given component and reference.
 ServiceBindingProvider createServiceBindingProvider(RuntimeComponent component, RuntimeComponentService service, SCABinding binding)
          Creates a new service binding provider for the given component and service.
 java.lang.Class<SCABinding> getModelType()
          The model type that this factory creates providers for.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuntimeSCABindingProviderFactory

public RuntimeSCABindingProviderFactory(ExtensionPointRegistry extensionPoints)
Method Detail

createReferenceBindingProvider

public ReferenceBindingProvider createReferenceBindingProvider(RuntimeComponent component,
                                                               RuntimeComponentReference reference,
                                                               SCABinding binding)
Description copied from interface: BindingProviderFactory
Creates a new reference binding provider for the given component and reference.

Specified by:
createReferenceBindingProvider in interface BindingProviderFactory<SCABinding>
Parameters:
component - The runtime component
reference - The reference on the runtime component
binding - The binding assembly model object
Returns:
The binding provider

createServiceBindingProvider

public ServiceBindingProvider createServiceBindingProvider(RuntimeComponent component,
                                                           RuntimeComponentService service,
                                                           SCABinding binding)
Description copied from interface: BindingProviderFactory
Creates a new service binding provider for the given component and service.

Specified by:
createServiceBindingProvider in interface BindingProviderFactory<SCABinding>
Parameters:
component - The runtime component
service - The service on the runtime component
binding - The binding assembly model object
Returns:
The binding provider

getModelType

public java.lang.Class<SCABinding> getModelType()
Description copied from interface: ProviderFactory
The model type that this factory creates providers for.

Specified by:
getModelType in interface ProviderFactory<SCABinding>
Returns:
the model type