public class JellyBeanBuilderFactory extends Object implements BeanBuilderFactory
An implementation of the BeanBuilderFactory
interface that
returns
instances.
JellyBeanBuilder
This bean builder factory implementation can be used for obtaining builder objects that are able to process Jelly scripts with bean definitions. Note: The setter methods defined by this class are intended to be used for initialization purposes only (i.e. using property injection). After an instance was passed to its clients, it should not be changed any more. If this criterion is fulfilled, the instance can be shared between multiple threads.
Modifier and Type | Field and Description |
---|---|
static String |
NSURI_DI_BUILDER
Constant for the default name space URI for the DIBuilder tag library.
|
Constructor and Description |
---|
JellyBeanBuilderFactory() |
Modifier and Type | Method and Description |
---|---|
BeanBuilder |
getBeanBuilder()
Returns the builder instance to be used.
|
String |
getDiBuilderNameSpaceURI()
Returns the URI for the name space of the DI builder tag library.
|
void |
setDiBuilderNameSpaceURI(String diBuilderNameSpaceURI)
Sets the URI for the name space of the DI builder tag library.
|
public static final String NSURI_DI_BUILDER
public String getDiBuilderNameSpaceURI()
public void setDiBuilderNameSpaceURI(String diBuilderNameSpaceURI)
diBuilderNameSpaceURI
- the URI for the DI builder tag librarypublic BeanBuilder getBeanBuilder() throws BuilderException
getBeanBuilder
in interface BeanBuilderFactory
BuilderException
- if an error occursCopyright © 2016 The JGUIraffe Team. All rights reserved.