java.lang .Object org.apache.struts.webapp.example2.memory .MemorySubscription MemorySubscription final public class MemorySubscription implements Subscription (Code) Concrete implementation of
Subscription for an in-memory
database backed by an XML data file.
author: Craig R. McClanahanversion: $Rev: 471754 $ $Date: 2006-11-06 08:55:09 -0600 (Mon, 06 Nov 2006) $since: Struts 1.1
MemorySubscription public MemorySubscription(MemoryUser user, String host)(Code) Construct a new Subscription associated with the specified
User .
Parameters: user - The user with which we are associatedParameters: host - The mail host for this subscription
getAutoConnect public boolean getAutoConnect()(Code)
getHost public String getHost()(Code) The mail host for this subscription.
getUser public User getUser()(Code) The User owning this Subscription.
setAutoConnect public void setAutoConnect(boolean autoConnect)(Code)
toString public String toString()(Code) Return a String representation of this object.