Hi Henry,

On Mon, Jul 26, 2010 at 5:39 PM, Henry Story <[email protected]> wrote:
> ...It looks like the activate method requires the ComponentContext argument.
> Without that the felxi OSGi component does not fetch it. Is that a
> bug?...

See [1], the activate method needs to have one argument, but 3
argument types variants are accepted.

> I have seen a lot of documentation on the web that seems to suggest that
> activate() should do...

Looks like those suggestions are wrong.

>
> Is there a way one can set an arbitrary method to be the activate method?..

I don't think so.

-Bertrand

[1] 
http://www.osgi.org/javadoc/r4v42/org/osgi/service/component/ComponentContext.html

Reply via email to