Changes

Jump to: navigation, search

Teams Winter 2011/team6/lab2

481 bytes added, 14:59, 12 April 2011
no edit summary
}
}
 
:d) Edit ChatActivator.java to add the following:
 
import org.osgi.framework.BundleActivator;
 
import org.osgi.framework.BundleContext;
 
import cs.dps914.osgi.lab.chatinterface.IChatSystem;
 
import cs.dps914.osgi.lab.provider.internals.SimpleChatSystem;
 
and
 
public void start(BundleContext bundleContext) throws Exception {
ChatActivator.context = bundleContext;
IChatSystem vs=new SimpleChatSystem();
context.registerService(IChatSystem.class.getName(),vs,null);
}
1
edit

Navigation menu