Skip to content

Commit

Permalink
modified nested component rules to use new SSLComponent interface
Browse files Browse the repository at this point in the history
  • Loading branch information
ceharris committed Apr 11, 2013
1 parent e5acdb7 commit 4228a9e
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,12 @@
import ch.qos.logback.classic.PatternLayout;
import ch.qos.logback.classic.boolex.JaninoEventEvaluator;
import ch.qos.logback.classic.encoder.PatternLayoutEncoder;
import ch.qos.logback.classic.net.SSLSocketAppender;
import ch.qos.logback.classic.net.SSLSocketRemote;
import ch.qos.logback.classic.net.server.SSLServerSocketAppender;
import ch.qos.logback.classic.net.server.SocketServerNestedComponentRegistryRules;
import ch.qos.logback.core.AppenderBase;
import ch.qos.logback.core.UnsynchronizedAppenderBase;
import ch.qos.logback.core.filter.EvaluatorFilter;
import ch.qos.logback.core.joran.spi.DefaultNestedComponentRegistry;
import ch.qos.logback.core.net.ssl.SSLComponent;
import ch.qos.logback.core.net.ssl.SSLConfiguration;
import ch.qos.logback.core.net.ssl.SSLNestedComponentRegistryRules;

Expand All @@ -47,9 +45,7 @@ static public void addDefaultNestedComponentRegistryRules(
registry
.add(EvaluatorFilter.class, "evaluator", JaninoEventEvaluator.class);

registry.add(SSLSocketAppender.class, "ssl", SSLConfiguration.class);
registry.add(SSLSocketRemote.class, "ssl", SSLConfiguration.class);
registry.add(SSLServerSocketAppender.class, "ssl", SSLConfiguration.class);
registry.add(SSLComponent.class, "ssl", SSLConfiguration.class);
SSLNestedComponentRegistryRules.addDefaultNestedComponentRegistryRules(registry);
SocketServerNestedComponentRegistryRules.addDefaultNestedComponentRegistryRules(registry);
}
Expand Down

0 comments on commit 4228a9e

Please sign in to comment.