package com.example.usermanagement;
import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;
public class UserManagementPlugin implements BundleActivator {
public void start(BundleContext context) throws Exception {
System.out.println("User Management plugin started!");
}
public void stop(BundleContext context) throws Exception {
System.out.println("User Management plugin stopped!");
}
}
package com.example.productdisplay;
import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;
public class ProductDisplayPlugin implements BundleActivator {
public void start(BundleContext context) throws Exception {
System.out.println("Product Display plugin started!");
}
public void stop(BundleContext context) throws Exception {
System.out.println("Product Display plugin stopped!");
}
}
package com.example.ordermanagement;
import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;
public class OrderManagementPlugin implements BundleActivator {
public void start(BundleContext context) throws Exception {
System.out.println("Order Management plugin started!");
}
public void stop(BundleContext context) throws Exception {
System.out.println("Order Management plugin stopped!");
}
}