public static interface IExtensionInitializer.IExtensionRegistrar
IResourceFactory
or IModuleBuilder
extensions.
For a list of currently registered extensions, call
IAggregator.getExtensions(String)
Modifier and Type | Method and Description |
---|---|
void |
registerExtension(Object impl,
Properties attributes,
InitParams initParams,
String extensionPointId,
String uniqueId,
IAggregatorExtension before)
Registers the specified extension, with the specified attributes and
the specified unique id.
|
void registerExtension(Object impl, Properties attributes, InitParams initParams, String extensionPointId, String uniqueId, IAggregatorExtension before) throws IllegalStateException
impl
- an object which implements IResourceFactory
or
IModuleBuilder
.attributes
- the extension attributesinitParams
- the extension init-paramsextensionPointId
- the extension point identifieruniqueId
- a unique identifier for the extensionbefore
- a reference to an already registered extension before
which extension
should be placed in the iteration
order. If not specified, extension
is added to the
end of the iteration order.IllegalStateException
- If there are missing required attributes for the
extension being registered.Copyright © 2011-2015 IBM. All Rights Reserved.