Registers the supplied transformer. All future class definitions
will be seen by the transformer, except definitions of classes upon which any
registered transformer is dependent.
The transformer is called when classes are loaded, when they are
redefined. and if
canRetransform is true,
when they are retransformed.
ClassFileTransformer.transform for the order
of transform calls.
If a transformer throws
an exception during execution, the JVM will still call the other registered
transformers in order. The same transformer may be added more than once,
but it is strongly discouraged -- avoid this by creating a new instance of
This method is intended for use in instrumentation, as described in the class specification.
|the transformer to register|
|can this transformer's transformations be retransformed|
| if passed a |
| if |