Class SendMailService
java.lang.Object
de.uplanet.lucy.server.mailservice.send.SendMailService
- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptionstatic de.uplanet.lucy.server.mailservice.send.ISendMailServiceGet thesendMailServicebean.static de.uplanet.lucy.server.mailservice.send.ISendMailServicegetInstance(org.springframework.context.ApplicationContext p_appCtx) Get thesendMailServicebean.static booleanCheck if thesendMailServicebean is defined.static booleanisAvailable(org.springframework.context.ApplicationContext p_appCtx) Check if thesendMailServicebean is defined.
- 
Field Details- 
BEAN_NAME- See Also:
 
 
- 
- 
Method Details- 
isAvailablepublic static boolean isAvailable()Check if thesendMailServicebean is defined.- Returns:
- trueif the bean is defined, or- falseotherwise.
- 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.
 
- 
isAvailablepublic static boolean isAvailable(org.springframework.context.ApplicationContext p_appCtx) Check if thesendMailServicebean is defined.- Parameters:
- p_appCtx- The application context.
- Returns:
- trueif the bean is defined, or- falseotherwise.
- 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.
 
- 
getInstancepublic 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 bean- sendMailServiceis 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.
 
- 
getInstancepublic static de.uplanet.lucy.server.mailservice.send.ISendMailService getInstance(org.springframework.context.ApplicationContext p_appCtx) throws org.springframework.beans.BeansException Get thesendMailServicebean.- Parameters:
- p_appCtx- The application context.
- Returns:
- The bean.
- Throws:
- org.springframework.beans.factory.NoSuchBeanDefinitionException- If the bean- sendMailServiceis 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.
 
 
-