Administration Console Online Help

Previous Next Open TOC in new window
Content starts here

Spring Beans: Configuration

Column Display     Configuration Options     Related Tasks     Related Topics

This page describes the general configuration of this Spring bean. The Dependency Values table at the bottom of the page display the dependency values to be injected into this bean.

A Spring bean is a Java object that is instantiated, assembled, and managed by a Spring container, which is a Spring application context. A Spring application contains one or more Spring beans.

Most of the configuration attributes of the Spring bean are static and defined in the configuration file of the Spring application. You can only view the configuration attributes; you cannot dynamically change them at runtime using the Administration console.

NOTE: You must start the application that contains the Spring beans to be able to view their configuration.

Configuration Options

Name Description
Bean ID

Name of the Spring bean.

MBean Attribute:
SpringBeanDefinitionRuntimeMBean.BeanId

Application Context

Display name of the application context that this Spring bean is defined in. The application context is the Spring Inversion of Control (IoC) container.

MBean Attribute:
SpringBeanDefinitionRuntimeMBean.ApplicationContextDisplayName

Bean Class Name

Class name of this Spring bean, as defined in the application context of the Spring application.

MBean Attribute:
SpringBeanDefinitionRuntimeMBean.BeanClassname

Resource

The name of the resource that this bean definition comes from. May be empty if the bean is implicitly registered.

MBean Attribute:
SpringBeanDefinitionRuntimeMBean.ResourceDescription

Role

Role hint of this bean definition. The role is one of ROLE_APPLICATION, ROLE_SUPPORT, or ROLE_INFRASTRUCTURE.

MBean Attribute:
SpringBeanDefinitionRuntimeMBean.Role

Scope

Scope of this bean. The scope is "singleton", "prototype", or other web specific or user defined values.

MBean Attribute:
SpringBeanDefinitionRuntimeMBean.Scope

Parent Bean ID

Name (Id) of parent bean definition.

MBean Attribute:
SpringBeanDefinitionRuntimeMBean.ParentId

Singleton

Whether this is a singleton Spring bean. There is just one instance of a singleton bean per bean definition per application context.

MBean Attribute:
SpringBeanDefinitionRuntimeMBean.Singleton

Abstract

Whether this Spring bean is "abstract". An abstract bean definition can be used as a base for other definitions but cannot be instantiated.

MBean Attribute:
SpringBeanDefinitionRuntimeMBean.Abstract

Lazy Init

Whether this bean should be lazily initialized. A lazy initialized bean is not created until it is needed.

MBean Attribute:
SpringBeanDefinitionRuntimeMBean.LazyInit

Autowire Candidate

Whether this bean is a candidate to be autowired to other beans.

MBean Attribute:
SpringBeanDefinitionRuntimeMBean.AutowireCandidate

Aliases

Get the aliases for this bean definition. Aliases are other names this bean definition is known by.

MBean Attribute:
SpringBeanDefinitionRuntimeMBean.Aliases

Dependencies

Get the names (ids) of other bean definitions that this bean definition depends on.

MBean Attribute:
SpringBeanDefinitionRuntimeMBean.Dependencies

Column Display

Name Description
Injection Type

The types of dependency value to be injected into this bean: Constructor or Property.

MBean Attribute:
SpringBeanDefinitionRuntimeMBean.DependencyValues

Name, Index, or Type

The property name, constructor argument index, or constructor argument type, depending on the injection type and value.

MBean Attribute:
SpringBeanDefinitionRuntimeMBean.DependencyValues

Value

The string value of the injected property.

MBean Attribute:
SpringBeanDefinitionRuntimeMBean.DependencyValues

Related Tasks

Related Topics


Back to Top