Refine search
/** * This is the OSGi component/service activation method. It initializes this service. * * @param context The OSGi context provided by the activator. */ @Activate protected void activate(ComponentContext context) throws RepositoryException { log.info("activate: initialized and provided classloader {} to GWT.", this.getClass().getClassLoader()); initOsgiProcessor(); }
@SuppressWarnings("unchecked") @Activate protected void activate(ComponentContext context) { log.info("in {} activate with context {}", getClass(), context); if (context == null) { throw new IllegalStateException("No valid" + ComponentContext.class + " parsed in activate!"); } activate((Dictionary<String,Object>) context.getProperties()); }
@SuppressWarnings("unchecked") @Activate protected void activate(ComponentContext context) { log.info("in {} activate with context {}", getClass(), context); if (context == null) { throw new IllegalStateException("No valid" + ComponentContext.class + " parsed in activate!"); } activate((Dictionary<String,Object>) context.getProperties()); }
@SuppressWarnings("unchecked") @Activate protected void activate(ComponentContext context) { log.info("in {} activate with context {}", getClass(), context); if (context == null) { throw new IllegalStateException("No valid" + ComponentContext.class + " parsed in activate!"); } activate((Dictionary<String,Object>) context.getProperties()); }
@SuppressWarnings("unchecked") @Activate protected final void activate(ComponentContext context) throws ConfigurationException { log.info("in "+ClerezzaYard.class+" activate with context "+context); if(context == null || context.getProperties() == null){ throw new IllegalStateException("No valid"+ComponentContext.class+" parsed in activate!"); } this.context = context; activate(new ClerezzaYardConfig(context.getProperties())); } /**
@Activate private void activate(BundleContext bundleContext, Map<String, ?> config) { failOnDetection = PropertiesUtil.toBoolean(config.get(PROP_FAIL_ON_DETECTION), true); if (mountInfoProvider.hasNonDefaultMounts()) { serviceRegistration = bundleContext.registerService(EditorProvider.class.getName(), this, null); logger.info("Enabling PrivateStoreValidatorProvider with failOnDetection {}", failOnDetection); } }