Hi Alexandre, Yes, it's possible. You have basically two ways to do that:
1/ you can use the CellarFeaturesMBean programmatically. It means that you create a MBean client bundle which interact with the MBean. 2/ you can mimic directly what the CellarFeaturesMBean does using ClusterManager and GroupManager OSGi service:
http://svn.apache.org/repos/asf/karaf/cellar/trunk/management/src/main/java/org/apache/karaf/cellar/management/internal/CellarFeaturesMBeanImpl.java My advice is to use 1. Regards JB On 06/04/2012 01:30 PM, Alexandre Barbosa wrote:
Hello, Regarding Karaf Cellar, I was wandering if there is anyway to install and remove features as you would normally do using the shell but instead doing it programmatically (on Java Code that is). If so could I get any tips on how to do it? Regards, Alexandre Barbosa -- View this message in context: http://karaf.922171.n3.nabble.com/Using-Cellar-features-programmatically-tp4024693.html Sent from the Karaf - User mailing list archive at Nabble.com.
-- Jean-Baptiste Onofré [email protected] http://blog.nanthrax.net Talend - http://www.talend.com
