|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tuscany.sca.contribution.DefaultModelFactoryExtensionPoint
public class DefaultModelFactoryExtensionPoint
Default implementation of a model factory extension point.
| Constructor Summary | |
|---|---|
DefaultModelFactoryExtensionPoint()
Constructs a new DefaultModelFactoryExtensionPoint. |
|
| Method Summary | ||
|---|---|---|
void |
addFactory(java.lang.Object factory)
Add a model factory extension. |
|
|
getFactory(java.lang.Class<T> factoryInterface)
Get a factory implementing the given interface. |
|
void |
removeFactory(java.lang.Object factory)
Remove a model factory. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultModelFactoryExtensionPoint()
| Method Detail |
|---|
public void addFactory(java.lang.Object factory)
addFactory in interface ModelFactoryExtensionPointfactory - The factory to addpublic void removeFactory(java.lang.Object factory)
removeFactory in interface ModelFactoryExtensionPointfactory - The factory to removepublic <T> T getFactory(java.lang.Class<T> factoryInterface)
getFactory in interface ModelFactoryExtensionPointfactoryInterface - The lookup key (factory interface)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||