org.jboss.seam.example.booking
Class StartupSessionBean

java.lang.Object
  extended by org.jboss.seam.example.booking.StartupSessionBean

@Startup
@Scope(value=SESSION)
@Name(value="StartupSessionBean")
public class StartupSessionBean
extends Object

Simple Seam bean that uses @Startup to get the value into the HttpSession at startup.

Author:
Stan Silvert

Constructor Summary
StartupSessionBean()
           
 
Method Summary
 String getValue()
           
 void setValue(String value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StartupSessionBean

public StartupSessionBean()
Method Detail

getValue

public String getValue()

setValue

public void setValue(String value)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2007-2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.