Package org.alfresco.email.server
Class EmailServiceRemotable
java.lang.Object
org.springframework.extensions.surf.util.AbstractLifecycleBean
org.alfresco.email.server.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
-
Field Summary
Fields inherited from class org.springframework.extensions.surf.util.AbstractLifecycleBean
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidimportMessage(EmailDelivery delivery, EmailMessage message) Processes an email message.voidimportMessage(EmailDelivery delivery, NodeRef nodeRef, EmailMessage message) Process an email message.protected voidonBootstrap(org.springframework.context.ApplicationEvent event) protected voidonShutdown(org.springframework.context.ApplicationEvent event) voidsetRmiRegistryHost(String rmiRegistryHost) voidsetRmiRegistryPort(int rmiRegistryPort) Methods inherited from class org.springframework.extensions.surf.util.AbstractLifecycleBean
getApplicationContext, onApplicationEvent, setApplicationContext
-
Constructor Details
-
EmailServiceRemotable
public EmailServiceRemotable()
-
-
Method Details
-
setRmiRegistryHost
-
setRmiRegistryPort
public void setRmiRegistryPort(int rmiRegistryPort) -
importMessage
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
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
-