Class VisibilityLabelServiceManager
java.lang.Object
org.apache.hadoop.hbase.security.visibility.VisibilityLabelServiceManager
Manages singleton instance of 
VisibilityLabelService- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final VisibilityLabelServiceManagerprivate static final org.slf4j.Loggerstatic final Stringprivate VisibilityLabelServiceprivate String
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate voidcheckForClusterLevelSingleConf(String vlsClassName) getVisibilityLabelService(org.apache.hadoop.conf.Configuration conf) 
- 
Field Details- 
LOG
- 
VISIBILITY_LABEL_SERVICE_CLASS- See Also:
 
- 
INSTANCE
- 
visibilityLabelService
- 
vlsClazzName
 
- 
- 
Constructor Details- 
VisibilityLabelServiceManagerprivate VisibilityLabelServiceManager()
 
- 
- 
Method Details- 
getInstance
- 
getVisibilityLabelServicepublic VisibilityLabelService getVisibilityLabelService(org.apache.hadoop.conf.Configuration conf) throws IOException - Returns:
- singleton instance of VisibilityLabelService. The FQCN of the implementation class can be specified using "hbase.regionserver.visibility.label.service.class".
- Throws:
- IOException- When VLS implementation, as specified in conf, can not be loaded.
 
- 
checkForClusterLevelSingleConf
- 
getVisibilityLabelService- Returns:
- singleton instance of VisibilityLabelService.
- Throws:
- IllegalStateException- if this called before initialization of singleton instance.
 
 
-