站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 server API Documentation 英文版文档

Runtime (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档


org.jboss.proxy.compiler
Class Runtime

java.lang.Object
  extended byjava.lang.ClassLoader
      extended byorg.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.



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