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

com.oneandone.ejbcdiunit.cfganalyzer.TestConfig Maven / Gradle / Ivy

Go to download

A module that can be used together with cdiunit to build en ejb-test-environment.

The newest version!
package com.oneandone.ejbcdiunit.cfganalyzer;

import java.net.URI;
import java.net.URL;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashSet;
import java.util.LinkedHashSet;
import java.util.Set;

import javax.enterprise.inject.spi.Extension;

import org.jboss.weld.bootstrap.spi.Metadata;

public class TestConfig {
    private Set cdiClasspathEntries = new HashSet<>();
    private Set discoveredClasses = new LinkedHashSet();
    private Collection> alternatives = new ArrayList>();
    private Class ejbJarClasspathExample = null;
    private Collection> extensions = new ArrayList>();
    private Collection> enabledInterceptors = new ArrayList>();
    private Collection> enabledDecorators = new ArrayList>();
    private Collection> enabledAlternativeStereotypes = new ArrayList>();
    private Set classpathEntries = new HashSet<>();

    public TestConfig() {}

    public Set getCdiClasspathEntries() {
        return cdiClasspathEntries;
    }

    public Set getDiscoveredClasses() {
        return discoveredClasses;
    }

    public Collection> getAlternatives() {
        return alternatives;
    }

    public Class getEjbJarClasspathExample() {
        return ejbJarClasspathExample;
    }

    public void setEjbJarClasspathExample(final Class ejbJarClasspathExample) {
        this.ejbJarClasspathExample = ejbJarClasspathExample;
    }

    public Collection> getExtensions() {
        return extensions;
    }

    public Collection> getEnabledInterceptors() {
        return enabledInterceptors;
    }

    public Collection> getEnabledDecorators() {
        return enabledDecorators;
    }

    public Collection> getEnabledAlternativeStereotypes() {
        return enabledAlternativeStereotypes;
    }

    public Set getClasspathEntries() {
        return classpathEntries;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy