Interface TestcontainerBeanDefinition
- All Superinterfaces:
org.springframework.core.AttributeAccessor,org.springframework.beans.factory.config.BeanDefinition,org.springframework.beans.BeanMetadataElement
public interface TestcontainerBeanDefinition
extends org.springframework.beans.factory.config.BeanDefinition
Extended
BeanDefinition interface used
to register testcontainer beans.- Since:
- 3.1.0
-
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 TypeMethodDescriptionorg.springframework.core.annotation.MergedAnnotationsReturn any annotations declared alongside the container.Return the container image name ornullif the image name is not yet known.Methods inherited from interface org.springframework.core.AttributeAccessor
attributeNames, computeAttribute, getAttribute, hasAttribute, removeAttribute, setAttributeMethods 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, isFallback, isLazyInit, isPrimary, isPrototype, isSingleton, setAutowireCandidate, setBeanClassName, setDependsOn, setDescription, setDestroyMethodName, setFactoryBeanName, setFactoryMethodName, setFallback, setInitMethodName, setLazyInit, setParentName, setPrimary, setRole, setScopeMethods inherited from interface org.springframework.beans.BeanMetadataElement
getSource
-
Method Details
-
getContainerImageName
String getContainerImageName()Return the container image name ornullif the image name is not yet known.- Returns:
- the container image name
-
getAnnotations
org.springframework.core.annotation.MergedAnnotations getAnnotations()Return any annotations declared alongside the container.- Returns:
- annotations declared with the container
-