Tim,

What existing plug points do you mean? I didn't see any obvious plug
points but I guess I could have missed them. If there are better
existing plug points I don't mind using them just don't want to
replicate a ton of code.

My changes addressed two issues there were marked as TODO in the code
and which help to get runtime enhancement working with the javaagent
approach and fragment bundles.

Jarek

On Wed, Jun 2, 2010 at 6:46 AM, Timothy Ward <[email protected]> wrote:
>
>
> Hi Jarek,
>
> I think this is another one I missed the discussion for. It was my belief 
> that any bytecode weaving would be done by third parties using the existing 
> plug point until there is a common solution for weaving in OSGi.
>
> Might a better solution be to provide a "weaving fragment" for the JPA code 
> that uses the previously existing extension? This would keep the core code 
> clear for the future standardized mechanism and provide less of a 
> compatability headache in the future.
>
> From my perspective I'd prefer to keep the number of plug points in the core 
> code path to a minimum. So far I haven't seen anything that can't be done 
> within the existing code, but please let me know if I'm missing something in 
> the bigger picture.
>
> Regards,
>
> Tim
>
> ----------------------------------------
>> Date: Tue, 25 May 2010 19:45:31 -0400
>> From: [email protected]
>> To: [email protected]
>> Subject: [jira] Commented: (ARIES-320) Support ClassTransformers for PUs
>>
>>
>> [ 
>> https://issues.apache.org/jira/browse/ARIES-320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12871438#action_12871438
>>  ]
>>
>> Jarek Gawor commented on ARIES-320:
>> -----------------------------------
>>
>> Added support for TransformerAgent service. Once detected the PUs will 
>> register/unregister its ClassTransformers with it. Committed in revision 
>> 948256.
>>
>>
>>> Support ClassTransformers for PUs
>>> ---------------------------------
>>>
>>> Key: ARIES-320
>>> URL: https://issues.apache.org/jira/browse/ARIES-320
>>> Project: Aries
>>> Issue Type: New Feature
>>> Components: JPA
>>> Affects Versions: 0.2
>>> Reporter: Jarek Gawor
>>> Assignee: Jarek Gawor
>>> Fix For: 0.2
>>>
>>>
>>> One way of supporting runtime enhancement of JPA entity classes is via java 
>>> agent approach. Aries JPA should allow for java agent based enhancement.
>>
>> --
>> This message is automatically generated by JIRA.
>> -
>> You can reply to this email to add a comment to the issue online.
>>
>
> _________________________________________________________________
> http://clk.atdmt.com/UKM/go/197222280/direct/01/
> Do you have a story that started on Hotmail? Tell us now

Reply via email to