Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001157 [Resin] minor always 05-30-06 07:42 09-13-06 15:48
Reporter ferg View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version
Summary 0001157: class loader enhancement for JPA
Description (rep by Costin Leau)

I have basically two questions - feel free to add any information you
think it's relevant:

1. a very important issue would be cloning classloaders (basically the
getNewTempClassLoader() from JPA) - a way to get a new instance of a
classloader that is configured exactly like the initial one. The
instance would be then instructed to have code
enhancement/transformation off and it will be used to load classes just
like the original one.
I've seen that EnvironmentClassLoader has a protected replace() method -
is this a good way to clone classloaders or can you recommend another one?
Will such a feature make it into a future release of resin?

2. by default, Resin classloaders (DynamicCL & co) support only one
ByteCodeEnhancer - does Resin support some sort of chaining Enhancer so
one can actually add an enhancer instead of overriding the existing one?

Additional Information
Attached Files

- Relationships

- Notes
(0001515)
ferg
09-13-06 15:48

Added DynamicClassLoader.addByteCodeEnhancer and DynamicClassLoader.newTempClassLoader
 

- Issue History
Date Modified Username Field Change
05-30-06 07:42 ferg New Issue
05-30-06 08:25 anonymous Note Added: 0001244
06-05-06 09:20 ferg Note Deleted: 0001244
09-13-06 15:48 ferg Note Added: 0001515
09-13-06 15:48 ferg Assigned To  => ferg
09-13-06 15:48 ferg Status new => closed
09-13-06 15:48 ferg Resolution open => fixed
09-13-06 15:48 ferg Fixed in Version  => 3.1.0


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
30 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker