
com.artemis.generator.collect.AbstractClassCollectStrategy Maven / Gradle / Ivy
package com.artemis.generator.collect;
import com.artemis.Component;
import com.artemis.generator.strategy.e.FieldProxyStrategy;
import java.net.URL;
import java.util.Collection;
import java.util.Set;
/**
* Collector for classes on classpath.
*
* @author Daan van Yperen
*/
public abstract class AbstractClassCollectStrategy {
private final Set urls;
/**
* @param urls locations to search.
*/
AbstractClassCollectStrategy(Set urls) {
this.urls = urls;
}
/**
* Collect all components within a set of URLs
* @return Set of all components on classloader.
*/
public abstract Collection> allComponents();
/**
* Collect all components within a set of URLs
* @return Set of all components on classloader.
*/
public abstract Collection> allFieldProxyStrategies();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy