com.tc.object.bytecode.hook
Interface DSOContext

All Superinterfaces:
java.lang.instrument.ClassFileTransformer, ClassPostProcessor, ClassPreProcessor, ClassProcessor

public interface DSOContext
extends ClassProcessor, java.lang.instrument.ClassFileTransformer

The idea behind DSOContext is to encapsulate a DSO "world" in a client VM. But this idea has not been fully realized.


Field Summary
static java.lang.String CLASS
           
static java.lang.String TYPE
           
 
Method Summary
 void addModules(java.net.URL[] modules)
           
 java.net.URL getClassResource(java.lang.String className, java.lang.ClassLoader loader, boolean hideSystemResources)
          Get url to class file
 Manager getManager()
           
 void shutdown()
           
 
Methods inherited from interface com.tc.object.bytecode.hook.ClassPreProcessor
preProcess
 
Methods inherited from interface com.tc.object.bytecode.hook.ClassPostProcessor
postProcess
 
Methods inherited from interface java.lang.instrument.ClassFileTransformer
transform
 

Field Detail

CLASS

static final java.lang.String CLASS
See Also:
Constant Field Values

TYPE

static final java.lang.String TYPE
See Also:
Constant Field Values
Method Detail

getManager

Manager getManager()
Returns:
The Manager instance

shutdown

void shutdown()

getClassResource

java.net.URL getClassResource(java.lang.String className,
                              java.lang.ClassLoader loader,
                              boolean hideSystemResources)
Get url to class file

Parameters:
className - Class name
loader - the calling classloader
hideSystemResources - true if resources destined only for the system class loader should be hidden
Returns:
URL to class itself

addModules

void addModules(java.net.URL[] modules)
                throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2010 Terracotta, Inc.. All Rights Reserved.