52535455565758596061
private KarafAgentFactory agentFactory; @Activate void activate(BundleContext bundleContext) { this.agentFactory = new KarafAgentFactory(); this.agentFactory.setBundleContext(bundleContext); activateComponent(); }