On Tuesday 06 March 2007 01:01, Bin Conan wrote:
> I register a class service named ABC in an OSGi platform. Class ABC
> contains 3 functions, namely D, E and F. I would like to know if there is a
> way to allow OSGi runtime enviroment to make those functions call
> automatically and internally after it invokes the default
> "start(BundleContext bc) function" in an order D, then E and finally F
> without any interferene of users or involvement of third-pary OSGi bundles?
> Is it feasible? Would anyone answer me the question?

I probably have no clue what you are talking about. What is a "function"??

In the BundleActivator...

public void start( BundleContext bc )
    throws Exception
{
    D d = new D();
    E e = new E();
    F f = new F();
    d.doFunction();
    e.doFunction();
    f.doFunction();
}

What are you looking for?

Cheers
-- 
Niclas Hedhman, Software Developer

I  live here; http://tinyurl.com/2qq9er
I  work here; http://tinyurl.com/2ymelc
I relax here; http://tinyurl.com/2cgsug
_______________________________________________
OSGi Developer Mail List
[email protected]
http://www2.osgi.org/mailman/listinfo/osgi-dev

Reply via email to