001 package de.deepamehta.core.osgi; 002 003 import de.deepamehta.core.service.DeepaMehtaService; 004 import de.deepamehta.core.service.PluginService; 005 006 import org.osgi.framework.BundleContext; 007 008 009 010 public interface PluginContext { 011 012 void init(); 013 014 void postInstall(); 015 016 void serviceArrived(PluginService service); 017 018 void serviceGone(PluginService service); 019 020 // --- 021 022 BundleContext getBundleContext(); 023 024 void setCoreService(DeepaMehtaService dms); 025 }