Package com.bobocode.bring.core.domain
Class BeanDefinition
java.lang.Object
com.bobocode.bring.core.domain.BeanDefinition
Represents the definition of a bean within an application context.
- Since:
- 1.0
- Author:
- Blyzhnytsia Team
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Checks if the bean is of type Configuration.boolean
Checks if the bean is a configuration bean.boolean
Checks if the bean's scope is set to Prototype.boolean
isProxy()
Checks if the bean is configured for proxying.
-
Field Details
-
beanClass
-
beanType
-
scope
-
proxyMode
-
method
-
factoryBeanName
-
isPrimary
private boolean isPrimary
-
-
Constructor Details
-
BeanDefinition
public BeanDefinition()
-
-
Method Details
-
isConfiguration
public boolean isConfiguration()Checks if the bean is of type Configuration.- Returns:
- True if the bean is of type Configuration, otherwise false
-
isConfigurationBean
public boolean isConfigurationBean()Checks if the bean is a configuration bean.- Returns:
- True if the bean is a configuration bean, otherwise false
-
isPrototype
public boolean isPrototype()Checks if the bean's scope is set to Prototype.- Returns:
- True if the bean's scope is Prototype, otherwise false
-
isProxy
public boolean isProxy()Checks if the bean is configured for proxying.- Returns:
- True if the bean is configured for proxying, otherwise false
-