public interface ProcessorRegistry
ContributionProcessors and ResourceProcessors when introspecting a contribution.| Modifier and Type | Method and Description |
|---|---|
void |
indexContribution(Contribution contribution,
IntrospectionContext context)
Dispatches to a
ContributionProcessor to index a contribution. |
void |
indexResource(Resource resource,
IntrospectionContext context)
Dispatches to a
ResourceProcessor to index a resource contained in a contribution. |
void |
processContribution(Contribution contribution,
IntrospectionContext context)
Loads all indexed resources in a contribution.
|
void |
processManifest(Contribution contribution,
IntrospectionContext context)
Dispatches to a
ContributionProcessor to process manifest information in a contribution. |
void |
processResource(Resource resource,
IntrospectionContext context)
Loads a contained resource in a contribution.
|
void |
register(ContributionProcessor processor)
Register a ContributionProcessor using the content type as the key
|
void |
register(ResourceProcessor processor)
Register a ResourceProcessor using the content type as the key
|
void |
unregister(ContributionProcessor processor)
Unregister a ContributionProcessor for a content type
|
void |
unregister(java.lang.String contentType)
Unregister a ResourceProcessor for a content type
|
void register(ContributionProcessor processor)
processor - the processor to registervoid unregister(ContributionProcessor processor)
processor - the processor to unregistervoid register(ResourceProcessor processor)
processor - the processor to registervoid unregister(java.lang.String contentType)
contentType - the contentvoid processManifest(Contribution contribution, IntrospectionContext context) throws org.fabric3.api.host.Fabric3Exception
ContributionProcessor to process manifest information in a contribution.contribution - the contributioncontext - the context to which validation errors and warnings are reportedorg.fabric3.api.host.Fabric3Exception - if there was a problem processing the manifestvoid indexContribution(Contribution contribution, IntrospectionContext context) throws org.fabric3.api.host.Fabric3Exception
ContributionProcessor to index a contribution.contribution - the contribution to indexcontext - the context to which validation errors and warnings are reportedorg.fabric3.api.host.Fabric3Exception - if there was a problem indexing the contributionvoid indexResource(Resource resource, IntrospectionContext context) throws org.fabric3.api.host.Fabric3Exception
ResourceProcessor to index a resource contained in a contribution.resource - the resource to indexcontext - the context to which validation errors and warnings are reportedorg.fabric3.api.host.Fabric3Exception - if there was a problem indexing the contributionvoid processContribution(Contribution contribution, IntrospectionContext context) throws org.fabric3.api.host.Fabric3Exception
contribution - The contributioncontext - the context to which validation errors and warnings are reportedorg.fabric3.api.host.Fabric3Exception - if there was a problem loading resources in the contributionvoid processResource(Resource resource, IntrospectionContext context) throws org.fabric3.api.host.Fabric3Exception
resource - the resource to processcontext - the context to which validation errors and warnings are reportedorg.fabric3.api.host.Fabric3Exception - if there was a problem loading the resoure