com.sun.j2ee.blueprints.petstore.control.ejb
Class StateMachine
java.lang.Object
|
+--com.sun.j2ee.blueprints.petstore.control.ejb.StateMachine
- public class StateMachine
- extends java.lang.Object
- implements java.io.Serializable
This class is a Universal front back end of an application
which ties all EJB components together dynamically at runtime.
This class should not be updated to handle various event types.
This class will use ActionHandlers to handle events that require
processing beyond the scope of this class.
A second option to event handling is to do so in the XML descriptor
itself.
State may be stored in the attributeMap
Configuration of this file is via an XML descriptor.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
StateMachine
public StateMachine(ShoppingClientControllerEJB sccejb)
handleEvent
public java.util.Collection handleEvent(EStoreEvent ese)
throws java.rmi.RemoteException,
EStoreEventException
setAttribute
public void setAttribute(java.lang.String key,
java.lang.Object value)
getAttribute
public java.lang.Object getAttribute(java.lang.String key)
getShoppingClientControllerEJB
public ShoppingClientControllerEJB getShoppingClientControllerEJB()
Copyright © 2000 Sun Microsystems Inc. All Rights Reserved.