Never mind. Once I added that it implements Component it worked fine.

Ralph

> -----Original Message-----
> From: Ralph Goers 
> Sent: Wednesday, November 26, 2003 3:06 PM
> To: '[EMAIL PROTECTED]'
> Subject: Serviceable vs Composable
> 
> 
> I have a component that is declared in cocoon.xconf using 
> 
> <component class="xxx" role="xxx" logger="xxx">
> 
> In various places I was using the ComponentManager to look up this
> component.  While updating to 2.1.3 I have changed everything to be
> Serviceable instead of Composable.  Now I am getting a 
> ClassCastException
> when the lookup returns when I try to cast it to the correct 
> class.  In
> looking at what is returned it is a class like [EMAIL PROTECTED] 
> It looks like it
> was built by reflection as I see methods named m1, m2, etc 
> which are all of
> type java.lang.reflect.Method and internally have the names 
> associated with
> my class.
> 
> Is there something I am missing to get this to work?  This 
> all worked fine
> when it was Composable.
> 
> Ralph Goers
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to