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 Type
    Method
    Description
    org.springframework.core.annotation.MergedAnnotations
    Return any annotations declared alongside the container.
    Return the container image name or null 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 or null if 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