protected void activate(ComponentContext componentContext) { bundleContext = componentContext.getBundleContext(); for (ServiceReference r : pendingRenderletRegistrations) { registerTypeRenderlet(r); } }
protected void bindTypeRenderlet(ServiceReference serviceReference) { if (bundleContext == null) { pendingRenderletRegistrations.add(serviceReference); } else { registerTypeRenderlet(serviceReference); } }