Class EmailServiceRemotable

  • All Implemented Interfaces:
    java.util.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
    • Field Summary

      • Fields inherited from class org.springframework.extensions.surf.util.AbstractLifecycleBean

        log
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void importMessage​(EmailDelivery delivery, EmailMessage message)
      Processes an email message.
      void importMessage​(EmailDelivery delivery, org.alfresco.service.cmr.repository.NodeRef nodeRef, EmailMessage message)
      Process an email message.
      protected void onBootstrap​(org.springframework.context.ApplicationEvent event)  
      protected void onShutdown​(org.springframework.context.ApplicationEvent event)  
      void setRmiRegistryHost​(java.lang.String rmiRegistryHost)  
      void setRmiRegistryPort​(int rmiRegistryPort)  
      • Methods inherited from class org.springframework.extensions.surf.util.AbstractLifecycleBean

        getApplicationContext, onApplicationEvent, setApplicationContext
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EmailServiceRemotable

        public EmailServiceRemotable()
    • Method Detail

      • setRmiRegistryHost

        public void setRmiRegistryHost​(java.lang.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,
                                  org.alfresco.service.cmr.repository.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