Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

alma::acs::component::StatefulComponentLifecycle Interface Reference

Inheritance diagram for alma::acs::component::StatefulComponentLifecycle:

Inheritance graph
[legend]
Collaboration diagram for alma::acs::component::StatefulComponentLifecycle:

Collaboration graph
[legend]
List of all members.

Public Member Functions

Map< String, String > getStateAsNameValueData ()

Package Functions

void setStateAsNameValueData (Map< String, String > nameValueStateData)
String getStateAsXmlString ()
void setStateAsXmlString (String xmlStateData)

Detailed Description

Interface to allow a component to declare that it is stateful (client-specific state or other) and can only be restarted (without surprising effects for its clients) if its state is handled by the container using the methods of this interface.

About references to components and callback objects: Baci monitors will be stored and reconnected automatically by the container. Component references should be stored not as Corba IORs, but as qualified names which allow to request the real reference again from the manager. We will have to disucss how dependencies among a group of restarted/restored components can be handled this way. Also for restarting a component, the manager should not release the components that this component is a client of. Perhaps we should have a separate method to get and set component references or other Corba references.

Author:
hsommer
Since:
ACS 7.0.1
Deprecated:
Early construction -- do not use this class yet, methods may change.


Member Function Documentation

Map<String, String> alma::acs::component::StatefulComponentLifecycle::getStateAsNameValueData  ) 
 

String alma::acs::component::StatefulComponentLifecycle::getStateAsXmlString  )  [package]
 

void alma::acs::component::StatefulComponentLifecycle::setStateAsNameValueData Map< String, String >  nameValueStateData  )  [package]
 

void alma::acs::component::StatefulComponentLifecycle::setStateAsXmlString String  xmlStateData  )  [package]
 


The documentation for this interface was generated from the following file:
Generated on Thu Apr 30 02:52:15 2009 for ACS Java API by doxygen 1.3.8