class OpenLRDecoder implements openlr.OpenLRDecoder {

    public static List<PhysicalDecoder> resolvePhysicalDecoder() {
        ServiceLoader<PhysicalDecoder> decoderServices = ServiceLoader
                .load(PhysicalDecoder.class);
        List<PhysicalDecoder> decoders = new ArrayList<PhysicalDecoder>();
        for (PhysicalDecoder pd : decoderServices) {
            decoders.add(pd);
        }
        return decoders;
    }

}