Class MetadataRefreshCommand
- 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
- Author:
- Chris Delahunt
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Map
properties
-
Constructor Summary
Constructors Constructor Description MetadataRefreshCommand(Map properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
executeWithSession(AbstractSession session)
INTERNAL: If the CommandProcessor is a EclipseLink session then this method will get executed.-
Methods inherited from class org.eclipse.persistence.sessions.coordination.Command
getServiceId, isInternalCommand, setServiceId
-
-
-
-
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 classCommand
- Parameters:
session
- The session that can be used to execute the command on.
-
-