Package | Description |
---|---|
net.sf.jguiraffe.di.impl |
This package contains various implementations for the interfaces defined in the
main
di package. |
net.sf.jguiraffe.di.impl.providers |
In the
providers sub package different implementations of the
BeanProvider interface can be found. |
net.sf.jguiraffe.gui.builder.di.tags |
In this package tag handler classes for defining beans in a Jelly script can be
found.
|
Modifier and Type | Class and Description |
---|---|
class |
ChainedInvocation
A special implementation of the
Invokable interface that
allows aggregating an arbitrary number of Invokable objects to
a kind of script. |
class |
ConstructorInvocation
A class that represents a constructor invocation.
|
class |
HelperInvocations
An enumeration class defining some simple helper
Invokable
implementations. |
class |
MethodInvocation
A class that represents a method invocation.
|
class |
NullInvocation
Deprecated.
Use
HelperInvocations instead; it provides some dummy
implementations of the Invokable interface which are useful in some
situations where a full-blown implementation is not required. |
class |
SetPropertyInvocation
A special
Invocation implementation for setting properties. |
Modifier and Type | Method and Description |
---|---|
List<Invokable> |
ChainedInvocation.getInvokables()
Returns a list with the
Invokable objects that have
already been added to this chain. |
Modifier and Type | Method and Description |
---|---|
void |
ChainedInvocation.addInvokable(Invokable inv)
Adds the specified
Invokable object to this object. |
void |
ChainedInvocation.addInvokable(Invokable inv,
String result)
Adds the specified
Invokable object to this object and
initializes its result variable. |
void |
ChainedInvocation.addInvokable(Invokable inv,
String result,
String source)
Adds the specified
Invokable object to this object and
initializes its result variable and its source object. |
Modifier and Type | Method and Description |
---|---|
Invokable |
LifeCycleBeanProvider.getBeanInitializer()
Returns the
Invokable object responsible for initializing
the newly created bean. |
Invokable |
SingletonBeanProvider.getShutdownHandler()
Returns the
Invokable object that is called when this provider is
shut down. |
Constructor and Description |
---|
FactoryBeanProvider(BeanProvider createProvider,
Invokable initinv)
Creates a new instance of
FactoryBeanProvider and
initializes it with the bean provider for creating a bean instance and
the invocation object for performing initialization. |
LifeCycleBeanProvider(BeanProvider createProvider,
Invokable initinv)
Creates a new instance of
LifeCycleBeanProvider and
initializes it with the BeanProvider for creating the bean
instance and an Invokable for initializing it. |
SingletonBeanProvider(BeanProvider createProvider,
Invokable initinv)
Creates a new instance of
SingletonBeanProvider and
initializes it with the bean provider for creating a bean instance and
the invocation object for performing initialization. |
SingletonBeanProvider(BeanProvider createProvider,
Invokable initInv,
Invokable shutdownInv)
Creates a new instance of
SingletonBeanProvider and initializes
it with the bean provider for creating a bean instance and Invokable objects for initializing and releasing the bean managed by
this provider. |
Modifier and Type | Method and Description |
---|---|
protected Invokable |
BeanTag.consumeShutdownHandler()
Returns the
Invokable serving as a shutdown handler and resets
the field. |
protected Invokable |
MethodInvocationTag.createInvocation()
Creates the invocation object.
|
protected abstract Invokable |
InvocationTag.createInvocation()
Creates the invocation object.
|
protected Invokable |
ConstructorInvocationTag.createInvocation()
Creates the invocation object.
|
protected Invokable |
BeanTag.createShutdownHandlerForMethod(String methodName)
Creates an
Invokable for a shutdown handler for a shutdown
method. |
Invokable |
BeanTag.getShutdownHandler()
Returns the shutdown handler.
|
Modifier and Type | Method and Description |
---|---|
void |
FactoryTag.addInvokable(Invokable inv)
Adds an
Invokable to this object. |
void |
ConstructorTag.addInvokable(Invokable inv)
Adds an
Invokable object to this tag. |
protected void |
InvocationTag.processInvokable(Invokable inv)
Processes the
Invokable object after its creation. |
void |
BeanTag.setShutdownHandler(Invokable inv)
Sets a shutdown handler.
|
Copyright © 2016 The JGUIraffe Team. All rights reserved.