Class CoprocessorServiceBackwardCompatiblity

java.lang.Object
org.apache.hadoop.hbase.coprocessor.CoprocessorServiceBackwardCompatiblity

Deprecated.
Classes to help maintain backward compatibility with now deprecated CoprocessorService and SingletonCoprocessorService. From 2.0 onwards, implementors of coprocessor service should also implement the relevant coprocessor class (For eg MasterCoprocessor for coprocessor service in master), and override get*Service() method to return the Service object. To maintain backward compatibility with 1.0 implementation, we'll wrap implementation of CoprocessorService/SingletonCoprocessorService in the new {Master, Region, RegionServer}Coprocessor class. Since there is no backward compatibility guarantee for Observers, we leave get*Observer() to default which returns null. This approach to maintain backward compatibility seems cleaner and more explicit.