Uses of Class
net.sf.jguiraffe.di.impl.ClassDescription
-
Packages that use ClassDescription 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 ClassDescription in net.sf.jguiraffe.di.impl
Methods in net.sf.jguiraffe.di.impl that return ClassDescription Modifier and Type Method 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.Methods in net.sf.jguiraffe.di.impl with parameters of type ClassDescription Modifier and Type Method Description static ClassDependency
ClassDependency. getInstance(ClassDescription clsdsc)
Returns aClassDependency
instance for the specifiedClassDescription
.Constructors in net.sf.jguiraffe.di.impl with parameters of type ClassDescription Constructor Description ConstructorInvocation(ClassDescription targetClass, ClassDescription[] paramTypes, Dependency... paramValues)
Creates a new instance ofConstructorInvocation
and initializes it.Invocation(ClassDescription targetClass, ClassDescription[] paramTypes, Dependency... paramValues)
Creates a new instance ofInvocation
and initializes it with information about the call parameters.MethodInvocation(String methodName, ClassDescription[] paramTypes, Dependency... paramValues)
Creates a new instance ofMethodInvocation
for non-static method invocations.MethodInvocation(ClassDescription targetClass, String methodName, boolean isStatic, ClassDescription[] paramTypes, Dependency... paramValues)
Creates a new instance ofMethodInvocation
and initializes most of the properties.MethodInvocation(ClassDescription targetClass, String methodName, ClassDescription[] paramTypes, Dependency... paramValues)
Creates a new instance ofMethodInvocation
and initializes it with information about the method to invoke and the target class.MethodInvocation(ClassDescription targetClass, Dependency targetDep, String methodName, boolean isStatic, ClassDescription[] paramTypes, Dependency... paramValues)
Creates a new instance ofMethodInvocation
and fully initializes it. -
Uses of ClassDescription in net.sf.jguiraffe.di.impl.providers
Methods in net.sf.jguiraffe.di.impl.providers that return ClassDescription Modifier and Type Method Description ClassDescription
MethodInvocationBeanProvider. getBeanClassDescription()
Returns the description of the class of the managed bean.Constructors in net.sf.jguiraffe.di.impl.providers with parameters of type ClassDescription Constructor Description MethodInvocationBeanProvider(Dependency targetBean, MethodInvocation methodInv, ClassDescription beanClsDsc)
Creates a new instance ofMethodInvocationBeanProvider
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. -
Uses of ClassDescription in net.sf.jguiraffe.gui.builder.di.tags
Methods in net.sf.jguiraffe.gui.builder.di.tags that return ClassDescription Modifier and Type Method Description ClassDescription
ClassDescData. createClassDescription()
Creates aClassDescription
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 aClassDescription
object from the internal data or null if no data is defined.ClassDescription
ParameterTag. getParameterClassDesc()
Returns aClassDescription
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
ConstructorTag. getTargetClassDescription()
Returns the target class of the constructor to be invoked.ClassDescription
InvocationTag. getTargetClassDescription()
Returns the class description for the target class of this invocation.ClassDescription
MapTag. getValueClassDesc()
Returns the class description for the value class.Methods in net.sf.jguiraffe.gui.builder.di.tags with parameters of type ClassDescription Modifier and Type Method 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 specifiedClassDescription
.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.
-