Example usage for java.util.concurrent ThreadFactory getClass

List of usage examples for java.util.concurrent ThreadFactory getClass

Introduction

In this page you can find the example usage for java.util.concurrent ThreadFactory getClass.

Prototype

@HotSpotIntrinsicCandidate
public final native Class<?> getClass();

Source Link

Document

Returns the runtime class of this Object .

Usage

From source file:ch.sourcepond.utils.mdcwrapper.impl.DefaultMdcWrapper.java

@Override
public ThreadFactory wrap(final ThreadFactory pThreadFactory) {
    notNull(pThreadFactory, "ThreadFactory to be wrapped is null!");
    return createProxyIfNecessary(pThreadFactory, pThreadFactory.getClass().getClassLoader(),
            ThreadFactory.class);
}