net.sf.jguiraffe.gui.builder
Interface BeanBuilderFactory

All Known Implementing Classes:
JellyBeanBuilderFactory

public interface BeanBuilderFactory

Definition of an interface for querying new BeanBuilder objects.

This interface provides a generic means for obtaining a new BeanBuilder instance 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 BeanBuilder instances however, this is not the case. They should be used by a single thread only.

Version:
$Id: BeanBuilderFactory.java 156 2009-03-03 21:04:47Z oheger $
Author:
Oliver Heger

Method Summary
 BeanBuilder getBeanBuilder()
          Returns a BeanBuilder object for processing a script with bean definitions.
 

Method Detail

getBeanBuilder

BeanBuilder getBeanBuilder()
                           throws BuilderException
Returns a BeanBuilder object for processing a script with bean definitions. The returned object is fully initialized and can be used immediately.

Returns:
a new BeanBuilder instance
Throws:
BuilderException - if an error occurs


Copyright © 2009 The JGUIraffe Team. All Rights Reserved.