org.apache.tuscany.sca.binding.corba.impl
Class CorbaBindingProviderFactory

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

public class CorbaBindingProviderFactory
extends java.lang.Object
implements BindingProviderFactory<CorbaBinding>


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

CorbaBindingProviderFactory

public CorbaBindingProviderFactory(ExtensionPointRegistry registry)
Method Detail

createReferenceBindingProvider

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

Specified by:
createReferenceBindingProvider in interface BindingProviderFactory<CorbaBinding>
Parameters:
component - The runtime component
reference - The reference on the runtime component
binding - The binding assembly model object
Returns:
The binding provider
See Also:
BindingProviderFactory.createReferenceBindingProvider(org.apache.tuscany.sca.runtime.RuntimeComponent, org.apache.tuscany.sca.runtime.RuntimeComponentReference, org.apache.tuscany.sca.assembly.Binding)

createServiceBindingProvider

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

Specified by:
createServiceBindingProvider in interface BindingProviderFactory<CorbaBinding>
Parameters:
component - The runtime component
service - The service on the runtime component
binding - The binding assembly model object
Returns:
The binding provider
See Also:
BindingProviderFactory.createServiceBindingProvider(org.apache.tuscany.sca.runtime.RuntimeComponent, org.apache.tuscany.sca.runtime.RuntimeComponentService, org.apache.tuscany.sca.assembly.Binding)

getModelType

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

Specified by:
getModelType in interface ProviderFactory<CorbaBinding>
Returns:
the model type
See Also:
ProviderFactory.getModelType()