|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.dtfj.analyzer.internal.reportextensions.SimpleExtensionRegistry
public class SimpleExtensionRegistry
Definition for information associated with all extension points and extension providers, used to extend a report.
Nested Class Summary | |
---|---|
class |
SimpleExtensionRegistry.ExtensionPointDef
Definition for an extension point |
class |
SimpleExtensionRegistry.ExtensionProviderDef
Definition for an extension provider |
Constructor Summary | |
---|---|
SimpleExtensionRegistry()
|
Method Summary | |
---|---|
java.util.Iterator |
getExtensions(java.lang.String epid)
Get all the extension providers currently attached to a given extension point |
void |
registerExtensionPoint(java.lang.String epid,
java.lang.Class schema)
Register a new extension point |
void |
registerExtensionProvider(java.lang.String epid,
java.lang.String id,
java.lang.Object data)
Register a new extension (provider) attached to a given extension point |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleExtensionRegistry()
Method Detail |
---|
public void registerExtensionPoint(java.lang.String epid, java.lang.Class schema)
epid
- unique identifier for this extension pointschema
- a class that defines the format of the data
to be associated with each extension provider instance that
will be attached to this extension pointpublic void registerExtensionProvider(java.lang.String epid, java.lang.String id, java.lang.Object data)
epid
- unique identifier for the extension point. The extension point will
be automatically defined in this call if not previously defined.id
- unique identifier for this extension providerdata
- data associated with this instance of the extension provider. The class
of this data object must match the schema defined for this extension point.public java.util.Iterator getExtensions(java.lang.String epid)
epid
- unique identifier of the extension point
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |