Class SendMailService
- java.lang.Object
-
- de.uplanet.lucy.server.mailservice.send.SendMailService
-
@Scriptable @SpringBeanAccessor public final class SendMailService extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static de.uplanet.lucy.server.mailservice.send.ISendMailServicegetInstance()Get thesendMailServicebean.static booleanisAvailable()Check if thesendMailServicebean is defined.
-
-
-
Field Detail
-
BEAN_NAME
public static final String BEAN_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
isAvailable
public static boolean isAvailable()
Check if thesendMailServicebean is defined.- Returns:
trueif the bean is defined, orfalseotherwise.- Throws:
org.springframework.beans.factory.BeanNotOfRequiredTypeException- If the bean is not of the required type.org.springframework.beans.BeansException- If the bean could not be created.
-
getInstance
public static de.uplanet.lucy.server.mailservice.send.ISendMailService getInstance() throws org.springframework.beans.BeansExceptionGet thesendMailServicebean.- Returns:
- The bean.
- Throws:
org.springframework.beans.factory.NoSuchBeanDefinitionException- If the beansendMailServiceis not defined.org.springframework.beans.factory.BeanNotOfRequiredTypeException- If the bean is not of the required type.org.springframework.beans.BeansException- If the bean could not be created.
-
-