|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.data.hadoop.hbase.HbaseConfigurationFactoryBean
public class HbaseConfigurationFactoryBean
Factory for creating HBase specific configuration. By default cleans up any connection associated with the current configuration.
HConnectionManager| Constructor Summary | |
|---|---|
HbaseConfigurationFactoryBean()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HbaseConfigurationFactoryBean()
| Method Detail |
|---|
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>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||