|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.easybeans.component.mail.factory.AbsJavaMailRef
public abstract class AbsJavaMailRef
Abstract referenceable object used to bind JavaMail factories.
| Constructor Summary | |
|---|---|
AbsJavaMailRef()
Build a new javamail reference. |
|
| Method Summary | |
|---|---|
java.lang.String |
getAuthName()
|
java.lang.String |
getAuthPass()
|
java.lang.String |
getJNDIName()
|
java.lang.String |
getName()
|
java.util.Properties |
getProperties()
|
abstract javax.naming.Reference |
getReference()
Retrieves the Reference of this object. |
abstract java.lang.String |
getType()
Return the type of the factory. |
void |
putObject(javax.naming.Reference reference,
java.lang.String propertyName,
java.io.Serializable o)
Put the given object in the reference with the given property name. |
void |
setAuthName(java.lang.String authName)
Set the authentication name of this factory. |
void |
setAuthPass(java.lang.String authPass)
Set the authentication password of this factory. |
void |
setJNDIName(java.lang.String jndiName)
Set the JNDI name of this factory. |
void |
setName(java.lang.String name)
Set the name of this factory. |
void |
setProperties(java.util.Properties properties)
Sets the session properties. |
protected void |
updateRefAddr(javax.naming.Reference reference)
Adds some settings to the reference. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbsJavaMailRef()
| Method Detail |
|---|
public java.lang.String getName()
public void setName(java.lang.String name)
name - the name of this factorypublic java.lang.String getJNDIName()
public void setJNDIName(java.lang.String jndiName)
jndiName - the JNDI name of this factorypublic java.lang.String getAuthName()
public void setAuthName(java.lang.String authName)
authName - the authentication name of this factorypublic java.lang.String getAuthPass()
public void setAuthPass(java.lang.String authPass)
authPass - the authentication password of this factorypublic java.util.Properties getProperties()
public void setProperties(java.util.Properties properties)
properties - the session properties.
protected void updateRefAddr(javax.naming.Reference reference)
throws javax.naming.NamingException
reference - the reference to configure
javax.naming.NamingException - if something goes wrong
public void putObject(javax.naming.Reference reference,
java.lang.String propertyName,
java.io.Serializable o)
throws javax.naming.NamingException
reference - the given referencepropertyName - the given propertyo - the object to add
javax.naming.NamingException - if object is not put.
public abstract javax.naming.Reference getReference()
throws javax.naming.NamingException
getReference in interface javax.naming.Referenceablejavax.naming.NamingException - If a naming exception was encountered while
retrieving the reference.public abstract java.lang.String getType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||