Package javax.el

Class BeanNameResolver


  • public abstract class BeanNameResolver
    extends Object
    Base implementation that provides a minimal default implementation that is intended to be extended by application developers.
    Since:
    EL 3.0
    • Constructor Detail

      • BeanNameResolver

        public BeanNameResolver()
    • Method Detail

      • isNameResolved

        public boolean isNameResolved​(String beanName)
        Can this resolver resolve the given bean name?
        Parameters:
        beanName - The bean name to resolve
        Returns:
        This default implementation always returns false
      • getBean

        public Object getBean​(String beanName)
        Returns the named bean.
        Parameters:
        beanName - The bean name to return
        Returns:
        This default implementation always returns null
      • isReadOnly

        public boolean isReadOnly​(String beanName)
        Is the named bean read-only?
        Parameters:
        beanName - The name of the bean of interest
        Returns:
        true if the bean is read only, otherwise false
      • canCreateBean

        public boolean canCreateBean​(String beanName)
        Is it permitted to create a bean of the given name?
        Parameters:
        beanName - The name of the bean of interest
        Returns:
        true if the bean may be created, otherwise false