|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.easybeans.component.mail.factory.AbsJavaMailFactory
public abstract class AbsJavaMailFactory
Abstract JNDI factory for Mail factories.
| Field Summary | |
|---|---|
static java.lang.String |
AUTHENTICATION_PASSWORD
Password for authentication. |
static java.lang.String |
AUTHENTICATION_USERNAME
User name for authentication. |
static java.lang.String |
MAIL_PROPERTIES
Properties used for mail factory. |
| Constructor Summary | |
|---|---|
AbsJavaMailFactory()
|
|
| Method Summary | ||
|---|---|---|
protected Authenticator |
getAuthenticator(javax.naming.Reference reference)
Gets an authenticator for the given reference. |
|
|
getObject(javax.naming.Reference reference,
java.lang.String propertyName)
Load a given object for the given property name. |
|
java.util.Properties |
getSessionProperties(javax.naming.Reference reference)
Gets the session properties. |
|
java.lang.String |
getString(javax.naming.Reference reference,
java.lang.String propertyName)
Get the given string from the reference. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.naming.spi.ObjectFactory |
|---|
getObjectInstance |
| Field Detail |
|---|
public static final java.lang.String AUTHENTICATION_USERNAME
public static final java.lang.String AUTHENTICATION_PASSWORD
public static final java.lang.String MAIL_PROPERTIES
| Constructor Detail |
|---|
public AbsJavaMailFactory()
| Method Detail |
|---|
protected Authenticator getAuthenticator(javax.naming.Reference reference)
reference - the given reference
public java.util.Properties getSessionProperties(javax.naming.Reference reference)
throws javax.naming.NamingException
reference - the given reference
javax.naming.NamingException - if object is not read.
public java.lang.String getString(javax.naming.Reference reference,
java.lang.String propertyName)
reference - the given referencepropertyName - the given property
public <T> T getObject(javax.naming.Reference reference,
java.lang.String propertyName)
throws javax.naming.NamingException
T - the type of the object to loadreference - the given referencepropertyName - the given property
javax.naming.NamingException - if object is not read.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||