Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.proxy.compiler
Class Runtime

    java.lang.Object
      java.lang.ClassLoader
          org.jboss.proxy.compiler.Runtime

public class Runtime
extends ClassLoader

Manages bytecode assembly for dynamic proxy generation.

This is the only data needed at runtime.

Version:
  `$Revision: 1.6 $`
Author:
  Unknown, Jason Dillon

Field Summary
`static String` | `RUNTIME_FN` The field name of the runtime target proxies Runtime object.

Constructor Summary
`Runtime(ClassLoader parent)` Construct a new `Runtime`

Method Summary
`Class[]` | `copyTargetTypes()`
`URL` | `getResource(String name)` Delegate to the original class loader.
`InputStream` | `getResourceAsStream(String name)` Delegate to the original class loader.
`Object` | `invoke(InvocationHandler invocationHandler, int methodNum, Object[] values)`
`Class` | `loadClass(String name, boolean resolve)`

Methods inherited from class java.lang.ClassLoader
`clearAssertionStatus, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getPackage, getPackages, getParent, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### RUNTIME_FN

    public static final String RUNTIME_FN

  The field name of the runtime target proxies Runtime object.

  See Also:
    Constant Field Values

Constructor Detail

### Runtime

    public Runtime(ClassLoader parent)

  Construct a new `Runtime`

Parameters:
  `parent` - The parent classloader to delegate to.

Method Detail

### copyTargetTypes

    public Class[] copyTargetTypes()

### invoke

    public Object invoke(InvocationHandler invocationHandler,
                         int methodNum,
                         Object[] values)
                  throws Throwable

  Throws:
    `Throwable`

### loadClass

    public Class loadClass(String name,
                           boolean resolve)
                    throws ClassNotFoundException

  Throws:
    `ClassNotFoundException`

### getResourceAsStream

    public InputStream getResourceAsStream(String name)

  Delegate to the original class loader.

### getResource

    public URL getResource(String name)

  Delegate to the original class loader.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002 JBoss Group, LLC. All Rights Reserved.