org.jboss.weld.environment.deployment.discovery.DiscoveryStrategy Maven / Gradle / Ivy
The newest version!
package org.jboss.weld.environment.deployment.discovery;
import java.util.Set;
import org.jboss.weld.environment.deployment.WeldBeanDeploymentArchive;
import org.jboss.weld.resources.spi.ClassFileServices;
/**
*
* @author Matej Briškár
* @author Martin Kouba
*/
public interface DiscoveryStrategy {
/**
* Optionally, a client may set a custom scanner implementation. If not set, the impl is allowed to use anything it considers appropriate.
*
* @param beanArchiveScanner
*/
void setScanner(BeanArchiveScanner beanArchiveScanner);
/**
* Register additional {@link BeanArchiveHandler} for handling discovered bean archives.
*
* @param handler the handler
*/
void registerHandler(BeanArchiveHandler handler);
/**
*
* @return the set of discovered {@link WeldBeanDeploymentArchive}s
*/
Set performDiscovery();
/**
*
* @return the associated {@link ClassFileServices} or null
*/
ClassFileServices getClassFileServices();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy