private ServiceRegistration marshallerProviderReg;
public void start(BundleContext bc) throws Exception {
System.out.println( "registering core services" );
this.resourceReg = bc.registerService( new String[]{ResourceFactoryService.class.getName(), Service.class.getName()},
new ResourceFactoryServiceImpl(),
new Hashtable() );
this.kbaseReg = bc.registerService( new String[]{KnowledgeBaseFactoryService.class.getName(), Service.class.getName()},
new KnowledgeBaseFactoryServiceImpl(),
new Hashtable() );