Overview | Package | Class | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

A C D E F G H I L M O P R S T U

## A

autoConnect - Variable in class org.apache.struts.examples.mailreader.memory.MemorySubscription
  Should we auto-connect at startup time?

## C

calculatePath() - Method in class org.apache.struts.examples.mailreader.memory.MemoryDatabasePlugIn
  Calculate and return an absolute pathname to the XML file to contain our persistent storage information.
close() - Method in interface org.apache.struts.examples.mailreader.UserDatabase
  Finalize access to the underlying persistence layer.
close() - Method in class org.apache.struts.examples.mailreader.memory.MemoryUserDatabase
Constants - class org.apache.struts.examples.mailreader.Constants.
  Manifest constants for the example application database.
Constants() - Constructor for class org.apache.struts.examples.mailreader.Constants
createObject(Attributes) - Method in class org.apache.struts.examples.mailreader.memory.MemorySubscriptionCreationFactory
createObject(Attributes) - Method in class org.apache.struts.examples.mailreader.memory.MemoryUserCreationFactory
createSubscription(String) - Method in interface org.apache.struts.examples.mailreader.User
  Create and return a new `Subscription` associated with this User, for the specified host name.
createSubscription(String) - Method in class org.apache.struts.examples.mailreader.memory.MemoryUser
  Create and return a new `Subscription` associated with this User, for the specified host name.
createUser(String) - Method in interface org.apache.struts.examples.mailreader.UserDatabase
  Create and return a new `User` defined in this user database.
createUser(String) - Method in class org.apache.struts.examples.mailreader.memory.MemoryUserDatabase

## D

database - Variable in class org.apache.struts.examples.mailreader.memory.MemoryDatabasePlugIn
  The `MemoryUserDatabase` object we construct and make available.
database - Variable in class org.apache.struts.examples.mailreader.memory.MemoryUser
  The `UserDatabase` with which we are associated.
database - Variable in class org.apache.struts.examples.mailreader.memory.MemoryUserCreationFactory
DATABASE_KEY - Static variable in class org.apache.struts.examples.mailreader.Constants
  The application scope attribute under which our user database is stored.
destroy() - Method in class org.apache.struts.examples.mailreader.memory.MemoryDatabasePlugIn
  Gracefully shut down this database, releasing any resources that were allocated at initialization.
digester - Variable in class org.apache.struts.examples.mailreader.memory.MemorySubscriptionCreationFactory
digester - Variable in class org.apache.struts.examples.mailreader.memory.MemoryUserCreationFactory

## E

ExpiredPasswordException - exception org.apache.struts.examples.mailreader.ExpiredPasswordException.
  Example of an application-specific exception for which a handler can be configured.
ExpiredPasswordException(String) - Constructor for class org.apache.struts.examples.mailreader.ExpiredPasswordException
  Construct a new instance of this exception for the specified username.

## F

findSubscription(String) - Method in interface org.apache.struts.examples.mailreader.User
  Find and return the `Subscription` associated with the specified host.
findSubscription(String) - Method in class org.apache.struts.examples.mailreader.memory.MemoryUser
  Find and return the `Subscription` associated with the specified host.
findUser(String) - Method in interface org.apache.struts.examples.mailreader.UserDatabase
  Return the existing `User` with the specified username, if any; otherwise return `null`.
findUser(String) - Method in class org.apache.struts.examples.mailreader.memory.MemoryUserDatabase
findUsers() - Method in interface org.apache.struts.examples.mailreader.UserDatabase
  Return the set of `User`s defined in this user database.
findUsers() - Method in class org.apache.struts.examples.mailreader.memory.MemoryUserDatabase
fromAddress - Variable in class org.apache.struts.examples.mailreader.memory.MemoryUser
  The email address from which messages are sent.
fullName - Variable in class org.apache.struts.examples.mailreader.memory.MemoryUser
  The full name of this user, included in from addresses.

## G

getAutoConnect() - Method in interface org.apache.struts.examples.mailreader.Subscription
  Return the auto-connect flag.
getAutoConnect() - Method in class org.apache.struts.examples.mailreader.memory.MemorySubscription
getDatabase() - Method in interface org.apache.struts.examples.mailreader.User
  Return the `UserDatabase` with which we are associated.
getDatabase() - Method in class org.apache.struts.examples.mailreader.memory.MemoryUser
  The `UserDatabase` with which we are associated.
getDigester() - Method in class org.apache.struts.examples.mailreader.memory.MemorySubscriptionCreationFactory
getDigester() - Method in class org.apache.struts.examples.mailreader.memory.MemoryUserCreationFactory
getFromAddress() - Method in interface org.apache.struts.examples.mailreader.User
  Return the from address.
getFromAddress() - Method in class org.apache.struts.examples.mailreader.memory.MemoryUser
getFullName() - Method in interface org.apache.struts.examples.mailreader.User
  Return the full name.
getFullName() - Method in class org.apache.struts.examples.mailreader.memory.MemoryUser
getHost() - Method in interface org.apache.struts.examples.mailreader.Subscription
  Return the host name.
getHost() - Method in class org.apache.struts.examples.mailreader.memory.MemorySubscription
  The mail host for this subscription.
getPassword() - Method in interface org.apache.struts.examples.mailreader.User
  Return the password.
getPassword() - Method in interface org.apache.struts.examples.mailreader.Subscription
  Return the password.
getPassword() - Method in class org.apache.struts.examples.mailreader.memory.MemoryUser
getPassword() - Method in class org.apache.struts.examples.mailreader.memory.MemorySubscription
getPathname() - Method in class org.apache.struts.examples.mailreader.memory.MemoryDatabasePlugIn
getPathname() - Method in class org.apache.struts.examples.mailreader.memory.MemoryUserDatabase
getReplyToAddress() - Method in interface org.apache.struts.examples.mailreader.User
  Return the reply-to address.
getReplyToAddress() - Method in class org.apache.struts.examples.mailreader.memory.MemoryUser
getSubscriptions() - Method in interface org.apache.struts.examples.mailreader.User
  Find and return all `Subscription`s associated with this user.
getSubscriptions() - Method in class org.apache.struts.examples.mailreader.memory.MemoryUser
  Find and return all `Subscription`s associated with this user.
getType() - Method in interface org.apache.struts.examples.mailreader.Subscription
  Return the subscription type.
getType() - Method in class org.apache.struts.examples.mailreader.memory.MemorySubscription
getUser() - Method in interface org.apache.struts.examples.mailreader.Subscription
  Return the `User` owning this Subscription.
getUser() - Method in class org.apache.struts.examples.mailreader.memory.MemorySubscription
  The User owning this Subscription.
getUsername() - Method in interface org.apache.struts.examples.mailreader.User
  Return the username.
getUsername() - Method in interface org.apache.struts.examples.mailreader.Subscription
  Return the username.
getUsername() - Method in class org.apache.struts.examples.mailreader.memory.MemoryUser
  The username (must be unique).
getUsername() - Method in class org.apache.struts.examples.mailreader.memory.MemorySubscription

## H

host - Variable in class org.apache.struts.examples.mailreader.memory.MemorySubscription
  The mail host for this subscription.

## I

init(ActionServlet, ModuleConfig) - Method in class org.apache.struts.examples.mailreader.memory.MemoryDatabasePlugIn
  Initialize and load our initial database from persistent storage.

## L

log - Variable in class org.apache.struts.examples.mailreader.memory.MemoryDatabasePlugIn
  Logging output for this plug in instance.
log - Variable in class org.apache.struts.examples.mailreader.memory.MemoryUserDatabase
  Logging output for this user database instance.

## M

MemoryDatabasePlugIn - class org.apache.struts.examples.mailreader.memory.MemoryDatabasePlugIn.
  MemoryDatabasePlugIn initializes and finalizes the persistent storage of User and Subscription information for the Struts Demonstration Application, using an in-memory database backed by an XML file.
MemoryDatabasePlugIn() - Constructor for class org.apache.struts.examples.mailreader.memory.MemoryDatabasePlugIn
MemorySubscription - class org.apache.struts.examples.mailreader.memory.MemorySubscription.
  Concrete implementation of `Subscription` for an in-memory database backed by an XML data file.
MemorySubscription(MemoryUser, String) - Constructor for class org.apache.struts.examples.mailreader.memory.MemorySubscription
  Construct a new Subscription associated with the specified `User`.
MemorySubscriptionCreationFactory - class org.apache.struts.examples.mailreader.memory.MemorySubscriptionCreationFactory.
  Digester object creation factory for subscription instances.
MemorySubscriptionCreationFactory() - Constructor for class org.apache.struts.examples.mailreader.memory.MemorySubscriptionCreationFactory
MemoryUser - class org.apache.struts.examples.mailreader.memory.MemoryUser.
  Concrete implementation of `User` for an in-memory database backed by an XML data file.
MemoryUser(MemoryUserDatabase, String) - Constructor for class org.apache.struts.examples.mailreader.memory.MemoryUser
  Construct a new User associated with the specified `UserDatabase`.
MemoryUserCreationFactory - class org.apache.struts.examples.mailreader.memory.MemoryUserCreationFactory.
  Digester object creation factory for user instances.
MemoryUserCreationFactory(MemoryUserDatabase) - Constructor for class org.apache.struts.examples.mailreader.memory.MemoryUserCreationFactory
MemoryUserDatabase - class org.apache.struts.examples.mailreader.memory.MemoryUserDatabase.
  Concrete implementation of `UserDatabase` for an in-memory database backed by an XML data file.
MemoryUserDatabase() - Constructor for class org.apache.struts.examples.mailreader.memory.MemoryUserDatabase

## O

open() - Method in interface org.apache.struts.examples.mailreader.UserDatabase
  Initiate access to the underlying persistence layer.
open() - Method in class org.apache.struts.examples.mailreader.memory.MemoryUserDatabase
org.apache.struts.examples.mailreader - package org.apache.struts.examples.mailreader
org.apache.struts.examples.mailreader.memory - package org.apache.struts.examples.mailreader.memory

## P

password - Variable in class org.apache.struts.examples.mailreader.memory.MemoryUser
  The password (in clear text).
password - Variable in class org.apache.struts.examples.mailreader.memory.MemorySubscription
  The password (in clear text) for this subscription.
pathname - Variable in class org.apache.struts.examples.mailreader.memory.MemoryDatabasePlugIn
  The web application resource path of our persistent database storage file.
pathname - Variable in class org.apache.struts.examples.mailreader.memory.MemoryUserDatabase
  Absolute pathname to the persistent file we use for loading and storing persistent data.
pathnameNew - Variable in class org.apache.struts.examples.mailreader.memory.MemoryUserDatabase
pathnameOld - Variable in class org.apache.struts.examples.mailreader.memory.MemoryUserDatabase

## R

removeSubscription(Subscription) - Method in interface org.apache.struts.examples.mailreader.User
  Remove the specified `Subscription` from being associated with this User.
removeSubscription(Subscription) - Method in class org.apache.struts.examples.mailreader.memory.MemoryUser
  Remove the specified `Subscription` from being associated with this User.
removeUser(User) - Method in interface org.apache.struts.examples.mailreader.UserDatabase
  Remove the specified `User` from this database.
removeUser(User) - Method in class org.apache.struts.examples.mailreader.memory.MemoryUserDatabase
replyToAddress - Variable in class org.apache.struts.examples.mailreader.memory.MemoryUser
  The EMAIL address to which replies should be sent.

## S

save() - Method in interface org.apache.struts.examples.mailreader.UserDatabase
  Save any pending changes to the underlying persistence layer.
save() - Method in class org.apache.struts.examples.mailreader.memory.MemoryUserDatabase
servlet - Variable in class org.apache.struts.examples.mailreader.memory.MemoryDatabasePlugIn
  The `ActionServlet` owning this application.
setAutoConnect(boolean) - Method in interface org.apache.struts.examples.mailreader.Subscription
  Set the auto-connect flag.
setAutoConnect(boolean) - Method in class org.apache.struts.examples.mailreader.memory.MemorySubscription
setDigester(Digester) - Method in class org.apache.struts.examples.mailreader.memory.MemorySubscriptionCreationFactory
setDigester(Digester) - Method in class org.apache.struts.examples.mailreader.memory.MemoryUserCreationFactory
setFromAddress(String) - Method in interface org.apache.struts.examples.mailreader.User
  Set the from address.
setFromAddress(String) - Method in class org.apache.struts.examples.mailreader.memory.MemoryUser
setFullName(String) - Method in interface org.apache.struts.examples.mailreader.User
  Set the full name.
setFullName(String) - Method in class org.apache.struts.examples.mailreader.memory.MemoryUser
setPassword(String) - Method in interface org.apache.struts.examples.mailreader.User
  Set the password.
setPassword(String) - Method in interface org.apache.struts.examples.mailreader.Subscription
  Set the password.
setPassword(String) - Method in class org.apache.struts.examples.mailreader.memory.MemoryUser
setPassword(String) - Method in class org.apache.struts.examples.mailreader.memory.MemorySubscription
setPathname(String) - Method in class org.apache.struts.examples.mailreader.memory.MemoryDatabasePlugIn
setPathname(String) - Method in class org.apache.struts.examples.mailreader.memory.MemoryUserDatabase
setReplyToAddress(String) - Method in interface org.apache.struts.examples.mailreader.User
  Set the reply-to address.
setReplyToAddress(String) - Method in class org.apache.struts.examples.mailreader.memory.MemoryUser
setType(String) - Method in interface org.apache.struts.examples.mailreader.Subscription
  Set the subscription type.
setType(String) - Method in class org.apache.struts.examples.mailreader.memory.MemorySubscription
setUsername(String) - Method in interface org.apache.struts.examples.mailreader.Subscription
  Set the username.
setUsername(String) - Method in class org.apache.struts.examples.mailreader.memory.MemorySubscription
Subscription - interface org.apache.struts.examples.mailreader.Subscription.
  A Subscription which is stored, along with the associated `User`, in a `UserDatabase`.
subscriptions - Variable in class org.apache.struts.examples.mailreader.memory.MemoryUser
  The `Subscription`s for this User, keyed by hostname.

## T

toString() - Method in class org.apache.struts.examples.mailreader.memory.MemoryUser
  Return a String representation of this object.
toString() - Method in class org.apache.struts.examples.mailreader.memory.MemorySubscription
  Return a String representation of this object.
type - Variable in class org.apache.struts.examples.mailreader.memory.MemorySubscription
  The subscription type ("imap" or "pop3").

## U

user - Variable in class org.apache.struts.examples.mailreader.memory.MemorySubscription
  The `User` with which we are associated.
User - interface org.apache.struts.examples.mailreader.User.
  A User which is stored, along with his or her associated `Subscription`s, in a `UserDatabase`.
UserDatabase - interface org.apache.struts.examples.mailreader.UserDatabase.
  A Data Access Object (DAO) interface describing the available operations for retrieving and storing `User`s (and their associated `Subscription`s) in some persistence layer whose characteristics are not specified here.
username - Variable in class org.apache.struts.examples.mailreader.memory.MemoryUser
  The username for this user.
username - Variable in class org.apache.struts.examples.mailreader.memory.MemorySubscription
  The username for this subscription.
users - Variable in class org.apache.struts.examples.mailreader.memory.MemoryUserDatabase
  The `User`s associated with this UserDatabase, keyed by username.

A C D E F G H I L M O P R S T U

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © 2003-2004 - The Apache Software Foundation