接口 ToolInfo

所有已知实现类:
DataInfo, ServletToolInfo, ViewToolInfo

@Deprecated public interface ToolInfo
已过时。
Interface to simplify and abstract tool handling. Implementations of this class should hold both the context key for the tool and sufficient information to return an instance of the tool.
版本:
$Id: ToolInfo.java 534692 2007-05-03 02:18:39Z nbubna $
作者:
Nathan Bubna
  • 方法详细资料

    • getKey

      String getKey()
      已过时。
      返回:
      the context key for the tool
    • getClassname

      String getClassname()
      已过时。
      返回:
      the fully qualified classname for the tool
    • getInstance

      Object getInstance(Object initData)
      已过时。
      Returns an instance of the tool. Instances returned may be new on each call, pooled, or the be same instance every time depending on the implementation. The object passed to this method may be used to initialize or create the tool that is returned, or it may be null if no such data is required.
      参数:
      initData - an object that may be used to initialize the instance
      返回:
      an instance of the tool