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

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