org.pf.tools.cda.core.init
Class BinaryFileClassInitializer

java.lang.Object
  extended by org.pf.tools.cda.core.init.BinaryFileClassInitializer
All Implemented Interfaces:
IClassInitializer

public class BinaryFileClassInitializer
extends java.lang.Object
implements IClassInitializer

A class initializer that reads the information about a classInfo from a binary .class file.

Version:
1.0
Author:
M.Duchrow

Field Summary
static BinaryFileClassInitializer INSTANCE
          The sole instance of this class.
 
Method Summary
 boolean initializeClass(ClassInformation classInfo)
          If the given class info object has not yet been loaded from its corresponding .class file then this method will do it now.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final BinaryFileClassInitializer INSTANCE
The sole instance of this class. Since it is reentrant it can be used for as many classes as necessary.

Method Detail

initializeClass

public boolean initializeClass(ClassInformation classInfo)
If the given class info object has not yet been loaded from its corresponding .class file then this method will do it now. Otherwise nothing happens.

Specified by:
initializeClass in interface IClassInitializer
Parameters:
classInfo - The class info for which the initialization should be executed
Returns:
true if the .class file has been loaded by this call, otherwise false