|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hivemind.impl.ExtensionResolver
public class ExtensionResolver
Resolves the unresolved extensions
in all
modules of a RegistryDefinition
during
the construction of a registry by RegistryBuilder
.
Every unresolved extension (e.g. contribution, interceptor) references
an extension point by its fully qualified id. This class looks for these
extension points in the registry definition and adds the formerly unresolved
extension directly to the extension points.
The error handling is delegated to an instance of ErrorHandler
.
Constructor Summary | |
---|---|
ExtensionResolver(RegistryDefinition definition,
ErrorHandler errorHandler)
|
Method Summary | |
---|---|
void |
resolveExtensions()
Resolves all unresolved extensions in the registry definition passed in the constructor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExtensionResolver(RegistryDefinition definition, ErrorHandler errorHandler)
Method Detail |
---|
public void resolveExtensions()
ErrorHandler
whether an exceptions
is raised or errors are logged only. In the latter case all extensions that couldn't
be resolved will remain in the module definitions.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |