home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 1999 April / DPPCPRO0499.ISO / April / Notes / 50b2wic.exe / DATA1.CAB / NotesProgramFilesJavaSupport / Notes.jar / lotus / notes / AgentInfo.class (.txt) < prev    next >
Encoding:
Java Class File  |  1998-11-15  |  1.7 KB  |  66 lines

  1. package lotus.notes;
  2.  
  3. public class AgentInfo {
  4.    private Class m_class;
  5.    private long m_timeout;
  6.    private int m_runctx;
  7.    private boolean m_restricted;
  8.    private long m_docID;
  9.    private boolean m_redirectAgentOutput;
  10.    Session m_session;
  11.    private AgentSecurityContext m_secctx;
  12.  
  13.    public AgentInfo(Class var1, long var2, int var4, boolean var5, long var6, boolean var8) {
  14.       this.m_class = var1;
  15.       this.m_timeout = var2;
  16.       this.m_runctx = var4;
  17.       this.m_restricted = var5;
  18.       this.m_docID = var6;
  19.       this.m_redirectAgentOutput = var8;
  20.    }
  21.  
  22.    public Class getAgentClass() {
  23.       return this.m_class;
  24.    }
  25.  
  26.    protected long getTimeout() {
  27.       return this.m_timeout;
  28.    }
  29.  
  30.    protected int getRunContext() {
  31.       return this.m_runctx;
  32.    }
  33.  
  34.    protected boolean isRestricted() {
  35.       return this.m_restricted;
  36.    }
  37.  
  38.    long getDocID() {
  39.       return this.m_docID;
  40.    }
  41.  
  42.    boolean redirectAgentOutput() {
  43.       return this.m_redirectAgentOutput;
  44.    }
  45.  
  46.    protected AgentSecurityContext getSecurityContext() {
  47.       return this.m_secctx;
  48.    }
  49.  
  50.    public void newSecurityContext(ThreadGroup var1) {
  51.       this.m_secctx = new AgentSecurityContext(var1, this.m_restricted);
  52.    }
  53.  
  54.    protected Object newInstance() throws InstantiationException, IllegalAccessException {
  55.       return this.m_class.newInstance();
  56.    }
  57.  
  58.    protected void setSession(Session var1) {
  59.       this.m_session = var1;
  60.    }
  61.  
  62.    protected Session getSession() {
  63.       return this.m_session;
  64.    }
  65. }
  66.