Package org.alfresco.email.server
Class EmailServiceRemotable
- java.lang.Object
-
- org.springframework.extensions.surf.util.AbstractLifecycleBean
-
- org.alfresco.email.server.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
-
-
Constructor Summary
Constructors Constructor Description EmailServiceRemotable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidimportMessage(EmailDelivery delivery, EmailMessage message)Processes an email message.voidimportMessage(EmailDelivery delivery, org.alfresco.service.cmr.repository.NodeRef nodeRef, EmailMessage message)Process an email message.protected voidonBootstrap(org.springframework.context.ApplicationEvent event)protected voidonShutdown(org.springframework.context.ApplicationEvent event)voidsetRmiRegistryHost(java.lang.String rmiRegistryHost)voidsetRmiRegistryPort(int rmiRegistryPort)
-
-
-
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:EmailServiceProcesses an email message. The message's content is intended for a node found by examining the email's target address.- Specified by:
importMessagein interfaceEmailService- Parameters:
delivery- instructions - who gets the message and who is it frommessage- the email message
-
importMessage
public void importMessage(EmailDelivery delivery, org.alfresco.service.cmr.repository.NodeRef nodeRef, EmailMessage message)
Description copied from interface:EmailServiceProcess an email message. The message's content is intended for a specific node.- Specified by:
importMessagein interfaceEmailService- Parameters:
delivery- instructions - who gets the message and who is it fromnodeRef- the node to import the message tomessage- the email message
-
onBootstrap
protected void onBootstrap(org.springframework.context.ApplicationEvent event)
- Specified by:
onBootstrapin classorg.springframework.extensions.surf.util.AbstractLifecycleBean
-
onShutdown
protected void onShutdown(org.springframework.context.ApplicationEvent event)
- Specified by:
onShutdownin classorg.springframework.extensions.surf.util.AbstractLifecycleBean
-
-