@Current Manager manager;manager.addBean(new SingletonBean(myValue));
Abstract builder for creating and populating JSF managed beans.
You can also use the Spring IO API to load resources containing beans defined as a Groovy script using either the constructors or the loadBeans(Resource[] resources) method
@author Graeme Rocher @since 0.4You can also use the Spring IO API to load resources containing beans defined as a Groovy script using either the constructors or the loadBeans(Resource[] resources) method
@author Graeme Rocher @since 0.4A builder class for creating immutable beans. The builder can create {@link PassivationCapable} beans, using{@link Annotateds#createTypeId(AnnotatedType)} to generate the id.
The builder can read from an {@link AnnotatedType} and have any attributemodified. This class is not thread-safe, but the bean created by calling {@link #create()} is.
It is advised that a new bean builder is instantiated for each bean created.
@author Stuart Douglas @author Pete Muir @see ImmutableBean @see ImmutablePassivationCapableBean
|
|
|
|