1 package org.catacomb.interlish.service; 2 3 import org.catacomb.act.ScriptStubs; 4 5 6 public interface ScriptSource { 7 8 public static final int TYPE_STATE = 1; 9 public static final int TYPE_STRUCTURE = 2; 10 public static final int SIGNAL_TYPE = 3; 11 12 public static final int MODEL_CONTROL = 10; 13 14 public ScriptStubs getStubs(Object host, int role); 15 16 public String getScriptInfo(Object host, int role); 17 18 public void writeScripts(Object obj); 19 20 }