The reason here is that I'm trying to integrate Scott's profiling tools with
the IOC framework.

EG:

ActionContext.getContext.put("DefaultComponentManager",
(DefaultComponentManager)
ObjectProfiler.getProfiledObject(ComponentManager.class, new
DefaultComponentManager());

This will then put a dynamic proxy in between which will invoke methods to
measure method calls on a component, or something... :)

Cheers,
Mathias

-----Original Message-----
From: Pat Lightbody [mailto:[EMAIL PROTECTED] 
Sent: donderdag 24 juli 2003 18:04
To: [EMAIL PROTECTED]
Subject: Re: [OS-webwork] Overriding DefaultComponentManager


Ummm.... writing your own ComponentManager is pretty much writing your own
IoC framework. I'd like to avoid offering too much flexability and it will
eventually confuse people (I can't STAND looking at JBoss config files for
this very reason). If you've written your own ComponentManager, then all you
need to do is extend ApplicationLifecycleProvider and change how it loads up
the CM.

-Pat

----- Original Message -----
From: "Jason Carreira" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 24, 2003 5:30 AM
Subject: RE: [OS-webwork] Overriding DefaultComponentManager


Sounds ok... Either patch or create an issue in Jira.

> -----Original Message-----
> From: BOGAERT Mathias [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 24, 2003 5:54 AM
> To: Opensymphony-Webwork ([EMAIL PROTECTED])
> Subject: [OS-webwork] Overriding DefaultComponentManager
>
>
> Hi guys,
>
> I would like to override the DefaultComponentManager class, and I 
> suggest we put the className of this in components.xml too.
>
> Eg.
>
> <components manager="com.intrasoft.util.TimingComponentManager">
>     <!-- Lucene -->
>     <component>
>         <scope>application</scope>
>         <class>com.intrasoft.search.lucene.LuceneIndexStore</class>
>
> <enabler>com.intrasoft.search.lucene.LuceneIndexStoreAware</enabler>
>     </component>
>
>     ...
> </components>
>
> Cheers,
> Mathias
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites including 
> Data Reports, E-commerce, Portals, and Forums are available now. 
> Download today and enter to win an XBOX or Visual Studio .NET.
> http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet
_072303_01/01
_______________________________________________
Opensymphony-webwork mailing list [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data
Reports, E-commerce, Portals, and Forums are available now. Download today
and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Opensymphony-webwork mailing list [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data
Reports, E-commerce, Portals, and Forums are available now. Download today
and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Opensymphony-webwork mailing list [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to