this.contextHandler = handler;
this.context = context;
}
public static ManagedContext captureContext(ManagedContextHandler contextHandler) {
ManagedContextBuilder builder = ManagedContextBuilder.getManagedContextBuilder();
return builder.buildManagedContext(contextHandler);
}