@Internal public abstract class AbstractBeanConfiguration extends Object implements BeanConfiguration
BeanConfiguration method. Not typically used directly from user code,
instead an implementation will perform analysis on package-info files generate a configuration definition for a
given package.EMPTY| Modifier | Constructor and Description |
|---|---|
protected |
AbstractBeanConfiguration(String thePackage) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
Package |
getPackage() |
String |
getVersion()
The version of this configuration.
|
boolean |
isEnabled(BeanContext context)
Return whether this component is enabled for the given context.
|
boolean |
isWithin(BeanDefinitionReference beanDefinitionReference)
Check whether the specified bean definition class is within this bean configuration.
|
boolean |
isWithin(String className)
Check whether the specified class is within this bean configuration.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisWithinfindAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getAnnotationMetadata, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByTypegetAnnotation, getAnnotation, getDeclaredAnnotation, getDeclaredAnnotationisEnabledprotected AbstractBeanConfiguration(String thePackage)
thePackage - The package namepublic Package getPackage()
getPackage in interface BeanConfigurationpublic String getName()
getName in interface BeanConfigurationpublic String getVersion()
BeanConfigurationgetVersion in interface BeanConfigurationpublic boolean isWithin(BeanDefinitionReference beanDefinitionReference)
BeanConfigurationisWithin in interface BeanConfigurationbeanDefinitionReference - The bean definition classpublic boolean isWithin(String className)
BeanConfigurationisWithin in interface BeanConfigurationclassName - The class namepublic boolean isEnabled(BeanContext context)
BeanContextConditionalisEnabled in interface BeanContextConditionalcontext - The context