@Test public void create() { ServiceLogManager em = factory.create(op1Key.getNamespace(), op1Key.getServiceName(), op1Key.getVersion()); assertEquals(loggerName, em.getLoggerName()); }
@Override public ServiceLogManager create(String namespace, String serviceName, ServiceVersion version) { String loggerName = eventLoggingRegistry.registerConcreteLogger(namespace, serviceName); return new DefaultServiceLogManager(loggerName); }
DefaultServiceLogManagerFactory implements ServiceLogManagerFactory { @Override public ServiceLogManager create(String namespace, String serviceName, ServiceVersion version) { String loggerName = eventLoggingRegistry.registerConcreteLogger(namespace, serviceName); return new DefaultServiceLogManager(loggerName); } }
DefaultServiceLogManagerFactory implements ServiceLogManagerFactory { @Override public ServiceLogManager create(String namespace, String serviceName, ServiceVersion version) { String loggerName = eventLoggingRegistry.registerConcreteLogger(namespace, serviceName); return new DefaultServiceLogManager(loggerName); } DefaultServiceLogManagerFactory(EventLoggingRegistry eventLoggingRegistry); }
DefaultServiceLogManagerFactory implements ServiceLogManagerFactory { @Override public ServiceLogManager create(String namespace, String serviceName, ServiceVersion version) { String loggerName = eventLoggingRegistry.registerConcreteLogger(namespace, serviceName); return new DefaultServiceLogManager(loggerName); } DefaultServiceLogManagerFactory(EventLoggingRegistry eventLoggingRegistry); @Override ServiceLogManager create(String namespace, String serviceName, ServiceVersion version); }
DefaultServiceLogManagerFactory implements ServiceLogManagerFactory { @Override public ServiceLogManager create(String namespace, String serviceName, ServiceVersion version) { String loggerName = eventLoggingRegistry.registerConcreteLogger(namespace, serviceName); return new DefaultServiceLogManager(loggerName); } DefaultServiceLogManagerFactory(EventLoggingRegistry eventLoggingRegistry); @Override ServiceLogManager create(String namespace, String serviceName, ServiceVersion version);  }