Apache Tuscany SCA Core SPI

org.apache.tuscany.sca.provider
Interface ProviderFactoryExtensionPoint

All Known Implementing Classes:
DefaultProviderFactoryExtensionPoint

public interface ProviderFactoryExtensionPoint

An extension point for provider factories. Holds all of the provider factories from loaded extension points. Allows a provider factory to be located based on a given model type. Hence the runtime can generate runtime artifacts from the in memory assembly model.

Version:
$Rev: 539359 $ $Date: 2007-05-18 11:06:21 +0100 (Fri, 18 May 2007) $

Method Summary
 void addProviderFactory(ProviderFactory providerFactory)
          Add a provider factory.
 ProviderFactory getProviderFactory(java.lang.Class<?> modelType)
          Returns the provider factory associated with the given model type.
 void removeProviderFactory(ProviderFactory providerFactory)
          Remove a provider factory.
 

Method Detail

addProviderFactory

void addProviderFactory(ProviderFactory providerFactory)
Add a provider factory.

Parameters:
providerFactory - The provider factory

removeProviderFactory

void removeProviderFactory(ProviderFactory providerFactory)
Remove a provider factory.

Parameters:
providerFactory - The provider factory

getProviderFactory

ProviderFactory getProviderFactory(java.lang.Class<?> modelType)
Returns the provider factory associated with the given model type.

Parameters:
modelType - A model type
Returns:
The provider factory associated with the given model type

Apache Tuscany SCA Core SPI

Apache Tuscany is an effort undergoing incubation at the Apache Software Foundation(ASF) and sponsored by the Apache WS PMC.