Package | Description |
---|---|
org.smooks.cartridges.javabean |
Smooks Javabean Cartridge implementation classes.
|
org.smooks.cartridges.javabean.factory |
Modifier and Type | Field and Description |
---|---|
protected Factory<?> |
BeanInstanceCreator.factory |
Modifier and Type | Method and Description |
---|---|
<T> Bean |
Bean.newBean(Class<T> beanClass,
String createOnElement,
Factory<T> factory)
Create a Bean binding configuration.
|
<T> Bean |
Bean.newBean(Class<T> beanClass,
String beanId,
String createOnElement,
Factory<T> factory)
Create a Bean binding configuration.
|
static <T> Bean |
Bean.newBean(Class<T> beanClass,
String beanId,
String createOnElement,
Factory<T> factory,
org.smooks.api.Registry registry)
Create a Bean binding configuration.
|
Constructor and Description |
---|
Bean(Class<T> beanClass,
String beanId,
Factory<? extends T> factory,
org.smooks.api.Registry registry)
Create a Bean binding configuration.
|
Bean(Class<T> beanClass,
String beanId,
String createOnElement,
Factory<? extends T> factory,
org.smooks.api.Registry registry)
Create a Bean binding configuration.
|
BeanInstanceCreator(String beanId,
Class<T> beanClass,
Factory<? extends T> factory)
Public default constructor.
|
Modifier and Type | Class and Description |
---|---|
protected static class |
BasicFactoryDefinitionParser.FactoryInstanceFactory
The FactoryInstanceFactory uses a static method to retrieve the factory object and
then calls the factory method on the factory object to create the target objects.
|
protected static class |
BasicFactoryDefinitionParser.StaticMethodFactory
The StaticMethodFactory uses a static factory method create the target objects.
|
class |
MVELFactory<T>
The MVELFactory uses MVEL to create the objects using a MVEL expression.
|
Modifier and Type | Field and Description |
---|---|
protected ConcurrentHashMap<String,Factory<?>> |
AbstractCachingFactoryDefinitionParser.factoryCache |
Modifier and Type | Method and Description |
---|---|
protected Factory<?> |
BasicFactoryDefinitionParser.createFactory(String factoryDefinition)
Parses the factory definition and creates a
BasicFactoryDefinitionParser.StaticMethodFactory
or FactoryInstanceFactory# accordingly. |
protected abstract Factory<?> |
AbstractCachingFactoryDefinitionParser.createFactory(String factoryDefinition) |
protected Factory<?> |
MVELFactoryDefinitionParser.createFactory(String factoryDefinition) |
protected Factory<?> |
BasicFactoryDefinitionParser.createFactoryInstanceFactory(String factoryDefinition,
String className,
String staticGetInstanceMethodDef,
String factoryMethodDef)
Creates a FactoryInstanceFactory object.
|
protected Factory<?> |
BasicFactoryDefinitionParser.createStaticMethodFactory(String factoryDefinition,
String className,
String methodDef)
Creates a StaticMethodFactory object.
|
Factory<?> |
FactoryDefinitionParser.parse(String factoryDefinition)
Parses the factory definition string and creates a factory object
that can create the object according to the definition.
|
Factory<?> |
AbstractCachingFactoryDefinitionParser.parse(String factoryDefinition) |
Copyright © 2024. All rights reserved.