Package net.sf.jguiraffe.gui.builder
Interface BeanBuilderFactory
-
- All Known Implementing Classes:
JellyBeanBuilderFactory
public interface BeanBuilderFactoryDefinition of an interface for querying new
objects.BeanBuilderThis interface provides a generic means for obtaining a new
BeanBuilderinstance that can be used for processing a script with bean definitions. It is a typical factory interface decoupling its clients from the concrete builder implementation.Note: An implementation is intended to be thread-safe, so that it can be shared between multiple threads. For the returned
BeanBuilderinstances however, this is not the case. They should be used by a single thread only.- Version:
- $Id: BeanBuilderFactory.java 205 2012-01-29 18:29:57Z oheger $
- Author:
- Oliver Heger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BeanBuildergetBeanBuilder()Returns aBeanBuilderobject for processing a script with bean definitions.
-
-
-
Method Detail
-
getBeanBuilder
BeanBuilder getBeanBuilder() throws BuilderException
Returns aBeanBuilderobject for processing a script with bean definitions. The returned object is fully initialized and can be used immediately.- Returns:
- a new
BeanBuilderinstance - Throws:
BuilderException- if an error occurs
-
-