org.apache.tuscany.sca.binding.atom.provider
Class AtomBindingProviderFactory

java.lang.Object
  extended by org.apache.tuscany.sca.binding.atom.provider.AtomBindingProviderFactory
All Implemented Interfaces:
BindingProviderFactory<AtomBinding>, ProviderFactory<AtomBinding>

public class AtomBindingProviderFactory
extends java.lang.Object
implements BindingProviderFactory<AtomBinding>

Implementation of a Binding provider factory for the Atom binding.


Constructor Summary
AtomBindingProviderFactory(ExtensionPointRegistry extensionPoints)
           
 
Method Summary
 ReferenceBindingProvider createReferenceBindingProvider(RuntimeComponent component, RuntimeComponentReference reference, AtomBinding binding)
          Creates a new reference binding provider for the given component and reference.
 ServiceBindingProvider createServiceBindingProvider(RuntimeComponent component, RuntimeComponentService service, AtomBinding binding)
          Creates a new service binding provider for the given component and service.
 java.lang.Class<AtomBinding> 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

AtomBindingProviderFactory

public AtomBindingProviderFactory(ExtensionPointRegistry extensionPoints)
Method Detail

createReferenceBindingProvider

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

Specified by:
createReferenceBindingProvider in interface BindingProviderFactory<AtomBinding>
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,
                                                           AtomBinding binding)
Description copied from interface: BindingProviderFactory
Creates a new service binding provider for the given component and service.

Specified by:
createServiceBindingProvider in interface BindingProviderFactory<AtomBinding>
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<AtomBinding> getModelType()
Description copied from interface: ProviderFactory
The model type that this factory creates providers for.

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