Uses of Interface
net.sf.jguiraffe.di.BeanProvider
-
Packages that use BeanProvider 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 The builder.di package contains fundamental classes for defining beans and services in a Jelly script.net.sf.jguiraffe.gui.builder.di.tags In this package tag handler classes for defining beans in a Jelly script can be found.net.sf.jguiraffe.gui.builder.impl Here default implementations of theBuilderinterfaces can be found. -
-
Uses of BeanProvider in net.sf.jguiraffe.di
Methods in net.sf.jguiraffe.di that return BeanProvider Modifier and Type Method Description BeanProviderBeanCreationEvent. getBeanProvider()Returns theBeanProviderthat created the new bean.BeanProviderBeanStore. getBeanProvider(String name)Returns theBeanProviderthat is registered under the given name or null if cannot be found.BeanProviderMutableBeanStore. removeBeanProvider(String name)Removes theBeanProviderwith the specified name from this bean store.BeanProviderDependency. resolve(BeanStore store, DependencyProvider depProvider)Resolves this dependency starting from the specifiedBeanStore.Methods in net.sf.jguiraffe.di with parameters of type BeanProvider Modifier and Type Method Description StringMutableBeanStore. addAnonymousBeanProvider(int index, BeanProvider provider)Adds an anonymousBeanProviderto thisBeanStore.voidMutableBeanStore. addBeanProvider(String name, BeanProvider provider)Adds the specifiedBeanProviderto this bean store under the given name.voidDependencyProvider. beanCreated(Object bean, BeanProvider provider)Notifies thisDependencyProviderabout the creation of a bean.StringBeanContext. beanNameFor(BeanProvider beanProvider)Returns the name of the bean that is managed by the specifiedBeanProvider, starting search with the defaultBeanStore.StringBeanContext. beanNameFor(BeanProvider beanProvider, BeanStore store)Returns the name of the bean that is managed by the specifiedBeanProvider, starting search in the specifiedBeanStore.Constructors in net.sf.jguiraffe.di with parameters of type BeanProvider Constructor Description BeanCreationEvent(BeanContext source, BeanProvider provider, DependencyProvider depProvider, Object newBean)Creates a new instance ofBeanCreationEventand initializes it. -
Uses of BeanProvider in net.sf.jguiraffe.di.impl
Methods in net.sf.jguiraffe.di.impl that return BeanProvider Modifier and Type Method Description BeanProviderCombinedBeanStore. getBeanProvider(String name)Returns theBeanProviderwith the given name.BeanProviderDefaultBeanStore. getBeanProvider(String name)Returns theBeanProviderwith the specified name.BeanProviderSimpleBeanStoreImpl. getBeanProvider(String name)Returns aBeanProviderfor the bean with the given name.BeanProviderChainedInvocation. getVariableBean(String name)Returns aBeanProviderfor the local variable with the given name.protected BeanProviderSimpleBeanStoreImpl. providerFor(Object bean)Returns a bean provider for the specified bean.BeanProviderDefaultBeanStore. removeBeanProvider(String name)Removes theBeanProviderwith the specified name from this bean store.BeanProviderClassDependency. resolve(BeanStore store, DependencyProvider depProvider)Resolves this dependency on the specified bean store.BeanProviderNameDependency. resolve(BeanStore store, DependencyProvider depProvider)Resolves the named dependency from the specified bean store.Methods in net.sf.jguiraffe.di.impl with parameters of type BeanProvider Modifier and Type Method Description StringDefaultBeanStore. addAnonymousBeanProvider(int index, BeanProvider provider)Adds an anonymousBeanProvider.voidDefaultBeanStore. addBeanProvider(String name, BeanProvider provider)Adds the specifiedBeanProviderto this bean store under the given name.voidRestrictedDependencyProvider. beanCreated(Object bean, BeanProvider provider)Notifies this dependency provider about a newly created bean.StringBeanContextWrapper. beanNameFor(BeanProvider beanProvider)Returns the name of the givenBeanProviderstarting the search with the default bean store.StringBeanContextWrapper. beanNameFor(BeanProvider beanProvider, BeanStore store)Returns the name of the givenBeanProviderstarting the search with the specified bean store.StringDefaultBeanContext. beanNameFor(BeanProvider beanProvider)Searches for the specifiedBeanProviderin the accessible bean stores (starting with the default bean store) and the returns the name, under which it is registered.StringDefaultBeanContext. beanNameFor(BeanProvider beanProvider, BeanStore store)Searches for the specifiedBeanProviderin the accessible bean stores (starting with the specified bean store) and the returns the name, under which it is registered. -
Uses of BeanProvider in net.sf.jguiraffe.di.impl.providers
Classes in net.sf.jguiraffe.di.impl.providers that implement BeanProvider Modifier and Type Class Description classCollectionBeanProviderAn abstract base class forBeanProviderimplementations that create beans derived from collections.classConstantBeanProviderA concrete implementation of theBeanProviderinterface that will always return the same bean instance.classConstructorBeanProviderA simple bean provider that creates new bean instances by invoking a constructor.classFactoryBeanProviderA specialized life-cycle supportingimplementation for creating new bean instances on each invocation.BeanProviderclassLifeCycleBeanProviderAn abstract base class forBeanProviderimplementations with life-cycle support.classListBeanProviderA specificCollectionBeanProviderimplementation that creates a list bean.classMapBeanProviderA specializedBeanProviderimplementation for creating beans of typejava.util.Map.classMethodInvocationBeanProviderA specializedBeanProviderthat creates beans by invoking a method.classPropertiesBeanProviderA specializedBeanProviderimplementation for creating ajava.util.Propertiesobject.classSetBeanProviderA specializedCollectionBeanProviderimplementation that creates ajava.util.Setbean.classSimpleBeanProviderA base class for simple bean providers.classSingletonBeanProviderA specialized life-cycle supportingBeanProviderimplementation for creating singleton beans.Methods in net.sf.jguiraffe.di.impl.providers that return BeanProvider Modifier and Type Method Description BeanProviderLifeCycleBeanProvider. getBeanCreator()Returns theBeanProviderthat is responsible for creating a new bean instance.BeanProviderConstantBeanProvider. resolve(BeanStore store, DependencyProvider depProvider)Returns theBeanProviderthisDependencyrefers to.Constructors in net.sf.jguiraffe.di.impl.providers with parameters of type BeanProvider Constructor Description FactoryBeanProvider(BeanProvider createProvider)Creates a new instance ofFactoryBeanProviderand initializes it with the bean provider for creating a bean instance.FactoryBeanProvider(BeanProvider createProvider, Invokable initinv)Creates a new instance ofFactoryBeanProviderand initializes it with the bean provider for creating a bean instance and the invocation object for performing initialization.LifeCycleBeanProvider(BeanProvider createProvider)Creates a new instance ofLifeCycleBeanProviderand initializes it with theBeanProviderfor creating the bean instance.LifeCycleBeanProvider(BeanProvider createProvider, Invokable initinv)Creates a new instance ofLifeCycleBeanProviderand initializes it with theBeanProviderfor creating the bean instance and anInvokablefor initializing it.SingletonBeanProvider(BeanProvider createProvider)Creates a new instance ofSingletonBeanProviderand initializes it with the bean provider for creating a bean instance.SingletonBeanProvider(BeanProvider createProvider, Invokable initinv)Creates a new instance ofSingletonBeanProviderand 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 ofSingletonBeanProviderand initializes it with the bean provider for creating a bean instance andInvokableobjects for initializing and releasing the bean managed by this provider. -
Uses of BeanProvider in net.sf.jguiraffe.gui.builder.di
Methods in net.sf.jguiraffe.gui.builder.di with parameters of type BeanProvider Modifier and Type Method Description StringDIBuilderData. addAnonymousBeanProvider(String storeName, BeanProvider bean)Adds an "anonymous"BeanProviderto aBeanStore.voidDIBuilderData. addBeanProvider(String storeName, String beanName, BeanProvider bean)Adds aBeanProviderto aBeanStore. -
Uses of BeanProvider in net.sf.jguiraffe.gui.builder.di.tags
Methods in net.sf.jguiraffe.gui.builder.di.tags that return BeanProvider Modifier and Type Method Description protected abstract BeanProviderAbstractBeanTag. createBeanProvider()Creates the bean provider defined by this tag.protected BeanProviderBeanTag. createBeanProvider()Creates the bean provider defined by this tag.protected BeanProviderContextBeanTag. createBeanProvider()Creates the bean provider defined by this tag.protected BeanProviderListTag. createBeanProvider()Creates the bean provider representing the collection managed by this tag.protected BeanProviderMapTag. createBeanProvider()Creates theBeanProviderproduced by this tag.protected BeanProviderPropertiesTag. createBeanProvider()Creates theBeanProvidermanaged by this tag.protected BeanProviderSetTag. createBeanProvider()Creates the bean provider representing the collection managed by this tag.BeanProviderBeanTag. getBeanCreator()Returns theBeanProviderthat will be used for creating the managed bean.Methods in net.sf.jguiraffe.gui.builder.di.tags with parameters of type BeanProvider Modifier and Type Method Description voidBeanTag. setBeanCreator(BeanProvider beanCreator)Sets theBeanProviderthat will be used for creating the managed bean.protected voidAbstractBeanTag. store(BeanProvider provider)Stores the newly createdBeanProviderin the correct bean store. -
Uses of BeanProvider in net.sf.jguiraffe.gui.builder.impl
Methods in net.sf.jguiraffe.gui.builder.impl that return BeanProvider Modifier and Type Method Description BeanProviderJellyContextBeanStore. getBeanProvider(String name)Returns aBeanProviderfor accessing the bean with the given name.
-