org.apache.tuscany.sca.binding.http.provider
Class HTTPBindingProviderFactory

java.lang.Object
  extended by org.apache.tuscany.sca.binding.http.provider.HTTPBindingProviderFactory
All Implemented Interfaces:
BindingProviderFactory<HTTPBinding>, ProviderFactory<HTTPBinding>

public class HTTPBindingProviderFactory
extends java.lang.Object
implements BindingProviderFactory<HTTPBinding>

Factory for HTTP binding providers.


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

HTTPBindingProviderFactory

public HTTPBindingProviderFactory(ExtensionPointRegistry extensionPoints)
Method Detail

createReferenceBindingProvider

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

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

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

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