public class ContentImporterExtensionPoint extends AbstractThreadSafeComponentExtensionPoint<ContentImporter>
ContentImporter.| Modifier and Type | Field and Description |
|---|---|
private Map<String,ContentImporter> |
_importers |
static String |
ROLE
Avalon Role
|
_cocoonManager, _context, _manager| Constructor and Description |
|---|
ContentImporterExtensionPoint() |
| Modifier and Type | Method and Description |
|---|---|
ContentImporter |
getContentImporterForMimeType(String mimeType)
Returns the
ContentImporter corresponding to a mime type. |
void |
initializeExtensions()
Finalize the initialization of the extensions.
This method is called after all addExtension() calls.This is the last step before the actual startup of the application. |
addComponent, addExtension, contextualize, dispose, getExtension, getExtensionsIds, hasExtension, initialize, servicegetLogger, setLoggerprivate Map<String,ContentImporter> _importers
public ContentImporterExtensionPoint()
public ContentImporter getContentImporterForMimeType(String mimeType)
ContentImporter corresponding to a mime type.mimeType - the content mime typeContentImporter corresponding to a mime type.public void initializeExtensions() throws Exception
ExtensionPointaddExtension() calls.initializeExtensions in interface ExtensionPoint<ContentImporter>initializeExtensions in class AbstractThreadSafeComponentExtensionPoint<ContentImporter>Exception - if something wrong occurs