Register for the thread local class extension registry.
@aribaapi private
*/
public static void registerThreadLocalClassExtension (Class receiverClass, OrderedList orderedListClassExtension)
{
ClassExtensionRegistry tlRegistry =
(ClassExtensionRegistry)TLClassExtensionRegistry.get();
if (tlRegistry == null) {
// Make sure this registry is not added to the global
// list of registries.
tlRegistry = new ClassExtensionRegistry(false);
TLClassExtensionRegistry.set(tlRegistry);
}
tlRegistry.registerClassExtension(receiverClass, orderedListClassExtension);
}