public class BeanWriterFactory extends Object implements org.smooks.api.delivery.ContentHandler
BeanWriter
Factory.
tom.fennelly@gmail.comModifier and Type | Field and Description |
---|---|
protected org.smooks.api.ApplicationContext |
appContext |
protected Class<?> |
beanClass |
protected String |
beanId |
protected Class<? extends BeanWriter> |
beanWriterClass |
protected org.smooks.api.resource.config.ResourceConfig |
resourceConfig |
Constructor and Description |
---|
BeanWriterFactory() |
Modifier and Type | Method and Description |
---|---|
void |
createBeanWriter() |
static Map<Class<?>,Map<String,BeanWriter>> |
getBeanWriters(org.smooks.api.ApplicationContext appContext) |
static Map<String,BeanWriter> |
getBeanWriters(Class<?> beanClass,
org.smooks.api.ApplicationContext appContext) |
@Inject protected String beanId
@Inject @Named(value="class") protected Class<? extends BeanWriter> beanWriterClass
@Inject @Named(value="beanClass") protected Class<?> beanClass
@Inject protected org.smooks.api.resource.config.ResourceConfig resourceConfig
@Inject protected org.smooks.api.ApplicationContext appContext
@PostConstruct public void createBeanWriter()
public static Map<String,BeanWriter> getBeanWriters(Class<?> beanClass, org.smooks.api.ApplicationContext appContext)
public static Map<Class<?>,Map<String,BeanWriter>> getBeanWriters(org.smooks.api.ApplicationContext appContext)
Copyright © 2024. All rights reserved.