From 31d794be59cb2d1bf264df79f471b0c8d5f5a457 Mon Sep 17 00:00:00 2001 From: lresende Date: Sat, 21 Nov 2009 07:40:26 +0000 Subject: Moving to site trunk git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@882841 13f79535-47bb-0310-9956-ffa450edef68 --- .../sca/core/ModelFactoryExtensionPoint.html | 270 +++++++++++++++++++++ 1 file changed, 270 insertions(+) create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-0.9/sca-spi/org/apache/tuscany/sca/core/ModelFactoryExtensionPoint.html (limited to 'site/trunk/site-publish/doc/javadoc/java-sca-0.9/sca-spi/org/apache/tuscany/sca/core/ModelFactoryExtensionPoint.html') diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-0.9/sca-spi/org/apache/tuscany/sca/core/ModelFactoryExtensionPoint.html b/site/trunk/site-publish/doc/javadoc/java-sca-0.9/sca-spi/org/apache/tuscany/sca/core/ModelFactoryExtensionPoint.html new file mode 100644 index 0000000000..73cc9191fa --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-0.9/sca-spi/org/apache/tuscany/sca/core/ModelFactoryExtensionPoint.html @@ -0,0 +1,270 @@ + + + + + + +ModelFactoryExtensionPoint + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.core +
+Interface ModelFactoryExtensionPoint

+
+
All Known Implementing Classes:
DefaultModelFactoryExtensionPoint
+
+
+
+
public interface ModelFactoryExtensionPoint
+ + +

+An extension point for model factories. Model factories are provided to + abstract the classes that represent artifacts in the assembly model away + from their creation mechanism. When the runtime needs to extend the model + as it reads in contributed artifacts it looks up the factory for the + artifact required in this registry +

+ +

+

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

+ + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddFactory(java.lang.Object factory) + +
+          Add a model factory extension.
+ + + + + +
+<T> T
+
getFactory(java.lang.Class<T> factoryInterface) + +
+          Get a factory implementing the given interface.
+ voidremoveFactory(java.lang.Object factory) + +
+          Remove a model factory extension.
+  +

+ + + + + + + + +
+Method Detail
+ +

+addFactory

+
+void addFactory(java.lang.Object factory)
+
+
Add a model factory extension. +

+

+
Parameters:
factory - The factory to add
+
+
+
+ +

+removeFactory

+
+void removeFactory(java.lang.Object factory)
+
+
Remove a model factory extension. +

+

+
Parameters:
factory - The factory to remove
+
+
+
+ +

+getFactory

+
+<T> T getFactory(java.lang.Class<T> factoryInterface)
+
+
Get a factory implementing the given interface. +

+

+
Parameters:
factoryInterface - the lookup key (factory interface) +
Returns:
The factory
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + -- cgit v1.2.3