예제 #1
0
  public void exec(Scriptable xdcO, Session ses) {
    this.xdcO = xdcO;
    this.ses = ses;
    om = (Value.Obj) xdcO.get("om", null);

    Object o = om.geto("$name");
    String s = o instanceof String ? (String) o : null;
    isCFG = s != null && s.equals("cfg");
    isROV = s != null && s.equals("rov");

    $$IMPORTS();
    $$OBJECTS();
    Platform$$OBJECTS();
    SunSparc7$$OBJECTS();
    Platform$$CONSTS();
    SunSparc7$$CONSTS();
    Platform$$CREATES();
    SunSparc7$$CREATES();
    Platform$$FUNCTIONS();
    SunSparc7$$FUNCTIONS();
    Platform$$SIZES();
    SunSparc7$$SIZES();
    Platform$$TYPES();
    SunSparc7$$TYPES();
    if (isROV) {
      Platform$$ROV();
      SunSparc7$$ROV();
    } // isROV
    $$SINGLETONS();
    Platform$$SINGLETONS();
    SunSparc7$$SINGLETONS();
    $$INITIALIZATION();
  }
예제 #2
0
  public void exec(Scriptable xdcO, Session ses) {
    this.xdcO = xdcO;
    this.ses = ses;
    om = (Value.Obj) xdcO.get("om", null);

    Object o = om.geto("$name");
    String s = o instanceof String ? (String) o : null;
    isCFG = s != null && s.equals("cfg");
    isROV = s != null && s.equals("rov");

    $$IMPORTS();
    $$OBJECTS();
    Cmdr$$OBJECTS();
    ResourceBundle$$OBJECTS();
    ICmd$$OBJECTS();
    IProductView$$OBJECTS();
    IRtscProductTemplate$$OBJECTS();
    Cmdr$$CONSTS();
    ResourceBundle$$CONSTS();
    ICmd$$CONSTS();
    IProductView$$CONSTS();
    IRtscProductTemplate$$CONSTS();
    Cmdr$$CREATES();
    ResourceBundle$$CREATES();
    ICmd$$CREATES();
    IProductView$$CREATES();
    IRtscProductTemplate$$CREATES();
    Cmdr$$FUNCTIONS();
    ResourceBundle$$FUNCTIONS();
    ICmd$$FUNCTIONS();
    IProductView$$FUNCTIONS();
    IRtscProductTemplate$$FUNCTIONS();
    Cmdr$$SIZES();
    ResourceBundle$$SIZES();
    ICmd$$SIZES();
    IProductView$$SIZES();
    IRtscProductTemplate$$SIZES();
    Cmdr$$TYPES();
    ResourceBundle$$TYPES();
    ICmd$$TYPES();
    IProductView$$TYPES();
    IRtscProductTemplate$$TYPES();
    if (isROV) {
      Cmdr$$ROV();
      ResourceBundle$$ROV();
      ICmd$$ROV();
      IProductView$$ROV();
      IRtscProductTemplate$$ROV();
    } // isROV
    $$SINGLETONS();
    Cmdr$$SINGLETONS();
    ResourceBundle$$SINGLETONS();
    ICmd$$SINGLETONS();
    IProductView$$SINGLETONS();
    IRtscProductTemplate$$SINGLETONS();
    $$INITIALIZATION();
  }