org.apache.tuscany.sca.implementation.osgi.runtime
Class OSGiImplementationProviderFactory

java.lang.Object
  extended by org.apache.tuscany.sca.implementation.osgi.runtime.OSGiImplementationProviderFactory
All Implemented Interfaces:
ImplementationProviderFactory<OSGiImplementation>, ProviderFactory<OSGiImplementation>

public class OSGiImplementationProviderFactory
extends java.lang.Object
implements ImplementationProviderFactory<OSGiImplementation>

Builds a OSGi-based implementation provider from a component definition


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

OSGiImplementationProviderFactory

public OSGiImplementationProviderFactory(ExtensionPointRegistry extensionPoints)
Method Detail

createImplementationProvider

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

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

getModelType

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

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