On Thu, May 21, 2009 at 8:54 AM, Raymond Feng <[email protected]> wrote:
>> I was wondering what would be a nice way to do this?
>>
>> Writing the class visitor seems easy enough, but what extension point
>> can I register it with?
>
> Good question. We don't have a class visitor extension point today that
> allows you to declare your own extensions. The Tuscany visitors are added
> programmatically using the module activators. For now, you can do that too.
> Ideally, we should add a new extension point.
>

You could take a look at the policy-security-jsr250, although I think
this is not the perfect solution, you can use this as an example.
This module uses a ModuleActivator that  register a class visitor to
the extension point defined in the java implementation and I think
this new extension could use something similar.

-- 
Luciano Resende
Apache Tuscany, Apache PhotArk
http://people.apache.org/~lresende
http://lresende.blogspot.com/

Reply via email to