org.apache.ws.jaxme.js.pattern
Class CompiledClassReflector

java.lang.Object
  extended by org.apache.ws.jaxme.js.pattern.CompiledClassReflector
All Implemented Interfaces:
Reflector

public class CompiledClassReflector
extends java.lang.Object
implements Reflector

Reflector for gathering information on a compiled class.


Constructor Summary
CompiledClassReflector(java.lang.Class pClass)
          Creates a new instance of CompiledClassReflector, reading information from the given class.
CompiledClassReflector(java.lang.String pName, java.lang.ClassLoader pClassLoader)
          Creates a new instance of CompiledClassReflector, which loads the class named pName through pClassLoader.
 
Method Summary
 java.lang.Class getCompiledClass()
          Returns the compiled class being used to gather information.
 JavaSource getJavaSource(JavaSourceFactory pFactory)
          Reads the interface methods and converts them into an instance of JavaSource.
protected  JavaMethod getMethod(JavaSource pSource, java.lang.reflect.Method pMethod)
          Converts the given Method into an instance of JavaSource.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompiledClassReflector

public CompiledClassReflector(java.lang.Class pClass)
Creates a new instance of CompiledClassReflector, reading information from the given class.

Parameters:
pClass -

CompiledClassReflector

public CompiledClassReflector(java.lang.String pName,
                              java.lang.ClassLoader pClassLoader)
                       throws java.lang.ClassNotFoundException
Creates a new instance of CompiledClassReflector, which loads the class named pName through pClassLoader.

Throws:
java.lang.ClassNotFoundException
Method Detail

getMethod

protected JavaMethod getMethod(JavaSource pSource,
                               java.lang.reflect.Method pMethod)

Converts the given Method into an instance of JavaSource.


getCompiledClass

public java.lang.Class getCompiledClass()
Returns the compiled class being used to gather information.


getJavaSource

public JavaSource getJavaSource(JavaSourceFactory pFactory)
Reads the interface methods and converts them into an instance of JavaSource.

Specified by:
getJavaSource in interface Reflector