public class URIResolverExtensionPoint extends AbstractThreadSafeComponentExtensionPoint<URIResolver>
URIResolver
s.Modifier and Type | Field and Description |
---|---|
private Map<String,URIResolver> |
_types |
static String |
ROLE
Avalon Role
|
_cocoonManager, _context, _manager
Constructor and Description |
---|
URIResolverExtensionPoint() |
Modifier and Type | Method and Description |
---|---|
URIResolver |
getResolverForType(String type)
Returns the
URIResolver corresponding to the given 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, service
getLogger, setLogger
private Map<String,URIResolver> _types
public URIResolverExtensionPoint()
public void initializeExtensions() throws Exception
ExtensionPoint
addExtension()
calls.initializeExtensions
in interface ExtensionPoint<URIResolver>
initializeExtensions
in class AbstractThreadSafeComponentExtensionPoint<URIResolver>
Exception
- if something wrong occurspublic URIResolver getResolverForType(String type)
URIResolver
corresponding to the given type.type
- the type.URIResolver
or null
if not found.