|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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
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 extension. |
Method Detail |
---|
void addFactory(java.lang.Object factory)
factory
- The factory to addvoid removeFactory(java.lang.Object factory)
factory
- The factory to remove<T> T getFactory(java.lang.Class<T> factoryInterface)
factoryInterface
- the lookup key (factory interface)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |