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 Detail

      • 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.
      • getDynamicMetadataSource

        MetadataSource getDynamicMetadataSource​(org.eclipse.persistence.internal.sessions.AbstractSession session,
                                                java.lang.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