public interface ComponentProvider
Modifier and Type | Method and Description |
---|---|
Aggregate |
acquireAggregate(java.lang.String aggregateId)
Acquires an
Aggregate for the specified aggregate ID. |
Filter |
acquireFilter(java.lang.String filterId)
Acquires a
Filter for the specified filter ID. |
ValueExtractor |
acquireValueExtractor(java.lang.String extractorId)
Acquires a
ValueExtractor for the specified extractor ID. |
ValueResolver |
acquireValueResolver(java.lang.String resolverId)
Acquires a
ValueResolver for the specified resolver ID. |
void |
releaseAggregate(Aggregate aggregate)
Releases the specified
Aggregate . |
void |
releaseExtractor(ValueExtractor extractor)
Releases the specified
ValueExtractor . |
void |
releaseFilter(Filter filter)
Releases the specified
Filter . |
void |
releaseValueResolver(ValueResolver resolver)
Releases the specified
ValueResolver . |
ValueResolver acquireValueResolver(java.lang.String resolverId)
Acquires a ValueResolver
for the specified resolver ID.
The resolver instance must be explicitly released using
releaseValueResolver(ValueResolver)
.
resolverId
- The resolver IDValueResolver
; null
if the resolver
could not be instantiatedvoid releaseValueResolver(ValueResolver resolver)
ValueResolver
.resolver
- The resolver to releaseAggregate acquireAggregate(java.lang.String aggregateId)
Acquires an Aggregate
for the specified aggregate ID.
The aggregate must be explicitly released using
releaseAggregate(Aggregate)
.
aggregateId
- The aggregate IDAggregate
; null
if the aggregate
could not be instantiatedvoid releaseAggregate(Aggregate aggregate)
Aggregate
.aggregate
- The aggregate to releaseValueExtractor acquireValueExtractor(java.lang.String extractorId)
Acquires a ValueExtractor
for the specified extractor ID.
The extractor must be explicitly released using
releaseExtractor(ValueExtractor)
.
extractorId
- The extractor IDValueExtractor
; null
if the extractor
could not be instantiatedvoid releaseExtractor(ValueExtractor extractor)
ValueExtractor
.extractor
- The extractor to releaseFilter acquireFilter(java.lang.String filterId)
Acquires a Filter
for the specified filter ID.
The filter must be explicitly released using releaseFilter(Filter)
.
filterId
- The filter IDFilter
; null
if the filter
could not be instantiatedCopyright © 2010 - 2020 Adobe. All Rights Reserved