org.apache.hadoop.hbase
Class CompatibilityFactory

java.lang.Object
  extended by org.apache.hadoop.hbase.CompatibilityFactory
Direct Known Subclasses:
CompatibilitySingletonFactory

public class CompatibilityFactory
extends Object

Class that will create many instances of classes provided by the hbase-hadoop{1|2}-compat jars.


Field Summary
static String EXCEPTION_END
           
static String EXCEPTION_START
           
 
Constructor Summary
protected CompatibilityFactory()
          This is a static only class don't let any instance be created.
 
Method Summary
protected static String createExceptionString(Class klass)
           
static
<T> T
getInstance(Class<T> klass)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EXCEPTION_START

public static final String EXCEPTION_START
See Also:
Constant Field Values

EXCEPTION_END

public static final String EXCEPTION_END
See Also:
Constant Field Values
Constructor Detail

CompatibilityFactory

protected CompatibilityFactory()
This is a static only class don't let any instance be created.

Method Detail

getInstance

public static <T> T getInstance(Class<T> klass)

createExceptionString

protected static String createExceptionString(Class klass)


Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.