/** * Construct a new MailLogger using the specified Logger name and * debug prefix (e.g., "DEBUG"). Get the debug flag and PrintStream * from the Session. * * @param name the Logger name * @param prefix the prefix for debug output, or null for none * @param session where to get the debug flag and PrintStream */ public MailLogger(String name, String prefix, Session session) { this(name, prefix, session.getDebug(), session.getDebugOut()); }
/** * Construct a new Service. * @param session the session from which this service was created * @param url the URLName of this service */ protected Service(Session session, URLName url) { this.session = session; this.url = url; this.debug = session.getDebug(); }
/** * Construct a new MailLogger using the specified class' package * name as the Logger name and the specified * debug prefix (e.g., "DEBUG"). Get the debug flag and PrintStream * from the Session. * * @param clazz the Logger name is the package name of this class * @param prefix the prefix for debug output, or null for none * @param session where to get the debug flag and PrintStream */ public MailLogger(Class<?> clazz, String prefix, Session session) { this(clazz, prefix, session.getDebug(), session.getDebugOut()); }
/** * Construct a new Service. * @param session the session from which this service was created * @param url the URLName of this service */ protected Service(Session session, URLName url) { this.session = session; this.url = url; this.debug = session.getDebug(); }
/** * Construct a new MailLogger using the specified Logger name and * debug prefix (e.g., "DEBUG"). Get the debug flag and PrintStream * from the Session. * * @param name the Logger name * @param prefix the prefix for debug output, or null for none * @param session where to get the debug flag and PrintStream */ @Deprecated public MailLogger(String name, String prefix, Session session) { this(name, prefix, session.getDebug(), session.getDebugOut()); }
/** * Constructor. * * @param session Session object for this service * @param urlname URLName object to be used for this service */ protected Service(Session session, URLName urlname) { this.session = session; url = urlname; debug = session.getDebug(); }
/** * Construct a new MailLogger using the specified class' package * name as the Logger name and the specified * debug prefix (e.g., "DEBUG"). Get the debug flag and PrintStream * from the Session. * * @param clazz the Logger name is the package name of this class * @param prefix the prefix for debug output, or null for none * @param session where to get the debug flag and PrintStream */ @Deprecated public MailLogger(Class<?> clazz, String prefix, Session session) { this(clazz, prefix, session.getDebug(), session.getDebugOut()); }
/** * Constructor. * * @param session Session object for this service * @param urlname URLName object to be used for this service */ protected Service(Session session, URLName urlname) { this.session = session; url = urlname; debug = session.getDebug(); }
protected POP3Folder(POP3Store store, String name) { super(store); this.name = name; this.store = store; if (name.equalsIgnoreCase("INBOX")) exists = true; logger = new MailLogger(this.getClass(), "DEBUG POP3", store.getSession().getDebug(), store.getSession().getDebugOut()); }
debug = session.getDebug(); url = urlname;
/** * Create an IdleManager. The Session is used only to configure * debugging output. The Executor is used to create the * "select" thread. * * @param session the Session containing configuration information * @param es the Executor used to create threads * @exception IOException for Selector failures */ public IdleManager(Session session, Executor es) throws IOException { this.es = es; logger = new MailLogger(this.getClass(), "DEBUG IMAP", session.getDebug(), session.getDebugOut()); selector = Selector.open(); es.execute(new Runnable() { @Override public void run() { logger.fine("IdleManager select starting"); try { running = true; select(); } finally { running = false; logger.fine("IdleManager select terminating"); } } }); }
debug = session.getDebug(); url = urlname;
this.separator = separator; logger = new MailLogger(this.getClass(), "DEBUG IMAP", store.getSession().getDebug(), store.getSession().getDebugOut()); connectionPoolLogger = store.getConnectionPoolLogger();
this.isSSL = isSSL; debug = session.getDebug(); debugusername = PropUtil.getBooleanSessionProperty(session, "mail.debug.auth.username", true);
this.name = name; logger = new MailLogger(this.getClass(), "DEBUG POP3", session.getDebug(), session.getDebugOut());
session.getDebug(), session.getDebugOut()); traceLogger = logger.getSubLogger("protocol", null); noauthdebug = !PropUtil.getBooleanProperty(props,
protected POP3Folder(POP3Store store, String name) { super(store); this.name = name; this.store = store; if (name.equalsIgnoreCase("INBOX")) exists = true; logger = new MailLogger(this.getClass(), "DEBUG POP3", store.getSession().getDebug(), store.getSession().getDebugOut()); }
protected POP3Folder(POP3Store store, String name) { super(store); this.name = name; this.store = store; if (name.equalsIgnoreCase("INBOX")) exists = true; logger = new MailLogger(this.getClass(), "DEBUG POP3", store.getSession().getDebug(), store.getSession().getDebugOut()); }
protected POP3Folder(POP3Store store, String name) { super(store); this.name = name; this.store = store; if (name.equalsIgnoreCase("INBOX")) exists = true; logger = new MailLogger(this.getClass(), "DEBUG POP3", store.getSession().getDebug(), store.getSession().getDebugOut()); }