Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.jboss.weld.bootstrap.spi;
 
 import static java.util.Collections.emptyList;
 import static org.jboss.weld.bootstrap.spi.Scanning.EMPTY_SCANNING;
 
 import java.net.URL;
 import java.util.List;
 
 public interface BeansXml {
    BeansXml EMPTY_BEANS_XML = new BeansXml() {
        public List<Metadata<String>> getEnabledInterceptors() {
            return emptyList();
        }
        public List<Metadata<String>> getEnabledDecorators() {
            return emptyList();
        }
        public List<Metadata<String>> getEnabledAlternativeStereotypes() {
            return emptyList();
        }
        public List<Metadata<String>> getEnabledAlternativeClasses() {
            return emptyList();
        }
        public Scanning getScanning() {
            return ;
        }
        public URL getUrl() {
            return null;
        }
        public BeanDiscoveryMode getBeanDiscoveryMode() {
            return .;
        }
        @Override
        public String getVersion() {
            return null;
        }
    };
    URL getUrl();

    

Returns:
The value of the bean-discovery-mode attribute or BeanDiscoveryMode.ALL if the file does not contain the bean-discovery-mode attribute.

Returns:
the value of the version attribute or null if the version is not explicitly specified
    String getVersion();
New to GrepCode? Check out our FAQ X