de.dante.util.framework
Interface RegistrarObserver

All Known Implementing Classes:
AbstractFactory, FontFactoryImpl

public interface RegistrarObserver

This interface describes an observer which is meant to reconnect a object which has just been reconstructed.

Version:
$Revision: 1.3 $
Author:
Gerd Neugebauer

Method Summary
 java.lang.Object reconnect(java.lang.Object object)
          Reconnect an object.
 

Method Detail

reconnect

public java.lang.Object reconnect(java.lang.Object object)
                           throws RegistrarException
Reconnect an object. It should return the object which should actually be used. This is normally the object which is passed in as argument. Nevertheless the as a side effect the object can be attached to an internal list in a factory or augmented with additional information by invoking some of its methods.

Parameters:
object - the object to reconnect
Returns:
the object to be actually used
Throws:
RegistrarException - in case of an error during configuration