@Test public void executorServiceShouldBeNotNull() throws LifecycleException { final String fileName = "logback-asResource.xml"; setupValve(fileName); valve.start(); assertNotNull(valve.getScheduledExecutorService()); }
@Override public ScheduledExecutorService getScheduledExecutorService() { return scheduledExecutorService; }
LogbackValve extends ValveBase implements Lifecycle, Context, AppenderAttachable<IAccessEvent>, FilterAttachable<IAccessEvent> { @Override public ScheduledExecutorService getScheduledExecutorService() { return scheduledExecutorService; } }
LogbackValve extends ValveBase implements Lifecycle, Context, AppenderAttachable<IAccessEvent>, FilterAttachable<IAccessEvent> { @Override public ScheduledExecutorService getScheduledExecutorService() { return scheduledExecutorService; } LogbackValve(); }
LogbackValve extends ValveBase implements Lifecycle, Context, AppenderAttachable<IAccessEvent>, FilterAttachable<IAccessEvent> { @Override public ScheduledExecutorService getScheduledExecutorService() { return scheduledExecutorService; } LogbackValve(); boolean isStarted(); @Override void startInternal(); void addStatus(Status status); void addInfo(String msg); void addWarn(String msg); void addError(String msg, Throwable t); String getFilename(); void setFilename(String filename); boolean isQuiet(); void setQuiet(boolean quiet); @Override void invoke(Request request, Response response); @Override void addAppender(Appender<IAccessEvent> newAppender); @Override Iterator<Appender<IAccessEvent>> iteratorForAppenders(); @Override Appender<IAccessEvent> getAppender(String name); @Override boolean isAttached(Appender<IAccessEvent> appender); @Override void detachAndStopAllAppenders(); @Override boolean detachAppender(Appender<IAccessEvent> appender); @Override boolean detachAppender(String name); String getInfo(); @Override StatusManager getStatusManager(); Map<String, String> getPropertyMap(); @Override void putProperty(String key, String val); @Override String getProperty(String key); @Override Map<String, String> getCopyOfPropertyMap(); @Override Object getObject(String key); @Override void putObject(String key, Object value); @Override void addFilter(Filter<IAccessEvent> newFilter); @Override void clearAllFilters(); @Override List<Filter<IAccessEvent>> getCopyOfAttachedFiltersList(); @Override FilterReply getFilterChainDecision(IAccessEvent event); @Override ExecutorService getExecutorService(); @Override String getName(); @Override void setName(String name); @Override long getBirthTime(); @Override Object getConfigurationLock(); @Override void register(LifeCycle component); @Override void addLifecycleListener(LifecycleListener arg0); @Override LifecycleListener[] findLifecycleListeners(); @Override void removeLifecycleListener(LifecycleListener arg0); @Override String toString(); @Override ScheduledExecutorService getScheduledExecutorService(); @Override void addScheduledFuture(ScheduledFuture<?> scheduledFuture); SequenceNumberGenerator getSequenceNumberGenerator(); void setSequenceNumberGenerator(SequenceNumberGenerator sequenceNumberGenerator); }
LogbackValve extends ValveBase implements Lifecycle, Context, AppenderAttachable<IAccessEvent>, FilterAttachable<IAccessEvent> { @Override public ScheduledExecutorService getScheduledExecutorService() { return scheduledExecutorService; } LogbackValve(); boolean isStarted(); @Override void startInternal(); void addStatus(Status status); void addInfo(String msg); void addWarn(String msg); void addError(String msg, Throwable t); String getFilename(); void setFilename(String filename); boolean isQuiet(); void setQuiet(boolean quiet); @Override void invoke(Request request, Response response); @Override void addAppender(Appender<IAccessEvent> newAppender); @Override Iterator<Appender<IAccessEvent>> iteratorForAppenders(); @Override Appender<IAccessEvent> getAppender(String name); @Override boolean isAttached(Appender<IAccessEvent> appender); @Override void detachAndStopAllAppenders(); @Override boolean detachAppender(Appender<IAccessEvent> appender); @Override boolean detachAppender(String name); String getInfo(); @Override StatusManager getStatusManager(); Map<String, String> getPropertyMap(); @Override void putProperty(String key, String val); @Override String getProperty(String key); @Override Map<String, String> getCopyOfPropertyMap(); @Override Object getObject(String key); @Override void putObject(String key, Object value); @Override void addFilter(Filter<IAccessEvent> newFilter); @Override void clearAllFilters(); @Override List<Filter<IAccessEvent>> getCopyOfAttachedFiltersList(); @Override FilterReply getFilterChainDecision(IAccessEvent event); @Override ExecutorService getExecutorService(); @Override String getName(); @Override void setName(String name); @Override long getBirthTime(); @Override Object getConfigurationLock(); @Override void register(LifeCycle component); @Override void addLifecycleListener(LifecycleListener arg0); @Override LifecycleListener[] findLifecycleListeners(); @Override void removeLifecycleListener(LifecycleListener arg0); @Override String toString(); @Override ScheduledExecutorService getScheduledExecutorService(); @Override void addScheduledFuture(ScheduledFuture<?> scheduledFuture); SequenceNumberGenerator getSequenceNumberGenerator(); void setSequenceNumberGenerator(SequenceNumberGenerator sequenceNumberGenerator); final static String DEFAULT_FILENAME; final static String DEFAULT_CONFIG_FILE; }