org.ow2.petals.bc.mail
Class MailComponent
java.lang.Object
org.ow2.petals.component.framework.AbstractComponent
org.ow2.petals.component.framework.bc.AbstractBindingComponent
org.ow2.petals.bc.mail.MailComponent
- All Implemented Interfaces:
- javax.jbi.component.Component, javax.jbi.component.ComponentLifeCycle, org.ow2.petals.component.framework.api.PetalsComponent
public class MailComponent
- extends org.ow2.petals.component.framework.bc.AbstractBindingComponent
The Mail Binding Component.
It creates some sub components like :
the MailSessionManager used to manage session with mail
servers : create and open sessions, send and receive mails,
the MimeMessageManager used to process (reading or creating)
mail messages,
the SessionDescriptorBuilder used to extract information from
a Mail URI String,
the ExternalListener used to manage listeners for
external mail addresses registered during SU deployment,
the JBIListener used to process incoming JBI messages
This class defines some Default Value for mail features like :
SMTP (25), IMAP (143) and POP3 (110) default ports,
default mail folder (INBOX),
default mail checking period (60 seconds).
- Author:
- ofabre - EBM Websourcing
| Fields inherited from class org.ow2.petals.component.framework.AbstractComponent |
context |
| Methods inherited from class org.ow2.petals.component.framework.bc.AbstractBindingComponent |
createServiceUnitManager |
| Methods inherited from class org.ow2.petals.component.framework.AbstractComponent |
activateEndpoint, deactivateEndpoint, doShutdown, doStart, doStop, getAsyncManager, getChannel, getComponentConfiguration, getComponentExtensions, getContext, getExtensionMBeanName, getInterceptor, getInterceptors, getLifeCycle, getLogger, getNativeWsdl, getProcessorManager, getResourceBundleName, getServiceDescription, getServiceUnitManager, init, isExchangeWithConsumerOkay, isExchangeWithProviderOkay, resolveEndpointReference, shutDown, start, stop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mailSessionManager
protected MailSessionManager mailSessionManager
mimeMessageManager
protected MimeMessageManager mimeMessageManager
MailComponent
public MailComponent()
doInit
protected void doInit()
throws javax.jbi.JBIException
- Overrides:
doInit in class org.ow2.petals.component.framework.AbstractComponent
- Throws:
javax.jbi.JBIException
getMailSessionManager
public MailSessionManager getMailSessionManager()
getMimeMessageManager
public MimeMessageManager getMimeMessageManager()
Copyright © 2005-2011 Petals Link (EBM Websourcing). All Rights Reserved.