Uses of Interface
net.sf.jguiraffe.di.Dependency
-
Packages that use Dependency 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 maindipackage.net.sf.jguiraffe.di.impl.providers In theproviderssub package different implementations of theBeanProviderinterface 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 Dependency in net.sf.jguiraffe.di
Methods in net.sf.jguiraffe.di that return types with arguments of type Dependency Modifier and Type Method Description Set<Dependency>BeanProvider. getDependencies()Returns a set with the descriptions of the beans this provider depends on.Methods in net.sf.jguiraffe.di with parameters of type Dependency Modifier and Type Method Description ObjectDependencyProvider. getDependentBean(Dependency dependency)Returns the dependency bean for the specified dependency.booleanDependencyProvider. isBeanAvailable(Dependency dependency)Checks whether the bean specified by the givenDependencyis currently available. -
Uses of Dependency in net.sf.jguiraffe.di.impl
Classes in net.sf.jguiraffe.di.impl that implement Dependency Modifier and Type Class Description classClassDependencyAn implementation of theDependencyinterface that allows to define a dependency based on a bean class.classNameDependencyAn implementation of theDependencyinterface that allows to define a dependency based on the name of a bean.Methods in net.sf.jguiraffe.di.impl that return Dependency Modifier and Type Method Description DependencyChainedInvocation. getChainDependency(String name)Returns a specialDependencyfor a local variable that is used during the execution of aChainedInvocation.DependencyMethodInvocation. getTargetDependency()Returns the targetDependencyof thisMethodInvocation.Methods in net.sf.jguiraffe.di.impl that return types with arguments of type Dependency Modifier and Type Method Description List<Dependency>ChainedInvocation. getParameterDependencies()Returns a list of the dependencies required for this invocation.List<Dependency>HelperInvocations. getParameterDependencies()Returns the dependencies for this invocation.List<Dependency>Invocation. getParameterDependencies()Returns theDependencyobjects defining the current parameter values.List<Dependency>Invokable. getParameterDependencies()Returns a list with all dependencies required for this invocation.List<Dependency>MethodInvocation. getParameterDependencies()Returns theDependencyobjects defining the current parameter values.List<Dependency>NullInvocation. getParameterDependencies()Deprecated.Returns the dependencies of thisInvokable.Methods in net.sf.jguiraffe.di.impl with parameters of type Dependency Modifier and Type Method Description protected ObjectDefaultBeanContext. getBean(Dependency dependency, BeanStore store)Obtains the bean from theBeanProviderspecified by the givenDependency.ObjectRestrictedDependencyProvider. getDependentBean(Dependency dependency)Returns a dependent bean.booleanRestrictedDependencyProvider. isBeanAvailable(Dependency dependency)Checks whether a bean is available.Constructors in net.sf.jguiraffe.di.impl with parameters of type Dependency Constructor Description ConstructorInvocation(ClassDescription targetClass, ClassDescription[] paramTypes, Dependency... paramValues)Creates a new instance ofConstructorInvocationand initializes it.Invocation(ClassDescription targetClass, ClassDescription[] paramTypes, Dependency... paramValues)Creates a new instance ofInvocationand initializes it with information about the call parameters.MethodInvocation(String methodName, ClassDescription[] paramTypes, Dependency... paramValues)Creates a new instance ofMethodInvocationfor non-static method invocations.MethodInvocation(ClassDescription targetClass, String methodName, boolean isStatic, ClassDescription[] paramTypes, Dependency... paramValues)Creates a new instance ofMethodInvocationand initializes most of the properties.MethodInvocation(ClassDescription targetClass, String methodName, ClassDescription[] paramTypes, Dependency... paramValues)Creates a new instance ofMethodInvocationand 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 ofMethodInvocationand fully initializes it.SetPropertyInvocation(String propName, Dependency propValue)Creates a new instance ofSetPropertyInvocationand initializes it. -
Uses of Dependency in net.sf.jguiraffe.di.impl.providers
Classes in net.sf.jguiraffe.di.impl.providers that implement Dependency Modifier and Type Class Description classConstantBeanProviderA concrete implementation of theBeanProviderinterface that will always return the same bean instance.Methods in net.sf.jguiraffe.di.impl.providers that return Dependency Modifier and Type Method Description DependencyMethodInvocationBeanProvider. getTargetDependency()Returns the dependency to the target bean.Methods in net.sf.jguiraffe.di.impl.providers that return types with arguments of type Dependency Modifier and Type Method Description Set<Dependency>CollectionBeanProvider. getDependencies()Returns a set with the dependencies of this bean provider.Set<Dependency>ConstructorBeanProvider. getDependencies()Returns the dependencies of this bean provider.Set<Dependency>LifeCycleBeanProvider. getDependencies()Returns the dependencies of this bean provider.Set<Dependency>MapBeanProvider. getDependencies()Returns the dependencies of this bean provider.Set<Dependency>MethodInvocationBeanProvider. getDependencies()Returns the dependencies of this bean provider.Set<Dependency>SimpleBeanProvider. getDependencies()Returns the dependencies for this bean provider.Set<Dependency>SingletonBeanProvider. getDependencies()Returns the dependencies of this bean provider.Collection<Dependency>CollectionBeanProvider. getElementDependencies()Returns a collection with the dependencies of the collection elements.Collection<Dependency>MapBeanProvider. getKeyDependencies()Returns the dependencies for the keys of the map.Collection<Dependency>MapBeanProvider. getValueDependencies()Returns the dependencies for the values of the map.Constructors in net.sf.jguiraffe.di.impl.providers with parameters of type Dependency Constructor Description MethodInvocationBeanProvider(Dependency targetBean, MethodInvocation methodInv)Creates a new instance ofMethodInvocationBeanProviderand initializes it with the dependency to the target object (on which the method is to be invoked) and the description of the method invocation.MethodInvocationBeanProvider(Dependency targetBean, MethodInvocation methodInv, ClassDescription beanClsDsc)Creates a new instance ofMethodInvocationBeanProviderand 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.Constructor parameters in net.sf.jguiraffe.di.impl.providers with type arguments of type Dependency Constructor Description CollectionBeanProvider(Collection<Dependency> deps)Creates a new instance ofCollectionBeanProviderand initializes it with a collection with the dependencies of the elements.ListBeanProvider(Collection<Dependency> deps)Creates a new instance ofListBeanProviderand initializes it with the given dependencies for the list elements.MapBeanProvider(Collection<Dependency> keyDeps, Collection<Dependency> valDeps, boolean ordered)Creates a new instance ofMapBeanProviderand initializes it.PropertiesBeanProvider(Collection<Dependency> keyDeps, Collection<Dependency> valDeps)Creates a new instance ofPropertiesBeanProviderand initializes it with the dependencies for keys and values.SetBeanProvider(Collection<Dependency> deps, boolean ordered)Creates a new instance ofSetBeanProviderand initializes it with the dependencies of its elements and the ordered flag. -
Uses of Dependency in net.sf.jguiraffe.gui.builder.di.tags
Methods in net.sf.jguiraffe.gui.builder.di.tags that return Dependency Modifier and Type Method Description protected DependencyDependencyTag. createDependency()Creates theDependencybased on the values of the attributes.protected DependencyDependencyTag. createValueDependency()Creates the dependency when a direct value is set.protected DependencyElementTag. createValueDependency()Creates the dependency when a constant value is specified for this tag.protected DependencyEntryTag. createValueDependency()Creates the dependency if a value is defined for this tag.protected DependencyDependencyTag. getDependency()Returns theDependencydefined by this tag.DependencyEntryTag. getKeyDependency()Returns the dependency for the key of the map entry.protected Dependency[]InvocationTag. getParameterDependencies()Returns an array with the dependencies of the this invocation's parameters.DependencyParameterTag. getParameterDependency()Returns the dependency for this parameter.DependencyMethodInvocationTag. getTargetDependency()Returns the target dependency of this method invocation.Methods in net.sf.jguiraffe.gui.builder.di.tags that return types with arguments of type Dependency Modifier and Type Method Description Collection<Dependency>CollectionTag. getElementDependencies()Returns a collection with the dependencies for the elements of the collection created by this tag.protected Collection<Dependency>MapTag. getKeyDependencies()Returns the collection with the key dependencies.protected Collection<Dependency>MapTag. getValueDependencies()Returns the collection with the value dependencies.Methods in net.sf.jguiraffe.gui.builder.di.tags with parameters of type Dependency Modifier and Type Method Description voidCollectionTag. addElement(Dependency dep)Adds a new element to the collection managed by this tag.voidMapTag. addEntry(Dependency depKey, Dependency depValue)Adds a new entry to this map.protected voidDependencyTag. setDependency(Dependency dep)Sets the internal dependency.voidEntryTag. setKeyDependency(Dependency keyDependency)Sets the dependency for the key of the map entry.voidMethodInvocationTag. setTargetDependency(Dependency targetDependency)Sets the target dependency of this method invocation.
-