public abstract class BaseMetadataProvider extends Object implements MetadataProvider
Modifier and Type | Field and Description |
---|---|
protected UnmarshallerFactory |
unmarshallerFactory
Unmarshaller factory used to get an unmarshaller for the metadata DOM.
|
Constructor and Description |
---|
BaseMetadataProvider()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Destroys the metadata provider and frees any resources current held by it.
|
MetadataFilter |
getMetadataFilter()
Gets the metadata filter applied to the metadata.
|
boolean |
requireValidMetadata()
Gets whether the metadata returned by queries must be valid.
|
void |
setMetadataFilter(MetadataFilter newFilter)
Sets the metadata filter applied to the metadata.
|
void |
setRequireValidMetadata(boolean require)
Sets whether the metadata returned by queries must be valid.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEntitiesDescriptor, getEntityDescriptor, getMetadata, getRole, getRole
protected UnmarshallerFactory unmarshallerFactory
public boolean requireValidMetadata()
requireValidMetadata
in interface MetadataProvider
public void setRequireValidMetadata(boolean require)
setRequireValidMetadata
in interface MetadataProvider
require
- whether the metadata returned by queries must be validpublic MetadataFilter getMetadataFilter()
getMetadataFilter
in interface MetadataProvider
public void setMetadataFilter(MetadataFilter newFilter) throws MetadataProviderException
setMetadataFilter
in interface MetadataProvider
newFilter
- the metadata filter applied to the metadataMetadataProviderException
- thrown if the provider can not apply the filter to the metadatapublic void destroy()
Copyright © 2018 JBoss by Red Hat. All rights reserved.