Class SpringBean
A <bean> element in a Spring XML file.
Import path
import semmle.code.java.frameworks.spring.SpringBeanDirect supertypes
Known direct subtypes
Predicates
| getAConstructorArg | Gets a |
| getADeclaredConstructorArg | Gets a |
| getADeclaredLookupMethod | Gets a |
| getADeclaredProperty | Gets a |
| getADeclaredReplacedMethod | Gets a |
| getALookupMethod | Gets a |
| getAProperty | Any |
| getAReplacedMethod | Gets a |
| getAnInheritedConstructorArg | Gets a |
| getAnInheritedLookupMethod | Gets a |
| getAnInheritedProperty | Any |
| getAnInheritedReplacedMethod | Gets a |
| getAutowire | Gets the |
| getAutowireCandidate | Gets the value for the |
| getAutowireRaw | Gets the raw value of the |
| getBeanId | Gets the value of the |
| getBeanIdentifier | Gets the bean |
| getBeanName | Gets the value of the |
| getBeanParent | Gets the |
| getBeanParentName | Gets the name of the bean’s parent bean. |
| getClass | Gets the Java class referred to by the bean’s class name. |
| getClassName | Gets the name of the bean’s class, taking parent inheritance into account. |
| getClassNameRaw | Gets the value of the bean’s |
| getDependencyCheck | Gets the |
| getDependencyCheckRaw | Gets the value of the |
| getDependsOnString | Gets the value of the |
| getDestroyMethod | Gets the Java method that corresponds to the bean’s |
| getDestroyMethodName | Gets the |
| getDestroyMethodNameRaw | Gets the value of the bean’s |
| getFactoryBean | Gets the |
| getFactoryBeanName | Gets the name of the bean’s |
| getFactoryBeanNameRaw | Gets the value of the |
| getFactoryMethod | Gets the factory method that the Java method corresponds to. |
| getFactoryMethodName | Gets the name of the bean’s |
| getFactoryMethodNameRaw | Gets the value of the |
| getInitMethod | Gets the Java method that the |
| getInitMethodName | Gets the |
| getInitMethodNameRaw | Gets the value of the bean’s |
| getLazyInitRaw | Gets the value of the bean’s |
| getQualifier | Gets the qualifier for this bean. |
| getQualifierValue | Gets the qualifier value for this |
| getScope | Gets the scope of the bean. |
| hasBeanAncestor | |
| hasBeanId | Holds if this element has an |
| hasBeanIdentifier | Holds if the bean has a |
| hasBeanName | Holds if the bean has a |
| hasBeanParent | Holds if this bean has a parent bean. |
| hasBeanParentName | Holds if the bean has a |
| hasClassName | Holds if the bean has a class name, taking parent inheritance into account. |
| hasClassNameRaw | Holds if the bean has a |
| hasDestroyMethodName | Holds if the bean has a |
| hasDestroyMethodNameRaw | Holds if the bean has a |
| hasFactoryBeanNameRaw | Holds if the bean has a |
| hasFactoryMethodNameRaw | Holds if the bean as a |
| hasInitMethodName | Holds if the bean has an |
| hasInitMethodNameRaw | Holds if the bean has an |
| isAbstract | Holds if the bean is abstract. |
| isLazyInit | Holds if the bean is to be lazily initialized. Takes |
| isPrimary | Holds if the bean has been declared to be a |
| isSimilar | Holds if this bean element has the same bean identifier as |
| isTopLevel | Holds if this element is a top-level bean definition. |
| toString | Gets a printable representation of this XML element. |
Inherited predicates
| allCharactersString | Gets the result of appending all the character sequences of this XML parent from left to right, separated by a space. | from XmlParentImpl |
| getACharactersSet | Gets a character sequence that is a child of this XML parent. | from XmlParentImpl |
| getAChild | Gets a child element of this XML parent. | from XmlParentImpl |
| getAChild | Gets a child element of this XML parent with the given | from XmlParentImpl |
| getAComment | Gets a comment that is a child of this XML parent. | from XmlParentImpl |
| getASpringChild | Gets a child of this Spring XML element. | from SpringXmlElement |
| getAnAttribute | Gets an XML attribute of this XML element. | from XmlElementImpl |
| getAttribute | Gets the attribute with the specified | from XmlElementImpl |
| getAttributeValue | Gets the value of the attribute with the specified | from XmlElementImpl |
| getAttributeValueWithDefault | Gets the value of the attribute with name | from SpringXmlElement |
| getChild | Gets the child element at a specified index of this XML parent. | from XmlParentImpl |
| getContentString | from SpringXmlElement | |
| getDepth | Gets the depth of this element within the XML file tree structure. | from XmlElementImpl |
| getElementPositionIndex | Gets the index of this XML element among its parent’s children. | from XmlElementImpl |
| getEnclosingBean | Gets the closest enclosing | from SpringXmlElement |
| getFile | Gets the XML file in which this XML element occurs. | from XmlElementImpl |
| getIndex | Gets the index of this XML element among its parent’s children. | from XmlElementImpl |
| getLocation | Gets the location of this element. | from XmlLocatableImpl |
| getName | Gets the name of this XML element. | from XmlElementImpl |
| getNamespace | Gets the namespace of this XML element, if any. | from XmlElementImpl |
| getNumberOfCharacterSets | Gets the number of places in the body of this XML parent where text occurs. | from XmlParentImpl |
| getNumberOfChildren | Gets the number of child XML elements of this XML parent. | from XmlParentImpl |
| getParent | Gets the parent of this XML element. | from XmlElementImpl |
| getSpringBeanFile | Gets the bean file of this XML element. | from SpringXmlElement |
| getTextValue | Gets the text value contained in this XML parent. | from XmlParentImpl |
| hasAttribute | Holds if this XML element has an attribute with the specified | from XmlElementImpl |
| hasLocationInfo | Holds if this element is at the specified location. The location spans column | from XmlLocatableImpl |
| hasName | Holds if this XML element has the given | from XmlElementImpl |
| hasNamespace | Holds if this XML element has a namespace. | from XmlElementImpl |