public interface CorrelationIntegrationManager
Modifier and Type | Interface and Description |
---|---|
static class |
CorrelationIntegrationManager.Factory |
Modifier and Type | Method and Description |
---|---|
void |
activateCorrelation(Correlation correlation)
This is used by DMS and the JMS Bridge
This will unconditionally activate the specified non-null Correlation.
|
void |
clearCorrelation()
This is currently used by DMS
Unconditionally clear a Correlation if one was previously active
|
Correlation |
findCorrelation()
This is currently used by DMS
Finds and returns the existing Correlation if present.
|
Correlation |
findOrCreateCorrelation()
This is currently used by DMS
Finds and returns the existing Correlation if present.
|
Correlation |
newCorrelation()
This is currently used by the JMS Bridge.
|
Correlation |
newCorrelation(java.lang.String ecid,
int[] ridComponents,
int childCount,
java.util.Map<java.lang.String,java.lang.String> values,
long dyeVector,
boolean inheritable)
This is used by DMS.
|
void |
setCorrelationEnabled(boolean enabled)
This sets the Correlation enabled value at runtime.
|
void |
setDMSCorrelationCallback(CorrelationCallback callback)
This is to be called by DMS only! No other usages of this callback are allowed.
|
void clearCorrelation()
Correlation findCorrelation()
Correlation findOrCreateCorrelation()
void setCorrelationEnabled(boolean enabled)
enabled
- Whether Correlation is enabled/disabled.void setDMSCorrelationCallback(CorrelationCallback callback)
callback
- CorrelationCallback instanceCorrelation newCorrelation()
Correlation newCorrelation(java.lang.String ecid, int[] ridComponents, int childCount, java.util.Map<java.lang.String,java.lang.String> values, long dyeVector, boolean inheritable)
ecid
- Execution Context ID (ECID)ridComponents
- Component array used to form the Relationship ID (RID)childCount
- Initial child count for the RID being formedvalues
- Map of valuesdyeVector
- Dye vectorinheritable
- Inheritable or notvoid activateCorrelation(Correlation correlation)
correlation
- Correlation that is expected to be activated