de.dante.extex.interpreter.primitives.dynamic.java
Interface Loadable


public interface Loadable

This interface describes the initialization method which is invoked from JavaLoad after the requested class has been instantiated. This interface can be used to write a class that performs many initializations after it has been loaded dynamically.

Note that no provisions are made to avoid that a class is loaded more than once. It is up to the implementation to provide this behavior or not.

Version:
$Revision: 1.7 $
Author:
Gerd Neugebauer

Method Summary
 void init(Context context, Typesetter typesetter)
          Perform any initializations desirable after the component has been loaded.
 

Method Detail

init

public void init(Context context,
                 Typesetter typesetter)
          throws GeneralException
Perform any initializations desirable after the component has been loaded.

Parameters:
context - the processor context
typesetter - the current typesetter
Throws:
GeneralException - in case of an error