cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <dk...@apache.org>
Subject Re: What is Extension and ExtensionManager
Date Thu, 07 Jul 2011 02:41:33 GMT
On Wednesday, July 06, 2011 3:38:24 AM Lalit Kumar wrote:
> Hi,
> 
> I am new to Apache CXF. Can anyone help me in brief about
> 
> Question: What is the purpose Extension class?
> 
> Question: What is the purpose of Extension Manager?

For the most part, with 2.4.x, no one but really core developers really need 
to mess with either of these.    Definitely not new users.   :-)   The 
"Extension" class really holds a bit of metadata about the various objects 
that are delay loaded.   Mostly the classloader, the Class object, a couple 
triggers (namespaces), delayed yes/no, etc....    The ExtensionManager pretty 
much find all the extensions at startup (scans for /META-INF/cxf/.... things) 
and then loads the extensions on demand.  

Like I said though, for the most part, a user doesn't need to deal with these 
at all.   They are used mostly internally for wiring together the Bus and all 
the functionality that makes up CXF.  The Spring support and Blueprint support 
does some subclassing of the Extension stuff to allow loading various things 
from Spring/Blueprint contexts, but again, not really an end user thing.  :-)

Dan



> 
> Thanks in advance
> 
> Regards
> Lalit Kumar
> 
> 
> -----
> Lalit Kumar
> Technical Specialist
> Fidelity International
> --
> View this message in context:
> http://cxf.547215.n5.nabble.com/What-is-Extension-and-ExtensionManager-tp45
> 56403p4556403.html Sent from the cxf-dev mailing list archive at Nabble.com.
-- 
Daniel Kulp
dkulp@apache.org
http://dankulp.com/blog
Talend - http://www.talend.com

Mime
View raw message