|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tuscany.sca.core.DefaultExtensionPointRegistry
public class DefaultExtensionPointRegistry
Default implementation of a registry to hold all the Tuscany core extension points. As the point of contact for all extension artifacts this registry allows loaded extensions to find all other parts of the system and register themselves appropriately.
Constructor Summary | |
---|---|
DefaultExtensionPointRegistry()
|
Method Summary | ||
---|---|---|
void |
addExtensionPoint(java.lang.Object extensionPoint)
Add an extension point to the registry. |
|
|
getExtensionPoint(java.lang.Class<T> extensionPointType)
Get the extension point by the interface that it implements |
|
void |
removeExtensionPoint(java.lang.Object extensionPoint)
Remove an extension point based on the interface that it implements |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultExtensionPointRegistry()
Method Detail |
---|
public void addExtensionPoint(java.lang.Object extensionPoint)
addExtensionPoint
in interface ExtensionPointRegistry
extensionPoint
- The instance of the extension pointpublic <T> T getExtensionPoint(java.lang.Class<T> extensionPointType)
getExtensionPoint
in interface ExtensionPointRegistry
extensionPointType
- The lookup key (extension point interface)
public void removeExtensionPoint(java.lang.Object extensionPoint)
removeExtensionPoint
in interface ExtensionPointRegistry
extensionPoint
- The extension point to remove
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |