public class HbaseConfigurationFactoryBean
extends java.lang.Object
implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean<org.apache.hadoop.conf.Configuration>
HConnectionManager| Constructor and Description | 
|---|
| HbaseConfigurationFactoryBean() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | afterPropertiesSet() | 
| void | destroy() | 
| org.apache.hadoop.conf.Configuration | getObject() | 
| java.lang.Class<? extends org.apache.hadoop.conf.Configuration> | getObjectType() | 
| boolean | isSingleton() | 
| void | setConfiguration(org.apache.hadoop.conf.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(java.util.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(java.lang.Integer port)Sets the HBase Zookeeper port for clients to connect to. | 
| void | setZkQuorum(java.lang.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(org.apache.hadoop.conf.Configuration configuration)
configuration - The configuration to set.public void destroy()
destroy in interface org.springframework.beans.factory.DisposableBeanpublic void setProperties(java.util.Properties properties)
properties - The properties to set.public void afterPropertiesSet()
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanpublic org.apache.hadoop.conf.Configuration getObject()
getObject in interface org.springframework.beans.factory.FactoryBean<org.apache.hadoop.conf.Configuration>public java.lang.Class<? extends org.apache.hadoop.conf.Configuration> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean<org.apache.hadoop.conf.Configuration>public boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBean<org.apache.hadoop.conf.Configuration>public void setZkQuorum(java.lang.String quorum)
quorum - HBase ZK quorum hosts.public void setZkPort(java.lang.Integer port)
port - HBase ZK client port.