public class ExtensionPoint
extends java.lang.Object
ExtensionPoint
provide meta information of a extension
point.Constructor and Description |
---|
ExtensionPoint(java.lang.String pId,
java.lang.String pName,
java.lang.String pSchema)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addExtension(Extension extension)
Install a corresponding extension to this extension point.
|
Extension[] |
getExtensions()
Returns a array of extensions that listen to this extension point
|
java.lang.String |
getId()
Returns the unique id of the extension point.
|
java.lang.String |
getName()
Returns the name of the extension point.
|
java.lang.String |
getSchema()
Returns a path to the xml schema of a extension point.
|
public ExtensionPoint(java.lang.String pId, java.lang.String pName, java.lang.String pSchema)
pId
- unique extension point IdpName
- name of the extension poinpSchema
- xml schema of the extension pointpublic java.lang.String getId()
public java.lang.String getName()
public java.lang.String getSchema()
public void addExtension(Extension extension)
extension
- public Extension[] getExtensions()
Copyright © 2019 The Apache Software Foundation