@Scriptable @SpringBeanAccessor public final class SendMailService extends Object
Modifier and Type | Method and Description |
---|---|
static de.uplanet.lucy.server.mailservice.send.ISendMailService |
getInstance()
Get the
sendMailService bean. |
static boolean |
isAvailable()
Check if the
sendMailService bean is defined. |
public static final String BEAN_NAME
public static boolean isAvailable()
sendMailService
bean is defined.true
if the bean is defined, or false
otherwise.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.public static de.uplanet.lucy.server.mailservice.send.ISendMailService getInstance() throws org.springframework.beans.BeansException
sendMailService
bean.org.springframework.beans.factory.NoSuchBeanDefinitionException
- If the bean sendMailService
is 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.