public interface BeanBuilderResult
Definition of an interface for accessing the results of a BeanBuilder
.
A bean builder processes a script with bean definitions, creates
BeanProvider
objects from them and
stores these providers in BeanStore
objects. An arbitrary number of
BeanStore
objects may be created during a builder operation,
which can be organized in a hierarchical structure.
This interface allows access to the BeanStore
objects created by
the bean builder. They can be listed or queried by name. A client can thus
obtain exactly the store objects it needs. Further, there is some information
available about helper objects that have been used during processing of the
builder script.
Modifier and Type | Method and Description |
---|---|
BeanStore |
getBeanStore(String name)
Returns the
BeanStore with the given name. |
Set<String> |
getBeanStoreNames()
Returns a set with the names of the existing bean stores.
|
ClassLoaderProvider |
getClassLoaderProvider()
Returns the
ClassLoaderProvider that was used by the builder
during script processing. |
InvocationHelper |
getInvocationHelper()
Returns the
InvocationHelper object that was used by builder
during script processing. |
Set<String> getBeanStoreNames()
BeanStore getBeanStore(String name)
BeanStore
with the given name. The name can be
null, then the root BeanStore
of the builder
operation is returned.name
- the name of the desired BeanStore
BeanStore
with this nameNoSuchElementException
- if there is no such
BeanStore
ClassLoaderProvider getClassLoaderProvider()
ClassLoaderProvider
that was used by the builder
during script processing.ClassLoaderProvider
InvocationHelper getInvocationHelper()
InvocationHelper
object that was used by builder
during script processing. This object also contains the
ConversionHelper
with all
registered type converters. So this information may be of interest for a
client. It is also required for releasing a builder result.InvocationHelper
used by the builderCopyright © 2016 The JGUIraffe Team. All rights reserved.