All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.fabric3.fabric.node.ServiceIntrospectorImpl Maven / Gradle / Ivy

The newest version!
package org.fabric3.fabric.node;

import java.util.Collections;
import java.util.List;

import org.fabric3.api.node.service.ServiceIntrospector;
import org.fabric3.spi.introspection.service.ServiceIntrospectorExtension;
import org.oasisopen.sca.annotation.Reference;

/**
 *
 */
public class ServiceIntrospectorImpl implements ServiceIntrospector {

    @Reference(required = false)
    protected List extensions = Collections.emptyList();

    public boolean exportsEndpoints(Class clazz) {
        for (ServiceIntrospectorExtension extension : extensions) {
            if (extension.exportsEndpoints(clazz)) {
                return true;
            }
        }
        return false;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy