Uses of Interface
net.sf.jguiraffe.di.impl.Invokable
-
Packages that use Invokable Package Description net.sf.jguiraffe.di.impl This package contains various implementations for the interfaces defined in the maindi
package.net.sf.jguiraffe.di.impl.providers In theproviders
sub package different implementations of theBeanProvider
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. -
-
Uses of Invokable in net.sf.jguiraffe.di.impl
Classes in net.sf.jguiraffe.di.impl that implement Invokable Modifier and Type Class Description class
ChainedInvocation
A special implementation of theInvokable
interface that allows aggregating an arbitrary number ofInvokable
objects to a kind of script.class
ConstructorInvocation
A class that represents a constructor invocation.class
HelperInvocations
An enumeration class defining some simple helperInvokable
implementations.class
MethodInvocation
A class that represents a method invocation.class
NullInvocation
Deprecated.UseHelperInvocations
instead; it provides some dummy implementations of theInvokable
interface which are useful in some situations where a full-blown implementation is not required.class
SetPropertyInvocation
A specialInvocation
implementation for setting properties.Methods in net.sf.jguiraffe.di.impl that return types with arguments of type Invokable Modifier and Type Method Description List<Invokable>
ChainedInvocation. getInvokables()
Returns a list with theInvokable
objects that have already been added to this chain.Methods in net.sf.jguiraffe.di.impl with parameters of type Invokable Modifier and Type Method Description void
ChainedInvocation. addInvokable(Invokable inv)
Adds the specifiedInvokable
object to this object.void
ChainedInvocation. addInvokable(Invokable inv, String result)
Adds the specifiedInvokable
object to this object and initializes its result variable.void
ChainedInvocation. addInvokable(Invokable inv, String result, String source)
Adds the specifiedInvokable
object to this object and initializes its result variable and its source object. -
Uses of Invokable in net.sf.jguiraffe.di.impl.providers
Methods in net.sf.jguiraffe.di.impl.providers that return Invokable Modifier and Type Method Description Invokable
LifeCycleBeanProvider. getBeanInitializer()
Returns theInvokable
object responsible for initializing the newly created bean.Invokable
SingletonBeanProvider. getShutdownHandler()
Returns theInvokable
object that is called when this provider is shut down.Constructors in net.sf.jguiraffe.di.impl.providers with parameters of type Invokable Constructor Description FactoryBeanProvider(BeanProvider createProvider, Invokable initinv)
Creates a new instance ofFactoryBeanProvider
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 ofLifeCycleBeanProvider
and initializes it with theBeanProvider
for creating the bean instance and anInvokable
for initializing it.SingletonBeanProvider(BeanProvider createProvider, Invokable initinv)
Creates a new instance ofSingletonBeanProvider
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 ofSingletonBeanProvider
and initializes it with the bean provider for creating a bean instance andInvokable
objects for initializing and releasing the bean managed by this provider. -
Uses of Invokable in net.sf.jguiraffe.gui.builder.di.tags
Methods in net.sf.jguiraffe.gui.builder.di.tags that return Invokable Modifier and Type Method Description protected Invokable
BeanTag. consumeShutdownHandler()
Returns theInvokable
serving as a shutdown handler and resets the field.protected Invokable
ConstructorInvocationTag. createInvocation()
Creates the invocation object.protected abstract Invokable
InvocationTag. createInvocation()
Creates the invocation object.protected Invokable
MethodInvocationTag. createInvocation()
Creates the invocation object.protected Invokable
BeanTag. createShutdownHandlerForMethod(String methodName)
Creates anInvokable
for a shutdown handler for a shutdown method.Invokable
BeanTag. getShutdownHandler()
Returns the shutdown handler.Methods in net.sf.jguiraffe.gui.builder.di.tags with parameters of type Invokable Modifier and Type Method Description void
ConstructorTag. addInvokable(Invokable inv)
Adds anInvokable
object to this tag.void
FactoryTag. addInvokable(Invokable inv)
Adds anInvokable
to this object.protected void
InvocationTag. processInvokable(Invokable inv)
Processes theInvokable
object after its creation.void
BeanTag. setShutdownHandler(Invokable inv)
Sets a shutdown handler.
-