// Path: core-installer-custom/src/main/java/ru/vyarus/dropwizard/guice/examples/installer/Marker.java
// public interface Marker {
// }


import ru.vyarus.dropwizard.guice.examples.installer.Marker;
import javax.inject.Singleton;
import java.util.ArrayList;
import java.util.List;
package ru.vyarus.dropwizard.guice.examples.service;



/**
 * @author Vyacheslav Rusakov
 * @since 31.12.2019
 */
@Singleton
public class MarkersCollector {

    private final List<Marker> markers = new ArrayList<>();

    public void register(Marker marker) {
        markers.add(marker);
    }

// Path: core-installer-custom/src/main/java/ru/vyarus/dropwizard/guice/examples/installer/Marker.java
// public interface Marker {
// }


// Path: core-installer-custom/src/main/java/ru/vyarus/dropwizard/guice/examples/service/MarkersCollector.java
import ru.vyarus.dropwizard.guice.examples.installer.Marker;
import javax.inject.Singleton;
import java.util.ArrayList;
import java.util.List;

package ru.vyarus.dropwizard.guice.examples.service;



/**
 * @author Vyacheslav Rusakov
 * @since 31.12.2019
 */
@Singleton
public class MarkersCollector {

    private final List<Marker> markers = new ArrayList<>();

    public void register(Marker marker) {
        markers.add(marker);
    }

    public List<Marker> getMarkers() {