org.apache.james.services
Interface MailStore

All Superinterfaces:
Component, ComponentSelector, Store
All Known Implementing Classes:
AvalonMailStore

public interface MailStore
extends Store

Interface for an object which provides MailRepositories or SpoolRepositories

The select method requires a configuration object with the form:
<repository destinationURL="file://path-to-root-dir-for-repository"
type="MAIL">
</repository>

This configuration, including any included child elements, is used to configure the returned component.

Version:
This is $Revision: 1.9 $
Author:
Federico Barbieri , Charles Benett

Field Summary
static String ROLE
          The component role used by components implementing this service
 
Method Summary
 SpoolRepository getInboundSpool()
          Convenience method to get the inbound spool repository.
 
Methods inherited from interface org.apache.avalon.cornerstone.services.store.Store
select
 
Methods inherited from interface org.apache.avalon.framework.component.ComponentSelector
hasComponent, release
 

Field Detail

ROLE

public static final String ROLE
The component role used by components implementing this service

See Also:
Constant Field Values
Method Detail

getInboundSpool

public SpoolRepository getInboundSpool()
Convenience method to get the inbound spool repository.



"Copyright © 1999-2002 Apache Jakarta Project. All Rights Reserved."