Class MetadataRefreshCommand

  • All Implemented Interfaces:
    Serializable

    public class MetadataRefreshCommand
    extends Command

    Purpose: A Command implementation used to signal JPA EntityManagerFactory to refresh its metadata.

    Since:
    Eclipselink 2.3
    Author:
    Chris Delahunt
    See Also:
    Serialized Form
    • Field Detail

      • properties

        protected Map properties
    • Constructor Detail

      • MetadataRefreshCommand

        public MetadataRefreshCommand​(Map properties)
    • Method Detail

      • executeWithSession

        public void executeWithSession​(AbstractSession session)
        Description copied from class: Command
        INTERNAL: If the CommandProcessor is a EclipseLink session then this method will get executed.
        Specified by:
        executeWithSession in class Command
        Parameters:
        session - The session that can be used to execute the command on.