@InterfaceAudience.Private public class CompatibilitySingletonFactory extends CompatibilityFactory
Modifier and Type | Class and Description |
---|---|
static class |
CompatibilitySingletonFactory.SingletonStorage |
Modifier and Type | Field and Description |
---|---|
private static org.slf4j.Logger |
LOG |
EXCEPTION_END, EXCEPTION_START
Modifier | Constructor and Description |
---|---|
protected |
CompatibilitySingletonFactory()
This is a static only class don't let anyone create an instance.
|
Modifier and Type | Method and Description |
---|---|
static <T> T |
getInstance(Class<T> klass)
Get the singleton instance of Any classes defined by compatibiliy jar's
|
createExceptionString
private static final org.slf4j.Logger LOG
protected CompatibilitySingletonFactory()
public static <T> T getInstance(Class<T> klass)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.