|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.talika.tarsis.service.AbstractService org.talika.tarsis.factory.FactoryService org.talika.tarsis.factory.SmtpMailSession
public final class SmtpMailSession
SMTP mail Session
factory implementation of Factory
interface.
Creates a Session
object from given parameters.
Parameters given to create Session
are:
Session
Constructor Summary | |
---|---|
SmtpMailSession()
Creates a new SmtpMailSession object. |
Method Summary | |
---|---|
java.lang.Object |
getInstance()
Returns a new Session instance created by this factory. |
javax.mail.Session |
getMailSession()
Returns a new Session instance created by this factory. |
java.lang.String |
getName()
Returns name of service. |
void |
setSmtpHost(java.lang.String smtpHost)
Sets smtpHost parameter. |
Methods inherited from class org.talika.tarsis.service.AbstractService |
---|
destroy, getContext, getLogger, init |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SmtpMailSession()
SmtpMailSession
object.
Method Detail |
---|
public void setSmtpHost(java.lang.String smtpHost)
smtpHost
- String SMTP server.public java.lang.String getName()
getName
in interface Service
getName
in class AbstractService
Service.getName()
public java.lang.Object getInstance()
Session
instance created by this factory.
getInstance
in interface Factory
getInstance
in class FactoryService
Session
instance created by this factory.Factory.getInstance()
public javax.mail.Session getMailSession()
Session
instance created by this factory.
Session
instance created by this factory.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |