Public Member Functions | Package Functions

alma.acs.component.StatefulComponentLifecycle Interface Reference

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

List of all members.

Public Member Functions

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

Package Functions

Map< String, String > getStateAsNameValueData ()

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 (  )  [package]
String alma.acs.component.StatefulComponentLifecycle.getStateAsXmlString (  ) 
void alma.acs.component.StatefulComponentLifecycle.setStateAsNameValueData ( Map< String, String >  nameValueStateData  ) 
void alma.acs.component.StatefulComponentLifecycle.setStateAsXmlString ( String  xmlStateData  ) 

The documentation for this interface was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties