站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 connector API Documentation 英文版文档

MailFolder (JBoss Connector API) - JBoss 4.0.1 sp1 connector API Documentation 英文版文档


org.jboss.resource.adapter.mail.inflow
Class MailFolder

java.lang.Object
  extended byorg.jboss.resource.adapter.mail.inflow.MailFolder

public class MailFolder
extends Object

An encapsulation of a mail store folder used by the MailActivation.run to poll and retrieve new messages.

Version:
$Revision: 1.1 $
Author:
Scott.Stark@jboss.org

Constructor Summary
MailFolder(MailActivationSpec spec)
           
 
Method Summary
 void close()
           
 javax.mail.Message[] getNewMessages()
           
 void open()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailFolder

public MailFolder(MailActivationSpec spec)
           throws Exception
Method Detail

open

public void open()
          throws Exception
Throws:
Exception

getNewMessages

public javax.mail.Message[] getNewMessages()
                                    throws Exception
Throws:
Exception

close

public void close()
           throws javax.mail.MessagingException
Throws:
javax.mail.MessagingException


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.