fr.umlv.corosol.component.impl
Class JDK1_5JClassLoader

java.lang.Object
  extended by fr.umlv.corosol.component.impl.AbstractJVMComponent
      extended by fr.umlv.corosol.component.impl.DefaultJClassLoader
          extended by fr.umlv.corosol.component.impl.JDK1_5JClassLoader
All Implemented Interfaces:
JClassLoader, JObject, JVMComponent

public class JDK1_5JClassLoader
extends DefaultJClassLoader

This class represents the jdk1.5 implementation of the fr.umlv.corosol.component.JClassLoader interface.

Author:
Christophe Deleray

Constructor Summary
JDK1_5JClassLoader()
          The default constructor.
 
Method Summary
 JClass createArrayClass(java.lang.String name)
          Creates a JClass corresponding to the class array specified by the fully qualified name passed in parameter.
 JClass createClass(JClassFile classfile)
          Creates a JClass object from the classfile data specified by the JClassFile instance.
 
Methods inherited from class fr.umlv.corosol.component.impl.DefaultJClassLoader
configure, createField, createMethod, getComponentClass, isInterface, isSuperclass, loadClass, loadPrimitiveClass, resolveClass, resolveField, resolveInterfaceMethod, resolveMethod, toString
 
Methods inherited from class fr.umlv.corosol.component.impl.AbstractJVMComponent
replace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface fr.umlv.corosol.component.JVMComponent
replace
 

Constructor Detail

JDK1_5JClassLoader

public JDK1_5JClassLoader()
The default constructor.

Method Detail

createClass

public JClass createClass(JClassFile classfile)
Creates a JClass object from the classfile data specified by the JClassFile instance.

Specified by:
createClass in interface JClassLoader
Overrides:
createClass in class DefaultJClassLoader
Parameters:
classfile - a classfile
Returns:
a new instance of the JClass class

createArrayClass

public JClass createArrayClass(java.lang.String name)
Creates a JClass corresponding to the class array specified by the fully qualified name passed in parameter.

Specified by:
createArrayClass in interface JClassLoader
Overrides:
createArrayClass in class DefaultJClassLoader
Parameters:
name - the fully qualified name of an array class
Returns:
a new instance of an array class