jason.core
Class ServiceState

java.lang.Object
  |
  +--jason.core.ServiceState
All Implemented Interfaces:
java.io.Serializable

public class ServiceState
extends java.lang.Object
implements java.io.Serializable

Created Sun Oct 6 20:02:24 2002

This is a storable area for service content. This class is able to read all service property by reflection available by a "get" method. This objet is then written by the service container. On the contrary to restore the service state, this objet is able to write the "set" methods.

Note that only declared method are taken into account meaning all subclasses are ignored.

Author:
Alexandre Brillant (abrillant@wanadoo.fr)
See Also:
Serialized Form

Constructor Summary
ServiceState(Service s)
           
 
Method Summary
 void postWrite(Service s)
          Get all get service value
 void preRead(Service s)
          Reset the service state
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceState

public ServiceState(Service s)
Method Detail

postWrite

public void postWrite(Service s)
Get all get service value


preRead

public void preRead(Service s)
Reset the service state