FileDocCategorySizeDatePackage
SubscriberHandler.javaAPI DocExample833Tue Jun 08 11:26:42 BST 2004com.mycompany.newsservice.handlers

SubscriberHandler

public class SubscriberHandler extends Object
This class is an example of the type of class that acts as an adaptor for JSF-independent business logic classes (such as Subscriber) to make them accessible to JSF components. It contains a single JSF action method for calling the save() method on a Subscriber instance. A real class of this type typically has a lot more methods.
author
Hans Bergsten, Gefion Software
version
1.0

Fields Summary
private com.mycompany.newsservice.models.Subscriber
subscriber
Constructors Summary
Methods Summary
public java.lang.StringsaveSubscriber()

        subscriber.save();
        return "success";
    
public voidsetSubscriber(com.mycompany.newsservice.models.Subscriber subscriber)

        this.subscriber = subscriber;