Uses of Interface
net.sf.jguiraffe.di.BeanContext
-
Packages that use BeanContext 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 maindi
package.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.components This package defines the part of the builder that deals with components.net.sf.jguiraffe.gui.builder.impl Here default implementations of theBuilder
interfaces can be found. -
-
Uses of BeanContext in net.sf.jguiraffe.di
Methods in net.sf.jguiraffe.di that return BeanContext Modifier and Type Method Description BeanContext
BeanCreationEvent. getBeanContext()
Returns theBeanContext
that caused this event.Methods in net.sf.jguiraffe.di with parameters of type BeanContext Modifier and Type Method Description void
BeanContextClient. setBeanContext(BeanContext context)
Passes the currentBeanContext
to this object.void
DependencyProvider. setCreationBeanContext(BeanContext context)
Sets theBeanContext
that is responsible for aBeanCreationEvent
notification.Constructors in net.sf.jguiraffe.di with parameters of type BeanContext Constructor Description BeanCreationEvent(BeanContext source, BeanProvider provider, DependencyProvider depProvider, Object newBean)
Creates a new instance ofBeanCreationEvent
and initializes it. -
Uses of BeanContext in net.sf.jguiraffe.di.impl
Classes in net.sf.jguiraffe.di.impl that implement BeanContext Modifier and Type Class Description class
BeanContextWrapper
A simple wrapper implementation of theBeanContext
interface.class
DefaultBeanContext
A default implementation of theBeanContext
interface.Methods in net.sf.jguiraffe.di.impl that return BeanContext Modifier and Type Method Description BeanContext
BeanContextWrapper. getWrappedContext()
Returns the wrapped bean context.Methods in net.sf.jguiraffe.di.impl with parameters of type BeanContext Modifier and Type Method Description void
RestrictedDependencyProvider. setCreationBeanContext(BeanContext context)
Sets the context that is responsible for a bean creation event.Constructors in net.sf.jguiraffe.di.impl with parameters of type BeanContext Constructor Description BeanContextWrapper(BeanContext wrappedContext)
Creates a new instance ofBeanContextWrapper
and sets the wrapped context.BeanContextWrapper(BeanContext wrappedContext, BeanStore defaultStore)
Creates a new instance ofBeanContextWrapper
and sets the wrapped context and the default bean store. -
Uses of BeanContext in net.sf.jguiraffe.gui.app
Methods in net.sf.jguiraffe.gui.app that return BeanContext Modifier and Type Method Description protected BeanContext
CommandActionTask. fetchBeanContext()
Returns theBeanContext
to use and checks whether it is defined.BeanContext
ApplicationContext. getBeanContext()
Returns the application globalBeanContext
.BeanContext
ApplicationContextImpl. getBeanContext()
Returns the global bean context.BeanContext
CommandActionTask. getBeanContext()
Returns the currentBeanContext
.BeanContext
ApplicationBuilderData. getBuilderContext()
Returns the bean context used by the builder.BeanContext
Application. getMainWindowBeanContext()
Returns theBeanContext
that was created when processing the builder script for the main window.BeanContext
ApplicationBuilderData. getParentContext()
Returns the parent bean context.protected BeanContext
Application. initBeans(org.apache.commons.configuration.Configuration config)
Initializes the application's bean definitions.Methods in net.sf.jguiraffe.gui.app with parameters of type BeanContext Modifier and Type Method Description protected Collection<Locator>
Application. findBeanDefinitions(org.apache.commons.configuration.Configuration config, BeanContext beanCtx)
Returns a collection with additional bean definition files to process.static Application
Application. getInstance(BeanContext context)
Obtains the centralApplication
instance from the specifiedBeanContext
.void
ApplicationContextImpl. setBeanContext(BeanContext beanContext)
Sets the global bean context.void
CommandActionTask. setBeanContext(BeanContext context)
Sets the currentBeanContext
.void
ApplicationBuilderData. setBuilderContext(BeanContext ctx)
Sets the bean context used by the builder.void
ApplicationBuilderData. setParentContext(BeanContext ctx)
Sets the parent bean context. -
Uses of BeanContext in net.sf.jguiraffe.gui.builder
Methods in net.sf.jguiraffe.gui.builder that return BeanContext Modifier and Type Method Description BeanContext
BuilderData. getBuilderContext()
Returns the bean context that is used by the builder and the created components.BeanContext
BuilderData. getParentContext()
Returns a reference to the parent bean context.Methods in net.sf.jguiraffe.gui.builder with parameters of type BeanContext Modifier and Type Method Description void
BuilderData. setBuilderContext(BeanContext ctx)
Sets the bean context used during the builder operation. -
Uses of BeanContext in net.sf.jguiraffe.gui.builder.components
Methods in net.sf.jguiraffe.gui.builder.components that return BeanContext Modifier and Type Method Description BeanContext
ComponentBuilderData. getBeanContext()
Returns theBeanContext
managed by this instance.Methods in net.sf.jguiraffe.gui.builder.components with parameters of type BeanContext Modifier and Type Method Description static ComponentGroup
ComponentGroup. fromBeanContext(BeanContext context, String groupName)
Obtains theComponentGroup
with the specified name from the givenBeanContext
.static boolean
ComponentGroup. groupExistsInBeanContext(BeanContext context, String groupName)
Tests whether a group with the specified name exists in the givenBeanContext
.void
ComponentBuilderData. setBeanContext(BeanContext ctx)
Allows to set a specificBeanContext
. -
Uses of BeanContext in net.sf.jguiraffe.gui.builder.impl
Methods in net.sf.jguiraffe.gui.builder.impl with parameters of type BeanContext Modifier and Type Method Description protected void
JellyBuilder. registerBeanCreationListeners(BeanContext context, BuilderData data)
Registers theBeanCreationListener
objects defined by theBuilderData
object at the specifiedBeanContext
.
-