public class ThreadContextMigratorUtil
extends java.lang.Object
| Constructor and Description |
|---|
ThreadContextMigratorUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addThreadContextMigrator(AxisConfiguration axisConfiguration,
java.lang.String threadContextMigratorListID,
ThreadContextMigrator migrator)
Register a new ThreadContextMigrator.
|
static void |
addThreadContextMigrator(ConfigurationContext configurationContext,
java.lang.String threadContextMigratorListID,
ThreadContextMigrator migrator)
Register a new ThreadContextMigrator.
|
static void |
performContextCleanup(java.lang.String threadContextMigratorListID,
MessageContext msgContext)
Activate any registered ThreadContextMigrators to remove information from
the context if necessary.
|
static void |
performMigrationToContext(java.lang.String threadContextMigratorListID,
MessageContext msgContext)
Activate any registered ThreadContextMigrators to move info from the
thread of execution into the context.
|
static void |
performMigrationToThread(java.lang.String threadContextMigratorListID,
MessageContext msgContext)
Activate any registered ThreadContextMigrators to move context info
to the thread of execution.
|
static void |
performThreadCleanup(java.lang.String threadContextMigratorListID,
MessageContext msgContext)
Activate any registered ThreadContextMigrators to remove information
from the thread of execution if necessary.
|
public static void addThreadContextMigrator(ConfigurationContext configurationContext, java.lang.String threadContextMigratorListID, ThreadContextMigrator migrator) throws AxisFault
configurationContext - threadContextMigratorListID - The name of the parameter in the
AxisConfiguration that contains
the list of migrators.migrator - AxisFaultpublic static void addThreadContextMigrator(AxisConfiguration axisConfiguration, java.lang.String threadContextMigratorListID, ThreadContextMigrator migrator) throws AxisFault
axisConfiguration - threadContextMigratorListID - The name of the parameter in the
AxisConfiguration that contains
the list of migrators.migrator - AxisFaultpublic static void performMigrationToThread(java.lang.String threadContextMigratorListID,
MessageContext msgContext)
throws AxisFault
threadContextMigratorListID - The name of the parameter in the
AxisConfiguration that contains
the list of migrators.msgContext - AxisFaultpublic static void performThreadCleanup(java.lang.String threadContextMigratorListID,
MessageContext msgContext)
threadContextMigratorListID - The name of the parameter in the
AxisConfiguration that contains
the list of migrators.msgContext - public static void performMigrationToContext(java.lang.String threadContextMigratorListID,
MessageContext msgContext)
throws AxisFault
threadContextMigratorListID - The name of the parameter in the
AxisConfiguration that contains
the list of migrators.msgContext - AxisFaultpublic static void performContextCleanup(java.lang.String threadContextMigratorListID,
MessageContext msgContext)
threadContextMigratorListID - The name of the parameter in the
AxisConfiguration that contains
the list of migrators.msgContext - Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.