Package | Description |
---|---|
net.sf.jguiraffe.di |
DI stands for Dependency Injection.
|
net.sf.jguiraffe.di.impl |
This package contains various implementations for the interfaces defined in the
main
di package. |
net.sf.jguiraffe.gui.app |
In this package the main application class can be found.
|
net.sf.jguiraffe.gui.builder |
The main package of the builder.
|
net.sf.jguiraffe.gui.builder.di |
The builder.di package contains fundamental classes for defining beans
and services in a Jelly script.
|
net.sf.jguiraffe.gui.builder.di.tags |
In this package tag handler classes for defining beans in a Jelly script can be
found.
|
net.sf.jguiraffe.gui.builder.impl |
Here default implementations of the
Builder interfaces can be found. |
net.sf.jguiraffe.locators |
This package contains interfaces and classes for locating resources in a generic
way.
|
net.sf.jguiraffe.resources.impl.bundle |
This package contains an implementation of
ResourceLoader and
ResourceGroup based on Java resource bundles. |
Modifier and Type | Interface and Description |
---|---|
interface |
DependencyProvider
Definition of an interface that provides access to dependencies defined by a
BeanProvider . |
Modifier and Type | Method and Description |
---|---|
ClassLoaderProvider |
BeanContext.getClassLoaderProvider()
Returns the
ClassLoaderProvider used by this context. |
Modifier and Type | Method and Description |
---|---|
void |
BeanContext.setClassLoaderProvider(ClassLoaderProvider clp)
Sets the
ClassLoaderProvider to be used by this context. |
Modifier and Type | Class and Description |
---|---|
class |
DefaultClassLoaderProvider
A default implementation of the
ClassLoaderProvider interface. |
class |
RestrictedDependencyProvider
An implementation of the
DependencyProvider interface, which does not
support external dependencies. |
Modifier and Type | Method and Description |
---|---|
ClassLoaderProvider |
RestrictedDependencyProvider.getClassLoaderProvider()
Returns the wrapped
ClassLoaderProvider . |
ClassLoaderProvider |
DefaultBeanContext.getClassLoaderProvider()
Returns the
ClassLoaderProvider used by this bean context. |
ClassLoaderProvider |
BeanContextWrapper.getClassLoaderProvider()
Returns the
ClassLoaderProvider used by this context. |
Modifier and Type | Method and Description |
---|---|
Class<?> |
ClassDescription.getTargetClass(ClassLoaderProvider clProvider)
Returns the target class of this description.
|
void |
DefaultBeanContext.setClassLoaderProvider(ClassLoaderProvider classLoaderProvider)
Sets the
ClassLoaderProvider to be used by this bean context. |
void |
BeanContextWrapper.setClassLoaderProvider(ClassLoaderProvider clp)
Sets the
ClassLoaderProvider to be used by this context. |
Constructor and Description |
---|
RestrictedDependencyProvider(ClassLoaderProvider clp,
InvocationHelper invHlp)
Creates a new instance of
RestrictedDependencyProvider and
initializes it with the specified ClassLoaderProvider and the
InvocationHelper . |
Modifier and Type | Method and Description |
---|---|
ClassLoaderProvider |
ApplicationContextImpl.getClassLoaderProvider()
Returns the
ClassLoaderProvider . |
ClassLoaderProvider |
ApplicationContext.getClassLoaderProvider()
Returns the
ClassLoaderProvider to be used. |
protected ClassLoaderProvider |
Application.initClassLoaderProvider(ClassLoaderProvider clp)
Initializes the global
ClassLoaderProvider . |
Modifier and Type | Method and Description |
---|---|
protected ClassLoaderProvider |
Application.initClassLoaderProvider(ClassLoaderProvider clp)
Initializes the global
ClassLoaderProvider . |
protected BeanBuilderResult |
Application.readBeanDefinition(Locator script,
MutableBeanStore rootStore,
ClassLoaderProvider loaderProvider)
A convenience method for processing a file with bean definitions.
|
void |
ApplicationContextImpl.setClassLoaderProvider(ClassLoaderProvider classLoaderProvider)
Sets the
ClassLoaderProvider . |
void |
ApplicationContext.setClassLoaderProvider(ClassLoaderProvider provider)
Sets the
ClassLoaderProvider to be used. |
Modifier and Type | Method and Description |
---|---|
ClassLoaderProvider |
BeanBuilderResult.getClassLoaderProvider()
Returns the
ClassLoaderProvider that was used by the builder
during script processing. |
Modifier and Type | Method and Description |
---|---|
BeanBuilderResult |
BeanBuilder.build(Locator script,
MutableBeanStore rootStore,
ClassLoaderProvider loaderProvider)
Executes a script with bean definitions.
|
BeanBuilderResult |
BeanBuilder.build(Locator script,
MutableBeanStore rootStore,
ClassLoaderProvider loaderProvider,
InvocationHelper invHlp)
Executes a script with bean definitions and the specified helper objects.
|
Modifier and Type | Method and Description |
---|---|
ClassLoaderProvider |
DIBuilderData.getClassLoaderProvider()
Returns the
ClassLoaderProvider to be used. |
Modifier and Type | Method and Description |
---|---|
void |
DIBuilderData.setClassLoaderProvider(ClassLoaderProvider classLoaderProvider)
Sets the
ClassLoaderProvider to be used. |
Modifier and Type | Method and Description |
---|---|
Class<?> |
ClassDescData.resolveClass(ClassLoaderProvider clProvider)
A convenience method for resolving the class specified by this data
object.
|
Modifier and Type | Method and Description |
---|---|
protected ClassLoaderProvider |
JellyBeanBuilder.fetchClassLoaderProvider(ClassLoaderProvider clp)
Returns a
ClassLoaderProvider . |
Modifier and Type | Method and Description |
---|---|
void |
JellyBuilder.addDefaultBaseClassConverters(Map<String,? extends org.apache.commons.beanutils.Converter> converters,
ClassLoaderProvider clp)
Adds all converters in the specified map as default base class converters
to this object using the specified
ClassLoaderProvider to resolve
class names. |
BeanBuilderResult |
JellyBeanBuilder.build(Locator script,
MutableBeanStore rootStore,
ClassLoaderProvider loaderProvider)
Executes a script with bean definitions.
|
BeanBuilderResult |
JellyBeanBuilder.build(Locator script,
MutableBeanStore rootStore,
ClassLoaderProvider loaderProvider,
InvocationHelper invHlp)
Executes a script with bean definitions and the specified helper objects.
|
protected DIBuilderData |
JellyBeanBuilder.createBuilderData(org.apache.commons.jelly.JellyContext context,
MutableBeanStore rootStore,
ClassLoaderProvider loaderProvider,
InvocationHelper invHlp)
Creates the
DIBuilderData object used during the builder
operation. |
protected BeanBuilderResult |
JellyBeanBuilder.executeScript(Locator script,
org.apache.commons.jelly.JellyContext context,
MutableBeanStore rootStore,
ClassLoaderProvider loaderProvider,
InvocationHelper invHlp)
Executes the specified script on the given Jelly context.
|
protected ClassLoaderProvider |
JellyBeanBuilder.fetchClassLoaderProvider(ClassLoaderProvider clp)
Returns a
ClassLoaderProvider . |
Modifier and Type | Method and Description |
---|---|
ClassLoaderProvider |
LocatorConverter.getClassLoaderProvider()
Returns the
ClassLoaderProvider used by this converter. |
Constructor and Description |
---|
LocatorConverter(ClassLoaderProvider clp)
Creates a new instance of
LocatorConverter and initializes it
with the given ClassLoaderProvider . |
Modifier and Type | Method and Description |
---|---|
ClassLoaderProvider |
BundleResourceLoader.getClassLoaderProvider()
Returns the
ClassLoaderProvider used by this object. |
Constructor and Description |
---|
BundleResourceLoader(ClassLoaderProvider clp,
String clName)
Creates a new instance of
BundleResourceLoader and initializes it
with the given class loader provider and the class loader name. |
Copyright © 2016 The JGUIraffe Team. All rights reserved.