类 TypedStringValue

    • 方法详细资料

      • hasTargetType

        public boolean hasTargetType()
        Return whether this typed String value carries a target type .
      • resolveTargetType

        public Class<?> resolveTargetType​(ClassLoader classLoader)
                                   throws ClassNotFoundException
        Determine the type to convert to, resolving it from a specified class name if necessary. Will also reload a specified Class from its name when called with the target type already resolved.
        参数:
        classLoader - the ClassLoader to use for resolving a (potential) class name
        返回:
        the resolved type to convert to
        抛出:
        ClassNotFoundException - if the type cannot be resolved
      • setSource

        public void setSource​(Object source)
        Set the configuration source Object for this metadata element.

        The exact type of the object will depend on the configuration mechanism used.

      • setSpecifiedTypeName

        public void setSpecifiedTypeName​(String specifiedTypeName)
        Set the type name as actually specified for this particular value, if any.
      • getSpecifiedTypeName

        public String getSpecifiedTypeName()
        Return the type name as actually specified for this particular value, if any.
      • setDynamic

        public void setDynamic()
        Mark this value as dynamic, i.e. as containing an expression and hence not being subject to caching.
      • isDynamic

        public boolean isDynamic()
        Return whether this value has been marked as dynamic.