kaos.core.service.directory.persistence
Class DeclaredInstance

java.lang.Object
  extended by kaos.core.service.directory.persistence.DeclaredInstance
All Implemented Interfaces:
java.io.Serializable, StateUpdate

public class DeclaredInstance
extends java.lang.Object
implements java.io.Serializable, StateUpdate

A tiny class representing a declareInstance call to the directory services. This class is used to save the existence of a declareInstance call on the blackboard so that the directory service can be correctly rehydrated later. One might expect that such a tiny class would be a private class in the DomainManagerPlugin. This is not done because the Serilizable requirement is awkward.

See Also:
Serialized Form

Field Summary
 java.lang.String _className
           
 java.lang.String _instanceName
           
 
Constructor Summary
DeclaredInstance(java.lang.String instanceName, java.lang.String className)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_instanceName

public java.lang.String _instanceName

_className

public java.lang.String _className
Constructor Detail

DeclaredInstance

public DeclaredInstance(java.lang.String instanceName,
                        java.lang.String className)