Interface TestcontainerBeanDefinition
- All Superinterfaces:
AttributeAccessor
,BeanDefinition
,BeanMetadataElement
Extended
BeanDefinition
interface used
to register testcontainer beans.- Since:
- 3.1.0
- Author:
- Phillip Webb
-
Field Summary
Fields inherited from interface org.springframework.beans.factory.config.BeanDefinition
ROLE_APPLICATION, ROLE_INFRASTRUCTURE, ROLE_SUPPORT, SCOPE_PROTOTYPE, SCOPE_SINGLETON
-
Method Summary
Modifier and TypeMethodDescriptionReturn any annotations declared alongside the container.Return the container image name ornull
if the image name is not yet known.Methods inherited from interface org.springframework.core.AttributeAccessor
attributeNames, computeAttribute, getAttribute, hasAttribute, removeAttribute, setAttribute
Methods inherited from interface org.springframework.beans.factory.config.BeanDefinition
getBeanClassName, getConstructorArgumentValues, getDependsOn, getDescription, getDestroyMethodName, getFactoryBeanName, getFactoryMethodName, getInitMethodName, getOriginatingBeanDefinition, getParentName, getPropertyValues, getResolvableType, getResourceDescription, getRole, getScope, hasConstructorArgumentValues, hasPropertyValues, isAbstract, isAutowireCandidate, isLazyInit, isPrimary, isPrototype, isSingleton, setAutowireCandidate, setBeanClassName, setDependsOn, setDescription, setDestroyMethodName, setFactoryBeanName, setFactoryMethodName, setInitMethodName, setLazyInit, setParentName, setPrimary, setRole, setScope
Methods inherited from interface org.springframework.beans.BeanMetadataElement
getSource
-
Method Details
-
getContainerImageName
String getContainerImageName()Return the container image name ornull
if the image name is not yet known.- Returns:
- the container image name
-
getAnnotations
MergedAnnotations getAnnotations()Return any annotations declared alongside the container.- Returns:
- annotations declared with the container
-