You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by Lalit Kumar <la...@gmail.com> on 2011/07/06 12:38:24 UTC

What is Extension and ExtensionManager

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?

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-tp4556403p4556403.html
Sent from the cxf-dev mailing list archive at Nabble.com.

Re: What is Extension and ExtensionManager

Posted by Daniel Kulp <dk...@apache.org>.
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