public class DOMMetadataResolver extends AbstractBatchMetadataResolver
MetadataProvider
implementation that retrieves metadata from a DOM Element
as
supplied by the user.
It is the responsibility of the caller to re-initialize, via AbstractInitializableComponent.initialize()
, if any properties of this
provider are changed.AbstractBatchMetadataResolver.BatchEntityBackingStore
AbstractMetadataResolver.EntityBackingStore
Constructor and Description |
---|
DOMMetadataResolver(Element mdElement)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
doDestroy()
Performs component specific destruction logic.
|
protected void |
initMetadataResolver()
Subclasses should override this method to perform any initialization logic necessary.
|
createNewBackingStore, getBackingStore, getCachedFilteredMetadata, getCachedOriginalMetadata, isCacheSourceMetadata, iterator, preProcessNewMetadata, resolve, setCacheSourceMetadata
doInitialize, filterMetadata, getMetadataFilter, getParserPool, getUnmarshallerFactory, indexEntityDescriptor, isFailFastInitialization, isRequireValidMetadata, isValid, lookupEntityID, lookupIndexedEntityID, preProcessEntitiesDescriptor, preProcessEntityDescriptor, releaseMetadataDOM, removeByEntityID, resolveSingle, setBackingStore, setFailFastInitialization, setMetadataFilter, setParserPool, setRequireValidMetadata, unmarshallMetadata
setId
getId
destroy, initialize, isDestroyed, isInitialized
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMetadataFilter, isRequireValidMetadata, setMetadataFilter, setRequireValidMetadata
resolveSingle
getId
forEach, spliterator
public DOMMetadataResolver(Element mdElement)
mdElement
- the metadata elementprotected void doDestroy()
doDestroy
in class AbstractMetadataResolver
protected void initMetadataResolver() throws ComponentInitializationException
initMetadataResolver
in class AbstractBatchMetadataResolver
ComponentInitializationException
- thrown if there is a problem initializing the providerCopyright © 2016 JBoss by Red Hat. All rights reserved.