Example #1
0
  public Context getControlInfo() {
    ServiceContext cxt = new ServiceContext(name);
    cxt.setSubject("job/control/context", name);

    return linkControlContext(cxt, getName());
  }
Example #2
0
  public Context getJobContext() {
    ServiceContext cxt = new ServiceContext(name);
    cxt.setSubject("job/data/context", name);

    return linkContext(cxt, getName());
  }