Class EmailServiceRemotable

  • All Implemented Interfaces:
    EventListener, EmailService, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationListener

    public class EmailServiceRemotable
    extends org.springframework.extensions.surf.util.AbstractLifecycleBean
    implements EmailService
    Since:
    2.2
    Author:
    Michael Shavnev
    • Constructor Detail

      • EmailServiceRemotable

        public EmailServiceRemotable()
    • Method Detail

      • setRmiRegistryHost

        public void setRmiRegistryHost​(String rmiRegistryHost)
      • setRmiRegistryPort

        public void setRmiRegistryPort​(int rmiRegistryPort)
      • importMessage

        public void importMessage​(EmailDelivery delivery,
                                  EmailMessage message)
        Description copied from interface: EmailService
        Processes an email message. The message's content is intended for a node found by examining the email's target address.
        Specified by:
        importMessage in interface EmailService
        Parameters:
        delivery - instructions - who gets the message and who is it from
        message - the email message
      • importMessage

        public void importMessage​(EmailDelivery delivery,
                                  NodeRef nodeRef,
                                  EmailMessage message)
        Description copied from interface: EmailService
        Process an email message. The message's content is intended for a specific node.
        Specified by:
        importMessage in interface EmailService
        Parameters:
        delivery - instructions - who gets the message and who is it from
        nodeRef - the node to import the message to
        message - the email message
      • onBootstrap

        protected void onBootstrap​(org.springframework.context.ApplicationEvent event)
        Specified by:
        onBootstrap in class org.springframework.extensions.surf.util.AbstractLifecycleBean
      • onShutdown

        protected void onShutdown​(org.springframework.context.ApplicationEvent event)
        Specified by:
        onShutdown in class org.springframework.extensions.surf.util.AbstractLifecycleBean