2016/05/28 - Apache Tuscany has been retired.

For more information, please explore the Attic.



org.apache.tuscany.sca.implementation.widget.provider
Class WidgetImplementationProviderFactory

java.lang.Object
  extended by org.apache.tuscany.sca.implementation.widget.provider.WidgetImplementationProviderFactory
All Implemented Interfaces:
ImplementationProviderFactory<WidgetImplementation>, ProviderFactory<WidgetImplementation>

public class WidgetImplementationProviderFactory
extends java.lang.Object
implements ImplementationProviderFactory<WidgetImplementation>

The model representing a resource implementation in an SCA assembly model.


Constructor Summary
WidgetImplementationProviderFactory(ExtensionPointRegistry extensionPoints)
          Constructs a resource implementation.
 
Method Summary
 ImplementationProvider createImplementationProvider(RuntimeComponent component, WidgetImplementation implementation)
          Creates a new implementation provider for the given component.
 java.lang.Class<WidgetImplementation> 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

WidgetImplementationProviderFactory

public WidgetImplementationProviderFactory(ExtensionPointRegistry extensionPoints)
Constructs a resource implementation.

Method Detail

createImplementationProvider

public ImplementationProvider createImplementationProvider(RuntimeComponent component,
                                                           WidgetImplementation implementation)
Description copied from interface: ImplementationProviderFactory
Creates a new implementation provider for the given component.

Specified by:
createImplementationProvider in interface ImplementationProviderFactory<WidgetImplementation>
Parameters:
component - The runtime component
implementation - The implementation type
Returns:
The implementation provider

getModelType

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

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