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 | Method and Description |
---|---|
ClassDescription |
ClassDependency.getDependentClass()
Returns the description of the class of this dependency.
|
static ClassDescription |
ClassDescription.getInstance(Class<?> cls)
Returns an instance for the specified class.
|
static ClassDescription |
ClassDescription.getInstance(String clsName)
Returns an instance for the specified class name that will be resolved
using the default class loader.
|
static ClassDescription |
ClassDescription.getInstance(String clsName,
String clsLoaderName)
Returns an instance for the specified class name and class loader name.
|
ClassDescription[] |
Invocation.getParameterTypes()
Returns an array with the types of the parameters of the invocation.
|
ClassDescription |
Invocation.getTargetClass()
Returns the target class of this invocation.
|
Modifier and Type | Method and Description |
---|---|
static ClassDependency |
ClassDependency.getInstance(ClassDescription clsdsc)
Returns a
ClassDependency instance for the specified
ClassDescription . |
Constructor and Description |
---|
ConstructorInvocation(ClassDescription targetClass,
ClassDescription[] paramTypes,
Dependency... paramValues)
Creates a new instance of
ConstructorInvocation and
initializes it. |
ConstructorInvocation(ClassDescription targetClass,
ClassDescription[] paramTypes,
Dependency... paramValues)
Creates a new instance of
ConstructorInvocation and
initializes it. |
Invocation(ClassDescription targetClass,
ClassDescription[] paramTypes,
Dependency... paramValues)
Creates a new instance of
Invocation and initializes it
with information about the call parameters. |
Invocation(ClassDescription targetClass,
ClassDescription[] paramTypes,
Dependency... paramValues)
Creates a new instance of
Invocation and initializes it
with information about the call parameters. |
MethodInvocation(ClassDescription targetClass,
Dependency targetDep,
String methodName,
boolean isStatic,
ClassDescription[] paramTypes,
Dependency... paramValues)
Creates a new instance of
MethodInvocation and fully initializes
it. |
MethodInvocation(ClassDescription targetClass,
Dependency targetDep,
String methodName,
boolean isStatic,
ClassDescription[] paramTypes,
Dependency... paramValues)
Creates a new instance of
MethodInvocation and fully initializes
it. |
MethodInvocation(ClassDescription targetClass,
String methodName,
boolean isStatic,
ClassDescription[] paramTypes,
Dependency... paramValues)
Creates a new instance of
MethodInvocation and initializes most
of the properties. |
MethodInvocation(ClassDescription targetClass,
String methodName,
boolean isStatic,
ClassDescription[] paramTypes,
Dependency... paramValues)
Creates a new instance of
MethodInvocation and initializes most
of the properties. |
MethodInvocation(ClassDescription targetClass,
String methodName,
ClassDescription[] paramTypes,
Dependency... paramValues)
Creates a new instance of
MethodInvocation and initializes
it with information about the method to invoke and the target class. |
MethodInvocation(ClassDescription targetClass,
String methodName,
ClassDescription[] paramTypes,
Dependency... paramValues)
Creates a new instance of
MethodInvocation and initializes
it with information about the method to invoke and the target class. |
MethodInvocation(String methodName,
ClassDescription[] paramTypes,
Dependency... paramValues)
Creates a new instance of
MethodInvocation for non-static
method invocations. |
Modifier and Type | Method and Description |
---|---|
ClassDescription |
MethodInvocationBeanProvider.getBeanClassDescription()
Returns the description of the class of the managed bean.
|
Constructor and Description |
---|
MethodInvocationBeanProvider(Dependency targetBean,
MethodInvocation methodInv,
ClassDescription beanClsDsc)
Creates a new instance of
MethodInvocationBeanProvider and
initializes it with the dependency to the target object (on which the
method is to be invoked), the description of the method invocation, and
the class of the managed bean. |
Modifier and Type | Method and Description |
---|---|
ClassDescription |
ClassDescData.createClassDescription()
Creates a
ClassDescription object from the internal data. |
ClassDescription |
BeanTag.getBeanClassDesc()
Returns the class description for the managed bean.
|
ClassDescription |
CollectionTag.getElementClassDesc()
Returns the class description for the elements of the represented
collection.
|
ClassDescription |
MapTag.getKeyClassDesc()
Returns the class description for the key class.
|
ClassDescription |
ClassDescData.getOptionalClassDescription()
Returns a
ClassDescription object from the internal data
or null if no data is defined. |
ClassDescription |
ParameterTag.getParameterClassDesc()
Returns a
ClassDescription object for the data type class
of this parameter. |
protected ClassDescription[] |
InvocationTag.getParameterTypes()
Returns an array with the data types of the parameters of this
invocation.
|
ClassDescription |
InvocationTag.getTargetClassDescription()
Returns the class description for the target class of this invocation.
|
ClassDescription |
ConstructorTag.getTargetClassDescription()
Returns the target class of the constructor to be invoked.
|
ClassDescription |
MapTag.getValueClassDesc()
Returns the class description for the value class.
|
Modifier and Type | Method and Description |
---|---|
ConstantBeanProvider |
ValueData.createValueProvider(ClassDescription defClass)
Creates the bean provider for the specified value using the given default
class description.
|
static Class<?> |
ValueData.resolveClassDescription(org.apache.commons.jelly.JellyContext context,
ClassDescription cd)
Resolves the specified
ClassDescription . |
void |
BeanTag.setBeanClassDesc(ClassDescription beanClass)
Sets the class description for the managed bean.
|
protected void |
CollectionTag.setElementClassDesc(ClassDescription cdesc)
Sets the class description for the elements of this collection.
|
Copyright © 2016 The JGUIraffe Team. All rights reserved.