Search in sources :

Example 1 with MailerClassMetaInfo

use of act.mail.meta.MailerClassMetaInfo in project actframework by actframework.

the class MailerEnhancer method methodInfo.

private SenderMethodMetaInfo methodInfo(String name, int access) {
    if (isPublic(access) && !isConstructor(name)) {
        MailerClassMetaInfo ccInfo = classInfoHolder.mailerClassMetaInfo(className);
        if (null == ccInfo) {
            return null;
        }
        SenderMethodMetaInfo info = ccInfo.sender(name);
        if (null != info) {
            return info;
        }
        return ccInfo.sender(name);
    } else {
        return null;
    }
}
Also used : SenderMethodMetaInfo(act.mail.meta.SenderMethodMetaInfo) MailerClassMetaInfo(act.mail.meta.MailerClassMetaInfo)

Aggregations

MailerClassMetaInfo (act.mail.meta.MailerClassMetaInfo)1 SenderMethodMetaInfo (act.mail.meta.SenderMethodMetaInfo)1