Uses of Interface
net.sf.jguiraffe.di.BeanStore
-
Packages that use BeanStore 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.app In this package the main application class can be found.net.sf.jguiraffe.gui.builder The main package of the builder.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.impl Here default implementations of theBuilderinterfaces can be found. -
-
Uses of BeanStore in net.sf.jguiraffe.di
Subinterfaces of BeanStore in net.sf.jguiraffe.di Modifier and Type Interface Description interfaceMutableBeanStoreDefinition of an interface for aBeanStorethat can be manipulated.Methods in net.sf.jguiraffe.di that return BeanStore Modifier and Type Method Description BeanStoreBeanContext. getDefaultBeanStore()Returns the default bean store.BeanStoreBeanStore. getParent()Returns a reference to the parentBeanStore.Methods in net.sf.jguiraffe.di with parameters of type BeanStore Modifier and Type Method Description Set<Class<?>>BeanContext. beanClasses(BeanStore store)Returns a set with the classes of all beans defined in the givenBeanStore.StringBeanContext. beanNameFor(BeanProvider beanProvider, BeanStore store)Returns the name of the bean that is managed by the specifiedBeanProvider, starting search in the specifiedBeanStore.Set<String>BeanContext. beanNames(BeanStore store)Returns a set with the names of all beans defined in the givenBeanStore.booleanBeanContext. containsBean(Class<?> beanClass, BeanStore store)Checks whether the specifiedBeanStorecontains a bean with the given class.booleanBeanContext. containsBean(String name, BeanStore store)Checks whether the specifiedBeanStorecontains a bean with the given name.<T> TBeanContext. getBean(Class<T> beanCls, BeanStore store)Returns the bean with the specified class from the givenBeanStore.ObjectBeanContext. getBean(String name, BeanStore store)Returns the bean with the specified name from the givenBeanStore.BeanProviderDependency. resolve(BeanStore store, DependencyProvider depProvider)Resolves this dependency starting from the specifiedBeanStore.voidBeanContext. setDefaultBeanStore(BeanStore store)Sets the default bean store.voidMutableBeanStore. setParent(BeanStore p)Sets the parent for this bean store. -
Uses of BeanStore in net.sf.jguiraffe.di.impl
Classes in net.sf.jguiraffe.di.impl that implement BeanStore Modifier and Type Class Description classCombinedBeanStoreA specialized implementation of theBeanStoreinterface that combines multiple physicalBeanStoreobjects to a single logic view.classDefaultBeanStoreA simple yet fully functional default implementation of theBeanStoreinterface.classSimpleBeanStoreImplA helper class that simplifies implementations of theBeanStoreinterface.Methods in net.sf.jguiraffe.di.impl that return BeanStore Modifier and Type Method Description BeanStoreCombinedBeanStore. getChildStore(int idx)Returns the childBeanStorewith the given index.BeanStoreBeanContextWrapper. getDefaultBeanStore()Returns the default bean store.BeanStoreDefaultBeanContext. getDefaultBeanStore()Returns the default bean store.BeanStoreCombinedBeanStore. getParent()Returns the parent store of thisCombinedBeanStore.BeanStoreDefaultBeanStore. getParent()Returns the parent of this bean store or null if this is a top level store.BeanStoreSimpleBeanStoreImpl. getParent()Returns the parent bean store.Methods in net.sf.jguiraffe.di.impl with parameters of type BeanStore Modifier and Type Method Description Set<Class<?>>BeanContextWrapper. beanClasses(BeanStore store)Returns a set of the classes of the beans available in the specified bean store.Set<Class<?>>DefaultBeanContext. beanClasses(BeanStore store)Obtains a list of the classes of the beans defined in the given store and its parents.StringBeanContextWrapper. beanNameFor(BeanProvider beanProvider, BeanStore store)Returns the name of the givenBeanProviderstarting the search with the specified bean store.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.Set<String>BeanContextWrapper. beanNames(BeanStore store)Returns a set with the names of the beans defined in the given bean store.Set<String>DefaultBeanContext. beanNames(BeanStore store)Returns a set with the names of the beans defined in the given bean store (or its parent).booleanBeanContextWrapper. containsBean(Class<?> beanClass, BeanStore store)Checks whether a bean with the given class can be found in the specified bean store.booleanBeanContextWrapper. containsBean(String name, BeanStore store)Checks whether a bean with the given name can be found in the specified bean store.booleanDefaultBeanContext. containsBean(Class<?> beanClass, BeanStore store)Tests whether a bean with the given class can be found in the specified bean store.booleanDefaultBeanContext. containsBean(String name, BeanStore store)Tests whether a bean with the given name can be found in the specified bean store.static ConversionHelperDefaultBeanStore. fetchConversionHelper(BeanStore store, boolean createIfNecessary)A convenience method for retrieving aConversionHelperobject from a hierarchy of bean stores.<T> TBeanContextWrapper. getBean(Class<T> beanCls, BeanStore store)Returns the bean with the given class starting the search with the specified bean store.ObjectBeanContextWrapper. getBean(String name, BeanStore store)Returns the bean with the given name starting the search with the specified bean store.<T> TDefaultBeanContext. getBean(Class<T> beanCls, BeanStore store)Returns the bean with the specified class from the given bean store.ObjectDefaultBeanContext. getBean(String name, BeanStore store)Returns the bean with the specified name from the given bean store.protected ObjectDefaultBeanContext. getBean(Dependency dependency, BeanStore store)Obtains the bean from theBeanProviderspecified by the givenDependency.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.voidBeanContextWrapper. setDefaultBeanStore(BeanStore store)Sets the default bean store.voidDefaultBeanContext. setDefaultBeanStore(BeanStore store)Sets the default bean store.voidDefaultBeanStore. setParent(BeanStore p)Sets the parent for this bean store.voidSimpleBeanStoreImpl. setParent(BeanStore parent)Sets the parent bean store.protected voidDefaultBeanContext. waitForTx(BeanStore root)Waits at the specified bean store until the current transaction finishes.Constructors in net.sf.jguiraffe.di.impl with parameters of type BeanStore Constructor Description BeanContextWrapper(BeanContext wrappedContext, BeanStore defaultStore)Creates a new instance ofBeanContextWrapperand sets the wrapped context and the default bean store.CombinedBeanStore(String storeName, BeanStore... beanStores)Creates a new instance ofCombinedBeanStoreand initializes it with the given name and the child bean stores.CombinedBeanStore(BeanStore... beanStores)Creates a new instance ofCombinedBeanStoreand initializes it with the given child bean stores.DefaultBeanContext(BeanStore defStore)Creates a new instance ofDefaultBeanContextand sets the default bean store.DefaultBeanStore(String name, BeanStore parent)Creates a new instance ofDefaultBeanStoreand sets the name and the reference to the parent.SimpleBeanStoreImpl(String name, BeanStore parent)Creates a new instance ofSimpleBeanStoreImpland sets the name and the reference to the parent. -
Uses of BeanStore in net.sf.jguiraffe.di.impl.providers
Methods in net.sf.jguiraffe.di.impl.providers with parameters of type BeanStore Modifier and Type Method Description BeanProviderConstantBeanProvider. resolve(BeanStore store, DependencyProvider depProvider)Returns theBeanProviderthisDependencyrefers to. -
Uses of BeanStore in net.sf.jguiraffe.gui.app
Methods in net.sf.jguiraffe.gui.app that return BeanStore Modifier and Type Method Description BeanStoreApplicationBuilderData. getRootStore()Returns the root store populated by the builder. -
Uses of BeanStore in net.sf.jguiraffe.gui.builder
Methods in net.sf.jguiraffe.gui.builder that return BeanStore Modifier and Type Method Description BeanStoreBeanBuilderResult. getBeanStore(String name)Returns theBeanStorewith the given name.BeanStoreBuilderData. getRootStore()Returns the root store created during the builder operation. -
Uses of BeanStore in net.sf.jguiraffe.gui.builder.di
Methods in net.sf.jguiraffe.gui.builder.di that return BeanStore Modifier and Type Method Description BeanStoreDIBuilderData. getBeanStore(String name)Returns theBeanStorewith the specified name.BeanStoreDIBuilderData. getRootBeanStore()Returns the root bean store. -
Uses of BeanStore in net.sf.jguiraffe.gui.builder.impl
Classes in net.sf.jguiraffe.gui.builder.impl that implement BeanStore Modifier and Type Class Description classJellyContextBeanStoreA specialized implementation of theBeanStoreinterface that is backed by a Jelly context.Methods in net.sf.jguiraffe.gui.builder.impl that return BeanStore Modifier and Type Method Description BeanStoreJellyContextBeanStore. getParent()Returns the parent bean store.Constructors in net.sf.jguiraffe.gui.builder.impl with parameters of type BeanStore Constructor Description JellyContextBeanStore(org.apache.commons.jelly.JellyContext ctx, BeanStore parentStore)Creates a new instance ofJellyContextBeanStoreand initializes it with the underlying Jelly context and the parent bean store.JellyContextBeanStore(org.apache.commons.jelly.JellyContext ctx, BeanStore parentStore, String storeName)Creates a new instance ofJellyContextBeanStoreand initializes it with the underlying Jelly context, the parent bean store and the name to be used.
-