java.lang.Object
org.eclipse.persistence.sessions.coordination.Command
org.eclipse.persistence.internal.sessions.coordination.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
See Also:
  • Field Details

    • properties

      protected Map properties
  • Constructor Details

    • MetadataRefreshCommand

      public MetadataRefreshCommand(Map properties)
  • Method Details

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