public class DefaultMdcWrapper extends Object implements org.osgi.framework.BundleActivator, ch.sourcepond.utils.mdcwrapper.api.MdcWrapper
MdcWrapper interface.| Constructor and Description |
|---|
DefaultMdcWrapper() |
| Modifier and Type | Method and Description |
|---|---|
void |
start(org.osgi.framework.BundleContext context) |
void |
stop(org.osgi.framework.BundleContext context) |
<V> Callable<V> |
wrap(Callable<V> pCallable) |
Runnable |
wrap(Runnable pRunnable) |
<T extends Executor> |
wrap(T pExecutor,
Class<T> pInterface) |
ThreadFactory |
wrap(ThreadFactory pThreadFactory) |
public <T extends Executor> T wrap(T pExecutor, Class<T> pInterface)
wrap in interface ch.sourcepond.utils.mdcwrapper.api.MdcWrapperpublic Runnable wrap(Runnable pRunnable)
wrap in interface ch.sourcepond.utils.mdcwrapper.api.MdcWrapperpublic <V> Callable<V> wrap(Callable<V> pCallable)
wrap in interface ch.sourcepond.utils.mdcwrapper.api.MdcWrapperpublic ThreadFactory wrap(ThreadFactory pThreadFactory)
wrap in interface ch.sourcepond.utils.mdcwrapper.api.MdcWrapperpublic void start(org.osgi.framework.BundleContext context)
throws Exception
start in interface org.osgi.framework.BundleActivatorcontext - ExceptionCopyright © 2015–2016 SourcePond. All rights reserved.