org.apache.tuscany.sca.binding.feed.provider
Class RSSBindingProviderFactory

java.lang.Object
  extended by org.apache.tuscany.sca.binding.feed.provider.RSSBindingProviderFactory
All Implemented Interfaces:
BindingProviderFactory<RSSBinding>, ProviderFactory<RSSBinding>

public class RSSBindingProviderFactory
extends java.lang.Object
implements BindingProviderFactory<RSSBinding>

Implementation of the RSS binding provider factory.


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

RSSBindingProviderFactory

public RSSBindingProviderFactory(ExtensionPointRegistry extensionPoints)
Method Detail

createReferenceBindingProvider

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

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

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

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