20080913, rgf

org.apache.bsf.util.event.generator
Class EventAdapterGenerator

java.lang.Object
  extended byorg.apache.bsf.util.event.generator.EventAdapterGenerator

public class EventAdapterGenerator
extends java.lang.Object

EventAdapterGenerator Generate an "Event Adapter" dynamically during program execution


Field Summary
(package private) static byte[] BASECP
           
(package private) static short BASECPCOUNT
           
(package private) static byte[] CLASSHEADER
           
(package private) static java.lang.String CLASSPACKAGE
           
(package private) static java.lang.Class EVENTLISTENER
           
(package private) static byte[] FIXEDCLASSBYTES
           
(package private) static byte[] INITMETHOD
           
static AdapterClassLoader ldr
           
(package private) static java.lang.String WRITEDIRECTORY
           
 
Constructor Summary
EventAdapterGenerator()
           
 
Method Summary
static java.lang.Class makeEventAdapterClass(java.lang.Class listenerType, boolean writeClassFile)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ldr

public static AdapterClassLoader ldr

EVENTLISTENER

static java.lang.Class EVENTLISTENER

CLASSPACKAGE

static java.lang.String CLASSPACKAGE

WRITEDIRECTORY

static java.lang.String WRITEDIRECTORY

CLASSHEADER

static byte[] CLASSHEADER

BASECPCOUNT

static short BASECPCOUNT

BASECP

static byte[] BASECP

FIXEDCLASSBYTES

static byte[] FIXEDCLASSBYTES

INITMETHOD

static byte[] INITMETHOD
Constructor Detail

EventAdapterGenerator

public EventAdapterGenerator()
Method Detail

makeEventAdapterClass

public static java.lang.Class makeEventAdapterClass(java.lang.Class listenerType,
                                                    boolean writeClassFile)

20080913, rgf