Interface ValueResolver

All Known Implementing Classes:
BindValueResolver

public interface ValueResolver
ValueResolver will try to convert a ComponentAgent to the object of specified class. If failed, it will throw run-time exception. A ComponentAgent can be converted into multiple types of objects, e.g. OperationAgent or native ZK component class. We design the value resolver mechanism to keep extension for potential conversion in the future.
Author:
dennis
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> T
    resolve(Agent agent, Class<T> clazz)
    resolve the component agent to a object by registered value resolver
  • Method Details

    • resolve

      <T> T resolve(Agent agent, Class<T> clazz)
      resolve the component agent to a object by registered value resolver