Class AiSpect

java.lang.Object
com.aispect.engine.se.AiSpect

public class AiSpect extends Object
pure Java SE The initialization and calling entrance of the orchestration engine in the environment.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    AiSpect Constructor class. allowed in pure Java SE Manual assembly in the environment AiClient and configured into the engine.
  • Method Summary

    Modifier and Type
    Method
    Description
    Created for initialization AiSpect of Builder Example.
    <T> T
    proxy(T target, Class<T> interfaceClass)
    Creates a proxy for the given target object, handling the AI annotation.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • builder

      public static AiSpect.Builder builder()
      Created for initialization AiSpect of Builder Example.
      Returns:
      Builder Example
    • proxy

      public <T> T proxy(T target, Class<T> interfaceClass) throws AiScanException
      Creates a proxy for the given target object, handling the AI annotation.
      Type Parameters:
      T - target object type
      Parameters:
      target - The proxy target object instance
      interfaceClass - Interface class that requires proxy
      Returns:
      Enhanced proxy object
      Throws:
      AiScanException - If a configuration error is found during the component scanning phase