public class SpringDataStoreTextWriterConfigurerAdapter extends java.lang.Object implements SpringDataStoreTextWriterConfigurer
SpringDataStoreTextWriterConfigurer
instance. The implementation allows customization by overriding methods.EnableDataStoreTextWriter
Constructor and Description |
---|
SpringDataStoreTextWriterConfigurerAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
configure(DataStoreTextWriterConfigurer writer)
Configure
Configuration via DataStoreTextWriterBuilder builder. |
void |
configure(SpringDataStoreTextWriterBuilder builder)
Configure the
AnnotationBuilder by setting the necessary properties
on the AnnotationBuilder . |
protected DataStoreTextWriterBuilder |
getConfigBuilder() |
void |
init(SpringDataStoreTextWriterBuilder builder)
Initialise the
AnnotationBuilder . |
boolean |
isAssignable(AnnotationBuilder<SpringDataStoreWriterConfigs> builder) |
void |
setObjectPostProcessor(ObjectPostProcessor<java.lang.Object> objectPostProcessor) |
public SpringDataStoreTextWriterConfigurerAdapter()
public final void init(SpringDataStoreTextWriterBuilder builder) throws java.lang.Exception
AnnotationConfigurer
AnnotationBuilder
. Here only shared state should be
created and modified, but not properties on the AnnotationBuilder
used for building the object. This ensures that the
AnnotationConfigurer.configure(AnnotationBuilder)
method uses the correct shared
objects when building.init
in interface AnnotationConfigurer<SpringDataStoreWriterConfigs,SpringDataStoreTextWriterBuilder>
builder
- the builderjava.lang.Exception
- if error occurredpublic void configure(SpringDataStoreTextWriterBuilder builder) throws java.lang.Exception
AnnotationConfigurer
AnnotationBuilder
by setting the necessary properties
on the AnnotationBuilder
.configure
in interface AnnotationConfigurer<SpringDataStoreWriterConfigs,SpringDataStoreTextWriterBuilder>
builder
- the builderjava.lang.Exception
- if error occurredpublic boolean isAssignable(AnnotationBuilder<SpringDataStoreWriterConfigs> builder)
isAssignable
in interface AnnotationConfigurer<SpringDataStoreWriterConfigs,SpringDataStoreTextWriterBuilder>
public void configure(DataStoreTextWriterConfigurer writer) throws java.lang.Exception
SpringDataStoreTextWriterConfigurer
Configuration
via DataStoreTextWriterBuilder
builder.configure
in interface SpringDataStoreTextWriterConfigurer
writer
- the DataStoreTextWriterConfigurer
builderjava.lang.Exception
- if error occurred@Autowired public void setObjectPostProcessor(ObjectPostProcessor<java.lang.Object> objectPostProcessor)
protected final DataStoreTextWriterBuilder getConfigBuilder() throws java.lang.Exception
java.lang.Exception