org.openorb.ots.util

Class PropagationContextManager

public final class PropagationContextManager extends Object

This class is a propagation context manager. It provides several functions to extract and put information into a propagation context.

Author: Jerome Daniel

Method Summary
static voidcomplete(PropagationContext ctx, Control ctrl)
This operation is used to add implementation specific data to a propagation context.
static Controlextract(PropagationContext ctx)
This operation is used to extract a control object reference from the implementation specific data.

Method Detail

complete

public static void complete(PropagationContext ctx, Control ctrl)
This operation is used to add implementation specific data to a propagation context. For OpenORB OTS v2.0, the implementation specific data is a structure named org.openorb.ots.SpecificData

extract

public static Control extract(PropagationContext ctx)
This operation is used to extract a control object reference from the implementation specific data.