Top Description Fields Constructors Methods
org.eclipse.persistence.internal.sessions.coordination

public Class MetadataRefreshCommand

extends Command
Class Inheritance
Imports
java.util.Map, org.eclipse.persistence.internal.sessions.AbstractSession, org.eclipse.persistence.sessions.coordination.Command, .MetadataRefreshListener

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

Author
Chris Delahunt
Since
Eclipselink 2.3

Field Summary

Modifier and TypeField and Description
protected Map<K, V>

Constructor Summary

AccessConstructor and Description
public
MetadataRefreshCommand(Map<K, V> properties)

Method Summary

Modifier and TypeMethod and Description
public void
executeWithSession(AbstractSession
The session that can be used to execute the command on.
session
)

Implements abstract org.eclipse.persistence.sessions.coordination.Command.executeWithSession.

INTERNAL: If the CommandProcessor is a EclipseLink session then this method will get executed.
Inherited from org.eclipse.persistence.sessions.coordination.Command:
getServiceIdisInternalCommandsetServiceId

Field Detail

propertiesback to summary
protected Map<K, V> properties

Constructor Detail

MetadataRefreshCommandback to summary
public MetadataRefreshCommand(Map<K, V> properties)

Method Detail

executeWithSessionback to summary
public void executeWithSession(AbstractSession session)

Implements abstract org.eclipse.persistence.sessions.coordination.Command.executeWithSession.

Doc from org.eclipse.persistence.sessions.coordination.Command.executeWithSession.

INTERNAL: If the CommandProcessor is a EclipseLink session then this method will get executed.

Parameters
session:AbstractSession

The session that can be used to execute the command on.

Annotations
@Override