public class HbaseConfigurationFactoryBean extends Object implements InitializingBean, DisposableBean, FactoryBean<Configuration>
HConnectionManager| Constructor and Description | 
|---|
| HbaseConfigurationFactoryBean() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | afterPropertiesSet() | 
| void | destroy() | 
| Configuration | getObject() | 
| Class<? extends Configuration> | getObjectType() | 
| boolean | isSingleton() | 
| void | setConfiguration(Configuration configuration)Sets the Hadoop configuration to use. | 
| void | setDeleteConnection(boolean deleteConnection)Indicates whether the potential connection created by this config is destroyed at shutdown (default). | 
| void | setProperties(Properties properties)Sets the configuration properties. | 
| void | setStopProxy(boolean stopProxy)Indicates whether, when/if the associated connection is destroyed, whether the proxy is stopped or not. | 
| void | setZkPort(Integer port)Sets the HBase Zookeeper port for clients to connect to. | 
| void | setZkQuorum(String quorum)Sets the HBase Zookeeper Quorum host(s). | 
public void setDeleteConnection(boolean deleteConnection)
deleteConnection - The deleteConnection to set.public void setStopProxy(boolean stopProxy)
stopProxy - The stopProxy to set.public void setConfiguration(Configuration configuration)
configuration - The configuration to set.public void destroy()
destroy in interface DisposableBeanpublic void setProperties(Properties properties)
properties - The properties to set.public void afterPropertiesSet()
afterPropertiesSet in interface InitializingBeanpublic Configuration getObject()
getObject in interface FactoryBean<Configuration>public Class<? extends Configuration> getObjectType()
getObjectType in interface FactoryBean<Configuration>public boolean isSingleton()
isSingleton in interface FactoryBean<Configuration>public void setZkQuorum(String quorum)
quorum - HBase ZK quorum hosts.public void setZkPort(Integer port)
port - HBase ZK client port.