Class JellyBeanBuilderFactory

  • All Implemented Interfaces:
    BeanBuilderFactory

    public class JellyBeanBuilderFactory
    extends Object
    implements BeanBuilderFactory

    An implementation of the BeanBuilderFactory interface that returns JellyBeanBuilder instances.

    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.

    Version:
    $Id: JellyBeanBuilderFactory.java 205 2012-01-29 18:29:57Z oheger $
    Author:
    Oliver Heger
    • Field Detail

      • NSURI_DI_BUILDER

        public static final String NSURI_DI_BUILDER
        Constant for the default name space URI for the DIBuilder tag library.
        See Also:
        Constant Field Values
    • Constructor Detail

      • JellyBeanBuilderFactory

        public JellyBeanBuilderFactory()
    • Method Detail

      • getDiBuilderNameSpaceURI

        public String getDiBuilderNameSpaceURI()
        Returns the URI for the name space of the DI builder tag library. If no URI was specified, a default URI is returned.
        Returns:
        the URI for the DI builder tag library
      • setDiBuilderNameSpaceURI

        public void setDiBuilderNameSpaceURI​(String diBuilderNameSpaceURI)
        Sets the URI for the name space of the DI builder tag library. In the Jelly scripts to be processed this URI must be used for specifying a name space prefix for the DI builder tags.
        Parameters:
        diBuilderNameSpaceURI - the URI for the DI builder tag library