org.alfresco.email.server
Class EmailServiceRemotable

java.lang.Object
  extended by org.springframework.extensions.surf.util.AbstractLifecycleBean
      extended by org.alfresco.email.server.EmailServiceRemotable
All Implemented Interfaces:
java.util.EventListener, EmailService, org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationListener

public class EmailServiceRemotable
extends org.springframework.extensions.surf.util.AbstractLifecycleBean
implements EmailService

Since:
2.2

Field Summary
 
Fields inherited from class org.springframework.extensions.surf.util.AbstractLifecycleBean
log
 
Constructor Summary
EmailServiceRemotable()
           
 
Method Summary
 void importMessage(EmailMessage message)
          Processes an email message.
 void importMessage(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(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:
message - the email message

importMessage

public void importMessage(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:
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


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.