private void initializeInternal(Long currentTime) { doInitialize(currentTime); postInitialize(); }
/** * Constructor - initializes services. * * @param configuration is the runtimeconfiguration * @param runtimeURI is the runtime URI or "default" (or null which it assumes as "default") if this is the default provider * @param runtimes map of URI and runtime * @throws ConfigurationException is thrown to indicate a configuraton error */ public EPRuntimeImpl(Configuration configuration, String runtimeURI, Map<String, EPRuntimeSPI> runtimes) throws ConfigurationException { if (configuration == null) { throw new NullPointerException("Unexpected null value received for configuration"); } if (runtimeURI == null) { throw new NullPointerException("runtime URI should not be null at this stage"); } this.runtimes = runtimes; this.runtimeURI = runtimeURI; serviceListeners = new CopyOnWriteArraySet<>(); configLastProvided = takeSnapshot(configuration); doInitialize(null); }