Interface DynamicMicroAgent

All Superinterfaces:
MicroAgent

public interface DynamicMicroAgent extends MicroAgent
A DynamicMicroAgent is a MicroAgent that has its methods invoked through the invokeMethod method instead of through the Java reflection mechanism. Therefore, a DynamicMicroAgent's class does not need to have public methods that correspond to its advertised synchronous methods.
  • Method Details

    • invokeMethod

      Object invokeMethod(MethodInvocation mi) throws MicroAgentException
      This method handles all method invocations for the microagent.
      Parameters:
      mi - The MethodInvocation object identifying the method name and arguments.
      Returns:
      The result of the method invocation.
      Throws:
      MicroAgentException - if a problem occurred during method invocation.