Top Constructors Methods
com.mchange.v1.lang

public final Class Synchronizer

extends Object
Class Inheritance
Imports
java.lang.reflect.*, java.util.Set, .HashSet

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static Object
createSynchronizedWrapper(final Object o)

Creates an object that implements all the same interfaces as the original object, but that synchronizes all access (using the wrappers' own lock).

private static Class<T>[]
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Synchronizerback to summary
private Synchronizer()

Method Detail

createSynchronizedWrapperback to summary
public static Object createSynchronizedWrapper(final Object o)

Creates an object that implements all the same interfaces as the original object, but that synchronizes all access (using the wrappers' own lock).

recurseFindInterfacesback to summary
private static Class<T>[] recurseFindInterfaces(Class<T> cl)