ObjectWeb Consortium
Search ObjectWeb Mail Archive: 

Advanced Search - Powered by Google

Mail Archive Home | oscar List | July 2004 Index

<--  Date Index  --> <--  Thread Index  -->

Custom Oscar StartUp

I'd like to know it there is some way to start up Oscar with a specified profile, to avoid to type every time the profile name....

While writing the mail I have looked at source code and I suppose that something like this should work:

Properties p = new Properties();
p.setProperty(DefaultBundleCache.CACHE_PROFILE_PROP,<Profile Name>);
   org.ungoverned.oscar.Oscar osgi = new  org.ungoverned.oscar.Oscar(p);
}catch(Exception e){

Thank All!

<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.