Hi Rodrigo,

Ah ! suspected that when reading about the "new()" operator - I assume
you meant simple class instantiation. Yes, of course, the DS controls
the components and its instances as per the descriptor. You (or any
admin or whoever bundle programmer) don't have to care about
instantiating components :-)

Regards
Felix


Am Montag, den 08.10.2007, 21:25 +0100 schrieb Rodrigo Madera:
> Well, continuing my monologue, here is the answer to my problem:
> 
> I was instantiating the DS component, so DS wasn't actually handling
> the object. The solution was to use activate/deactivate methods in my
> component and work with the 'this' instance, which had all I needed.
> 
> Hope this helps at least somebody out there over time!
> 
> Rodrigo
> 
> P.S. Guess all the developers are in Europe?
> 
> On 10/8/07, Rodrigo Madera <[EMAIL PROTECTED]> wrote:
> >
> > Btw, I am using this component using the new() operator.
> > I'm suspecting very confidently that this is the problem.
> >
> > I'm having a dialogue with the OSGi 4.1 spec =o)
> >
> > Rodrigo
> >
> > On 10/8/07, Rodrigo Madera <[EMAIL PROTECTED]> wrote:
> > >
> > > Is there a log or someplace I can grab DS output?
> > >
> > > The problem is not with a Command implementation anymore...
> > > It's a normal component... I need some debugging info!!! =o(
> > >
> > > Thanks,
> > > Rodrigo
> > >
> > > On 10/8/07, Rodrigo Madera <[EMAIL PROTECTED] > wrote:
> > > >
> > > > Just to clarify:
> > > >
> > > > When I wrote:
> > > >         except that Declarative Services does not provide me an
> > > > interface to one of my services
> > > >
> > > > What I meant was REFERENCE instead of interface:
> > > >         except that Declarative Services does not provide me a
> > > > reference to one of my services.
> > > >
> > > > Thanks,
> > > > Rodrigo
> > > >
> > > >
> > > >
> > > >
> > > > On 10/8/07, Rodrigo Madera < [EMAIL PROTECTED]> wrote:
> > > > >
> > > > > Hello,
> > > > >
> > > > > I'm having an issue with a custom Felix command which implements
> > > > > (naturally) the Command interface.
> > > > >
> > > > > Everything is okay and the shell accepts the command, except that
> > > > > Declarative Services does not
> > > > > provide me an interface to one of my services (a very simple one).
> > > > >
> > > > > So I have a question: has anyone had problems with Felix Command
> > > > > impls and DS?
> > > > >
> > > > > Thanks,
> > > > > Rodrigo
> > > > >
> > > >
> > > >
> > >
> >


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

Reply via email to