Class TransletInterpreter

  • All Implemented Interfaces:
    com.aspectran.core.component.bean.aware.ActivityContextAware, com.aspectran.core.component.bean.aware.Aware

    @Component(namespace="/terminal")
    @Bean("transletInterpreter")
    public class TransletInterpreter
    extends java.lang.Object
    implements com.aspectran.core.component.bean.aware.ActivityContextAware
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute​(com.aspectran.core.activity.Translet translet)  
      void query​(com.aspectran.core.activity.Translet translet)  
      void setActivityContext​(com.aspectran.core.context.ActivityContext context)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TransletInterpreter

        public TransletInterpreter()
    • Method Detail

      • setActivityContext

        public void setActivityContext​(com.aspectran.core.context.ActivityContext context)
        Specified by:
        setActivityContext in interface com.aspectran.core.component.bean.aware.ActivityContextAware
      • query

        @RequestToGet("/query/@{_translet_}")
        @Transform(type=TEXT,
                   contentType="application/json")
        public void query​(com.aspectran.core.activity.Translet translet)
                   throws java.io.IOException,
                          java.lang.reflect.InvocationTargetException
        Throws:
        java.io.IOException
        java.lang.reflect.InvocationTargetException
      • execute

        @RequestToPost("/exec/@{_translet_}")
        public void execute​(com.aspectran.core.activity.Translet translet)