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

public Class MergeChangeSetCommand

extends Command
Class Inheritance
Imports
org.eclipse.persistence.internal.sessions.*

Purpose: Provide a remote command implementation for remote cache merges of changes.

Description: This command provides the implementation for cache synchronization using RCM.

Author
Steven Vo
Since
OracleAS TopLink 10g (9.0.4)

Field Summary

Modifier and TypeField and Description
protected UnitOfWorkChangeSet
changeSet

The changes to be applied remotely

Inherited from org.eclipse.persistence.sessions.coordination.Command:
serviceId

Constructor Summary

AccessConstructor and Description
public

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: This method will be invoked by the RCM only when the CommandProcessor is a TopLink session.
public UnitOfWorkChangeSet
getChangeSet(AbstractSession session)

INTERNAL: Return the changes to be applied

public void
setChangeSet(UnitOfWorkChangeSet newChangeSet)

INTERNAL: Set the changes to be applied

Inherited from org.eclipse.persistence.sessions.coordination.Command:
getServiceIdisInternalCommandsetServiceId

Field Detail

changeSetback to summary
protected UnitOfWorkChangeSet changeSet

The changes to be applied remotely

Constructor Detail

MergeChangeSetCommandback to summary
public MergeChangeSetCommand()

Method Detail

executeWithSessionback to summary
public void executeWithSession(AbstractSession session)

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

INTERNAL: This method will be invoked by the RCM only when the CommandProcessor is a TopLink session. The session will be passed in for the command to use.

Parameters
session:AbstractSession

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

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

Annotations
@Override
getChangeSetback to summary
public UnitOfWorkChangeSet getChangeSet(AbstractSession session)

INTERNAL: Return the changes to be applied

setChangeSetback to summary
public void setChangeSet(UnitOfWorkChangeSet newChangeSet)

INTERNAL: Set the changes to be applied