public interface FeatureSet
Modifier and Type | Interface and Description |
---|---|
static class |
FeatureSet.Feature |
Modifier and Type | Method and Description |
---|---|
MetadataSource |
getDynamicMetadataSource(org.eclipse.persistence.internal.sessions.AbstractSession session,
java.lang.String packageName)
Builds a dynamic
MetadataSource for given package. |
java.util.List<MetadataSource> |
getMetadataSources()
Gets a list of
MetadataSource related to this version. |
FeatureResponseBuilder |
getResponseBuilder(FeatureSet.Feature feature)
Returns an instance of
FeatureResponseBuilder for given feature. |
org.eclipse.persistence.internal.jaxb.SessionEventListener |
getSessionEventListener(org.eclipse.persistence.internal.sessions.AbstractSession session)
Returns
SessionEventListener related to this version. |
boolean |
isSupported(FeatureSet.Feature feature)
Returns true if given feature is supported.
|
boolean isSupported(FeatureSet.Feature feature)
feature
- Feature to check.FeatureResponseBuilder getResponseBuilder(FeatureSet.Feature feature)
FeatureResponseBuilder
for given feature.feature
- feature to get response builder for.FeatureResponseBuilder
java.util.List<MetadataSource> getMetadataSources()
MetadataSource
related to this version. Called on JAXB context
initialization.MetadataSource
MetadataSource getDynamicMetadataSource(org.eclipse.persistence.internal.sessions.AbstractSession session, java.lang.String packageName)
MetadataSource
for given package. Called on JAXB context
initialization.session
- the sessionpackageName
- package name to build meta data for.MetadataSource
org.eclipse.persistence.internal.jaxb.SessionEventListener getSessionEventListener(org.eclipse.persistence.internal.sessions.AbstractSession session)
SessionEventListener
related to this version.session
- the sessionSessionEventListener