ROLE_APPLICATION

ROLE_SUPPORT

static final int ROLE_SUPPORT

Role hint indicating that a BeanDefinition is a supporting
part of some larger configuration, typically an outer
ComponentDefinition.
SUPPORT beans are considered important enough to be aware
of when looking more closely at a particular
ComponentDefinition,
but not when looking at the overall configuration of an application.

ROLE_INFRASTRUCTURE

static final int ROLE_INFRASTRUCTURE

Role hint indicating that a BeanDefinition is providing an
entirely background role and has no relevance to the end-user. This hint is
used when registering beans that are completely part of the internal workings
of a ComponentDefinition.

getBeanClassName

Note that this does not have to be the actual class name used at runtime, in
case of a child definition overriding/inheriting the class name from its parent.
Hence, do not consider this to be the definitive bean type at runtime but
rather only use it for parsing purposes at the individual bean definition level.

getFactoryMethodName

setFactoryMethodName

Specify a factory method, if any. This method will be invoked with
constructor arguments, or with no arguments if none are specified.
The method will be invoked on the specified factory bean, if any,
or otherwise as a static method on the local bean class.

Parameters:

factoryMethodName - static factory method name,
or null if normal constructor creation should be used