@Init public void init() { System.setProperty(LOGGING_PROVIDER_KEY, "slf4j"); } }
@Init public void init() { System.setProperty(LOGGING_PROVIDER_KEY, "slf4j"); } }
/** * Initializes the port. */ @Init public void init() { for (int i = minPort; i <= maxPort; i++) { ports.push(i); } }
@Init public void init() throws NoSuchMethodException { method = SecureClassLoader.class.getDeclaredMethod("defineClass", String.class, byte[].class, Integer.TYPE, Integer.TYPE, CodeSource.class); method.setAccessible(true); }
@Init public void init() { System.out.println("Initializing Domain Asset Manager"); System.out.println(" - Warning threshold : " + warningThreshold + " ms" ); System.out.println(" - Critical threshold : " + criticalThreshold + " ms"); System.out.println(" - Unavailable threshold : " + unavailableThreshold + " ms"); }
@Init public void init() throws IOException { if (tempDir.exists()) { FileHelper.deleteDirectory(tempDir); } tempDir.mkdirs(); }
@Init public void orderProviders() { if (strategy != null) { strategy.order(providers); } }
@Init public void init() throws DataSourceFactoryException { beans = new HashMap<String, AbstractDataSourceBean>(); for (DataSourceConfiguration configuration : configurations) { create(configuration); } }
@Init public void init() { executorRegistry.register(ChannelConnectionCommand.class, this); }
@Init public void init() { executorRegistry.register(BuildChannelCommand.class, this); }
@Init public void init() { registry.register(this); }
@Init public void init() { loaderRegistry.registerLoader(QNAME, this); }
@Init public void start() { super.start(); }
@Init public void init() { executorRegistry.register(BuildChannelCommand.class, this); }
@Init public void init() { commandExecutorRegistry.register(StartComponentCommand.class, this); }
@Init public void init() { commandExecutorRegistry.register(DetachWireCommand.class, this); }
@Init public void init() { executorRegistry.register(StopContextCommand.class, this); }
@Init public void init() { commandExecutorRegistry.register(AttachWireCommand.class, this); }
@Init public void start() { super.start(); }
@Init public void init() { eventService.subscribe(RuntimeStop.class, this); }