com.uwyn.rife.continuations.instrument
Class ContinuableDetector

java.lang.Object
  extended by com.uwyn.rife.instrument.ClassInterfaceDetector
      extended by com.uwyn.rife.continuations.instrument.ContinuableDetector

public class ContinuableDetector
extends ClassInterfaceDetector

Detects whether a class implements the continuable marker interface that is setup in the provided instrumentation config.

This is done without actually loading the class and by analyzing the bytecode itself. It's important to not load the class because the class is supposed to be instrumented before actually loading it, if it implements the marker interface.

Since:
1.6
Version:
$Revision: 3811 $
Author:
Geert Bevin (gbevin[remove] at uwyn dot com)

Constructor Summary
ContinuableDetector(ContinuationConfigInstrument config, ClassBytesProvider bytesProvider)
          Creates a new instance of the detector.
 
Method Summary
 
Methods inherited from class com.uwyn.rife.instrument.ClassInterfaceDetector
detect
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContinuableDetector

public ContinuableDetector(ContinuationConfigInstrument config,
                           ClassBytesProvider bytesProvider)
Creates a new instance of the detector.

Parameters:
config - the instrumentation configuration
bytesProvider - the bytecode provider that will be used to load the bytes relevant classes and interfacse
Since:
1.6


Copyright © 2001-2007 Uwyn sprl/bvba. All Rights Reserved.