| java.lang.Object org.apache.axis2.util.ThreadContextMigratorUtil
ThreadContextMigratorUtil | public class ThreadContextMigratorUtil (Code) | | This is a utility class to make it easier/cleaner for user programming
model-level implementations (e.g. the Axis2 JAX-WS code) to invoke the
ThreadContextMigrators.
|
addThreadContextMigrator | public static void addThreadContextMigrator(ConfigurationContext configurationContext, String threadContextMigratorListID, ThreadContextMigrator migrator)(Code) | | Register a new ThreadContextMigrator.
Parameters: configurationContext - Parameters: threadContextMigratorListID - The name of the property in theConfigurationContext that containsthe list of migrators. Parameters: migrator - |
performContextCleanup | public static void performContextCleanup(String threadContextMigratorListID, MessageContext msgContext)(Code) | | Activate any registered ThreadContextMigrators to remove information from
the context if necessary.
Parameters: threadContextMigratorListID - The name of the property in theConfigurationContext that containsthe list of migrators. Parameters: msgContext - |
performMigrationToContext | public static void performMigrationToContext(String threadContextMigratorListID, MessageContext msgContext) throws AxisFault(Code) | | Activate any registered ThreadContextMigrators to move info from the
thread of execution into the context.
Parameters: threadContextMigratorListID - The name of the property in theConfigurationContext that containsthe list of migrators. Parameters: msgContext - throws: AxisFault - |
performMigrationToThread | public static void performMigrationToThread(String threadContextMigratorListID, MessageContext msgContext) throws AxisFault(Code) | | Activate any registered ThreadContextMigrators to move context info
to the thread of execution.
Parameters: threadContextMigratorListID - The name of the property in theConfigurationContext that containsthe list of migrators. Parameters: msgContext - throws: AxisFault - |
performThreadCleanup | public static void performThreadCleanup(String threadContextMigratorListID, MessageContext msgContext)(Code) | | Activate any registered ThreadContextMigrators to remove information
from the thread of execution if necessary.
Parameters: threadContextMigratorListID - The name of the property in theConfigurationContext that containsthe list of migrators. Parameters: msgContext - |
|
|