|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.talika.tarsis.service.AbstractService
org.talika.tarsis.factory.FactoryService
org.talika.tarsis.factory.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 ServicegetName in class AbstractServiceService.getName()public java.lang.Object getInstance()
Session instance created by this factory.
getInstance in interface FactorygetInstance in class FactoryServiceSession 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 | |||||||||||