Interface FeatureSet

All Known Implementing Classes:
FeatureSetPreV2, FeatureSetV2

public interface FeatureSet
This interface represents a set of JPARS features. Each service version has it's own implementation of this interface.
  • Method Details

    • isSupported

      boolean isSupported(FeatureSet.Feature feature)
      Returns true if given feature is supported.
      Parameters:
      feature - Feature to check.
      Returns:
      true if feature is supported, false if not supported.
    • getResponseBuilder

      FeatureResponseBuilder getResponseBuilder(FeatureSet.Feature feature)
      Returns an instance of FeatureResponseBuilder for given feature.
      Parameters:
      feature - feature to get response builder for.
      Returns:
      FeatureResponseBuilder
    • getMetadataSources

      List<MetadataSource> getMetadataSources()
      Gets a list of MetadataSource related to this version. Called on JAXB context initialization.
      Returns:
      a list of MetadataSource
    • getDynamicMetadataSource

      MetadataSource getDynamicMetadataSource(org.eclipse.persistence.internal.sessions.AbstractSession session, String packageName)
      Builds a dynamic MetadataSource for given package. Called on JAXB context initialization.
      Parameters:
      session - the session
      packageName - package name to build meta data for.
      Returns:
      MetadataSource
    • getSessionEventListener

      org.eclipse.persistence.internal.jaxb.SessionEventListener getSessionEventListener(org.eclipse.persistence.internal.sessions.AbstractSession session)
      Returns SessionEventListener related to this version.
      Parameters:
      session - the session
      Returns:
      SessionEventListener