Class MailSessionReference

java.lang.Object
javax.naming.Reference
org.eclipse.jetty.ee10.jndi.factories.MailSessionReference
All Implemented Interfaces:
Serializable, Cloneable, ObjectFactory

public class MailSessionReference extends Reference implements ObjectFactory
MailSessionReference This is a subclass of jakarta.mail.Reference and an ObjectFactory for jakarta.mail.Session objects. The subclassing of Reference allows all of the setup for a jakarta.mail.Session to be captured without necessitating first instantiating a Session object. The reference is bound into JNDI and it is only when the reference is looked up that this object factory will create an instance of jakarta.mail.Session using the information captured in the Reference.
See Also: